@schukai/monster 4.148.8 → 4.149.0
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/package.json +1 -1
- package/source/components/accessibility/stylesheet/locale-picker.mjs +61 -1
- package/source/components/content/image-editor.mjs +79 -11
- package/source/components/content/style/copy.pcss +1 -1
- package/source/components/content/stylesheet/camera-capture.mjs +1 -1
- package/source/components/content/stylesheet/copy.mjs +1 -1
- package/source/components/content/stylesheet/fetch-box.mjs +1 -1
- package/source/components/content/stylesheet/viewer.mjs +61 -1
- package/source/components/data/kpi-tile.mjs +5 -3
- package/source/components/data/metric-graph.mjs +22 -20
- package/source/components/data/metric.mjs +20 -18
- package/source/components/data/style/kpi-tile.pcss +65 -43
- package/source/components/data/style/metric-graph.pcss +35 -18
- package/source/components/data/style/metric.pcss +35 -28
- package/source/components/data/stylesheet/kpi-tile.mjs +61 -1
- package/source/components/data/stylesheet/metric-graph.mjs +61 -1
- package/source/components/data/stylesheet/metric.mjs +61 -1
- package/source/components/datatable/columnbar.mjs +4 -2
- package/source/components/datatable/datatable.mjs +73 -15
- package/source/components/datatable/filter/date-range.mjs +61 -61
- package/source/components/datatable/filter/date-time.mjs +5 -1
- package/source/components/datatable/filter/range.mjs +3 -3
- package/source/components/datatable/filter/select-operator.mjs +7 -1
- package/source/components/datatable/filter/text-operator.mjs +11 -3
- package/source/components/datatable/filter.mjs +16 -0
- package/source/components/datatable/pagination.mjs +2 -2
- package/source/components/datatable/style/column-bar.pcss +115 -23
- package/source/components/datatable/style/datatable.pcss +257 -29
- package/source/components/datatable/style/embedded-pagination.pcss +63 -34
- package/source/components/datatable/style/filter-button.pcss +1 -1
- package/source/components/datatable/style/filter-controls-defaults.pcss +49 -3
- package/source/components/datatable/style/filter-select.pcss +4 -1
- package/source/components/datatable/style/filter.pcss +18 -1
- package/source/components/datatable/stylesheet/change-button.mjs +61 -1
- package/source/components/datatable/stylesheet/column-bar.mjs +69 -1
- package/source/components/datatable/stylesheet/dataset.mjs +61 -1
- package/source/components/datatable/stylesheet/datatable.mjs +71 -1
- package/source/components/datatable/stylesheet/embedded-pagination.mjs +1 -1
- package/source/components/datatable/stylesheet/filter-button.mjs +1 -1
- package/source/components/datatable/stylesheet/filter-controls-defaults.mjs +1 -1
- package/source/components/datatable/stylesheet/filter-select.mjs +61 -1
- package/source/components/datatable/stylesheet/filter.mjs +61 -1
- package/source/components/datatable/stylesheet/pagination.mjs +67 -1
- package/source/components/datatable/stylesheet/save-button.mjs +61 -1
- package/source/components/datatable/stylesheet/status.mjs +61 -1
- package/source/components/form/action-button.mjs +2 -1
- package/source/components/form/button-bar.mjs +7 -2
- package/source/components/form/context-error.mjs +4 -3
- package/source/components/form/context-help.mjs +10 -4
- package/source/components/form/context-hint.mjs +1 -1
- package/source/components/form/context-info.mjs +1 -1
- package/source/components/form/context-note.mjs +1 -1
- package/source/components/form/context-success.mjs +1 -1
- package/source/components/form/context-warning.mjs +1 -1
- package/source/components/form/control-bar.mjs +300 -14
- package/source/components/form/credential-button.mjs +4 -2
- package/source/components/form/digits.mjs +28 -1
- package/source/components/form/field-set.mjs +30 -0
- package/source/components/form/login.mjs +13 -10
- package/source/components/form/password.mjs +6 -0
- package/source/components/form/popper-button.mjs +1 -1
- package/source/components/form/quantity.mjs +14 -6
- package/source/components/form/register-wizard.mjs +46 -26
- package/source/components/form/select.mjs +17 -10
- package/source/components/form/sheet.mjs +13 -2
- package/source/components/form/style/action-button.pcss +131 -5
- package/source/components/form/style/button-bar.pcss +204 -3
- package/source/components/form/style/control-bar.pcss +254 -26
- package/source/components/form/style/digits.pcss +7 -6
- package/source/components/form/style/input-group.pcss +65 -1
- package/source/components/form/style/login.pcss +1 -1
- package/source/components/form/style/mixin/field-set-layout.pcss +8 -0
- package/source/components/form/style/password.pcss +25 -1
- package/source/components/form/style/popper-button.pcss +1 -0
- package/source/components/form/style/quantity.pcss +11 -20
- package/source/components/form/style/select.pcss +52 -7
- package/source/components/form/style/sheet.pcss +70 -1
- package/source/components/form/style/state-button.pcss +5 -2
- package/source/components/form/style/toggle-switch.pcss +7 -4
- package/source/components/form/stylesheet/action-button.mjs +63 -1
- package/source/components/form/stylesheet/button-bar.mjs +153 -1
- package/source/components/form/stylesheet/button.mjs +61 -1
- package/source/components/form/stylesheet/control-bar.mjs +163 -1
- package/source/components/form/stylesheet/digits.mjs +1 -1
- package/source/components/form/stylesheet/field-layout.mjs +1 -1
- package/source/components/form/stylesheet/field-set.mjs +1 -1
- package/source/components/form/stylesheet/form.mjs +1 -1
- package/source/components/form/stylesheet/input-group.mjs +15 -1
- package/source/components/form/stylesheet/login.mjs +1 -1
- package/source/components/form/stylesheet/password.mjs +7 -1
- package/source/components/form/stylesheet/popper-button.mjs +61 -1
- package/source/components/form/stylesheet/quantity.mjs +1 -1
- package/source/components/form/stylesheet/register-wizard.mjs +1 -1
- package/source/components/form/stylesheet/select.mjs +3 -1
- package/source/components/form/stylesheet/sheet.mjs +1 -1
- package/source/components/form/stylesheet/state-button.mjs +3 -1
- package/source/components/form/stylesheet/toggle-switch.mjs +1 -1
- package/source/components/form/stylesheet/wizard.mjs +1 -1
- package/source/components/form/util/floating-ui.mjs +35 -7
- package/source/components/host/call-button.mjs +3 -1
- package/source/components/host/stylesheet/call-button.mjs +61 -1
- package/source/components/host/stylesheet/host.mjs +1 -1
- package/source/components/host/stylesheet/toggle-button.mjs +61 -1
- package/source/components/layout/full-screen.mjs +31 -23
- package/source/components/layout/iframe.mjs +5 -1
- package/source/components/layout/popper.mjs +34 -4
- package/source/components/layout/style/full-screen.pcss +94 -23
- package/source/components/layout/style/split-panel.pcss +57 -5
- package/source/components/layout/style/tabs.pcss +277 -47
- package/source/components/layout/style/vertical-tabs.pcss +147 -0
- package/source/components/layout/stylesheet/collapse.mjs +61 -1
- package/source/components/layout/stylesheet/details.mjs +61 -1
- package/source/components/layout/stylesheet/full-screen.mjs +23 -1
- package/source/components/layout/stylesheet/overlay.mjs +1 -1
- package/source/components/layout/stylesheet/panel.mjs +1 -1
- package/source/components/layout/stylesheet/slider.mjs +1 -1
- package/source/components/layout/stylesheet/split-panel.mjs +17 -1
- package/source/components/layout/stylesheet/tabs.mjs +97 -1
- package/source/components/layout/stylesheet/vertical-tabs.mjs +33 -95
- package/source/components/layout/tabs.mjs +63 -0
- package/source/components/layout/vertical-tabs.mjs +63 -0
- package/source/components/navigation/stylesheet/site-navigation.mjs +1 -1
- package/source/components/navigation/stylesheet/table-of-content.mjs +1 -1
- package/source/components/navigation/stylesheet/wizard-navigation.mjs +1 -1
- package/source/components/navigation/table-of-content.mjs +13 -0
- package/source/components/notify/style/notify.pcss +1 -2
- package/source/components/notify/stylesheet/message.mjs +1 -1
- package/source/components/notify/stylesheet/notify.mjs +1 -1
- package/source/components/state/style/log.pcss +1 -0
- package/source/components/state/style/state.pcss +5 -1
- package/source/components/state/stylesheet/log.mjs +1 -1
- package/source/components/state/stylesheet/state.mjs +7 -1
- package/source/components/style/button.css +61 -205
- package/source/components/style/button.pcss +78 -34
- package/source/components/style/common.css +1 -170
- package/source/components/style/common.pcss +5 -9
- package/source/components/style/form.css +1 -49
- package/source/components/style/form.pcss +24 -6
- package/source/components/style/link.css +1 -39
- package/source/components/style/link.pcss +8 -16
- package/source/components/style/mixin/button.pcss +19 -10
- package/source/components/style/mixin/property.pcss +8 -0
- package/source/components/style/mixin/skeleton.pcss +11 -5
- package/source/components/style/normalize.css +1 -144
- package/source/components/style/normalize.pcss +5 -5
- package/source/components/style/property.css +1 -387
- package/source/components/style/skeleton.css +1 -198
- package/source/components/style/skeleton.pcss +8 -2
- package/source/components/style/theme-modern.css +74 -0
- package/source/components/style/theme-modern.pcss +498 -0
- package/source/components/stylesheet/button.mjs +61 -1
- package/source/components/stylesheet/common.mjs +1 -1
- package/source/components/stylesheet/form.mjs +1 -1
- package/source/components/stylesheet/link.mjs +1 -1
- package/source/components/stylesheet/normalize.mjs +1 -1
- package/source/components/stylesheet/property.mjs +1 -1
- package/source/components/stylesheet/skeleton.mjs +1 -1
- package/source/components/stylesheet/theme-modern.mjs +110 -0
- package/source/components/time/stylesheet/day.mjs +61 -1
- package/source/components/time/stylesheet/month-calendar.mjs +61 -1
- package/source/components/time/timeline/stylesheet/appointment.mjs +61 -1
- package/source/components/time/timeline/stylesheet/segment.mjs +61 -1
- package/source/components/tree-menu/style/tree-menu.pcss +26 -37
- package/source/components/tree-menu/stylesheet/tree-menu.mjs +1 -1
- package/source/dom/customelement.mjs +105 -40
- package/source/dom/updater.mjs +381 -119
- package/test/cases/components/content/image-editor.mjs +19 -0
- package/test/cases/components/datatable/accessibility-defaults.mjs +112 -0
- package/test/cases/components/datatable/filter-availability.mjs +37 -0
- package/test/cases/components/datatable/filter-date-range-layout.mjs +40 -0
- package/test/cases/components/datatable/filter-select-operator.mjs +118 -0
- package/test/cases/components/datatable/mobile-layout.mjs +203 -0
- package/test/cases/components/datatable/responsive-breakpoint.mjs +41 -0
- package/test/cases/components/datatable/selection.mjs +149 -0
- package/test/cases/components/form/action-button-style.mjs +85 -0
- package/test/cases/components/form/button-bar.mjs +222 -3
- package/test/cases/components/form/context-theme-colors.mjs +59 -0
- package/test/cases/components/form/control-bar.mjs +228 -3
- package/test/cases/components/form/control-heights.mjs +103 -0
- package/test/cases/components/form/digits-accessibility.mjs +65 -0
- package/test/cases/components/form/field-set.mjs +54 -0
- package/test/cases/components/form/floating-ui.mjs +74 -0
- package/test/cases/components/form/input-group.mjs +61 -28
- package/test/cases/components/form/login.mjs +47 -0
- package/test/cases/components/form/password.mjs +63 -0
- package/test/cases/components/form/popper-button.mjs +30 -15
- package/test/cases/components/form/quantity-accessibility.mjs +46 -0
- package/test/cases/components/form/register-wizard.mjs +79 -0
- package/test/cases/components/form/select.mjs +94 -2
- package/test/cases/components/form/sheet.mjs +56 -2
- package/test/cases/components/host/toggle-button.mjs +50 -0
- package/test/cases/components/layout/full-screen.mjs +60 -0
- package/test/cases/components/layout/iframe-accessibility.mjs +44 -0
- package/test/cases/components/layout/popper.mjs +128 -0
- package/test/cases/components/layout/slit-panel.mjs +30 -1
- package/test/cases/components/layout/tabs.mjs +93 -0
- package/test/cases/components/navigation/table-of-content.mjs +18 -0
- package/test/cases/components/state/state-style.mjs +31 -0
- package/test/cases/components/style/action-menu.mjs +74 -0
- package/test/cases/components/style/form-controls.mjs +37 -0
- package/test/cases/components/style/kpi-tile.mjs +60 -0
- package/test/cases/components/style/legacy-theme-compatibility.mjs +137 -0
- package/test/cases/components/style/metric-layout.mjs +94 -0
- package/test/cases/components/style/skeleton.mjs +69 -0
- package/test/cases/components/style/theme-component-catalog.mjs +853 -0
- package/test/cases/components/style/theme-modern.mjs +439 -0
- package/test/cases/components/style/theme-review-regressions.mjs +41 -0
- package/test/cases/dom/customelement.mjs +136 -1
- package/test/cases/dom/updater.mjs +174 -0
|
@@ -1,50 +1,2 @@
|
|
|
1
1
|
/** generated from form.pcss **/
|
|
2
|
-
input,
|
|
3
|
-
meter,
|
|
4
|
-
progress,
|
|
5
|
-
select,
|
|
6
|
-
textarea {
|
|
7
|
-
accent-color: var(--monster-color-secondary-2);
|
|
8
|
-
box-sizing: border-box;
|
|
9
|
-
color: var(--monster-color-primary-1);
|
|
10
|
-
background-color: var(--monster-bg-color-primary-1);
|
|
11
|
-
font-family: inherit;
|
|
12
|
-
font-size: 100%;
|
|
13
|
-
margin: 0;
|
|
14
|
-
outline: none;
|
|
15
|
-
border-width: var(--monster-theme-control-border-width);
|
|
16
|
-
border-radius: var(--monster-theme-control-border-radius);
|
|
17
|
-
border-style: var(--monster-theme-control-border-style);
|
|
18
|
-
border-color: var(--monster-theme-control-border-color);
|
|
19
|
-
}
|
|
20
|
-
input,
|
|
21
|
-
select,
|
|
22
|
-
textarea {
|
|
23
|
-
padding: 0.4rem 0.6rem;
|
|
24
|
-
height: -moz-fit-content;
|
|
25
|
-
height: fit-content;
|
|
26
|
-
}
|
|
27
|
-
textarea {
|
|
28
|
-
resize: vertical;
|
|
29
|
-
min-height: 6rem;
|
|
30
|
-
}
|
|
31
|
-
input[type="color"] {
|
|
32
|
-
padding: 0.1rem;
|
|
33
|
-
margin: 0;
|
|
34
|
-
height: 2rem;
|
|
35
|
-
width: 2rem;
|
|
36
|
-
}
|
|
37
|
-
input:hover:not([type="radio"]):not([type="checkbox"]):not([type="range"]),
|
|
38
|
-
select:hover,
|
|
39
|
-
textarea:hover {
|
|
40
|
-
transition:
|
|
41
|
-
background 0.8s,
|
|
42
|
-
color 0.25s 0.0833333333s;
|
|
43
|
-
box-shadow: var(--monster-box-shadow-2);
|
|
44
|
-
}
|
|
45
|
-
input:focus,
|
|
46
|
-
select:focus,
|
|
47
|
-
textarea:focus {
|
|
48
|
-
outline: 1px dashed var(--monster-color-selection-3);
|
|
49
|
-
outline-offset: 3px;
|
|
50
|
-
}
|
|
2
|
+
input,meter,progress,select,textarea{accent-color:var(--monster-color-secondary-2);box-sizing:border-box;color:var(--monster-color-primary-1);background-color:var(--monster-bg-color-primary-1);font-family:inherit;font-size:100%;margin:0;outline:none;border-width:var(--monster-theme-control-border-width);border-radius:var(--monster-theme-control-border-radius);border-style:var(--monster-theme-control-border-style);border-color:var(--monster-theme-control-border-color)}input:not([type=checkbox]):not([type=radio]),select,textarea{min-height:var(--monster-control-min-block-size,auto);padding:var(--monster-control-padding-block,.4rem) var(--monster-control-padding-inline,.6rem);height:-moz-fit-content;height:fit-content}input:is([type=checkbox],[type=radio]){block-size:1rem;inline-size:1rem;min-height:0;padding:0;vertical-align:middle}textarea{resize:vertical;min-height:6rem}input[type=color]{padding:.1rem;margin:0;height:2rem;width:2rem}input:hover:not([type=radio]):not([type=checkbox]):not([type=range]),select:hover,textarea:hover{transition:background .8s,color .25s .0833333333s;box-shadow:var(--monster-box-shadow-2)}input:focus-visible,select:focus-visible,textarea:focus-visible{outline:var(--monster-focus-ring-width,2px) var(--monster-focus-ring-style,solid) var(--monster-focus-ring-color,currentColor);outline-offset:var(--monster-focus-ring-offset,2px)}
|
|
@@ -28,7 +28,6 @@ textarea {
|
|
|
28
28
|
background-color: var(--monster-bg-color-primary-1);
|
|
29
29
|
font-family: inherit;
|
|
30
30
|
font-size: 100%;
|
|
31
|
-
padding: 0.4rem 0.6rem;
|
|
32
31
|
margin: 0;
|
|
33
32
|
outline: none;
|
|
34
33
|
|
|
@@ -37,8 +36,24 @@ textarea {
|
|
|
37
36
|
border-style: var(--monster-theme-control-border-style);
|
|
38
37
|
border-color: var(--monster-theme-control-border-color);
|
|
39
38
|
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
input:not([type="checkbox"]):not([type="radio"]),
|
|
42
|
+
select,
|
|
43
|
+
textarea {
|
|
44
|
+
min-height: var(--monster-control-min-block-size, auto);
|
|
45
|
+
padding:
|
|
46
|
+
var(--monster-control-padding-block, 0.4rem)
|
|
47
|
+
var(--monster-control-padding-inline, 0.6rem);
|
|
40
48
|
height: fit-content;
|
|
49
|
+
}
|
|
41
50
|
|
|
51
|
+
input:is([type="checkbox"], [type="radio"]) {
|
|
52
|
+
block-size: 1rem;
|
|
53
|
+
inline-size: 1rem;
|
|
54
|
+
min-height: 0;
|
|
55
|
+
padding: 0;
|
|
56
|
+
vertical-align: middle;
|
|
42
57
|
}
|
|
43
58
|
|
|
44
59
|
textarea {
|
|
@@ -60,9 +75,12 @@ textarea:hover {
|
|
|
60
75
|
}
|
|
61
76
|
|
|
62
77
|
|
|
63
|
-
input:focus,
|
|
64
|
-
select:focus,
|
|
65
|
-
textarea:focus {
|
|
66
|
-
outline:
|
|
67
|
-
|
|
78
|
+
input:focus-visible,
|
|
79
|
+
select:focus-visible,
|
|
80
|
+
textarea:focus-visible {
|
|
81
|
+
outline:
|
|
82
|
+
var(--monster-focus-ring-width, 2px)
|
|
83
|
+
var(--monster-focus-ring-style, solid)
|
|
84
|
+
var(--monster-focus-ring-color, currentColor);
|
|
85
|
+
outline-offset: var(--monster-focus-ring-offset, 2px);
|
|
68
86
|
}
|
|
@@ -1,40 +1,2 @@
|
|
|
1
1
|
/** generated from link.pcss **/
|
|
2
|
-
a,
|
|
3
|
-
a:active,
|
|
4
|
-
a:focus,
|
|
5
|
-
a:hover,
|
|
6
|
-
a:link,
|
|
7
|
-
a:visited {
|
|
8
|
-
color: var(--monster-color-secondary-1);
|
|
9
|
-
text-decoration: none;
|
|
10
|
-
outline: none;
|
|
11
|
-
transition:
|
|
12
|
-
color 0.3s ease-in-out,
|
|
13
|
-
text-decoration-color 0.3s ease-in-out;
|
|
14
|
-
}
|
|
15
|
-
a:active,
|
|
16
|
-
a:focus,
|
|
17
|
-
a:hover {
|
|
18
|
-
color: var(--monster-color-primary-2);
|
|
19
|
-
text-decoration: underline;
|
|
20
|
-
text-decoration-color: var(--monster-color-secondary-1);
|
|
21
|
-
text-decoration-thickness: 1px;
|
|
22
|
-
text-underline-offset: 2px;
|
|
23
|
-
}
|
|
24
|
-
a:focus {
|
|
25
|
-
outline: 1px dashed var(--monster-color-selection-1);
|
|
26
|
-
outline-offset: 2px;
|
|
27
|
-
}
|
|
28
|
-
@media (prefers-color-scheme: dark) {
|
|
29
|
-
a,
|
|
30
|
-
a:active,
|
|
31
|
-
a:focus,
|
|
32
|
-
a:hover,
|
|
33
|
-
a:link,
|
|
34
|
-
a:visited {
|
|
35
|
-
color: var(--monster-color-amber-2);
|
|
36
|
-
}
|
|
37
|
-
a:focus {
|
|
38
|
-
outline: 1px dashed var(--monster-color-selection-4);
|
|
39
|
-
}
|
|
40
|
-
}
|
|
2
|
+
a,a:active,a:focus-visible,a:hover,a:link,a:visited{color:var(--monster-color-secondary-1);text-decoration:none;outline:none;transition:color .3s ease-in-out,text-decoration-color .3s ease-in-out}a:active,a:focus-visible,a:hover{color:var(--monster-color-primary-2);text-decoration:underline;text-decoration-color:var(--monster-color-secondary-1 );text-decoration-thickness:1px;text-underline-offset:2px}a:focus-visible{outline:var(--monster-focus-ring-width,2px) var(--monster-focus-ring-style,solid) var(--monster-focus-ring-color,currentColor);outline-offset:var(--monster-focus-ring-offset,2px)}
|
|
@@ -13,7 +13,7 @@ Note the order there is important (LVHA-order):
|
|
|
13
13
|
@see https://developer.mozilla.org/en-US/docs/Web/CSS/:link?retiredLocale=de
|
|
14
14
|
|
|
15
15
|
*/
|
|
16
|
-
a, a:link, a:visited, a:hover, a:active, a:focus {
|
|
16
|
+
a, a:link, a:visited, a:hover, a:active, a:focus-visible {
|
|
17
17
|
color: var(--monster-color-secondary-1);
|
|
18
18
|
text-decoration: none;
|
|
19
19
|
outline: none;
|
|
@@ -22,7 +22,7 @@ a, a:link, a:visited, a:hover, a:active, a:focus {
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
a:hover, a:active, a:focus {
|
|
25
|
+
a:hover, a:active, a:focus-visible {
|
|
26
26
|
color: var(--monster-color-primary-2);
|
|
27
27
|
text-decoration: underline;
|
|
28
28
|
text-decoration-color: var(--monster-color-secondary-1 );
|
|
@@ -30,18 +30,10 @@ a:hover, a:active, a:focus {
|
|
|
30
30
|
text-underline-offset: 2px;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
a:focus {
|
|
34
|
-
outline:
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
a, a:link, a:visited, a:hover, a:active, a:focus {
|
|
41
|
-
color: var(--monster-color-amber-2);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
a:focus {
|
|
45
|
-
outline: 1px dashed var(--monster-color-selection-4);
|
|
46
|
-
}
|
|
33
|
+
a:focus-visible {
|
|
34
|
+
outline:
|
|
35
|
+
var(--monster-focus-ring-width, 2px)
|
|
36
|
+
var(--monster-focus-ring-style, solid)
|
|
37
|
+
var(--monster-focus-ring-color, currentColor);
|
|
38
|
+
outline-offset: var(--monster-focus-ring-offset, 2px);
|
|
47
39
|
}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
font-weight: 400;
|
|
13
13
|
line-height: 1.5;
|
|
14
14
|
|
|
15
|
-
text-align: center;
|
|
15
|
+
text-align: var(--monster-button-text-align, center);
|
|
16
16
|
text-decoration: none;
|
|
17
17
|
|
|
18
18
|
vertical-align: middle;
|
|
@@ -21,12 +21,23 @@
|
|
|
21
21
|
|
|
22
22
|
user-select: none;
|
|
23
23
|
|
|
24
|
-
border-width: var(--monster-border-width);
|
|
25
|
-
border-radius: var(
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
border-width: var(--monster-button-border-width, var(--monster-border-width));
|
|
25
|
+
border-radius: var(
|
|
26
|
+
--monster-button-border-radius,
|
|
27
|
+
var(--monster-border-radius)
|
|
28
|
+
);
|
|
29
|
+
border-style: var(--monster-button-border-style, var(--monster-border-style));
|
|
30
|
+
box-shadow: var(--monster-button-box-shadow, var(--monster-box-shadow-1));
|
|
31
|
+
|
|
32
|
+
min-height: var(
|
|
33
|
+
--monster-button-min-block-size,
|
|
34
|
+
var(--monster-control-min-block-size, auto)
|
|
35
|
+
);
|
|
36
|
+
padding: var(
|
|
37
|
+
--monster-button-padding,
|
|
38
|
+
var(--monster-control-padding-block, .375rem)
|
|
39
|
+
var(--monster-control-padding-inline, .75rem)
|
|
40
|
+
);
|
|
30
41
|
outline: none;
|
|
31
42
|
|
|
32
43
|
background-position: center;
|
|
@@ -38,7 +49,7 @@
|
|
|
38
49
|
|
|
39
50
|
display: flex;
|
|
40
51
|
align-items: center;
|
|
41
|
-
justify-content: center;
|
|
52
|
+
justify-content: var(--monster-button-justify-content, center);
|
|
42
53
|
gap: .4rem;
|
|
43
54
|
|
|
44
55
|
}
|
|
@@ -46,5 +57,3 @@
|
|
|
46
57
|
|
|
47
58
|
|
|
48
59
|
|
|
49
|
-
|
|
50
|
-
|
|
@@ -60,6 +60,14 @@
|
|
|
60
60
|
--monster-border-width: 3px;
|
|
61
61
|
--monster-border-radius: 0;
|
|
62
62
|
--monster-outline-width: 1px;
|
|
63
|
+
--monster-focus-ring-width: 2px;
|
|
64
|
+
--monster-focus-ring-style: solid;
|
|
65
|
+
--monster-focus-ring-color: var(--monster-color-blue-4);
|
|
66
|
+
--monster-focus-ring-offset: 2px;
|
|
67
|
+
|
|
68
|
+
@media (prefers-color-scheme: dark) {
|
|
69
|
+
--monster-focus-ring-color: var(--monster-color-yellow-2);
|
|
70
|
+
}
|
|
63
71
|
}
|
|
64
72
|
|
|
65
73
|
@define-mixin defaultFontProperty {
|
|
@@ -1,13 +1,19 @@
|
|
|
1
1
|
@define-mixin skeleton $width, $color, $height:100% {
|
|
2
|
-
--monster-skeleton-color: $color;
|
|
3
|
-
--monster-skeleton-color-50:
|
|
2
|
+
--monster-skeleton-color: var(--monster-skeleton-fill, $color);
|
|
3
|
+
--monster-skeleton-color-50: color-mix(
|
|
4
|
+
in srgb,
|
|
5
|
+
var(--monster-skeleton-color) 50%,
|
|
6
|
+
transparent
|
|
7
|
+
);
|
|
4
8
|
--monster-skeleton-height: $height;
|
|
5
9
|
--monster-skeleton-width: $width;
|
|
6
10
|
--monster-skeleton: linear-gradient(
|
|
7
11
|
99deg,
|
|
8
|
-
|
|
9
|
-
var(--monster-skeleton-color-50)
|
|
10
|
-
|
|
12
|
+
transparent 0%,
|
|
13
|
+
var(--monster-skeleton-color-50) 18%,
|
|
14
|
+
var(--monster-skeleton-color) 48%,
|
|
15
|
+
var(--monster-skeleton-color-50) 78%,
|
|
16
|
+
transparent 100%
|
|
11
17
|
);
|
|
12
18
|
|
|
13
19
|
background-image: var(--monster-skeleton);
|
|
@@ -1,145 +1,2 @@
|
|
|
1
1
|
/** generated from normalize.pcss **/
|
|
2
|
-
:where(html) {
|
|
3
|
-
line-height: 1.15;
|
|
4
|
-
-webkit-text-size-adjust: 100%;
|
|
5
|
-
-moz-text-size-adjust: 100%;
|
|
6
|
-
text-size-adjust: 100%;
|
|
7
|
-
}
|
|
8
|
-
:where(h1) {
|
|
9
|
-
font-size: 2em;
|
|
10
|
-
margin-block-end: 0.67em;
|
|
11
|
-
margin-block-start: 0.67em;
|
|
12
|
-
}
|
|
13
|
-
:where(dl, ol, ul) :where(dl, ol, ul) {
|
|
14
|
-
margin-block-end: 0;
|
|
15
|
-
margin-block-start: 0;
|
|
16
|
-
}
|
|
17
|
-
:where(hr) {
|
|
18
|
-
box-sizing: content-box;
|
|
19
|
-
color: inherit;
|
|
20
|
-
height: 0;
|
|
21
|
-
}
|
|
22
|
-
:where(abbr[title]) {
|
|
23
|
-
text-decoration: underline;
|
|
24
|
-
-webkit-text-decoration: underline dotted;
|
|
25
|
-
text-decoration: underline dotted;
|
|
26
|
-
}
|
|
27
|
-
:where(b, strong) {
|
|
28
|
-
font-weight: bolder;
|
|
29
|
-
}
|
|
30
|
-
:where(code, kbd, pre, samp) {
|
|
31
|
-
font-family: monospace, monospace;
|
|
32
|
-
font-size: 1em;
|
|
33
|
-
}
|
|
34
|
-
:where(small) {
|
|
35
|
-
font-size: 80%;
|
|
36
|
-
}
|
|
37
|
-
:where(table) {
|
|
38
|
-
border-color: currentColor;
|
|
39
|
-
text-indent: 0;
|
|
40
|
-
}
|
|
41
|
-
:where(button, input, select) {
|
|
42
|
-
margin: 0;
|
|
43
|
-
}
|
|
44
|
-
:where(button) {
|
|
45
|
-
text-transform: none;
|
|
46
|
-
}
|
|
47
|
-
:where(
|
|
48
|
-
button,
|
|
49
|
-
input:is([type="button" i], [type="reset" i], [type="submit" i])
|
|
50
|
-
) {
|
|
51
|
-
-webkit-appearance: button;
|
|
52
|
-
}
|
|
53
|
-
:where(progress) {
|
|
54
|
-
vertical-align: baseline;
|
|
55
|
-
}
|
|
56
|
-
:where(select) {
|
|
57
|
-
text-transform: none;
|
|
58
|
-
}
|
|
59
|
-
:where(textarea) {
|
|
60
|
-
margin: 0;
|
|
61
|
-
}
|
|
62
|
-
:where(input[type="search" i]) {
|
|
63
|
-
-webkit-appearance: textfield;
|
|
64
|
-
outline-offset: -2px;
|
|
65
|
-
}
|
|
66
|
-
::-webkit-inner-spin-button,
|
|
67
|
-
::-webkit-outer-spin-button {
|
|
68
|
-
height: auto;
|
|
69
|
-
}
|
|
70
|
-
::-webkit-input-placeholder {
|
|
71
|
-
color: inherit;
|
|
72
|
-
opacity: 0.54;
|
|
73
|
-
}
|
|
74
|
-
::-webkit-search-decoration {
|
|
75
|
-
-webkit-appearance: none;
|
|
76
|
-
}
|
|
77
|
-
::-webkit-file-upload-button {
|
|
78
|
-
-webkit-appearance: button;
|
|
79
|
-
font: inherit;
|
|
80
|
-
}
|
|
81
|
-
:where(
|
|
82
|
-
button,
|
|
83
|
-
input:is(
|
|
84
|
-
[type="button" i],
|
|
85
|
-
[type="color" i],
|
|
86
|
-
[type="reset" i],
|
|
87
|
-
[type="submit" i]
|
|
88
|
-
)
|
|
89
|
-
)::-moz-focus-inner {
|
|
90
|
-
border-style: none;
|
|
91
|
-
padding: 0;
|
|
92
|
-
}
|
|
93
|
-
:where(
|
|
94
|
-
button,
|
|
95
|
-
input:is(
|
|
96
|
-
[type="button" i],
|
|
97
|
-
[type="color" i],
|
|
98
|
-
[type="reset" i],
|
|
99
|
-
[type="submit" i]
|
|
100
|
-
)
|
|
101
|
-
)::-moz-focusring {
|
|
102
|
-
outline: 1px dotted ButtonText;
|
|
103
|
-
}
|
|
104
|
-
:where(:-moz-ui-invalid) {
|
|
105
|
-
box-shadow: none;
|
|
106
|
-
}
|
|
107
|
-
:where(dialog) {
|
|
108
|
-
background-color: #fff;
|
|
109
|
-
border: solid;
|
|
110
|
-
color: #000;
|
|
111
|
-
height: -moz-fit-content;
|
|
112
|
-
height: fit-content;
|
|
113
|
-
left: 0;
|
|
114
|
-
margin: auto;
|
|
115
|
-
padding: 1em;
|
|
116
|
-
position: absolute;
|
|
117
|
-
right: 0;
|
|
118
|
-
width: -moz-fit-content;
|
|
119
|
-
width: fit-content;
|
|
120
|
-
}
|
|
121
|
-
:where(dialog:not([open])) {
|
|
122
|
-
display: none;
|
|
123
|
-
}
|
|
124
|
-
:where(summary) {
|
|
125
|
-
display: list-item;
|
|
126
|
-
}
|
|
127
|
-
html {
|
|
128
|
-
height: 100%;
|
|
129
|
-
}
|
|
130
|
-
body,
|
|
131
|
-
html {
|
|
132
|
-
min-height: calc(100vh - 40px);
|
|
133
|
-
}
|
|
134
|
-
body {
|
|
135
|
-
box-sizing: border-box;
|
|
136
|
-
margin: 0;
|
|
137
|
-
padding: 0;
|
|
138
|
-
word-break: break-word;
|
|
139
|
-
}
|
|
140
|
-
body:focus-visible {
|
|
141
|
-
outline: none;
|
|
142
|
-
}
|
|
143
|
-
:focus-visible {
|
|
144
|
-
outline: none;
|
|
145
|
-
}
|
|
2
|
+
:where(html){line-height:1.15;-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}:where(h1){font-size:2em;margin-block-end:.67em;margin-block-start:.67em}:where(dl,ol,ul) :where(dl,ol,ul){margin-block-end:0;margin-block-start:0}:where(hr){box-sizing:content-box;color:inherit;height:0}:where(abbr[title]){text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}:where(b,strong){font-weight:bolder}:where(code,kbd,pre,samp){font-family:monospace,monospace;font-size:1em}:where(small){font-size:80%}:where(table){border-color:currentColor;text-indent:0}:where(button,input,select){margin:0}:where(button){text-transform:none}:where(button,input:is([type=button i],[type=reset i],[type=submit i])){-webkit-appearance:button}:where(progress){vertical-align:baseline}:where(select){text-transform:none}:where(textarea){margin:0}:where(input[type=search i]){-webkit-appearance:textfield;outline-offset:-2px}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}::-webkit-input-placeholder{color:inherit;opacity:.54}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}:where(button,input:is([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focus-inner{border-style:none;padding:0}:where(button,input:is([type=button i],[type=color i],[type=reset i],[type=submit i]))::-moz-focusring{outline:1px dotted ButtonText}:where(:-moz-ui-invalid){box-shadow:none}:where(dialog){background-color:#fff;border:solid;color:#000;height:-moz-fit-content;height:fit-content;left:0;margin:auto;padding:1em;position:absolute;right:0;width:-moz-fit-content;width:fit-content}:where(dialog:not([open])){display:none}:where(summary){display:list-item}html{height:100%}body,html{min-height:calc(100vh - 40px)}body{box-sizing:border-box;margin:0;padding:0;word-break:break-word}:focus-visible{outline:var(--monster-focus-ring-width,2px) var(--monster-focus-ring-style,solid) var(--monster-focus-ring-color,currentColor);outline-offset:var(--monster-focus-ring-offset,2px)}
|
|
@@ -13,10 +13,10 @@ body {
|
|
|
13
13
|
word-break: break-word;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
body:focus-visible {
|
|
17
|
-
outline: none;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
16
|
:focus-visible {
|
|
21
|
-
outline:
|
|
17
|
+
outline:
|
|
18
|
+
var(--monster-focus-ring-width, 2px)
|
|
19
|
+
var(--monster-focus-ring-style, solid)
|
|
20
|
+
var(--monster-focus-ring-color, currentColor);
|
|
21
|
+
outline-offset: var(--monster-focus-ring-offset, 2px);
|
|
22
22
|
}
|