@graupl/graupl 1.0.0-beta.0 → 1.0.0-beta.2
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/CHANGELOG.md +35 -0
- package/dist/css/base/button.css +1 -1
- package/dist/css/base/button.css.map +1 -1
- package/dist/css/base/form.css +1 -1
- package/dist/css/base/form.css.map +1 -1
- package/dist/css/base/link.css +1 -1
- package/dist/css/base/link.css.map +1 -1
- package/dist/css/base/table.css +1 -1
- package/dist/css/base/table.css.map +1 -1
- package/dist/css/base.css +1 -1
- package/dist/css/base.css.map +1 -1
- package/dist/css/component/accordion.css +1 -1
- package/dist/css/component/accordion.css.map +1 -1
- package/dist/css/component/alert.css +1 -1
- package/dist/css/component/alert.css.map +1 -1
- package/dist/css/component/card.css +1 -1
- package/dist/css/component/card.css.map +1 -1
- package/dist/css/component/carousel.css +1 -1
- package/dist/css/component/carousel.css.map +1 -1
- package/dist/css/component/input-group.css +1 -1
- package/dist/css/component/input-group.css.map +1 -1
- package/dist/css/component/list.css +2 -0
- package/dist/css/component/list.css.map +1 -0
- package/dist/css/component/menu.css +1 -1
- package/dist/css/component/menu.css.map +1 -1
- package/dist/css/component/navigation.css +1 -1
- package/dist/css/component/navigation.css.map +1 -1
- package/dist/css/component.css +1 -1
- package/dist/css/component.css.map +1 -1
- package/dist/css/graupl.css +1 -1
- package/dist/css/graupl.css.map +1 -1
- package/dist/css/layout/columns.css.map +1 -1
- package/dist/css/layout/container.css.map +1 -1
- package/dist/css/layout/flex-columns.css.map +1 -1
- package/dist/css/layout.css +1 -1
- package/dist/css/layout.css.map +1 -1
- package/dist/css/normalize.css.map +1 -1
- package/dist/css/state/focus.css +1 -1
- package/dist/css/state/focus.css.map +1 -1
- package/dist/css/state.css +1 -1
- package/dist/css/state.css.map +1 -1
- package/dist/css/theme/color.css.map +1 -1
- package/dist/css/theme/typography.css.map +1 -1
- package/dist/css/theme.css.map +1 -1
- package/dist/css/utilities/alignment.css.map +1 -1
- package/dist/css/utilities/border.css +2 -0
- package/dist/css/utilities/border.css.map +1 -0
- package/dist/css/utilities/color.css +1 -1
- package/dist/css/utilities/color.css.map +1 -1
- package/dist/css/utilities/display.css +1 -1
- package/dist/css/utilities/display.css.map +1 -1
- package/dist/css/utilities/flex.css +1 -1
- package/dist/css/utilities/flex.css.map +1 -1
- package/dist/css/utilities/height.css +1 -1
- package/dist/css/utilities/height.css.map +1 -1
- package/dist/css/utilities/inset.css +1 -1
- package/dist/css/utilities/inset.css.map +1 -1
- package/dist/css/utilities/justification.css.map +1 -1
- package/dist/css/utilities/list.css.map +1 -1
- package/dist/css/utilities/order.css.map +1 -1
- package/dist/css/utilities/postion.css +1 -1
- package/dist/css/utilities/postion.css.map +1 -1
- package/dist/css/utilities/ratio.css +1 -1
- package/dist/css/utilities/ratio.css.map +1 -1
- package/dist/css/utilities/spacing.css +1 -1
- package/dist/css/utilities/spacing.css.map +1 -1
- package/dist/css/utilities/typography.css +1 -1
- package/dist/css/utilities/typography.css.map +1 -1
- package/dist/css/utilities/visibility.css.map +1 -1
- package/dist/css/utilities/width.css +1 -1
- package/dist/css/utilities/width.css.map +1 -1
- package/dist/css/utilities.css +1 -1
- package/dist/css/utilities.css.map +1 -1
- package/docs/components/alert.md +28 -28
- package/docs/components/button.md +36 -36
- package/docs/components/card.md +39 -39
- package/docs/components/inputgroup.md +12 -12
- package/docs/components/menu.md +112 -112
- package/docs/components/navigation.md +52 -52
- package/docs/content.md +86 -86
- package/docs/defaults.md +10 -10
- package/docs/forms.md +34 -34
- package/docs/layout.md +21 -21
- package/docs/state.md +8 -8
- package/docs/theme.md +58 -58
- package/docs/utilities.md +1 -1
- package/index.html +84 -12
- package/package.json +1 -1
- package/scss/component/list.scss +3 -0
- package/scss/utilities/border.scss +3 -0
- package/src/scss/_defaults.scss +14 -5
- package/src/scss/_variables.scss +10 -10
- package/src/scss/base/button/_index.scss +70 -70
- package/src/scss/base/button/_mixins.scss +22 -22
- package/src/scss/base/button/_variables.scss +36 -36
- package/src/scss/base/form/_variables.scss +34 -37
- package/src/scss/base/link/_index.scss +41 -41
- package/src/scss/base/link/_variables.scss +60 -60
- package/src/scss/base/table/_index.scss +7 -7
- package/src/scss/base/table/_variables.scss +26 -26
- package/src/scss/component/_index.scss +1 -0
- package/src/scss/component/accordion/_index.scss +6 -6
- package/src/scss/component/accordion/_variables.scss +65 -65
- package/src/scss/component/alert/_index.scss +11 -11
- package/src/scss/component/alert/_variables.scss +40 -43
- package/src/scss/component/card/_index.scss +6 -6
- package/src/scss/component/card/_variables.scss +39 -39
- package/src/scss/component/carousel/_index.scss +3 -3
- package/src/scss/component/carousel/_variables.scss +21 -21
- package/src/scss/component/input-group/_index.scss +1 -1
- package/src/scss/component/input-group/_variables.scss +12 -12
- package/src/scss/component/list/_defaults.scss +15 -0
- package/src/scss/component/list/_index.scss +50 -0
- package/src/scss/component/list/_variables.scss +176 -0
- package/src/scss/component/menu/_index.scss +135 -135
- package/src/scss/component/menu/_variables.scss +112 -112
- package/src/scss/component/navigation/_index.scss +38 -38
- package/src/scss/component/navigation/_variables.scss +52 -52
- package/src/scss/functions/_screen.scss +8 -0
- package/src/scss/functions/_utility.scss +28 -0
- package/src/scss/layout/columns/_index.scss +6 -6
- package/src/scss/layout/columns/_variables.scss +7 -7
- package/src/scss/layout/container/_variables.scss +10 -10
- package/src/scss/layout/flex-columns/_index.scss +8 -8
- package/src/scss/layout/flex-columns/_variables.scss +4 -4
- package/src/scss/mixins/_layer.scss +5 -1
- package/src/scss/mixins/_screen.scss +24 -3
- package/src/scss/mixins/_state.scss +18 -0
- package/src/scss/mixins/_theme.scss +15 -0
- package/src/scss/mixins/_utility.scss +119 -17
- package/src/scss/state/focus/_variables.scss +8 -8
- package/src/scss/theme/color/_index.scss +7 -7
- package/src/scss/theme/color/_variables.scss +7 -7
- package/src/scss/theme/typography/_variables.scss +52 -52
- package/src/scss/utilities/_index.scss +1 -0
- package/src/scss/utilities/alignment/_defaults.scss +7 -5
- package/src/scss/utilities/alignment/_index.scss +117 -24
- package/src/scss/utilities/border/_defaults.scss +61 -0
- package/src/scss/utilities/border/_index.scss +269 -0
- package/src/scss/utilities/border/_variables.scss +6 -0
- package/src/scss/utilities/color/_defaults.scss +6 -4
- package/src/scss/utilities/color/_index.scss +137 -26
- package/src/scss/utilities/display/_defaults.scss +8 -4
- package/src/scss/utilities/display/_index.scss +88 -15
- package/src/scss/utilities/flex/_defaults.scss +30 -6
- package/src/scss/utilities/flex/_index.scss +215 -31
- package/src/scss/utilities/height/_defaults.scss +7 -5
- package/src/scss/utilities/height/_index.scss +183 -45
- package/src/scss/utilities/inset/_defaults.scss +4 -2
- package/src/scss/utilities/inset/_index.scss +58 -5
- package/src/scss/utilities/justification/_defaults.scss +7 -5
- package/src/scss/utilities/justification/_index.scss +117 -24
- package/src/scss/utilities/list/_defaults.scss +6 -4
- package/src/scss/utilities/list/_index.scss +86 -17
- package/src/scss/utilities/order/_defaults.scss +5 -3
- package/src/scss/utilities/order/_index.scss +68 -20
- package/src/scss/utilities/position/_defaults.scss +5 -3
- package/src/scss/utilities/position/_index.scss +55 -10
- package/src/scss/utilities/ratio/_defaults.scss +7 -5
- package/src/scss/utilities/ratio/_index.scss +51 -12
- package/src/scss/utilities/ratio/_variables.scss +1 -1
- package/src/scss/utilities/spacing/_defaults.scss +4 -2
- package/src/scss/utilities/spacing/_index.scss +241 -28
- package/src/scss/utilities/typography/_defaults.scss +21 -5
- package/src/scss/utilities/typography/_index.scss +577 -143
- package/src/scss/utilities/visibility/_defaults.scss +5 -3
- package/src/scss/utilities/visibility/_index.scss +56 -10
- package/src/scss/utilities/width/_defaults.scss +7 -5
- package/src/scss/utilities/width/_index.scss +183 -45
- package/stylelint.config.js +1 -0
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
// @graupl/graupl list component variables.
|
|
2
|
+
//
|
|
3
|
+
// These values are to be used to directly style components and provide a
|
|
4
|
+
// cleaner way to reference custom properties.
|
|
5
|
+
|
|
6
|
+
@use "../../defaults" as root-defaults;
|
|
7
|
+
@use "../../theme/color/variables" as color;
|
|
8
|
+
@use "../../variables" as root-variables;
|
|
9
|
+
@use "defaults";
|
|
10
|
+
@use "sass:map";
|
|
11
|
+
|
|
12
|
+
// List properties.
|
|
13
|
+
$list-padding-x: var(
|
|
14
|
+
--#{root-defaults.$prefix}list-padding-x,
|
|
15
|
+
#{map.get(root-variables.$spacers, 0)}
|
|
16
|
+
);
|
|
17
|
+
$list-padding-y: var(
|
|
18
|
+
--#{root-defaults.$prefix}list-padding-y,
|
|
19
|
+
#{map.get(root-variables.$spacers, 0)}
|
|
20
|
+
);
|
|
21
|
+
$list-padding: var(
|
|
22
|
+
--#{root-defaults.$prefix}list-padding,
|
|
23
|
+
#{$list-padding-y} #{$list-padding-x}
|
|
24
|
+
);
|
|
25
|
+
$list-margin-x: var(
|
|
26
|
+
--#{root-defaults.$prefix}list-margin-x,
|
|
27
|
+
#{map.get(root-variables.$spacers, 0)}
|
|
28
|
+
);
|
|
29
|
+
$list-margin-y: var(
|
|
30
|
+
--#{root-defaults.$prefix}list-margin-y,
|
|
31
|
+
#{map.get(root-variables.$spacers, 0)}
|
|
32
|
+
);
|
|
33
|
+
$list-margin: var(
|
|
34
|
+
--#{root-defaults.$prefix}list-margin,
|
|
35
|
+
#{$list-margin-y} #{$list-margin-x}
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
// List gap properties.
|
|
39
|
+
$list-column-gap: var(
|
|
40
|
+
--#{root-defaults.$prefix}list-column-gap,
|
|
41
|
+
#{map.get(root-variables.$spacers, 2)}
|
|
42
|
+
);
|
|
43
|
+
$list-row-gap: var(
|
|
44
|
+
--#{root-defaults.$prefix}list-row-gap,
|
|
45
|
+
#{map.get(root-variables.$spacers, 2)}
|
|
46
|
+
);
|
|
47
|
+
$list-gap: var(
|
|
48
|
+
--#{root-defaults.$prefix}list-gap,
|
|
49
|
+
#{$list-column-gap} #{$list-row-gap}
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
// List color properties.
|
|
53
|
+
$list-background: var(
|
|
54
|
+
--#{root-defaults.$prefix}list-background,
|
|
55
|
+
#{color.$root-background}
|
|
56
|
+
);
|
|
57
|
+
$list-color: var(--#{root-defaults.$prefix}list-color, #{color.$root-color});
|
|
58
|
+
|
|
59
|
+
// List border-properties.
|
|
60
|
+
$list-border-color: var(
|
|
61
|
+
--#{root-defaults.$prefix}list-border-color,
|
|
62
|
+
#{$list-color}
|
|
63
|
+
);
|
|
64
|
+
$list-top-left-border-radius: var(
|
|
65
|
+
--#{root-defaults.$prefix}list-top-left-border-radius,
|
|
66
|
+
#{root-variables.$border-radius}
|
|
67
|
+
);
|
|
68
|
+
$list-top-right-border-radius: var(
|
|
69
|
+
--#{root-defaults.$prefix}list-top-right-border-radius,
|
|
70
|
+
#{root-variables.$border-radius}
|
|
71
|
+
);
|
|
72
|
+
$list-bottom-left-border-radius: var(
|
|
73
|
+
--#{root-defaults.$prefix}list-bottom-left-border-radius,
|
|
74
|
+
#{root-variables.$border-radius}
|
|
75
|
+
);
|
|
76
|
+
$list-bottom-right-border-radius: var(
|
|
77
|
+
--#{root-defaults.$prefix}list-bottom-right-border-radius,
|
|
78
|
+
#{root-variables.$border-radius}
|
|
79
|
+
);
|
|
80
|
+
$list-border-radius: var(
|
|
81
|
+
--#{root-defaults.$prefix}list-border-radius,
|
|
82
|
+
#{$list-top-left-border-radius} #{$list-top-right-border-radius}
|
|
83
|
+
#{$list-bottom-right-border-radius} #{$list-bottom-left-border-radius}
|
|
84
|
+
);
|
|
85
|
+
$list-border-style: var(
|
|
86
|
+
--#{root-defaults.$prefix}list-border-style,
|
|
87
|
+
#{root-variables.$border-style}
|
|
88
|
+
);
|
|
89
|
+
$list-border-width: var(--#{root-defaults.$prefix}list-border-width, 0);
|
|
90
|
+
$list-border: var(
|
|
91
|
+
--#{root-defaults.$prefix}list-border,
|
|
92
|
+
#{$list-border-width} #{$list-border-style}
|
|
93
|
+
);
|
|
94
|
+
|
|
95
|
+
// List item properties.
|
|
96
|
+
$list-item-padding-x: var(
|
|
97
|
+
--#{root-defaults.$prefix}list-item-padding-x,
|
|
98
|
+
#{map.get(root-variables.$spacers, 5)}
|
|
99
|
+
);
|
|
100
|
+
$list-item-padding-y: var(
|
|
101
|
+
--#{root-defaults.$prefix}list-item-padding-y,
|
|
102
|
+
#{map.get(root-variables.$spacers, 3)}
|
|
103
|
+
);
|
|
104
|
+
$list-item-padding: var(
|
|
105
|
+
--#{root-defaults.$prefix}list-item-padding,
|
|
106
|
+
#{$list-item-padding-y} #{$list-item-padding-x}
|
|
107
|
+
);
|
|
108
|
+
$list-item-transition: var(
|
|
109
|
+
--#{root-defaults.$prefix}list-item-transition,
|
|
110
|
+
transform #{map.get(root-variables.$transition-durations, fast)}
|
|
111
|
+
#{root-variables.$transition-timing-function}
|
|
112
|
+
);
|
|
113
|
+
$list-item-transition-reduced-motion: var(
|
|
114
|
+
--#{root-defaults.$prefix}list-item-transition-reduced-motion,
|
|
115
|
+
none
|
|
116
|
+
);
|
|
117
|
+
|
|
118
|
+
// List item transform properties.
|
|
119
|
+
$list-item-transform: var(
|
|
120
|
+
--#{root-defaults.$prefix}list-item-transform,
|
|
121
|
+
#{defaults.$list-item-transform}
|
|
122
|
+
);
|
|
123
|
+
$list-item-hover-transform: var(
|
|
124
|
+
--#{root-defaults.$prefix}list-item-hover-transform,
|
|
125
|
+
#{defaults.$list-item-hover-transform}
|
|
126
|
+
);
|
|
127
|
+
|
|
128
|
+
// List item color properties.
|
|
129
|
+
$list-item-background: var(
|
|
130
|
+
--#{root-defaults.$prefix}list-item-background,
|
|
131
|
+
#{color.$root-background}
|
|
132
|
+
);
|
|
133
|
+
$list-item-color: var(
|
|
134
|
+
--#{root-defaults.$prefix}list-item-color,
|
|
135
|
+
#{color.$root-color}
|
|
136
|
+
);
|
|
137
|
+
|
|
138
|
+
// List item border-properties.
|
|
139
|
+
$list-item-border-color: var(
|
|
140
|
+
--#{root-defaults.$prefix}list-item-border-color,
|
|
141
|
+
#{$list-item-color}
|
|
142
|
+
);
|
|
143
|
+
$list-item-top-left-border-radius: var(
|
|
144
|
+
--#{root-defaults.$prefix}list-item-top-left-border-radius,
|
|
145
|
+
#{root-variables.$border-radius}
|
|
146
|
+
);
|
|
147
|
+
$list-item-top-right-border-radius: var(
|
|
148
|
+
--#{root-defaults.$prefix}list-item-top-right-border-radius,
|
|
149
|
+
#{root-variables.$border-radius}
|
|
150
|
+
);
|
|
151
|
+
$list-item-bottom-left-border-radius: var(
|
|
152
|
+
--#{root-defaults.$prefix}list-item-bottom-left-border-radius,
|
|
153
|
+
#{root-variables.$border-radius}
|
|
154
|
+
);
|
|
155
|
+
$list-item-bottom-right-border-radius: var(
|
|
156
|
+
--#{root-defaults.$prefix}list-item-bottom-right-border-radius,
|
|
157
|
+
#{root-variables.$border-radius}
|
|
158
|
+
);
|
|
159
|
+
$list-item-border-radius: var(
|
|
160
|
+
--#{root-defaults.$prefix}list-item-border-radius,
|
|
161
|
+
#{$list-item-top-left-border-radius} #{$list-item-top-right-border-radius}
|
|
162
|
+
#{$list-item-bottom-right-border-radius}
|
|
163
|
+
#{$list-item-bottom-left-border-radius}
|
|
164
|
+
);
|
|
165
|
+
$list-item-border-style: var(
|
|
166
|
+
--#{root-defaults.$prefix}list-item-border-style,
|
|
167
|
+
#{root-variables.$border-style}
|
|
168
|
+
);
|
|
169
|
+
$list-item-border-width: var(
|
|
170
|
+
--#{root-defaults.$prefix}list-item-border-width,
|
|
171
|
+
#{root-variables.$border-width}
|
|
172
|
+
);
|
|
173
|
+
$list-item-border: var(
|
|
174
|
+
--#{root-defaults.$prefix}list-item-border,
|
|
175
|
+
#{$list-item-border-width} #{$list-item-border-style}
|
|
176
|
+
);
|
|
@@ -10,34 +10,34 @@
|
|
|
10
10
|
|
|
11
11
|
@include layer(component) {
|
|
12
12
|
#{defaults.$menu-selector} {
|
|
13
|
-
--#{root-defaults.$prefix}
|
|
14
|
-
--#{root-defaults.$prefix}
|
|
15
|
-
--#{root-defaults.$prefix}
|
|
16
|
-
--#{root-defaults.$prefix}
|
|
17
|
-
--#{root-defaults.$prefix}
|
|
18
|
-
--#{root-defaults.$prefix}
|
|
19
|
-
--#{root-defaults.$prefix}
|
|
20
|
-
--#{root-defaults.$prefix}
|
|
21
|
-
--#{root-defaults.$prefix}
|
|
22
|
-
--#{root-defaults.$prefix}
|
|
23
|
-
--#{root-defaults.$prefix}
|
|
24
|
-
--#{root-defaults.$prefix}
|
|
25
|
-
--#{root-defaults.$prefix}
|
|
26
|
-
--#{root-defaults.$prefix}
|
|
27
|
-
--#{root-defaults.$prefix}
|
|
28
|
-
--#{root-defaults.$prefix}
|
|
29
|
-
--#{root-defaults.$prefix}
|
|
30
|
-
--#{root-defaults.$prefix}
|
|
31
|
-
--#{root-defaults.$prefix}
|
|
32
|
-
--#{root-defaults.$prefix}
|
|
33
|
-
--#{root-defaults.$prefix}
|
|
34
|
-
--#{root-defaults.$prefix}
|
|
35
|
-
--#{root-defaults.$prefix}
|
|
36
|
-
--#{root-defaults.$prefix}
|
|
37
|
-
--#{root-defaults.$prefix}
|
|
38
|
-
--#{root-defaults.$prefix}
|
|
39
|
-
--#{root-defaults.$prefix}
|
|
40
|
-
--#{root-defaults.$prefix}
|
|
13
|
+
--#{root-defaults.$prefix}link-padding: #{$menu-link-padding};
|
|
14
|
+
--#{root-defaults.$prefix}link-border-width: #{$menu-link-border-width};
|
|
15
|
+
--#{root-defaults.$prefix}link-border-radius: #{$menu-link-border-radius};
|
|
16
|
+
--#{root-defaults.$prefix}link-border-style: #{$menu-link-border-style};
|
|
17
|
+
--#{root-defaults.$prefix}link-text-decoration: #{$menu-link-text-decoration};
|
|
18
|
+
--#{root-defaults.$prefix}link-text-decoration-thickness: #{$menu-link-text-decoration-thickness};
|
|
19
|
+
--#{root-defaults.$prefix}link-text-decoration-style: #{$menu-link-text-decoration-style};
|
|
20
|
+
--#{root-defaults.$prefix}link-transform: #{$menu-link-transform};
|
|
21
|
+
--#{root-defaults.$prefix}link-visited-text-decoration: #{$menu-link-visited-text-decoration};
|
|
22
|
+
--#{root-defaults.$prefix}link-visited-text-decoration-thickness: #{$menu-link-visited-text-decoration-thickness};
|
|
23
|
+
--#{root-defaults.$prefix}link-visited-text-decoration-style: #{$menu-link-visited-text-decoration-style};
|
|
24
|
+
--#{root-defaults.$prefix}link-visited-transform: #{$menu-link-visited-transform};
|
|
25
|
+
--#{root-defaults.$prefix}link-focus-text-decoration: #{$menu-link-focus-text-decoration};
|
|
26
|
+
--#{root-defaults.$prefix}link-focus-text-decoration-thickness: #{$menu-link-focus-text-decoration-thickness};
|
|
27
|
+
--#{root-defaults.$prefix}link-focus-text-decoration-style: #{$menu-link-focus-text-decoration-style};
|
|
28
|
+
--#{root-defaults.$prefix}link-focus-transform: #{$menu-link-focus-transform};
|
|
29
|
+
--#{root-defaults.$prefix}link-hover-text-decoration: #{$menu-link-hover-text-decoration};
|
|
30
|
+
--#{root-defaults.$prefix}link-hover-text-decoration-thickness: #{$menu-link-hover-text-decoration-thickness};
|
|
31
|
+
--#{root-defaults.$prefix}link-hover-text-decoration-style: #{$menu-link-hover-text-decoration-style};
|
|
32
|
+
--#{root-defaults.$prefix}link-hover-transform: #{$menu-link-hover-transform};
|
|
33
|
+
--#{root-defaults.$prefix}link-active-text-decoration: #{$menu-link-active-text-decoration};
|
|
34
|
+
--#{root-defaults.$prefix}link-active-text-decoration-thickness: #{$menu-link-active-text-decoration-thickness};
|
|
35
|
+
--#{root-defaults.$prefix}link-active-text-decoration-style: #{$menu-link-active-text-decoration-style};
|
|
36
|
+
--#{root-defaults.$prefix}link-active-transform: #{$menu-link-active-transform};
|
|
37
|
+
--#{root-defaults.$prefix}link-disabled-text-decoration: #{$menu-link-disabled-text-decoration};
|
|
38
|
+
--#{root-defaults.$prefix}link-disabled-text-decoration-thickness: #{$menu-link-disabled-text-decoration-thickness};
|
|
39
|
+
--#{root-defaults.$prefix}link-disabled-text-decoration-style: #{$menu-link-disabled-text-decoration-style};
|
|
40
|
+
--#{root-defaults.$prefix}link-disabled-transform: #{$menu-link-disabled-transform};
|
|
41
41
|
|
|
42
42
|
display: $menu-display;
|
|
43
43
|
flex-direction: $menu-flex-direction;
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
isolation: isolate;
|
|
50
50
|
|
|
51
51
|
&#{defaults.$menu-show-selector} {
|
|
52
|
-
--#{root-defaults.$prefix}
|
|
52
|
+
--#{root-defaults.$prefix}menu-display: #{$menu-show-display};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&#{defaults.$menu-hide-selector} {
|
|
56
|
-
--#{root-defaults.$prefix}
|
|
56
|
+
--#{root-defaults.$prefix}menu-display: #{$menu-hide-display};
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
|
|
@@ -72,11 +72,11 @@
|
|
|
72
72
|
inset: $submenu-inset;
|
|
73
73
|
|
|
74
74
|
&#{defaults.$menu-show-selector} {
|
|
75
|
-
--#{root-defaults.$prefix}
|
|
75
|
+
--#{root-defaults.$prefix}submenu-display: #{$submenu-show-display};
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
&#{defaults.$menu-hide-selector} {
|
|
79
|
-
--#{root-defaults.$prefix}
|
|
79
|
+
--#{root-defaults.$prefix}submenu-display: #{$submenu-hide-display};
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -105,31 +105,31 @@
|
|
|
105
105
|
text-decoration-thickness: $menu-link-text-decoration-thickness;
|
|
106
106
|
|
|
107
107
|
&:visited {
|
|
108
|
-
--#{root-defaults.$prefix}
|
|
109
|
-
--#{root-defaults.$prefix}
|
|
110
|
-
--#{root-defaults.$prefix}
|
|
111
|
-
--#{root-defaults.$prefix}
|
|
108
|
+
--#{root-defaults.$prefix}menu-link-text-decoration: #{$menu-link-visited-text-decoration};
|
|
109
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-thickness: #{$menu-link-visited-text-decoration-thickness};
|
|
110
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-style: #{$menu-link-visited-text-decoration-style};
|
|
111
|
+
--#{root-defaults.$prefix}menu-link-transform: #{$menu-link-visited-transform};
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
&:focus-visible {
|
|
115
|
-
--#{root-defaults.$prefix}
|
|
116
|
-
--#{root-defaults.$prefix}
|
|
117
|
-
--#{root-defaults.$prefix}
|
|
118
|
-
--#{root-defaults.$prefix}
|
|
115
|
+
--#{root-defaults.$prefix}menu-link-text-decoration: #{$menu-link-focus-text-decoration};
|
|
116
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-thickness: #{$menu-link-focus-text-decoration-thickness};
|
|
117
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-style: #{$menu-link-focus-text-decoration-style};
|
|
118
|
+
--#{root-defaults.$prefix}menu-link-transform: #{$menu-link-focus-transform};
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
&:hover {
|
|
122
|
-
--#{root-defaults.$prefix}
|
|
123
|
-
--#{root-defaults.$prefix}
|
|
124
|
-
--#{root-defaults.$prefix}
|
|
125
|
-
--#{root-defaults.$prefix}
|
|
122
|
+
--#{root-defaults.$prefix}menu-link-text-decoration: #{$menu-link-hover-text-decoration};
|
|
123
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-thickness: #{$menu-link-hover-text-decoration-thickness};
|
|
124
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-style: #{$menu-link-hover-text-decoration-style};
|
|
125
|
+
--#{root-defaults.$prefix}menu-link-transform: #{$menu-link-hover-transform};
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
&:active {
|
|
129
|
-
--#{root-defaults.$prefix}
|
|
130
|
-
--#{root-defaults.$prefix}
|
|
131
|
-
--#{root-defaults.$prefix}
|
|
132
|
-
--#{root-defaults.$prefix}
|
|
129
|
+
--#{root-defaults.$prefix}menu-link-text-decoration: #{$menu-link-active-text-decoration};
|
|
130
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-thickness: #{$menu-link-active-text-decoration-thickness};
|
|
131
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-style: #{$menu-link-active-text-decoration-style};
|
|
132
|
+
--#{root-defaults.$prefix}menu-link-transform: #{$menu-link-active-transform};
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
&:disabled,
|
|
@@ -139,32 +139,32 @@
|
|
|
139
139
|
&:focus-visible,
|
|
140
140
|
&:hover,
|
|
141
141
|
&:active {
|
|
142
|
-
--#{root-defaults.$prefix}
|
|
143
|
-
--#{root-defaults.$prefix}
|
|
144
|
-
--#{root-defaults.$prefix}
|
|
145
|
-
--#{root-defaults.$prefix}
|
|
142
|
+
--#{root-defaults.$prefix}menu-link-text-decoration: #{$menu-link-disabled-text-decoration};
|
|
143
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-thickness: #{$menu-link-disabled-text-decoration-thickness};
|
|
144
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-style: #{$menu-link-disabled-text-decoration-style};
|
|
145
|
+
--#{root-defaults.$prefix}menu-link-transform: #{$menu-link-disabled-transform};
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
&#{button-defaults.$button-selector} {
|
|
150
|
-
--#{root-defaults.$prefix}
|
|
151
|
-
--#{root-defaults.$prefix}
|
|
152
|
-
--#{root-defaults.$prefix}
|
|
153
|
-
--#{root-defaults.$prefix}
|
|
154
|
-
--#{root-defaults.$prefix}
|
|
155
|
-
--#{root-defaults.$prefix}
|
|
156
|
-
--#{root-defaults.$prefix}
|
|
157
|
-
--#{root-defaults.$prefix}
|
|
158
|
-
--#{root-defaults.$prefix}
|
|
159
|
-
--#{root-defaults.$prefix}
|
|
160
|
-
--#{root-defaults.$prefix}
|
|
161
|
-
--#{root-defaults.$prefix}
|
|
162
|
-
--#{root-defaults.$prefix}
|
|
163
|
-
--#{root-defaults.$prefix}
|
|
164
|
-
--#{root-defaults.$prefix}
|
|
165
|
-
--#{root-defaults.$prefix}
|
|
166
|
-
--#{root-defaults.$prefix}
|
|
167
|
-
--#{root-defaults.$prefix}
|
|
150
|
+
--#{root-defaults.$prefix}menu-link-padding: #{button-variables.$button-padding};
|
|
151
|
+
--#{root-defaults.$prefix}menu-link-border-width: #{button-variables.$button-border-width};
|
|
152
|
+
--#{root-defaults.$prefix}menu-link-border-radius: #{button-variables.$button-border-radius};
|
|
153
|
+
--#{root-defaults.$prefix}menu-link-border-style: #{button-variables.$button-border-style};
|
|
154
|
+
--#{root-defaults.$prefix}menu-link-text-decoration: none;
|
|
155
|
+
--#{root-defaults.$prefix}menu-link-visited-text-decoration: none;
|
|
156
|
+
--#{root-defaults.$prefix}menu-link-focus-text-decoration: none;
|
|
157
|
+
--#{root-defaults.$prefix}menu-link-hover-text-decoration: none;
|
|
158
|
+
--#{root-defaults.$prefix}menu-link-active-text-decoration: none;
|
|
159
|
+
--#{root-defaults.$prefix}menu-link-disabled-text-decoration: none;
|
|
160
|
+
--#{root-defaults.$prefix}menu-link-transition: #{button-variables.$button-transition};
|
|
161
|
+
--#{root-defaults.$prefix}menu-link-transition-reduced-motion: #{button-variables.$button-transition-reduced-motion};
|
|
162
|
+
--#{root-defaults.$prefix}menu-link-transform: #{button-variables.$button-transform};
|
|
163
|
+
--#{root-defaults.$prefix}menu-link-visited-transform: #{button-variables.$button-visited-transform};
|
|
164
|
+
--#{root-defaults.$prefix}menu-link-focus-transform: #{button-variables.$button-focus-transform};
|
|
165
|
+
--#{root-defaults.$prefix}menu-link-hover-transform: #{button-variables.$button-hover-transform};
|
|
166
|
+
--#{root-defaults.$prefix}menu-link-active-transform: #{button-variables.$button-active-transform};
|
|
167
|
+
--#{root-defaults.$prefix}menu-link-disabled-transform: #{button-variables.$button-disabled-transform};
|
|
168
168
|
}
|
|
169
169
|
}
|
|
170
170
|
|
|
@@ -181,47 +181,47 @@
|
|
|
181
181
|
}
|
|
182
182
|
|
|
183
183
|
&[aria-expanded="true"]::after {
|
|
184
|
-
--#{root-defaults.$prefix}
|
|
184
|
+
--#{root-defaults.$prefix}submenu-toggle-transform: #{$submenu-toggle-open-transform};
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
@include animation.off {
|
|
189
189
|
#{defaults.$menu-link-selector} {
|
|
190
|
-
--#{root-defaults.$prefix}
|
|
190
|
+
--#{root-defaults.$prefix}menu-link-transition: #{$menu-link-transition-reduced-motion};
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
#{defaults.$submenu-toggle-selector}::after {
|
|
194
|
-
--#{root-defaults.$prefix}
|
|
194
|
+
--#{root-defaults.$prefix}submenu-toggle-transition: #{$submenu-toggle-transition-reduced-motion};
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
@include layer(theme) {
|
|
200
200
|
#{defaults.$menu-selector} {
|
|
201
|
-
--#{root-defaults.$prefix}
|
|
202
|
-
--#{root-defaults.$prefix}
|
|
203
|
-
--#{root-defaults.$prefix}
|
|
204
|
-
--#{root-defaults.$prefix}
|
|
205
|
-
--#{root-defaults.$prefix}
|
|
206
|
-
--#{root-defaults.$prefix}
|
|
207
|
-
--#{root-defaults.$prefix}
|
|
208
|
-
--#{root-defaults.$prefix}
|
|
209
|
-
--#{root-defaults.$prefix}
|
|
210
|
-
--#{root-defaults.$prefix}
|
|
211
|
-
--#{root-defaults.$prefix}
|
|
212
|
-
--#{root-defaults.$prefix}
|
|
213
|
-
--#{root-defaults.$prefix}
|
|
214
|
-
--#{root-defaults.$prefix}
|
|
215
|
-
--#{root-defaults.$prefix}
|
|
216
|
-
--#{root-defaults.$prefix}
|
|
217
|
-
--#{root-defaults.$prefix}
|
|
218
|
-
--#{root-defaults.$prefix}
|
|
219
|
-
--#{root-defaults.$prefix}
|
|
220
|
-
--#{root-defaults.$prefix}
|
|
221
|
-
--#{root-defaults.$prefix}
|
|
222
|
-
--#{root-defaults.$prefix}
|
|
223
|
-
--#{root-defaults.$prefix}
|
|
224
|
-
--#{root-defaults.$prefix}
|
|
201
|
+
--#{root-defaults.$prefix}link-color: #{$menu-link-color};
|
|
202
|
+
--#{root-defaults.$prefix}link-background: #{$menu-link-background};
|
|
203
|
+
--#{root-defaults.$prefix}link-border-color: #{$menu-link-border-color};
|
|
204
|
+
--#{root-defaults.$prefix}link-text-decoration-color: #{$menu-link-text-decoration-color};
|
|
205
|
+
--#{root-defaults.$prefix}link-visited-color: #{$menu-link-visited-color};
|
|
206
|
+
--#{root-defaults.$prefix}link-visited-background: #{$menu-link-visited-background};
|
|
207
|
+
--#{root-defaults.$prefix}link-visited-border-color: #{$menu-link-visited-border-color};
|
|
208
|
+
--#{root-defaults.$prefix}link-visited-text-decoration-color: #{$menu-link-visited-text-decoration-color};
|
|
209
|
+
--#{root-defaults.$prefix}link-focus-color: #{$menu-link-focus-color};
|
|
210
|
+
--#{root-defaults.$prefix}link-focus-background: #{$menu-link-focus-background};
|
|
211
|
+
--#{root-defaults.$prefix}link-focus-border-color: #{$menu-link-focus-border-color};
|
|
212
|
+
--#{root-defaults.$prefix}link-focus-text-decoration-color: #{$menu-link-focus-text-decoration-color};
|
|
213
|
+
--#{root-defaults.$prefix}link-hover-color: #{$menu-link-hover-color};
|
|
214
|
+
--#{root-defaults.$prefix}link-hover-background: #{$menu-link-hover-background};
|
|
215
|
+
--#{root-defaults.$prefix}link-hover-border-color: #{$menu-link-hover-border-color};
|
|
216
|
+
--#{root-defaults.$prefix}link-hover-text-decoration-color: #{$menu-link-hover-text-decoration-color};
|
|
217
|
+
--#{root-defaults.$prefix}link-active-color: #{$menu-link-active-color};
|
|
218
|
+
--#{root-defaults.$prefix}link-active-background: #{$menu-link-active-background};
|
|
219
|
+
--#{root-defaults.$prefix}link-active-border-color: #{$menu-link-active-border-color};
|
|
220
|
+
--#{root-defaults.$prefix}link-active-text-decoration-color: #{$menu-link-active-text-decoration-color};
|
|
221
|
+
--#{root-defaults.$prefix}link-disabled-color: #{$menu-link-disabled-color};
|
|
222
|
+
--#{root-defaults.$prefix}link-disabled-background: #{$menu-link-disabled-background};
|
|
223
|
+
--#{root-defaults.$prefix}link-disabled-border-color: #{$menu-link-disabled-border-color};
|
|
224
|
+
--#{root-defaults.$prefix}link-disabled-text-decoration-color: #{$menu-link-disabled-text-decoration-color};
|
|
225
225
|
|
|
226
226
|
border-color: $menu-border-color;
|
|
227
227
|
background: $menu-background;
|
|
@@ -241,31 +241,31 @@
|
|
|
241
241
|
text-decoration-color: $menu-link-text-decoration-color;
|
|
242
242
|
|
|
243
243
|
&:visited {
|
|
244
|
-
--#{root-defaults.$prefix}
|
|
245
|
-
--#{root-defaults.$prefix}
|
|
246
|
-
--#{root-defaults.$prefix}
|
|
247
|
-
--#{root-defaults.$prefix}
|
|
244
|
+
--#{root-defaults.$prefix}menu-link-background: #{$menu-link-visited-background};
|
|
245
|
+
--#{root-defaults.$prefix}menu-link-color: #{$menu-link-visited-color};
|
|
246
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-color: #{$menu-link-visited-text-decoration-color};
|
|
247
|
+
--#{root-defaults.$prefix}menu-link-border-color: #{$menu-link-visited-border-color};
|
|
248
248
|
}
|
|
249
249
|
|
|
250
250
|
&:focus-visible {
|
|
251
|
-
--#{root-defaults.$prefix}
|
|
252
|
-
--#{root-defaults.$prefix}
|
|
253
|
-
--#{root-defaults.$prefix}
|
|
254
|
-
--#{root-defaults.$prefix}
|
|
251
|
+
--#{root-defaults.$prefix}menu-link-background: #{$menu-link-focus-background};
|
|
252
|
+
--#{root-defaults.$prefix}menu-link-color: #{$menu-link-focus-color};
|
|
253
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-color: #{$menu-link-focus-text-decoration-color};
|
|
254
|
+
--#{root-defaults.$prefix}menu-link-border-color: #{$menu-link-focus-border-color};
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
&:hover {
|
|
258
|
-
--#{root-defaults.$prefix}
|
|
259
|
-
--#{root-defaults.$prefix}
|
|
260
|
-
--#{root-defaults.$prefix}
|
|
261
|
-
--#{root-defaults.$prefix}
|
|
258
|
+
--#{root-defaults.$prefix}menu-link-background: #{$menu-link-hover-background};
|
|
259
|
+
--#{root-defaults.$prefix}menu-link-color: #{$menu-link-hover-color};
|
|
260
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-color: #{$menu-link-hover-text-decoration-color};
|
|
261
|
+
--#{root-defaults.$prefix}menu-link-border-color: #{$menu-link-hover-border-color};
|
|
262
262
|
}
|
|
263
263
|
|
|
264
264
|
&:active {
|
|
265
|
-
--#{root-defaults.$prefix}
|
|
266
|
-
--#{root-defaults.$prefix}
|
|
267
|
-
--#{root-defaults.$prefix}
|
|
268
|
-
--#{root-defaults.$prefix}
|
|
265
|
+
--#{root-defaults.$prefix}menu-link-background: #{$menu-link-active-background};
|
|
266
|
+
--#{root-defaults.$prefix}menu-link-color: #{$menu-link-active-color};
|
|
267
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-color: #{$menu-link-active-text-decoration-color};
|
|
268
|
+
--#{root-defaults.$prefix}menu-link-border-color: #{$menu-link-active-border-color};
|
|
269
269
|
}
|
|
270
270
|
|
|
271
271
|
&:disabled {
|
|
@@ -274,32 +274,32 @@
|
|
|
274
274
|
&:active,
|
|
275
275
|
&:focus-visible,
|
|
276
276
|
&:visited {
|
|
277
|
-
--#{root-defaults.$prefix}
|
|
278
|
-
--#{root-defaults.$prefix}
|
|
279
|
-
--#{root-defaults.$prefix}
|
|
280
|
-
--#{root-defaults.$prefix}
|
|
277
|
+
--#{root-defaults.$prefix}menu-link-background: #{$menu-link-disabled-background};
|
|
278
|
+
--#{root-defaults.$prefix}menu-link-color: #{$menu-link-disabled-color};
|
|
279
|
+
--#{root-defaults.$prefix}menu-link-text-decoration-color: #{$menu-link-disabled-text-decoration-color};
|
|
280
|
+
--#{root-defaults.$prefix}menu-link-border-color: #{$menu-link-disabled-border-color};
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
&#{button-defaults.$button-selector} {
|
|
285
|
-
--#{root-defaults.$prefix}
|
|
286
|
-
--#{root-defaults.$prefix}
|
|
287
|
-
--#{root-defaults.$prefix}
|
|
288
|
-
--#{root-defaults.$prefix}
|
|
289
|
-
--#{root-defaults.$prefix}
|
|
290
|
-
--#{root-defaults.$prefix}
|
|
291
|
-
--#{root-defaults.$prefix}
|
|
292
|
-
--#{root-defaults.$prefix}
|
|
293
|
-
--#{root-defaults.$prefix}
|
|
294
|
-
--#{root-defaults.$prefix}
|
|
295
|
-
--#{root-defaults.$prefix}
|
|
296
|
-
--#{root-defaults.$prefix}
|
|
297
|
-
--#{root-defaults.$prefix}
|
|
298
|
-
--#{root-defaults.$prefix}
|
|
299
|
-
--#{root-defaults.$prefix}
|
|
300
|
-
--#{root-defaults.$prefix}
|
|
301
|
-
--#{root-defaults.$prefix}
|
|
302
|
-
--#{root-defaults.$prefix}
|
|
285
|
+
--#{root-defaults.$prefix}menu-link-background: #{button-variables.$button-background};
|
|
286
|
+
--#{root-defaults.$prefix}menu-link-color: #{button-variables.$button-color};
|
|
287
|
+
--#{root-defaults.$prefix}menu-link-border-color: #{button-variables.$button-border-color};
|
|
288
|
+
--#{root-defaults.$prefix}menu-link-visited-background: #{button-variables.$button-visited-background};
|
|
289
|
+
--#{root-defaults.$prefix}menu-link-visited-color: #{button-variables.$button-visited-color};
|
|
290
|
+
--#{root-defaults.$prefix}menu-link-visited-border-color: #{button-variables.$button-visited-border-color};
|
|
291
|
+
--#{root-defaults.$prefix}menu-link-focus-background: #{button-variables.$button-focus-background};
|
|
292
|
+
--#{root-defaults.$prefix}menu-link-focus-color: #{button-variables.$button-focus-color};
|
|
293
|
+
--#{root-defaults.$prefix}menu-link-focus-border-color: #{button-variables.$button-focus-border-color};
|
|
294
|
+
--#{root-defaults.$prefix}menu-link-hover-background: #{button-variables.$button-hover-background};
|
|
295
|
+
--#{root-defaults.$prefix}menu-link-hover-color: #{button-variables.$button-hover-color};
|
|
296
|
+
--#{root-defaults.$prefix}menu-link-hover-border-color: #{button-variables.$button-hover-border-color};
|
|
297
|
+
--#{root-defaults.$prefix}menu-link-active-background: #{button-variables.$button-active-background};
|
|
298
|
+
--#{root-defaults.$prefix}menu-link-active-color: #{button-variables.$button-active-color};
|
|
299
|
+
--#{root-defaults.$prefix}menu-link-active-border-color: #{button-variables.$button-active-border-color};
|
|
300
|
+
--#{root-defaults.$prefix}menu-link-disabled-background: #{button-variables.$button-disabled-background};
|
|
301
|
+
--#{root-defaults.$prefix}menu-link-disabled-color: #{button-variables.$button-disabled-color};
|
|
302
|
+
--#{root-defaults.$prefix}menu-link-disabled-border-color: #{button-variables.$button-disabled-border-color};
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
305
|
}
|