opui-css 3.3.1 → 3.3.3
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/LICENSE +21 -21
- package/dist/op.css +52 -52
- package/dist/theme-one/components.css +3869 -0
- package/dist/{theme-one.css → theme-one/theme-one.css} +4404 -4404
- package/dist/theme-two/components.css +3591 -0
- package/dist/{theme-two.css → theme-two/theme-two.css} +4121 -4121
- package/package.json +8 -3
- package/src/core/normalize.css +196 -196
- package/src/core/utils.css +60 -60
- package/src/open-props.css +10 -10
- package/src/themes/theme-one/components/accordion.css +172 -172
- package/src/themes/theme-one/components/alert.css +85 -85
- package/src/themes/theme-one/components/avatar.css +68 -68
- package/src/themes/theme-one/components/badge.css +101 -101
- package/src/themes/theme-one/components/button-group.css +69 -69
- package/src/themes/theme-one/components/button.css +281 -281
- package/src/themes/theme-one/components/card.css +82 -82
- package/src/themes/theme-one/components/checkbox-radio.css +123 -123
- package/src/themes/theme-one/components/chip.css +135 -135
- package/src/themes/theme-one/components/definition-list.css +68 -68
- package/src/themes/theme-one/components/dialog.css +59 -59
- package/src/themes/theme-one/components/divider.css +7 -7
- package/src/themes/theme-one/components/field-group.css +83 -83
- package/src/themes/theme-one/components/field.css +494 -494
- package/src/themes/theme-one/components/icon-button.css +40 -40
- package/src/themes/theme-one/components/link.css +21 -21
- package/src/themes/theme-one/components/list.css +318 -318
- package/src/themes/theme-one/components/progress.css +83 -83
- package/src/themes/theme-one/components/range.css +121 -121
- package/src/themes/theme-one/components/rich-text.css +210 -210
- package/src/themes/theme-one/components/select.css +163 -163
- package/src/themes/theme-one/components/snackbar.css +148 -148
- package/src/themes/theme-one/components/spinner.css +38 -38
- package/src/themes/theme-one/components/switch.css +225 -225
- package/src/themes/theme-one/components/tab-buttons.css +120 -120
- package/src/themes/theme-one/components/table.css +92 -92
- package/src/themes/theme-one/components/text-field.css +57 -57
- package/src/themes/theme-one/components/textarea.css +25 -25
- package/src/themes/theme-one/components/toggle-button-group.css +135 -135
- package/src/themes/theme-one/components/tooltip.css +94 -94
- package/src/themes/theme-one/components/typography.css +209 -209
- package/src/themes/theme-one/components.css +37 -37
- package/src/themes/theme-one/imports.css +16 -16
- package/src/themes/theme-one/theme.css +163 -163
- package/src/themes/theme-two/components/accordion.css +172 -172
- package/src/themes/theme-two/components/alert.css +85 -85
- package/src/themes/theme-two/components/avatar.css +68 -68
- package/src/themes/theme-two/components/badge.css +101 -101
- package/src/themes/theme-two/components/button-group.css +50 -50
- package/src/themes/theme-two/components/button.css +229 -229
- package/src/themes/theme-two/components/card.css +82 -82
- package/src/themes/theme-two/components/checkbox-radio.css +123 -123
- package/src/themes/theme-two/components/chip.css +135 -135
- package/src/themes/theme-two/components/definition-list.css +68 -68
- package/src/themes/theme-two/components/dialog.css +59 -59
- package/src/themes/theme-two/components/divider.css +7 -7
- package/src/themes/theme-two/components/field-group.css +83 -83
- package/src/themes/theme-two/components/field.css +281 -281
- package/src/themes/theme-two/components/icon-button.css +40 -40
- package/src/themes/theme-two/components/link.css +21 -21
- package/src/themes/theme-two/components/list.css +318 -318
- package/src/themes/theme-two/components/progress.css +83 -83
- package/src/themes/theme-two/components/range.css +121 -121
- package/src/themes/theme-two/components/rich-text.css +210 -210
- package/src/themes/theme-two/components/select.css +162 -162
- package/src/themes/theme-two/components/snackbar.css +148 -148
- package/src/themes/theme-two/components/spinner.css +38 -38
- package/src/themes/theme-two/components/switch.css +225 -225
- package/src/themes/theme-two/components/tab-buttons.css +120 -120
- package/src/themes/theme-two/components/table.css +99 -99
- package/src/themes/theme-two/components/text-field.css +57 -57
- package/src/themes/theme-two/components/textarea.css +25 -25
- package/src/themes/theme-two/components/toggle-button-group.css +135 -135
- package/src/themes/theme-two/components/tooltip.css +94 -94
- package/src/themes/theme-two/components/typography.css +209 -209
- package/src/themes/theme-two/components.css +37 -37
- package/src/themes/theme-two/imports.css +16 -16
- package/src/themes/theme-two/theme.css +158 -158
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
@layer components.root {
|
|
2
|
-
:where(.icon-button) {
|
|
3
|
-
--_text-color: inherit;
|
|
4
|
-
|
|
5
|
-
align-items: center;
|
|
6
|
-
aspect-ratio: 1;
|
|
7
|
-
background-color: transparent;
|
|
8
|
-
border: 0;
|
|
9
|
-
border-radius: var(--radius-round);
|
|
10
|
-
display: inline-flex;
|
|
11
|
-
inline-size: var(--size-6);
|
|
12
|
-
justify-content: center;
|
|
13
|
-
padding: 0;
|
|
14
|
-
transform-style: preserve-3d;
|
|
15
|
-
|
|
16
|
-
&:where([disabled]) {
|
|
17
|
-
color: light-dark(rgb(0, 0, 0/0.3), rgb(255, 255, 255/0.26));
|
|
18
|
-
cursor: not-allowed;
|
|
19
|
-
opacity: 0.64;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
svg {
|
|
23
|
-
max-inline-size: var(--size-5);
|
|
24
|
-
pointer-events: none;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/* Ripple effect, utils.css */
|
|
28
|
-
&::before {
|
|
29
|
-
--highlight-size: 130%;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/* Size */
|
|
33
|
-
&.small {
|
|
34
|
-
inline-size: var(--size-4);
|
|
35
|
-
svg {
|
|
36
|
-
max-inline-size: var(--size-4);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
1
|
+
@layer components.root {
|
|
2
|
+
:where(.icon-button) {
|
|
3
|
+
--_text-color: inherit;
|
|
4
|
+
|
|
5
|
+
align-items: center;
|
|
6
|
+
aspect-ratio: 1;
|
|
7
|
+
background-color: transparent;
|
|
8
|
+
border: 0;
|
|
9
|
+
border-radius: var(--radius-round);
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
inline-size: var(--size-6);
|
|
12
|
+
justify-content: center;
|
|
13
|
+
padding: 0;
|
|
14
|
+
transform-style: preserve-3d;
|
|
15
|
+
|
|
16
|
+
&:where([disabled]) {
|
|
17
|
+
color: light-dark(rgb(0, 0, 0/0.3), rgb(255, 255, 255/0.26));
|
|
18
|
+
cursor: not-allowed;
|
|
19
|
+
opacity: 0.64;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
svg {
|
|
23
|
+
max-inline-size: var(--size-5);
|
|
24
|
+
pointer-events: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* Ripple effect, utils.css */
|
|
28
|
+
&::before {
|
|
29
|
+
--highlight-size: 130%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Size */
|
|
33
|
+
&.small {
|
|
34
|
+
inline-size: var(--size-4);
|
|
35
|
+
svg {
|
|
36
|
+
max-inline-size: var(--size-4);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
@layer components.root {
|
|
2
|
-
:where(.link) {
|
|
3
|
-
color: var(--primary);
|
|
4
|
-
cursor: pointer;
|
|
5
|
-
font-weight: 700;
|
|
6
|
-
text-decoration: underline;
|
|
7
|
-
text-decoration-color: var(--primary);
|
|
8
|
-
text-underline-offset: 2px;
|
|
9
|
-
|
|
10
|
-
&[href] {
|
|
11
|
-
&:hover,
|
|
12
|
-
&:focus-visible {
|
|
13
|
-
color: var(--primary-light);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@supports (-moz-appearance: none) {
|
|
18
|
-
text-underline-offset: 2px;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
1
|
+
@layer components.root {
|
|
2
|
+
:where(.link) {
|
|
3
|
+
color: var(--primary);
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
font-weight: 700;
|
|
6
|
+
text-decoration: underline;
|
|
7
|
+
text-decoration-color: var(--primary);
|
|
8
|
+
text-underline-offset: 2px;
|
|
9
|
+
|
|
10
|
+
&[href] {
|
|
11
|
+
&:hover,
|
|
12
|
+
&:focus-visible {
|
|
13
|
+
color: var(--primary-light);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@supports (-moz-appearance: none) {
|
|
18
|
+
text-underline-offset: 2px;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|