@rokkit/themes 1.0.0-next.145 → 1.0.0-next.147
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/build.mjs +3 -2
- package/dist/base.css +349 -1
- package/dist/glass.css +276 -17
- package/dist/grada-ui.css +1681 -0
- package/dist/index.css +3596 -245
- package/dist/material.css +377 -61
- package/dist/minimal.css +522 -102
- package/dist/rokkit.css +327 -1
- package/package.json +5 -2
- package/src/base/alert-list.css +91 -0
- package/src/base/dropdown.css +166 -0
- package/src/base/index.css +4 -0
- package/src/base/message.css +62 -0
- package/src/base/status-list.css +19 -0
- package/src/base/toc.css +3 -1
- package/src/base/toolbar.css +4 -0
- package/src/glass/card.css +37 -0
- package/src/glass/dropdown.css +50 -0
- package/src/glass/index.css +4 -0
- package/src/glass/list.css +11 -11
- package/src/glass/menu.css +6 -6
- package/src/glass/message.css +36 -0
- package/src/glass/status-list.css +66 -0
- package/src/grada-ui/button.css +197 -0
- package/src/grada-ui/card.css +92 -0
- package/src/grada-ui/dropdown.css +53 -0
- package/src/grada-ui/floating-action.css +58 -0
- package/src/grada-ui/floating-navigation.css +64 -0
- package/src/grada-ui/index.css +54 -0
- package/src/grada-ui/input.css +155 -0
- package/src/grada-ui/list.css +109 -0
- package/src/grada-ui/menu.css +81 -0
- package/src/grada-ui/message.css +48 -0
- package/src/grada-ui/range.css +54 -0
- package/src/grada-ui/search-filter.css +42 -0
- package/src/grada-ui/select.css +168 -0
- package/src/grada-ui/status-list.css +61 -0
- package/src/grada-ui/switch.css +31 -0
- package/src/grada-ui/table.css +81 -0
- package/src/grada-ui/tabs.css +57 -0
- package/src/grada-ui/timeline.css +36 -0
- package/src/grada-ui/toc.css +24 -0
- package/src/grada-ui/toggle.css +42 -0
- package/src/grada-ui/toolbar.css +81 -0
- package/src/grada-ui/tree.css +93 -0
- package/src/material/button.css +4 -4
- package/src/material/card.css +38 -1
- package/src/material/dropdown.css +50 -0
- package/src/material/floating-action.css +9 -5
- package/src/material/floating-navigation.css +4 -4
- package/src/material/index.css +4 -0
- package/src/material/list.css +11 -11
- package/src/material/menu.css +6 -6
- package/src/material/message.css +36 -0
- package/src/material/range.css +1 -1
- package/src/material/search-filter.css +1 -1
- package/src/material/select.css +16 -11
- package/src/material/status-list.css +66 -0
- package/src/material/switch.css +2 -2
- package/src/material/table.css +3 -3
- package/src/material/tabs.css +23 -0
- package/src/material/toggle.css +3 -3
- package/src/material/toolbar.css +7 -7
- package/src/material/tree.css +24 -3
- package/src/minimal/button.css +6 -6
- package/src/minimal/card.css +38 -1
- package/src/minimal/dropdown.css +50 -0
- package/src/minimal/floating-action.css +9 -5
- package/src/minimal/floating-navigation.css +4 -4
- package/src/minimal/index.css +4 -0
- package/src/minimal/input.css +66 -15
- package/src/minimal/list.css +8 -8
- package/src/minimal/menu.css +6 -6
- package/src/minimal/message.css +36 -0
- package/src/minimal/range.css +1 -1
- package/src/minimal/search-filter.css +1 -1
- package/src/minimal/select.css +11 -11
- package/src/minimal/status-list.css +66 -0
- package/src/minimal/switch.css +2 -2
- package/src/minimal/table.css +3 -3
- package/src/minimal/tabs.css +91 -10
- package/src/minimal/toggle.css +3 -3
- package/src/minimal/toolbar.css +7 -7
- package/src/minimal/tree.css +24 -3
- package/src/rokkit/card.css +37 -0
- package/src/rokkit/dropdown.css +70 -0
- package/src/rokkit/index.css +4 -0
- package/src/rokkit/message.css +44 -0
- package/src/rokkit/status-list.css +68 -0
- package/src/rokkit/tabs.css +25 -1
- package/src/rokkit/toolbar.css +6 -0
package/src/minimal/toolbar.css
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
============================================================================= */
|
|
10
10
|
|
|
11
11
|
[data-style='minimal'] [data-toolbar] {
|
|
12
|
-
@apply bg-transparent;
|
|
12
|
+
@apply bg-none bg-transparent;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/* Position-based borders */
|
|
@@ -39,21 +39,21 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
[data-style='minimal'] [data-toolbar-item]:hover:not(:disabled):not([data-disabled='true']) {
|
|
42
|
-
@apply text-surface-z9;
|
|
42
|
+
@apply bg-none text-surface-z9;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
[data-style='minimal']
|
|
46
46
|
[data-toolbar-item]:focus-visible:not(:disabled):not([data-disabled='true']) {
|
|
47
|
-
@apply text-surface-z9 ring-surface-z5 ring-1 outline-none;
|
|
47
|
+
@apply bg-none text-surface-z9 ring-surface-z5 ring-1 outline-none;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
/* Active/pressed state */
|
|
51
51
|
[data-style='minimal'] [data-toolbar-item][data-active='true'] {
|
|
52
|
-
@apply text-primary-z7;
|
|
52
|
+
@apply bg-none text-primary-z7;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-style='minimal'] [data-toolbar-item][data-active='true']:hover:not(:disabled) {
|
|
56
|
-
@apply text-primary-z8;
|
|
56
|
+
@apply bg-none text-primary-z8;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
/* =============================================================================
|
|
@@ -77,9 +77,9 @@
|
|
|
77
77
|
============================================================================= */
|
|
78
78
|
|
|
79
79
|
[data-style='minimal'] [data-toolbar-separator] {
|
|
80
|
-
@apply bg-surface-z3;
|
|
80
|
+
@apply bg-none bg-surface-z3;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
[data-style='minimal'] [data-toolbar-divider] {
|
|
84
|
-
@apply bg-surface-z3;
|
|
84
|
+
@apply bg-none bg-surface-z3;
|
|
85
85
|
}
|
package/src/minimal/tree.css
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
[data-style='minimal'] [data-tree-toggle-btn]:hover {
|
|
24
|
-
@apply text-surface-z6;
|
|
24
|
+
@apply bg-none text-surface-z6;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/* =============================================================================
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
|
|
35
35
|
[data-style='minimal'] [data-tree-item-content]:hover:not(:disabled),
|
|
36
36
|
[data-style='minimal'] [data-tree-item-content]:focus:not(:disabled) {
|
|
37
|
-
@apply text-surface-z9 outline-none;
|
|
37
|
+
@apply bg-none text-surface-z9 outline-none;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/* Focus visible for keyboard navigation */
|
|
@@ -51,6 +51,19 @@
|
|
|
51
51
|
@apply text-primary-z8;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
/* Reset rokkit gradients bleeding in from body[data-style='rokkit'] ancestor */
|
|
55
|
+
[data-style='minimal'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] {
|
|
56
|
+
@apply bg-none;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
[data-style='minimal'] [data-tree]:focus-within [data-tree-item-content][data-active='true']:hover:not(:disabled) {
|
|
60
|
+
@apply bg-none;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
[data-style='minimal'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] {
|
|
64
|
+
@apply bg-none;
|
|
65
|
+
}
|
|
66
|
+
|
|
54
67
|
/* =============================================================================
|
|
55
68
|
Item Elements
|
|
56
69
|
============================================================================= */
|
|
@@ -76,13 +89,21 @@
|
|
|
76
89
|
}
|
|
77
90
|
|
|
78
91
|
[data-style='minimal'] [data-tree-item-content] [data-item-badge] {
|
|
79
|
-
@apply text-surface-z6 border-surface-z4 border bg-transparent;
|
|
92
|
+
@apply bg-none text-surface-z6 border-surface-z4 border bg-transparent;
|
|
80
93
|
}
|
|
81
94
|
|
|
82
95
|
[data-style='minimal'] [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
83
96
|
@apply text-primary-z7 border-primary-z4;
|
|
84
97
|
}
|
|
85
98
|
|
|
99
|
+
[data-style='minimal'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
100
|
+
@apply bg-none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
[data-style='minimal'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
104
|
+
@apply bg-none;
|
|
105
|
+
}
|
|
106
|
+
|
|
86
107
|
/* =============================================================================
|
|
87
108
|
Multi-Selection
|
|
88
109
|
============================================================================= */
|
package/src/rokkit/card.css
CHANGED
|
@@ -62,3 +62,40 @@
|
|
|
62
62
|
@apply cursor-not-allowed opacity-50;
|
|
63
63
|
transform: none;
|
|
64
64
|
}
|
|
65
|
+
|
|
66
|
+
/* =============================================================================
|
|
67
|
+
Variants
|
|
68
|
+
============================================================================= */
|
|
69
|
+
|
|
70
|
+
/* Primary — gradient from primary to secondary */
|
|
71
|
+
[data-style='rokkit'] [data-card][data-variant='primary'] {
|
|
72
|
+
@apply from-primary-z5 to-secondary-z5 border-primary-z6 text-on-primary bg-gradient-to-br shadow-lg;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
[data-style='rokkit'] [data-card][data-variant='primary'] [data-card-header],
|
|
76
|
+
[data-style='rokkit'] [data-card][data-variant='primary'] [data-card-footer] {
|
|
77
|
+
@apply border-primary-z4/40;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
[data-style='rokkit'] [data-card][data-variant='primary'] [data-card-body] {
|
|
81
|
+
@apply text-on-primary/80;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* Secondary — muted secondary surface */
|
|
85
|
+
[data-style='rokkit'] [data-card][data-variant='secondary'] {
|
|
86
|
+
@apply from-secondary-z4 to-secondary-z3 border-secondary-z5 text-on-secondary bg-gradient-to-b shadow;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
[data-style='rokkit'] [data-card][data-variant='secondary'] [data-card-header],
|
|
90
|
+
[data-style='rokkit'] [data-card][data-variant='secondary'] [data-card-footer] {
|
|
91
|
+
@apply border-secondary-z4/40;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
[data-style='rokkit'] [data-card][data-variant='secondary'] [data-card-body] {
|
|
95
|
+
@apply text-on-secondary/80;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Tertiary — elevated surface, no color accent */
|
|
99
|
+
[data-style='rokkit'] [data-card][data-variant='tertiary'] {
|
|
100
|
+
@apply from-surface-z3 to-surface-z2 border-surface-z4 text-surface-z7 bg-gradient-to-b shadow;
|
|
101
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dropdown - Rokkit Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Rich gradients and glowing borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Trigger
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='rokkit'] [data-dropdown-trigger] {
|
|
12
|
+
@apply from-surface-z3 to-surface-z2 border-surface-z4 text-surface-z8 border bg-gradient-to-b;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='rokkit'] [data-dropdown-trigger]:hover:not(:disabled) {
|
|
16
|
+
@apply from-surface-z4 to-surface-z3 text-surface-z10 border-surface-z5 bg-gradient-to-b;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='rokkit'] [data-dropdown-trigger]:focus-visible {
|
|
20
|
+
@apply outline-none;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='rokkit'] [data-dropdown][data-open='true'] [data-dropdown-trigger] {
|
|
24
|
+
@apply from-primary-z5 to-secondary-z5 border-primary-z5 bg-gradient-to-b;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-style='rokkit'] [data-dropdown-trigger] [data-dropdown-icon] {
|
|
28
|
+
@apply text-surface-z5;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
[data-style='rokkit'] [data-dropdown-trigger]:hover:not(:disabled) [data-dropdown-icon] {
|
|
32
|
+
@apply text-surface-z7;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[data-style='rokkit'] [data-dropdown-trigger] [data-dropdown-arrow] {
|
|
36
|
+
@apply text-surface-z5;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* =============================================================================
|
|
40
|
+
Panel
|
|
41
|
+
============================================================================= */
|
|
42
|
+
|
|
43
|
+
[data-style='rokkit'] [data-dropdown-panel] {
|
|
44
|
+
@apply from-surface-z2 to-surface-z1 border-surface-z4 border bg-gradient-to-b shadow-md;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/* =============================================================================
|
|
48
|
+
Options
|
|
49
|
+
============================================================================= */
|
|
50
|
+
|
|
51
|
+
[data-style='rokkit'] [data-dropdown-option] {
|
|
52
|
+
@apply text-surface-z8;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
[data-style='rokkit'] [data-dropdown-option]:hover:not(:disabled),
|
|
56
|
+
[data-style='rokkit'] [data-dropdown-option]:focus:not(:disabled) {
|
|
57
|
+
@apply from-surface-z3 to-surface-z2 text-surface-z10 bg-gradient-to-r outline-none;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
[data-style='rokkit'] [data-dropdown-option][data-active='true'] {
|
|
61
|
+
@apply from-primary-z5 to-secondary-z5 text-primary-z9 bg-gradient-to-r;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/* =============================================================================
|
|
65
|
+
Separator
|
|
66
|
+
============================================================================= */
|
|
67
|
+
|
|
68
|
+
[data-style='rokkit'] [data-dropdown-separator] {
|
|
69
|
+
@apply via-surface-z4 bg-gradient-to-r from-transparent to-transparent;
|
|
70
|
+
}
|
package/src/rokkit/index.css
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
@import './connector.css';
|
|
16
16
|
@import './select.css';
|
|
17
17
|
@import './menu.css';
|
|
18
|
+
@import './dropdown.css';
|
|
18
19
|
@import './floating-action.css';
|
|
19
20
|
@import './input.css';
|
|
20
21
|
@import './table.css';
|
|
@@ -26,3 +27,6 @@
|
|
|
26
27
|
@import './upload-target.css';
|
|
27
28
|
@import './upload-progress.css';
|
|
28
29
|
@import './toc.css';
|
|
30
|
+
@import './card.css';
|
|
31
|
+
@import './message.css';
|
|
32
|
+
@import './status-list.css';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Message - Rokkit Theme Styles
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* Type colors */
|
|
6
|
+
[data-style='rokkit'] [data-message-root][data-type='error'] {
|
|
7
|
+
@apply bg-error-z1 border-error-z4 text-error-z8;
|
|
8
|
+
}
|
|
9
|
+
[data-style='rokkit'] [data-message-root][data-type='error'] [data-message-icon] {
|
|
10
|
+
@apply text-error-z6;
|
|
11
|
+
}
|
|
12
|
+
[data-style='rokkit'] [data-message-root][data-type='error'] [data-message-dismiss] {
|
|
13
|
+
@apply text-error-z6;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[data-style='rokkit'] [data-message-root][data-type='warning'] {
|
|
17
|
+
@apply bg-warning-z1 border-warning-z4 text-warning-z8;
|
|
18
|
+
}
|
|
19
|
+
[data-style='rokkit'] [data-message-root][data-type='warning'] [data-message-icon] {
|
|
20
|
+
@apply text-warning-z6;
|
|
21
|
+
}
|
|
22
|
+
[data-style='rokkit'] [data-message-root][data-type='warning'] [data-message-dismiss] {
|
|
23
|
+
@apply text-warning-z6;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
[data-style='rokkit'] [data-message-root][data-type='info'] {
|
|
27
|
+
@apply bg-info-z1 border-info-z4 text-info-z8;
|
|
28
|
+
}
|
|
29
|
+
[data-style='rokkit'] [data-message-root][data-type='info'] [data-message-icon] {
|
|
30
|
+
@apply text-info-z6;
|
|
31
|
+
}
|
|
32
|
+
[data-style='rokkit'] [data-message-root][data-type='info'] [data-message-dismiss] {
|
|
33
|
+
@apply text-info-z6;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
[data-style='rokkit'] [data-message-root][data-type='success'] {
|
|
37
|
+
@apply bg-success-z1 border-success-z4 text-success-z8;
|
|
38
|
+
}
|
|
39
|
+
[data-style='rokkit'] [data-message-root][data-type='success'] [data-message-icon] {
|
|
40
|
+
@apply text-success-z6;
|
|
41
|
+
}
|
|
42
|
+
[data-style='rokkit'] [data-message-root][data-type='success'] [data-message-dismiss] {
|
|
43
|
+
@apply text-success-z6;
|
|
44
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* StatusList - Rokkit Theme Styles
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
/* ── @rokkit/ui StatusList: icon colors by status (pass/fail/warn/unknown) ── */
|
|
6
|
+
|
|
7
|
+
[data-style='rokkit'] [data-status-item][data-status='pass'] span {
|
|
8
|
+
@apply text-success-z6;
|
|
9
|
+
}
|
|
10
|
+
[data-style='rokkit'] [data-status-item][data-status='fail'] span {
|
|
11
|
+
@apply text-error-z6;
|
|
12
|
+
}
|
|
13
|
+
[data-style='rokkit'] [data-status-item][data-status='warn'] span {
|
|
14
|
+
@apply text-warning-z6;
|
|
15
|
+
}
|
|
16
|
+
[data-style='rokkit'] [data-status-item][data-status='unknown'] span {
|
|
17
|
+
@apply text-surface-z4;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* ── @rokkit/ui StatusList: text color by status ── */
|
|
21
|
+
|
|
22
|
+
[data-style='rokkit'] [data-status-item][data-status='pass'] {
|
|
23
|
+
@apply text-success-z7;
|
|
24
|
+
}
|
|
25
|
+
[data-style='rokkit'] [data-status-item][data-status='fail'] {
|
|
26
|
+
@apply text-error-z7;
|
|
27
|
+
}
|
|
28
|
+
[data-style='rokkit'] [data-status-item][data-status='warn'] {
|
|
29
|
+
@apply text-warning-z7;
|
|
30
|
+
}
|
|
31
|
+
[data-style='rokkit'] [data-status-item][data-status='unknown'] {
|
|
32
|
+
@apply text-surface-z5;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* ── @rokkit/forms StatusList: group headers by severity ── */
|
|
36
|
+
|
|
37
|
+
[data-style='rokkit'] [data-status-group][data-severity='error'] [data-status-header] {
|
|
38
|
+
@apply text-error-z6;
|
|
39
|
+
}
|
|
40
|
+
[data-style='rokkit'] [data-status-group][data-severity='warning'] [data-status-header] {
|
|
41
|
+
@apply text-warning-z6;
|
|
42
|
+
}
|
|
43
|
+
[data-style='rokkit'] [data-status-group][data-severity='info'] [data-status-header] {
|
|
44
|
+
@apply text-info-z6;
|
|
45
|
+
}
|
|
46
|
+
[data-style='rokkit'] [data-status-group][data-severity='success'] [data-status-header] {
|
|
47
|
+
@apply text-success-z6;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* ── @rokkit/forms StatusList: item colors by severity ── */
|
|
51
|
+
|
|
52
|
+
[data-style='rokkit'] [data-status-item][data-status='error'] {
|
|
53
|
+
@apply text-error-z7;
|
|
54
|
+
}
|
|
55
|
+
[data-style='rokkit'] [data-status-item][data-status='warning'] {
|
|
56
|
+
@apply text-warning-z7;
|
|
57
|
+
}
|
|
58
|
+
[data-style='rokkit'] [data-status-item][data-status='info'] {
|
|
59
|
+
@apply text-info-z7;
|
|
60
|
+
}
|
|
61
|
+
[data-style='rokkit'] [data-status-item][data-status='success'] {
|
|
62
|
+
@apply text-success-z7;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* Count badge */
|
|
66
|
+
[data-style='rokkit'] [data-status-count] {
|
|
67
|
+
@apply bg-surface-z3 text-surface-z7 font-semibold;
|
|
68
|
+
}
|
package/src/rokkit/tabs.css
CHANGED
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
[data-style='rokkit']
|
|
24
24
|
[data-tabs][data-orientation='vertical'][data-position='after']
|
|
25
25
|
[data-tabs-list] {
|
|
26
|
-
@apply border-r-0 border-l-2;
|
|
26
|
+
@apply border-t-0 border-r-0 border-l-2;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
[data-style='rokkit'] [data-tabs-list]:focus-within {
|
|
@@ -42,6 +42,30 @@
|
|
|
42
42
|
@apply rounded-t-none rounded-b;
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
[data-style='rokkit'] [data-tabs][data-orientation='vertical'] [data-tabs-trigger] {
|
|
46
|
+
@apply rounded-none rounded-l;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
[data-style='rokkit']
|
|
50
|
+
[data-tabs][data-orientation='vertical']
|
|
51
|
+
[data-tabs-list]:focus-within
|
|
52
|
+
[data-tabs-trigger][data-selected] {
|
|
53
|
+
@apply bg-gradient-to-r;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
[data-style='rokkit']
|
|
57
|
+
[data-tabs][data-orientation='vertical'][data-position='after']
|
|
58
|
+
[data-tabs-trigger] {
|
|
59
|
+
@apply rounded-none rounded-r;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[data-style='rokkit']
|
|
63
|
+
[data-tabs][data-orientation='vertical'][data-position='after']
|
|
64
|
+
[data-tabs-list]:focus-within
|
|
65
|
+
[data-tabs-trigger][data-selected] {
|
|
66
|
+
@apply bg-gradient-to-l;
|
|
67
|
+
}
|
|
68
|
+
|
|
45
69
|
[data-style='rokkit'] [data-tabs-trigger]:hover:not(:disabled):not([data-disabled]) {
|
|
46
70
|
@apply bg-surface-z2 text-surface-z8;
|
|
47
71
|
}
|
package/src/rokkit/toolbar.css
CHANGED
|
@@ -30,6 +30,12 @@
|
|
|
30
30
|
@apply border-surface-z4 border-l shadow-sm;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
/* Compact item spacing for small toolbars */
|
|
34
|
+
[data-style='rokkit'] [data-toolbar][data-toolbar-size='sm'],
|
|
35
|
+
[data-style='rokkit'] [data-toolbar][data-size='sm'] {
|
|
36
|
+
gap: 1px;
|
|
37
|
+
}
|
|
38
|
+
|
|
33
39
|
/* =============================================================================
|
|
34
40
|
Toolbar Items
|
|
35
41
|
============================================================================= */
|