@rokkit/themes 1.0.0-next.124 → 1.0.0-next.127
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/README.md +118 -9
- package/package.json +31 -27
- package/src/base/breadcrumbs.css +46 -0
- package/src/base/button.css +243 -0
- package/src/base/card.css +36 -0
- package/src/base/carousel.css +122 -12
- package/src/base/connector.css +106 -0
- package/src/base/display.css +91 -0
- package/src/base/floating-action.css +388 -0
- package/src/base/floating-navigation.css +381 -0
- package/src/base/index.css +36 -0
- package/src/base/input.css +194 -39
- package/src/base/item.css +52 -0
- package/src/base/list.css +258 -0
- package/src/base/menu.css +322 -0
- package/src/base/pill.css +57 -0
- package/src/base/progress.css +28 -15
- package/src/base/range.css +121 -0
- package/src/base/rating.css +40 -0
- package/src/base/reveal.css +37 -0
- package/src/base/search-filter.css +132 -0
- package/src/base/select.css +411 -0
- package/src/base/shine.css +14 -0
- package/src/base/stepper.css +140 -0
- package/src/base/switch.css +152 -0
- package/src/base/table.css +143 -33
- package/src/base/tabs.css +171 -0
- package/src/base/tilt.css +14 -0
- package/src/base/timeline.css +84 -0
- package/src/base/toggle.css +134 -0
- package/src/base/toolbar.css +337 -0
- package/src/base/tree.css +156 -11
- package/src/glass/button.css +152 -0
- package/src/glass/floating-action.css +61 -0
- package/src/glass/floating-navigation.css +74 -0
- package/src/glass/index.css +23 -0
- package/src/glass/input.css +124 -0
- package/src/glass/list.css +122 -0
- package/src/glass/menu.css +92 -0
- package/src/glass/range.css +61 -0
- package/src/glass/search-filter.css +49 -0
- package/src/glass/select.css +178 -0
- package/src/glass/switch.css +28 -0
- package/src/glass/table.css +87 -0
- package/src/glass/tabs.css +58 -0
- package/src/glass/timeline.css +46 -0
- package/src/glass/toggle.css +48 -0
- package/src/glass/toolbar.css +84 -0
- package/src/glass/tree.css +104 -0
- package/src/index.css +18 -0
- package/src/index.js +25 -2
- package/src/material/button.css +153 -0
- package/src/material/floating-action.css +60 -0
- package/src/material/floating-navigation.css +74 -0
- package/src/material/index.css +23 -0
- package/src/material/input.css +118 -40
- package/src/material/list.css +90 -64
- package/src/material/menu.css +92 -0
- package/src/material/range.css +62 -0
- package/src/material/search-filter.css +49 -0
- package/src/material/select.css +170 -0
- package/src/material/switch.css +28 -0
- package/src/material/table.css +87 -0
- package/src/material/tabs.css +62 -0
- package/src/material/timeline.css +46 -0
- package/src/material/toggle.css +48 -0
- package/src/material/toolbar.css +84 -0
- package/src/material/tree.css +100 -0
- package/src/minimal/button.css +152 -0
- package/src/minimal/floating-action.css +59 -0
- package/src/minimal/floating-navigation.css +70 -0
- package/src/minimal/index.css +23 -0
- package/src/minimal/input.css +81 -120
- package/src/minimal/list.css +90 -104
- package/src/minimal/menu.css +88 -0
- package/src/minimal/range.css +61 -0
- package/src/minimal/search-filter.css +49 -0
- package/src/minimal/select.css +168 -0
- package/src/minimal/switch.css +28 -0
- package/src/minimal/table.css +87 -0
- package/src/minimal/tabs.css +53 -31
- package/src/minimal/timeline.css +45 -0
- package/src/minimal/toggle.css +48 -0
- package/src/minimal/toolbar.css +84 -0
- package/src/minimal/tree.css +100 -0
- package/src/rokkit/button.css +225 -0
- package/src/rokkit/connector.css +11 -0
- package/src/rokkit/floating-action.css +65 -0
- package/src/rokkit/floating-navigation.css +83 -0
- package/src/rokkit/index.css +24 -0
- package/src/rokkit/input.css +130 -0
- package/src/rokkit/list.css +141 -0
- package/src/rokkit/menu.css +123 -0
- package/src/rokkit/range.css +62 -0
- package/src/rokkit/search-filter.css +49 -0
- package/src/rokkit/select.css +185 -0
- package/src/rokkit/switch.css +28 -0
- package/src/rokkit/table.css +68 -38
- package/src/rokkit/tabs.css +82 -0
- package/src/rokkit/timeline.css +46 -0
- package/src/rokkit/toggle.css +36 -52
- package/src/rokkit/toolbar.css +84 -0
- package/src/rokkit/tree.css +123 -0
- package/src/base/alert.css +0 -30
- package/src/base/animation.css +0 -37
- package/src/base/atoms.css +0 -58
- package/src/base/core.css +0 -107
- package/src/base/layout.css +0 -65
- package/src/base/molecules.css +0 -109
- package/src/base/organisms.css +0 -66
- package/src/base/scrollbar.css +0 -16
- package/src/base/toggles.css +0 -17
- package/src/base.css +0 -13
- package/src/markdown.css +0 -955
- package/src/material/base.css +0 -12
- package/src/material/form.css +0 -30
- package/src/material.css +0 -9
- package/src/minimal/base.css +0 -8
- package/src/minimal/form.css +0 -87
- package/src/minimal.css +0 -11
- package/src/mixins/mixins.scss +0 -66
- package/src/mixins/palette.scss +0 -48
- package/src/prism.css +0 -102
- package/src/rokkit/alert.css +0 -4
- package/src/rokkit/atoms.css +0 -52
- package/src/rokkit/carousel.css +0 -19
- package/src/rokkit/layout.css +0 -17
- package/src/rokkit/molecules.css +0 -124
- package/src/rokkit/organisms.css +0 -307
- package/src/rokkit.css +0 -11
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Timeline - Rokkit Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Rich gradients and glowing accents.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Circle
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='rokkit'] [data-timeline-circle] {
|
|
12
|
+
@apply border-surface-z4 text-surface-z6;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
[data-style='rokkit'] [data-timeline-item][data-completed] [data-timeline-circle] {
|
|
16
|
+
@apply bg-primary border-primary text-on-primary;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
[data-style='rokkit'] [data-timeline-item][data-active] [data-timeline-circle] {
|
|
20
|
+
@apply border-primary text-primary;
|
|
21
|
+
box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 20%, transparent);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* =============================================================================
|
|
25
|
+
Connector
|
|
26
|
+
============================================================================= */
|
|
27
|
+
|
|
28
|
+
[data-style='rokkit'] [data-timeline-connector] {
|
|
29
|
+
@apply bg-surface-z3;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
[data-style='rokkit'] [data-timeline-item][data-completed] [data-timeline-connector] {
|
|
33
|
+
@apply bg-primary;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* =============================================================================
|
|
37
|
+
Body
|
|
38
|
+
============================================================================= */
|
|
39
|
+
|
|
40
|
+
[data-style='rokkit'] [data-timeline-title] {
|
|
41
|
+
@apply text-surface-z8;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
[data-style='rokkit'] [data-timeline-description] {
|
|
45
|
+
@apply text-surface-z6;
|
|
46
|
+
}
|
package/src/rokkit/toggle.css
CHANGED
|
@@ -1,64 +1,48 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Toggle - Rokkit Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Rich gradients and glowing borders.
|
|
5
|
+
*/
|
|
5
6
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
[data-style='rokkit'] rk-switch:focus-within,
|
|
10
|
-
[data-style='rokkit'] rk-toggle:focus-within {
|
|
11
|
-
@apply ring-primary-500 px-2 outline-none;
|
|
12
|
-
}
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Toggle Container
|
|
9
|
+
============================================================================= */
|
|
13
10
|
|
|
14
|
-
[data-style='rokkit']
|
|
15
|
-
@apply border-
|
|
16
|
-
}
|
|
17
|
-
[data-style='rokkit'] rk-switch.minimal rk-icon > i {
|
|
18
|
-
@apply text-md h-4;
|
|
19
|
-
}
|
|
20
|
-
[data-style='rokkit'] rk-toggle {
|
|
21
|
-
@apply border-surface-z2 bg-surface-z2 box-border aspect-square h-9 border;
|
|
22
|
-
@apply flex items-center justify-center rounded-md leading-loose;
|
|
11
|
+
[data-style='rokkit'] [data-toggle] {
|
|
12
|
+
@apply from-surface-z3 to-surface-z2 border-surface-z4 rounded-lg border bg-gradient-to-b;
|
|
23
13
|
}
|
|
24
14
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
[data-style='rokkit']
|
|
30
|
-
@apply
|
|
31
|
-
}
|
|
32
|
-
[data-style='rokkit'] rk-toggle > button {
|
|
33
|
-
@apply p-0 outline-none;
|
|
15
|
+
/* =============================================================================
|
|
16
|
+
Toggle Options
|
|
17
|
+
============================================================================= */
|
|
18
|
+
|
|
19
|
+
[data-style='rokkit'] [data-toggle-option] {
|
|
20
|
+
@apply text-surface-z6;
|
|
34
21
|
}
|
|
35
|
-
/* [data-style='rokkit'] rk-toggle rk-icon {
|
|
36
|
-
@apply bg-surface-z1 flex rounded p-0 leading-loose;
|
|
37
|
-
} */
|
|
38
22
|
|
|
39
|
-
[data-style='rokkit']
|
|
40
|
-
|
|
23
|
+
[data-style='rokkit'] [data-toggle-option]:hover:not(:disabled):not([data-disabled='true']),
|
|
24
|
+
[data-style='rokkit'] [data-toggle-option]:focus:not(:disabled):not([data-disabled='true']) {
|
|
25
|
+
@apply from-surface-z4 to-surface-z3 text-surface-z8 bg-gradient-to-b;
|
|
41
26
|
}
|
|
42
|
-
|
|
43
|
-
|
|
27
|
+
|
|
28
|
+
/* Selected state */
|
|
29
|
+
[data-style='rokkit'] [data-toggle-option][data-selected='true'] {
|
|
30
|
+
@apply from-primary-z5 to-secondary-z5 text-primary-z9 border-primary-z5 border bg-gradient-to-b shadow-sm;
|
|
44
31
|
}
|
|
45
|
-
|
|
46
|
-
|
|
32
|
+
|
|
33
|
+
/* =============================================================================
|
|
34
|
+
Toggle Icon
|
|
35
|
+
============================================================================= */
|
|
36
|
+
|
|
37
|
+
[data-style='rokkit'] [data-toggle-option] [data-toggle-icon] {
|
|
38
|
+
@apply text-surface-z5;
|
|
47
39
|
}
|
|
48
40
|
|
|
49
|
-
|
|
50
|
-
|
|
41
|
+
[data-style='rokkit'] [data-toggle-option]:hover:not(:disabled) [data-toggle-icon],
|
|
42
|
+
[data-style='rokkit'] [data-toggle-option]:focus:not(:disabled) [data-toggle-icon] {
|
|
43
|
+
@apply text-surface-z7;
|
|
51
44
|
}
|
|
52
|
-
[data-style='rokkit'] rk-toggle > button > rk-icon {
|
|
53
|
-
@apply aspect-square items-center justify-center;
|
|
54
|
-
} */
|
|
55
|
-
/* [data-style='rokkit'] rk-toggle button {
|
|
56
|
-
@apply m-0 h-full w-full p-0;
|
|
57
|
-
} */
|
|
58
45
|
|
|
59
|
-
|
|
60
|
-
@apply
|
|
61
|
-
}
|
|
62
|
-
/* [data-style="rokkit"] rk-toggle:focus-within button {
|
|
63
|
-
@apply bg-surface-z1 text-surface hover:text-primary rounded-sm;
|
|
64
|
-
} */
|
|
46
|
+
[data-style='rokkit'] [data-toggle-option][data-selected='true'] [data-toggle-icon] {
|
|
47
|
+
@apply text-primary-z7;
|
|
48
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toolbar - Rokkit Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Rich gradients and glowing borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Toolbar Container
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='rokkit'] [data-toolbar] {
|
|
12
|
+
@apply from-surface-z2 to-surface-z1 bg-gradient-to-b;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Position-based borders */
|
|
16
|
+
[data-style='rokkit'] [data-toolbar][data-toolbar-position='top'],
|
|
17
|
+
[data-style='rokkit'] [data-toolbar]:not([data-toolbar-position]) {
|
|
18
|
+
@apply border-surface-z4 border-b shadow-sm;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
[data-style='rokkit'] [data-toolbar][data-toolbar-position='bottom'] {
|
|
22
|
+
@apply border-surface-z4 border-t shadow-sm;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
[data-style='rokkit'] [data-toolbar][data-toolbar-position='left'] {
|
|
26
|
+
@apply border-surface-z4 border-r shadow-sm;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[data-style='rokkit'] [data-toolbar][data-toolbar-position='right'] {
|
|
30
|
+
@apply border-surface-z4 border-l shadow-sm;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* =============================================================================
|
|
34
|
+
Toolbar Items
|
|
35
|
+
============================================================================= */
|
|
36
|
+
|
|
37
|
+
[data-style='rokkit'] [data-toolbar-item] {
|
|
38
|
+
@apply text-surface-z7;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
[data-style='rokkit'] [data-toolbar-item]:hover:not(:disabled):not([data-disabled='true']) {
|
|
42
|
+
@apply from-surface-z3 to-surface-z2 text-surface-z10 bg-gradient-to-b;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
[data-style='rokkit'] [data-toolbar-item]:focus-visible:not(:disabled):not([data-disabled='true']) {
|
|
46
|
+
@apply from-surface-z3 to-surface-z2 text-surface-z10 ring-primary-z4 bg-gradient-to-b ring-2 outline-none;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/* Active/pressed state */
|
|
50
|
+
[data-style='rokkit'] [data-toolbar-item][data-active='true'] {
|
|
51
|
+
@apply from-primary-z5 to-secondary-z5 text-primary-z9 border-primary-z5 border bg-gradient-to-b;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
[data-style='rokkit'] [data-toolbar-item][data-active='true']:hover:not(:disabled) {
|
|
55
|
+
@apply from-primary-z5 to-primary-z4 text-primary-z10 bg-gradient-to-b;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/* =============================================================================
|
|
59
|
+
Toolbar Icon
|
|
60
|
+
============================================================================= */
|
|
61
|
+
|
|
62
|
+
[data-style='rokkit'] [data-toolbar-item] [data-toolbar-icon] {
|
|
63
|
+
@apply text-surface-z6;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
[data-style='rokkit'] [data-toolbar-item]:hover:not(:disabled) [data-toolbar-icon] {
|
|
67
|
+
@apply text-surface-z9;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
[data-style='rokkit'] [data-toolbar-item][data-active='true'] [data-toolbar-icon] {
|
|
71
|
+
@apply text-primary-z7;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/* =============================================================================
|
|
75
|
+
Separator & Divider
|
|
76
|
+
============================================================================= */
|
|
77
|
+
|
|
78
|
+
[data-style='rokkit'] [data-toolbar-separator] {
|
|
79
|
+
@apply from-surface-z5 to-surface-z3 bg-gradient-to-b;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
[data-style='rokkit'] [data-toolbar-divider] {
|
|
83
|
+
@apply from-surface-z5 to-surface-z3 bg-gradient-to-r;
|
|
84
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tree - Rokkit Theme Styles
|
|
3
|
+
*
|
|
4
|
+
* Rich gradients and glowing borders.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* =============================================================================
|
|
8
|
+
Tree Container
|
|
9
|
+
============================================================================= */
|
|
10
|
+
|
|
11
|
+
[data-style='rokkit'] [data-tree]:focus-within {
|
|
12
|
+
@apply ring-primary-z4 rounded ring-1;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* =============================================================================
|
|
16
|
+
Tree Toggle Button
|
|
17
|
+
============================================================================= */
|
|
18
|
+
|
|
19
|
+
[data-style='rokkit'] [data-tree-toggle-btn] {
|
|
20
|
+
@apply text-surface-z5;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-style='rokkit'] [data-tree-toggle-btn]:hover {
|
|
24
|
+
@apply from-surface-z3 to-surface-z2 text-surface-z8 bg-gradient-to-b;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/* =============================================================================
|
|
28
|
+
Tree Item Content
|
|
29
|
+
============================================================================= */
|
|
30
|
+
|
|
31
|
+
[data-style='rokkit'] [data-tree-item-content] {
|
|
32
|
+
@apply text-surface-z8;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
[data-style='rokkit'] [data-tree-item-content]:hover:not(:disabled),
|
|
36
|
+
[data-style='rokkit'] [data-tree-item-content]:focus:not(:disabled) {
|
|
37
|
+
@apply from-surface-z3 to-surface-z2 text-surface-z10 bg-gradient-to-r outline-none;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/* Focus visible for keyboard navigation */
|
|
41
|
+
[data-style='rokkit'] [data-tree-item-content]:focus-visible {
|
|
42
|
+
@apply ring-primary-z5 ring-2 outline-none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* Active/selected state - when focus is within tree */
|
|
46
|
+
[data-style='rokkit'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] {
|
|
47
|
+
@apply from-primary-z5 to-secondary-z5 text-primary-z9 border-l-primary-z5 border-l-2 bg-gradient-to-r;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
[data-style='rokkit'] [data-tree]:focus-within [data-tree-item-content][data-active='true']:hover:not(:disabled) {
|
|
51
|
+
@apply from-primary-z4 to-primary-z3 bg-gradient-to-r;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/* Active/selected state - when focus is outside tree (muted) */
|
|
55
|
+
[data-style='rokkit'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] {
|
|
56
|
+
@apply from-surface-z3 to-surface-z2 text-surface-z9 border-l-surface-z5 border-l-2 bg-gradient-to-r;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
/* =============================================================================
|
|
60
|
+
Item Elements
|
|
61
|
+
============================================================================= */
|
|
62
|
+
|
|
63
|
+
[data-style='rokkit'] [data-tree-item-content] [data-item-icon] {
|
|
64
|
+
@apply text-surface-z5;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[data-style='rokkit'] [data-tree-item-content]:hover:not(:disabled) [data-item-icon] {
|
|
68
|
+
@apply text-surface-z7;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
[data-style='rokkit'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] [data-item-icon] {
|
|
72
|
+
@apply text-primary-z6;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
[data-style='rokkit'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] [data-item-icon] {
|
|
76
|
+
@apply text-surface-z6;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* Item description */
|
|
80
|
+
[data-style='rokkit'] [data-tree-item-content] [data-item-description] {
|
|
81
|
+
@apply text-surface-z5;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
[data-style='rokkit'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] [data-item-description] {
|
|
85
|
+
@apply text-primary-z7;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
[data-style='rokkit'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] [data-item-description] {
|
|
89
|
+
@apply text-surface-z6;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* Item badge */
|
|
93
|
+
[data-style='rokkit'] [data-tree-item-content] [data-item-badge] {
|
|
94
|
+
@apply text-surface-z6 from-surface-z3 to-surface-z2 border-surface-z4 border bg-gradient-to-b;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
[data-style='rokkit'] [data-tree]:focus-within [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
98
|
+
@apply text-primary-z8 from-primary-z3 to-primary-z2 border-primary-z4 border bg-gradient-to-b;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
[data-style='rokkit'] [data-tree]:not(:focus-within) [data-tree-item-content][data-active='true'] [data-item-badge] {
|
|
102
|
+
@apply text-surface-z7 from-surface-z4 to-surface-z3 bg-gradient-to-b;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/* =============================================================================
|
|
106
|
+
Multi-Selection
|
|
107
|
+
============================================================================= */
|
|
108
|
+
|
|
109
|
+
[data-style='rokkit'] [data-tree-node][data-selected='true'] [data-tree-node-row] {
|
|
110
|
+
@apply bg-primary-z3;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
[data-style='rokkit'] [data-tree]:focus-within [data-tree-node][data-selected='true'] [data-tree-node-row] {
|
|
114
|
+
@apply bg-primary-z4;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
[data-style='rokkit'] [data-tree-node][data-selected='true'] [data-tree-item-content] {
|
|
118
|
+
@apply text-primary-z9;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
[data-style='rokkit'] [data-tree-node][data-selected='true'] [data-tree-item-content] [data-item-icon] {
|
|
122
|
+
@apply text-primary-z6;
|
|
123
|
+
}
|
package/src/base/alert.css
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
/* Alert styles */
|
|
2
|
-
rk-alert-list {
|
|
3
|
-
@apply right-8 top-12 w-80;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
rk-alert,
|
|
7
|
-
rk-error,
|
|
8
|
-
rk-info,
|
|
9
|
-
rk-warning,
|
|
10
|
-
rk-success {
|
|
11
|
-
@apply cursor-pointer rounded border px-4 py-2;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
rk-alert.error,
|
|
15
|
-
rk-alert.danger,
|
|
16
|
-
rk-error {
|
|
17
|
-
@apply bg-error text-error-z7 border-error-z3;
|
|
18
|
-
}
|
|
19
|
-
rk-alert.info,
|
|
20
|
-
rk-info {
|
|
21
|
-
@apply bg-info text-info-z7 border-info-z3;
|
|
22
|
-
}
|
|
23
|
-
rk-alert.warning,
|
|
24
|
-
rk-warning {
|
|
25
|
-
@apply bg-warn text-warn-z7 border-warn-z3;
|
|
26
|
-
}
|
|
27
|
-
rk-alert.success,
|
|
28
|
-
rk-success {
|
|
29
|
-
@apply bg-success text-success-z7 border-success-z3;
|
|
30
|
-
}
|
package/src/base/animation.css
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/* progress animation */
|
|
2
|
-
@keyframes pendulum {
|
|
3
|
-
from {
|
|
4
|
-
left: -50%;
|
|
5
|
-
}
|
|
6
|
-
to {
|
|
7
|
-
left: 100%;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
@keyframes shake {
|
|
12
|
-
0% {
|
|
13
|
-
transform: translateX(0);
|
|
14
|
-
}
|
|
15
|
-
25% {
|
|
16
|
-
transform: translateX(1px);
|
|
17
|
-
}
|
|
18
|
-
50% {
|
|
19
|
-
transform: translateX(-1px);
|
|
20
|
-
}
|
|
21
|
-
100% {
|
|
22
|
-
transform: translateX(0);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
/* Button and focus animation */
|
|
27
|
-
@keyframes button-pop {
|
|
28
|
-
0% {
|
|
29
|
-
transform: scale(var(--btn-focus-scale, 0.95));
|
|
30
|
-
}
|
|
31
|
-
40% {
|
|
32
|
-
transform: scale(1.02);
|
|
33
|
-
}
|
|
34
|
-
100% {
|
|
35
|
-
transform: scale(1);
|
|
36
|
-
}
|
|
37
|
-
}
|
package/src/base/atoms.css
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
/* Icon styles */
|
|
2
|
-
rk-icon {
|
|
3
|
-
@apply flex flex-shrink-0 flex-grow-0 items-center justify-center;
|
|
4
|
-
/* @apply h-6 min-h-6 w-6; */
|
|
5
|
-
}
|
|
6
|
-
button > rk-icon {
|
|
7
|
-
@apply text-md aspect-square cursor-pointer select-none;
|
|
8
|
-
}
|
|
9
|
-
rk-icon > i {
|
|
10
|
-
@apply mx-auto aspect-square text-current;
|
|
11
|
-
}
|
|
12
|
-
rk-icon.large {
|
|
13
|
-
@apply text-3xl;
|
|
14
|
-
}
|
|
15
|
-
rk-icon.medium {
|
|
16
|
-
@apply text-lg leading-5;
|
|
17
|
-
}
|
|
18
|
-
rk-icon.small {
|
|
19
|
-
@apply leading-4;
|
|
20
|
-
font-size: 1rem;
|
|
21
|
-
}
|
|
22
|
-
button > rk-icon.large {
|
|
23
|
-
@apply h-12 w-12;
|
|
24
|
-
}
|
|
25
|
-
button > rk-icon.medium {
|
|
26
|
-
@apply h-8 w-8;
|
|
27
|
-
}
|
|
28
|
-
button > rk-icon.small {
|
|
29
|
-
@apply h-6 w-6;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
/* Scroll styles */
|
|
33
|
-
rk-scroll {
|
|
34
|
-
@apply flex flex-col overflow-y-scroll;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/* Square styles */
|
|
38
|
-
square {
|
|
39
|
-
@apply flex aspect-square flex-col items-center justify-center;
|
|
40
|
-
/*h-full min-h-full*/
|
|
41
|
-
}
|
|
42
|
-
/* Item styles */
|
|
43
|
-
rk-item,
|
|
44
|
-
rk-list-item,
|
|
45
|
-
.item {
|
|
46
|
-
@apply flex flex-shrink-0 flex-grow-0 cursor-pointer items-center gap-2;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
rk-item p,
|
|
50
|
-
rk-list-item p,
|
|
51
|
-
rk-summary p {
|
|
52
|
-
@apply flex flex-grow;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/* Overlay styles */
|
|
56
|
-
rk-overlay {
|
|
57
|
-
@apply bg-surface-50 bg-opacity-50;
|
|
58
|
-
}
|
package/src/base/core.css
DELETED
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
/* Global styles */
|
|
2
|
-
*:focus {
|
|
3
|
-
@apply outline-secondary outline outline-2 outline-offset-2;
|
|
4
|
-
}
|
|
5
|
-
*[tabindex='-1']:focus {
|
|
6
|
-
@apply outline-none;
|
|
7
|
-
}
|
|
8
|
-
* {
|
|
9
|
-
@apply box-border;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
/* Body styles */
|
|
13
|
-
body {
|
|
14
|
-
@apply flex w-screen flex-col overflow-hidden;
|
|
15
|
-
/* height: var(--viewport-height, 100dvh); */
|
|
16
|
-
height: 100vh;
|
|
17
|
-
height: --webkit-fill-available;
|
|
18
|
-
height: 100dvh;
|
|
19
|
-
max-height: 100dvh;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/* Link styles */
|
|
23
|
-
a {
|
|
24
|
-
@apply text-primary-800 hover:text-secondary-800 visited:text-secondary-700 cursor-pointer;
|
|
25
|
-
}
|
|
26
|
-
a:focus {
|
|
27
|
-
@apply outline-none;
|
|
28
|
-
}
|
|
29
|
-
/* Code styles */
|
|
30
|
-
code,
|
|
31
|
-
kbd,
|
|
32
|
-
samp,
|
|
33
|
-
pre {
|
|
34
|
-
@apply font-mono font-medium;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/* Disabled styles */
|
|
38
|
-
.disabled {
|
|
39
|
-
@apply text-disabled;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
input[disabled='true'],
|
|
43
|
-
textarea[disabled='true'],
|
|
44
|
-
select[disabled='true'] {
|
|
45
|
-
@apply outline-disabled;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
/* plots*/
|
|
49
|
-
rk-plot {
|
|
50
|
-
@apply bg-surface-z0 rounded-md p-4;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
g[aria-label='tip'] {
|
|
54
|
-
--plot-background: rgb(var(--surface-200));
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
rk-input-field input,
|
|
58
|
-
rk-input-field toggle-switch,
|
|
59
|
-
rk-drop-down {
|
|
60
|
-
@apply focus:outline-none;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
rk-alert,
|
|
64
|
-
rk-error,
|
|
65
|
-
rk-info,
|
|
66
|
-
rk-warning,
|
|
67
|
-
rk-success {
|
|
68
|
-
@apply cursor-pointer rounded border px-4 py-2;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
rk-checkbox {
|
|
72
|
-
@apply gap-2;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
button:disabled {
|
|
76
|
-
@apply bg-surface-z3 text-surface-500 cursor-not-allowed;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
rk-cell.cell-type-string {
|
|
80
|
-
@apply text-left;
|
|
81
|
-
}
|
|
82
|
-
rk-cell.cell-type-integer rk-item p,
|
|
83
|
-
rk-cell.cell-type-number rk-item p {
|
|
84
|
-
@apply text-right;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
rk-cell rk-item {
|
|
88
|
-
@apply flex w-full;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.dark ::-webkit-calendar-picker-indicator {
|
|
92
|
-
filter: invert(1);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
/* Autofill styles */
|
|
96
|
-
input:-webkit-autofill,
|
|
97
|
-
input:-webkit-autofill:hover,
|
|
98
|
-
input:-webkit-autofill:focus,
|
|
99
|
-
textarea:-webkit-autofill,
|
|
100
|
-
textarea:-webkit-autofill:hover,
|
|
101
|
-
textarea:-webkit-autofill:focus,
|
|
102
|
-
select:-webkit-autofill,
|
|
103
|
-
select:-webkit-autofill:hover,
|
|
104
|
-
select:-webkit-autofill:focus {
|
|
105
|
-
-webkit-text-fill-color: var(--surface-200);
|
|
106
|
-
transition: background-color 5000s ease-in-out 0s;
|
|
107
|
-
}
|
package/src/base/layout.css
DELETED
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
rk-container > rk-segment {
|
|
2
|
-
@apply h-full overflow-hidden;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.three-col,
|
|
6
|
-
.two-col {
|
|
7
|
-
@apply grid min-h-full w-full overflow-hidden;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
.three-col.md {
|
|
11
|
-
@apply grid-cols-2 grid-rows-2;
|
|
12
|
-
/* grid-template-columns: repeat(2, 1fr); */
|
|
13
|
-
/* grid-template-rows: repeat(2, 1fr); */
|
|
14
|
-
grid-template-areas:
|
|
15
|
-
'c-1 c-2'
|
|
16
|
-
'c-1 c-3';
|
|
17
|
-
}
|
|
18
|
-
.three-col.md > .col-1,
|
|
19
|
-
.three-col.lg > .col-1 {
|
|
20
|
-
grid-area: c-1;
|
|
21
|
-
}
|
|
22
|
-
.three-col.md > .col-2,
|
|
23
|
-
.three-col.lg > .col-2 {
|
|
24
|
-
grid-area: c-2;
|
|
25
|
-
}
|
|
26
|
-
.three-col.md > .col-3,
|
|
27
|
-
.three-col.lg > .col-3 {
|
|
28
|
-
grid-area: c-3;
|
|
29
|
-
}
|
|
30
|
-
.three-col.lg {
|
|
31
|
-
@apply grid-cols-5 grid-rows-2;
|
|
32
|
-
/* grid-template-columns: repeat(5, 1fr); */
|
|
33
|
-
/* grid-template-rows: repeat(2, 1fr); */
|
|
34
|
-
grid-template-areas:
|
|
35
|
-
'c-1 c-1 c-2 c-2 c-2'
|
|
36
|
-
'c-1 c-1 c-3 c-3 c-3';
|
|
37
|
-
}
|
|
38
|
-
.three-col.sm,
|
|
39
|
-
.two-col.sm {
|
|
40
|
-
@apply grid-cols-1 grid-rows-1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.two-col.md {
|
|
44
|
-
@apply grid-cols-2 grid-rows-1;
|
|
45
|
-
/* grid-template-columns: repeat(2, 1fr); */
|
|
46
|
-
grid-template-areas: 'c-1 c-2';
|
|
47
|
-
}
|
|
48
|
-
.two-col.lg {
|
|
49
|
-
@apply grid-cols-5 grid-rows-1;
|
|
50
|
-
/* grid-template-columns: repeat(5, 1fr); */
|
|
51
|
-
grid-template-areas: 'c-1 c-1 c-2 c-2 c-2';
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.two-col.md > .col-1,
|
|
55
|
-
.two-col.lg > .col-1 {
|
|
56
|
-
grid-area: c-1;
|
|
57
|
-
}
|
|
58
|
-
.two-col.md > .col-2,
|
|
59
|
-
.two-col.lg > .col-2 {
|
|
60
|
-
grid-area: c-2;
|
|
61
|
-
}
|
|
62
|
-
.two-col.md > .col-3,
|
|
63
|
-
.two-col.lg > .col-3 {
|
|
64
|
-
display: none;
|
|
65
|
-
}
|