@exakt/ui 0.0.33 → 0.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -37,9 +37,11 @@
|
|
|
37
37
|
</div>
|
|
38
38
|
<span
|
|
39
39
|
class="actual-content d-flex"
|
|
40
|
-
:class="{fullwidth: props.justify == 'space-between'}"
|
|
41
|
-
:style="{
|
|
42
|
-
|
|
40
|
+
:class="{ fullwidth: props.justify == 'space-between' }"
|
|
41
|
+
:style="{
|
|
42
|
+
justifyContent:
|
|
43
|
+
justify, alignContent: props.align, alignItems: props.align
|
|
44
|
+
}"
|
|
43
45
|
>
|
|
44
46
|
<slot />
|
|
45
47
|
</span>
|
|
@@ -113,7 +115,9 @@ const textColor = computed(() => {
|
|
|
113
115
|
if (props.color) {
|
|
114
116
|
return props.color;
|
|
115
117
|
}
|
|
116
|
-
|
|
118
|
+
if (props.background == 'transparent') {
|
|
119
|
+
return 'var(--e-color-dark)'
|
|
120
|
+
}
|
|
117
121
|
const rgb = backgroundColorRgb.value;
|
|
118
122
|
|
|
119
123
|
const brightness = Math.round(
|
|
@@ -177,10 +181,12 @@ const hoverColor = computed(() => {
|
|
|
177
181
|
box-sizing: border-box;
|
|
178
182
|
|
|
179
183
|
border: transparent solid 0.1rem;
|
|
184
|
+
|
|
180
185
|
&:focus-visible {
|
|
181
186
|
transition: border-width 0.2s;
|
|
182
187
|
border: var(--e-color-dark) solid 0.1rem;
|
|
183
188
|
}
|
|
189
|
+
|
|
184
190
|
&.loading {
|
|
185
191
|
pointer-events: none;
|
|
186
192
|
|
|
@@ -29,13 +29,13 @@ const emit = defineEmits(["update:modelValue"]);
|
|
|
29
29
|
//background-color: red;
|
|
30
30
|
|
|
31
31
|
&.opaque-on-desktop {
|
|
32
|
-
background-color: rgba(var(--e-color-light-rgb), 0.
|
|
32
|
+
background-color: rgba(var(--e-color-light-rgb), 0.7);
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
@media screen and (max-width: $e-md-screen-breakpoint) {
|
|
37
37
|
.focus-sheet {
|
|
38
|
-
background-color: rgba(var(--e-color-light-rgb), 0.
|
|
38
|
+
background-color: rgba(var(--e-color-light-rgb), 0.7);
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
</style>
|