@ulu/frontend 0.1.0-beta.5 → 0.1.0-beta.7
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 +9 -0
- package/docs-dev/demos/accordion/index.html +90 -0
- package/docs-dev/demos/button/index.html +90 -0
- package/docs-dev/demos/callout/index.html +90 -0
- package/docs-dev/demos/captioned-figure/index.html +90 -0
- package/docs-dev/demos/card/index.html +90 -0
- package/docs-dev/demos/css-icons/index.html +90 -0
- package/docs-dev/demos/data-grid/index.html +90 -0
- package/docs-dev/demos/data-table/index.html +115 -25
- package/docs-dev/demos/file-save/index.html +90 -0
- package/docs-dev/demos/flipcard/index.html +90 -0
- package/docs-dev/demos/form-theme/index.html +90 -0
- package/docs-dev/demos/index.html +90 -0
- package/docs-dev/demos/list-inline/index.html +4727 -0
- package/docs-dev/demos/list-inline.1/index.html +4727 -0
- package/docs-dev/demos/list-lines/index.html +4717 -0
- package/docs-dev/demos/menu-stack/index.html +90 -0
- package/docs-dev/demos/modals/index.html +90 -0
- package/docs-dev/demos/nav-strip/index.html +90 -0
- package/docs-dev/demos/overlay-section/index.html +90 -0
- package/docs-dev/demos/popovers/index.html +90 -0
- package/docs-dev/demos/print/index.html +90 -0
- package/docs-dev/demos/pull-quote/index.html +90 -0
- package/docs-dev/demos/rule/index.html +90 -0
- package/docs-dev/demos/scrollpoints/index.html +90 -0
- package/docs-dev/demos/spoke-spinner/index.html +90 -0
- package/docs-dev/demos/tabs/index.html +90 -0
- package/docs-dev/demos/tag/index.html +90 -0
- package/docs-dev/demos/tiles/index.html +90 -0
- package/docs-dev/demos/tooltip/index.html +90 -0
- package/docs-dev/guide/building-stylesheet/index.html +90 -0
- package/docs-dev/guide/developing-ulu-scss-module/index.html +90 -0
- package/docs-dev/guide/index.html +90 -0
- package/docs-dev/index.html +90 -0
- package/docs-dev/javascript/events/index.html +90 -0
- package/docs-dev/javascript/index.html +90 -0
- package/docs-dev/javascript/ui-breakpoints/index.html +90 -0
- package/docs-dev/javascript/ui-collapsible/index.html +90 -0
- package/docs-dev/javascript/ui-dialog/index.html +90 -0
- package/docs-dev/javascript/ui-flipcard/index.html +90 -0
- package/docs-dev/javascript/ui-grid/index.html +90 -0
- package/docs-dev/javascript/ui-modal-builder/index.html +90 -0
- package/docs-dev/javascript/ui-overflow-scroller/index.html +90 -0
- package/docs-dev/javascript/ui-overflow-scroller-pager/index.html +90 -0
- package/docs-dev/javascript/ui-page/index.html +90 -0
- package/docs-dev/javascript/ui-popover/index.html +90 -0
- package/docs-dev/javascript/ui-print/index.html +90 -0
- package/docs-dev/javascript/ui-print-details/index.html +90 -0
- package/docs-dev/javascript/ui-programmatic-modal/index.html +90 -0
- package/docs-dev/javascript/ui-proxy-click/index.html +90 -0
- package/docs-dev/javascript/ui-resizer/index.html +90 -0
- package/docs-dev/javascript/ui-scroll-slider/index.html +90 -0
- package/docs-dev/javascript/ui-scrollpoint/index.html +90 -0
- package/docs-dev/javascript/ui-slider/index.html +90 -0
- package/docs-dev/javascript/ui-tabs/index.html +90 -0
- package/docs-dev/javascript/ui-tooltip/index.html +90 -0
- package/docs-dev/javascript/utils-class-logger/index.html +90 -0
- package/docs-dev/javascript/utils-dom/index.html +90 -0
- package/docs-dev/javascript/utils-file-save/index.html +90 -0
- package/docs-dev/javascript/utils-floating-ui/index.html +90 -0
- package/docs-dev/javascript/utils-id/index.html +90 -0
- package/docs-dev/javascript/utils-pause-youtube-video/index.html +90 -0
- package/docs-dev/sass/base/color/index.html +90 -0
- package/docs-dev/sass/base/elements/index.html +90 -0
- package/docs-dev/sass/base/index/index.html +90 -0
- package/docs-dev/sass/base/index.html +90 -0
- package/docs-dev/sass/base/keyframes/index.html +90 -0
- package/docs-dev/sass/base/layout/index.html +90 -0
- package/docs-dev/sass/base/normalize/index.html +90 -0
- package/docs-dev/sass/base/print/index.html +90 -0
- package/docs-dev/sass/base/root/index.html +90 -0
- package/docs-dev/sass/base/typography/index.html +90 -0
- package/docs-dev/sass/components/accordion/index.html +95 -5
- package/docs-dev/sass/components/adaptive-spacing/index.html +90 -0
- package/docs-dev/sass/components/badge/index.html +98 -8
- package/docs-dev/sass/components/button/index.html +90 -0
- package/docs-dev/sass/components/button-verbose/index.html +90 -0
- package/docs-dev/sass/components/callout/index.html +108 -14
- package/docs-dev/sass/components/captioned-figure/index.html +98 -8
- package/docs-dev/sass/components/card/index.html +100 -10
- package/docs-dev/sass/components/card-grid/index.html +90 -0
- package/docs-dev/sass/components/css-icon/index.html +100 -10
- package/docs-dev/sass/components/data-grid/index.html +90 -0
- package/docs-dev/sass/components/data-table/index.html +90 -0
- package/docs-dev/sass/components/fill-context/index.html +90 -0
- package/docs-dev/sass/components/flipcard/index.html +98 -8
- package/docs-dev/sass/components/flipcard-grid/index.html +90 -0
- package/docs-dev/sass/components/form-theme/index.html +90 -0
- package/docs-dev/sass/components/hero/index.html +90 -0
- package/docs-dev/sass/components/horizontal-rule/index.html +90 -0
- package/docs-dev/sass/components/image-grid/index.html +90 -0
- package/docs-dev/sass/components/index/index.html +101 -10
- package/docs-dev/sass/components/index.html +90 -0
- package/docs-dev/sass/components/links/index.html +90 -0
- package/docs-dev/sass/components/list-inline/index.html +4908 -0
- package/docs-dev/sass/components/list-lines/index.html +122 -36
- package/docs-dev/sass/components/list-ordered/index.html +92 -2
- package/docs-dev/sass/components/list-unordered/index.html +90 -0
- package/docs-dev/sass/components/menu-stack/index.html +90 -0
- package/docs-dev/sass/components/modal/index.html +105 -8
- package/docs-dev/sass/components/nav-strip/index.html +91 -1
- package/docs-dev/sass/components/overlay-section/index.html +98 -8
- package/docs-dev/sass/components/pager/index.html +90 -0
- package/docs-dev/sass/components/placeholder-block/index.html +90 -0
- package/docs-dev/sass/components/popover/index.html +90 -0
- package/docs-dev/sass/components/pull-quote/index.html +90 -0
- package/docs-dev/sass/components/ratio-box/index.html +90 -0
- package/docs-dev/sass/components/rule/index.html +98 -8
- package/docs-dev/sass/components/scroll-slider/index.html +90 -0
- package/docs-dev/sass/components/skip-link/index.html +98 -8
- package/docs-dev/sass/components/slider/index.html +95 -5
- package/docs-dev/sass/components/spoke-spinner/index.html +90 -0
- package/docs-dev/sass/components/tabs/index.html +90 -0
- package/docs-dev/sass/components/tag/index.html +90 -0
- package/docs-dev/sass/components/tile-button/index.html +90 -0
- package/docs-dev/sass/components/tile-grid/index.html +90 -0
- package/docs-dev/sass/components/tile-grid-overlay/index.html +90 -0
- package/docs-dev/sass/components/vignette/index.html +90 -0
- package/docs-dev/sass/components/wysiwyg/index.html +90 -0
- package/docs-dev/sass/core/breakpoint/index.html +90 -0
- package/docs-dev/sass/core/button/index.html +90 -0
- package/docs-dev/sass/core/color/index.html +120 -29
- package/docs-dev/sass/core/cssvar/index.html +90 -0
- package/docs-dev/sass/core/element/index.html +90 -0
- package/docs-dev/sass/core/index.html +90 -0
- package/docs-dev/sass/core/layout/index.html +90 -0
- package/docs-dev/sass/core/path/index.html +90 -0
- package/docs-dev/sass/core/selector/index.html +90 -0
- package/docs-dev/sass/core/typography/index.html +90 -0
- package/docs-dev/sass/core/units/index.html +90 -0
- package/docs-dev/sass/core/utils/index.html +90 -0
- package/docs-dev/sass/helpers/color/index.html +90 -0
- package/docs-dev/sass/helpers/display/index.html +90 -0
- package/docs-dev/sass/helpers/index/index.html +90 -0
- package/docs-dev/sass/helpers/index.html +90 -0
- package/docs-dev/sass/helpers/print/index.html +90 -0
- package/docs-dev/sass/helpers/typography/index.html +90 -0
- package/docs-dev/sass/helpers/units/index.html +90 -0
- package/docs-dev/sass/helpers/utilities/index.html +90 -0
- package/docs-dev/sass/index.html +90 -0
- package/package.json +1 -1
- package/scss/_color.scss +1 -0
- package/scss/components/_accordion.scss +13 -13
- package/scss/components/_badge.scss +3 -2
- package/scss/components/_button-verbose.scss +2 -2
- package/scss/components/_callout.scss +6 -5
- package/scss/components/_captioned-figure.scss +6 -5
- package/scss/components/_card.scss +16 -15
- package/scss/components/_css-icon.scss +8 -7
- package/scss/components/_flipcard.scss +13 -12
- package/scss/components/_form-theme.scss +28 -28
- package/scss/components/_index.scss +6 -0
- package/scss/components/_list-inline.scss +80 -0
- package/scss/components/_list-lines.scss +44 -33
- package/scss/components/_list-ordered.scss +0 -1
- package/scss/components/_modal.scss +16 -13
- package/scss/components/_nav-strip.scss +3 -1
- package/scss/components/_overlay-section.scss +2 -1
- package/scss/components/_pager.scss +6 -6
- package/scss/components/_placeholder-block.scss +4 -4
- package/scss/components/_popover.scss +9 -9
- package/scss/components/_rule.scss +0 -1
- package/scss/components/_scroll-slider.scss +1 -1
- package/scss/components/_skip-link.scss +2 -1
- package/scss/components/_slider.scss +11 -11
- package/scss/components/_tabs.scss +1 -1
- package/scss/components/_tag.scss +1 -1
|
@@ -60,6 +60,7 @@ $-fallbacks: (
|
|
|
60
60
|
/// @prop {Dimension} resizer-width [1rem] The width of the resizer.
|
|
61
61
|
/// @prop {Color} title-color [white] Type color of the title.
|
|
62
62
|
/// @prop {CssValue} title-font-weight [bold] Font weight of the title.
|
|
63
|
+
/// @prop {CssValue} title-font-family [null] Font family for title
|
|
63
64
|
/// @prop {Dimension} title-icon-margin [0.5em] The margin of the title icon
|
|
64
65
|
/// @prop {String} title-size [large] The font-size of the title. This uses typography.scss, so the value of this options should be a variable from typography.scss.
|
|
65
66
|
/// @prop {CssValue} title-text-transform [null] Transform option for the title.
|
|
@@ -97,6 +98,7 @@ $config: (
|
|
|
97
98
|
"resizer-width": 1rem,
|
|
98
99
|
"title-color": white,
|
|
99
100
|
"title-font-weight": bold,
|
|
101
|
+
"title-font-family" : null,
|
|
100
102
|
"title-icon-margin" : 0.5em,
|
|
101
103
|
"title-size" : "large",
|
|
102
104
|
"title-text-transform" : null,
|
|
@@ -159,7 +161,7 @@ $config: (
|
|
|
159
161
|
box-sizing: border-box;
|
|
160
162
|
box-shadow: get("box-shadow");
|
|
161
163
|
border-radius: get("border-radius");
|
|
162
|
-
background-color: get("background-color");
|
|
164
|
+
background-color: color.get(get("background-color"));
|
|
163
165
|
box-sizing: border-box;
|
|
164
166
|
animation: uluModalCenterOut get("animation-duration-exit") get("animation-timing-function");
|
|
165
167
|
&[open] {
|
|
@@ -168,7 +170,7 @@ $config: (
|
|
|
168
170
|
flex-direction: column;
|
|
169
171
|
}
|
|
170
172
|
&::backdrop {
|
|
171
|
-
background: get("backdrop-color");
|
|
173
|
+
background: color.get(get("backdrop-color"));
|
|
172
174
|
backdrop-filter: blur(get("backdrop-blur"));
|
|
173
175
|
animation: uluModalBackdropIn get("animation-duration") get("animation-timing-function");
|
|
174
176
|
}
|
|
@@ -180,8 +182,8 @@ $config: (
|
|
|
180
182
|
flex: 0;
|
|
181
183
|
padding: get("header-padding");
|
|
182
184
|
border-bottom: get("header-border-bottom");
|
|
183
|
-
background-color: get("header-background-color");
|
|
184
|
-
color: get("header-color");
|
|
185
|
+
background-color: color.get(get("header-background-color"));
|
|
186
|
+
color: color.get(get("header-color"));
|
|
185
187
|
}
|
|
186
188
|
#{ $prefix }__body {
|
|
187
189
|
flex: 1;
|
|
@@ -194,6 +196,7 @@ $config: (
|
|
|
194
196
|
margin: 0;
|
|
195
197
|
color: color.get(get("title-color"));
|
|
196
198
|
font-weight: get("title-font-weight");
|
|
199
|
+
font-family: get("title-font-family");
|
|
197
200
|
text-transform: get("title-text-transform");
|
|
198
201
|
@if (get("title-size")) {
|
|
199
202
|
@include typography.size(get("title-size"), $only-font-size: true);
|
|
@@ -208,15 +211,15 @@ $config: (
|
|
|
208
211
|
font-size: get("close-font-size");
|
|
209
212
|
width: get("close-size");
|
|
210
213
|
height: get("close-size");
|
|
211
|
-
background-color: get("close-background-color");
|
|
214
|
+
background-color: color.get(get("close-background-color"));
|
|
212
215
|
border-radius: 50%;
|
|
213
216
|
display: flex;
|
|
214
217
|
align-items: center;
|
|
215
218
|
justify-content: center;
|
|
216
|
-
color: get("close-color");
|
|
219
|
+
color: color.get(get("close-color"));
|
|
217
220
|
&:hover {
|
|
218
|
-
background-color: get("close-background-color-hover");
|
|
219
|
-
color: get("close-color-hover");
|
|
221
|
+
background-color: color.get(get("close-background-color-hover"));
|
|
222
|
+
color: color.get(get("close-color-hover"));
|
|
220
223
|
}
|
|
221
224
|
}
|
|
222
225
|
#{ $prefix }__resizer {
|
|
@@ -227,17 +230,17 @@ $config: (
|
|
|
227
230
|
width: get("resizer-width");
|
|
228
231
|
display: block;
|
|
229
232
|
cursor: col-resize;
|
|
230
|
-
background-color: get("resizer-background-color");
|
|
233
|
+
background-color: color.get(get("resizer-background-color"));
|
|
231
234
|
display: flex;
|
|
232
235
|
align-items: center;
|
|
233
236
|
justify-content: center;
|
|
234
237
|
transition-property: background-color, color;
|
|
235
238
|
transition-duration: 300ms;
|
|
236
239
|
transition-delay: 100ms;
|
|
237
|
-
color: get("resizer-color");
|
|
240
|
+
color: color.get(get("resizer-color"));
|
|
238
241
|
&:hover {
|
|
239
|
-
color: get("resizer-color-hover");
|
|
240
|
-
background-color: get("resizer-background-color-hover");
|
|
242
|
+
color: color.get(get("resizer-color-hover"));
|
|
243
|
+
background-color: color.get(get("resizer-background-color-hover"));
|
|
241
244
|
}
|
|
242
245
|
#{ $prefix }--left & {
|
|
243
246
|
left: auto;
|
|
@@ -354,7 +357,7 @@ $config: (
|
|
|
354
357
|
backdrop-filter: blur(0);
|
|
355
358
|
}
|
|
356
359
|
100% {
|
|
357
|
-
background-color: get("backdrop-color");
|
|
360
|
+
background-color: color.get(get("backdrop-color"));
|
|
358
361
|
backdrop-filter: blur(get("backdrop-blur"));
|
|
359
362
|
}
|
|
360
363
|
}
|
|
@@ -75,7 +75,9 @@ $config: (
|
|
|
75
75
|
|
|
76
76
|
@mixin styles {
|
|
77
77
|
$prefix: selector.class("nav-strip");
|
|
78
|
-
|
|
78
|
+
#{ $prefix } {
|
|
79
|
+
max-width: 100%; // So ul will overflow
|
|
80
|
+
}
|
|
79
81
|
// Original thought to not limit to direct child
|
|
80
82
|
// auto is for when we don't have control over markup
|
|
81
83
|
// The list descendants will be selected that way but the list is
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
@use "sass:map";
|
|
9
9
|
@use "../utils";
|
|
10
10
|
@use "../breakpoint";
|
|
11
|
+
@use "../color";
|
|
11
12
|
|
|
12
13
|
/// Module Settings
|
|
13
14
|
/// @type Map
|
|
@@ -95,7 +96,7 @@ $config: (
|
|
|
95
96
|
.overlay-section__content {
|
|
96
97
|
position: relative;
|
|
97
98
|
z-index: 2;
|
|
98
|
-
background-color: get("content-background-color");
|
|
99
|
+
background-color: color.get(get("content-background-color"));
|
|
99
100
|
border: get("content-border");
|
|
100
101
|
flex: 0 1 get("content-width");
|
|
101
102
|
padding: get("content-padding");
|
|
@@ -120,9 +120,9 @@ $config: (
|
|
|
120
120
|
border-radius: get("border-radius");
|
|
121
121
|
border: get("border-width") solid color.get(get("border-color"));
|
|
122
122
|
background-color: color.get(get("background-color"));
|
|
123
|
-
color: get("color");
|
|
123
|
+
color: color.get(get("color"));
|
|
124
124
|
&:hover {
|
|
125
|
-
color: get("color-hover");
|
|
125
|
+
color: color.get(get("color-hover"));
|
|
126
126
|
border-color: color.get(get("border-color-hover"));
|
|
127
127
|
background-color: color.get(get("background-color-hover"));
|
|
128
128
|
}
|
|
@@ -134,8 +134,8 @@ $config: (
|
|
|
134
134
|
span {
|
|
135
135
|
font-weight: get("font-weight");
|
|
136
136
|
color: color.get(get("active-color"));
|
|
137
|
-
background-color: get("active-background-color");
|
|
138
|
-
border-color: get("active-border-color");
|
|
137
|
+
background-color: color.get(get("active-background-color"));
|
|
138
|
+
border-color: color.get(get("active-border-color"));
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
}
|
|
@@ -148,14 +148,14 @@ $config: (
|
|
|
148
148
|
height: get("action-width");
|
|
149
149
|
line-height: get("action-width");
|
|
150
150
|
background-color: color.get(get("action-background-color"));
|
|
151
|
-
color: get("action-color");
|
|
151
|
+
color: color.get(get("action-color"));
|
|
152
152
|
font-size: 1.2rem;
|
|
153
153
|
line-height: 2.8rem;
|
|
154
154
|
font-weight: bold;
|
|
155
155
|
&:hover {
|
|
156
156
|
border-color: color.get(get("action-border-color-hover"));
|
|
157
157
|
background-color: color.get(get("action-background-color-hover"));
|
|
158
|
-
color: get("action-color-hover");
|
|
158
|
+
color: color.get(get("action-color-hover"));
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
}
|
|
@@ -92,20 +92,20 @@ $config: (
|
|
|
92
92
|
$prefix: selector.class("placeholder-block");
|
|
93
93
|
|
|
94
94
|
#{ $prefix } {
|
|
95
|
-
background-color: get("background-color");
|
|
95
|
+
background-color: color.get(get("background-color"));
|
|
96
96
|
display: flex;
|
|
97
97
|
flex-direction: column;
|
|
98
98
|
justify-content: center;
|
|
99
99
|
align-items: center;
|
|
100
100
|
text-align: center;
|
|
101
101
|
padding: get("padding");
|
|
102
|
-
color: get("color");
|
|
103
|
-
border: get("border-width") get("border-style") get("border-color");
|
|
102
|
+
color: color.get(get("color"));
|
|
103
|
+
border: get("border-width") get("border-style") color.get(get("border-color"));
|
|
104
104
|
margin-bottom: get("margin-bottom");
|
|
105
105
|
border-radius: get("border-radius");
|
|
106
106
|
}
|
|
107
107
|
#{ $prefix }__icon {
|
|
108
|
-
color: get("icon-color");
|
|
108
|
+
color: color.get(get("icon-color"));
|
|
109
109
|
display: block;
|
|
110
110
|
margin: 0 auto get("icon-margin") auto;
|
|
111
111
|
font-size: get("icon-font-size");
|
|
@@ -156,8 +156,8 @@ $config: (
|
|
|
156
156
|
display: none;
|
|
157
157
|
position: absolute;
|
|
158
158
|
z-index: get("z-index") + 1;
|
|
159
|
-
background-color: get("background-color");
|
|
160
|
-
color: get("color");
|
|
159
|
+
background-color: color.get(get("background-color"));
|
|
160
|
+
color: color.get(get("color"));
|
|
161
161
|
width: get("width");
|
|
162
162
|
max-width: get("max-width");
|
|
163
163
|
box-shadow: get("box-shadow");
|
|
@@ -189,18 +189,18 @@ $config: (
|
|
|
189
189
|
#{ $prefix }__header {
|
|
190
190
|
overflow: hidden;
|
|
191
191
|
padding: get("header-padding-y") get("padding");
|
|
192
|
-
color: get("header-color");
|
|
193
|
-
background-color: get("header-background-color");
|
|
192
|
+
color: color.get(get("header-color"));
|
|
193
|
+
background-color: color.get(get("header-background-color"));
|
|
194
194
|
}
|
|
195
195
|
#{ $prefix }__header--media {
|
|
196
196
|
padding: 0;
|
|
197
|
-
background-color: get("header-media-background-color");
|
|
197
|
+
background-color: color.get(get("header-media-background-color"));
|
|
198
198
|
}
|
|
199
199
|
#{ $prefix }__footer {
|
|
200
200
|
box-shadow: get("box-shadow-footer") color.get(get("box-shadow-footer-color"));
|
|
201
201
|
padding: get("footer-padding-y") get("padding");
|
|
202
|
-
color: get("footer-color");
|
|
203
|
-
background-color: get("footer-background-color");
|
|
202
|
+
color: color.get(get("footer-color"));
|
|
203
|
+
background-color: color.get(get("footer-background-color"));
|
|
204
204
|
border-top-left-radius: 0;
|
|
205
205
|
border-top-right-radius: 0;
|
|
206
206
|
}
|
|
@@ -215,8 +215,8 @@ $config: (
|
|
|
215
215
|
#{ $prefix }--tooltip {
|
|
216
216
|
width: get("tooltip-width");
|
|
217
217
|
max-width: min(get("max-width"), get("tooltip-max-width"));
|
|
218
|
-
color: get("tooltip-color");
|
|
219
|
-
background-color: get("tooltip-background-color");
|
|
218
|
+
color: color.get(get("tooltip-color"));
|
|
219
|
+
background-color: color.get(get("tooltip-background-color"));
|
|
220
220
|
pointer-events: none;
|
|
221
221
|
#{ $prefix }__inner {
|
|
222
222
|
padding: get("tooltip-padding");
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
@use "sass:meta";
|
|
8
8
|
|
|
9
9
|
@use "../element";
|
|
10
|
+
@use "../color";
|
|
10
11
|
@use "../layout";
|
|
11
12
|
@use "../selector";
|
|
12
13
|
@use "../utils";
|
|
@@ -83,7 +84,7 @@ $config: (
|
|
|
83
84
|
left: 50%;
|
|
84
85
|
transform: translateX(-50%);
|
|
85
86
|
padding: get("padding");
|
|
86
|
-
background-color: get("background-color");
|
|
87
|
+
background-color: color.get(get("background-color"));
|
|
87
88
|
font-weight: bold;
|
|
88
89
|
box-shadow: get("box-shadow");
|
|
89
90
|
border-bottom-left-radius: get("border-radius");
|
|
@@ -43,11 +43,11 @@ $config: (
|
|
|
43
43
|
"button-height": 2.5rem,
|
|
44
44
|
"button-width": 2.5rem,
|
|
45
45
|
"dot-background-color" : transparent,
|
|
46
|
-
"dot-background-color-hover" :
|
|
47
|
-
"dot-background-color-selected" :
|
|
48
|
-
"dot-border-color" :
|
|
49
|
-
"dot-border-color-hover" :
|
|
50
|
-
"dot-border-color-selected" :
|
|
46
|
+
"dot-background-color-hover" : "link",
|
|
47
|
+
"dot-background-color-selected" : "link",
|
|
48
|
+
"dot-border-color" : "link",
|
|
49
|
+
"dot-border-color-hover" : "link",
|
|
50
|
+
"dot-border-color-selected" : "link",
|
|
51
51
|
"dot-border-radius" : 50%,
|
|
52
52
|
"dot-border-width" : 2px,
|
|
53
53
|
"dot-size" : 1rem,
|
|
@@ -83,7 +83,7 @@ $config: (
|
|
|
83
83
|
$slide-padding-x: get("button-width") + get("button-margin");
|
|
84
84
|
#{ $prefix } {
|
|
85
85
|
position: relative; // for controls
|
|
86
|
-
background-color: get("background-color");
|
|
86
|
+
background-color: color.get(get("background-color"));
|
|
87
87
|
margin: get("margin-top") 0 get("margin-bottom") 0;
|
|
88
88
|
}
|
|
89
89
|
#{ $prefix }__track,
|
|
@@ -114,17 +114,17 @@ $config: (
|
|
|
114
114
|
display: block;
|
|
115
115
|
width: get("dot-size");
|
|
116
116
|
height: get("dot-size");
|
|
117
|
-
background-color: get("dot-background-color");
|
|
118
|
-
border: get("dot-border-width") solid get("dot-border-color");
|
|
117
|
+
background-color: color.get(get("dot-background-color"));
|
|
118
|
+
border: get("dot-border-width") solid color.get(get("dot-border-color"));
|
|
119
119
|
border-radius: get("dot-border-radius");
|
|
120
120
|
&:hover {
|
|
121
|
-
background-color: get("dot-background-color-hover");
|
|
121
|
+
background-color: color.get(get("dot-background-color-hover"));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
#{ $prefix-plugin }__nav-button--active,
|
|
125
125
|
#{ $prefix-plugin }__nav-button--active:hover {
|
|
126
|
-
background-color: get("dot-background-color-selected");
|
|
127
|
-
border-color: get("dot-border-color-selected");
|
|
126
|
+
background-color: color.get(get("dot-background-color-selected"));
|
|
127
|
+
border-color: color.get(get("dot-border-color-selected"));
|
|
128
128
|
}
|
|
129
129
|
#{ $prefix-plugin }__control-button,
|
|
130
130
|
#{ $prefix-plugin }__nav-button {
|
|
@@ -157,7 +157,7 @@ $config: (
|
|
|
157
157
|
z-index: 1;
|
|
158
158
|
padding: get("tabpanel-padding");
|
|
159
159
|
overflow: hidden;
|
|
160
|
-
background-color: get("tabpanel-background-color");
|
|
160
|
+
background-color: color.get(get("tabpanel-background-color"));
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
// For images, etc that should fill tabpanel
|
|
@@ -144,7 +144,7 @@ $styles: (
|
|
|
144
144
|
border: map.get($style, "border");
|
|
145
145
|
border-radius: map.get($style, "border-radius");
|
|
146
146
|
border-color: color.get(map.get($style, "border-color"));
|
|
147
|
-
border-width:
|
|
147
|
+
border-width: map.get($style, "border-width");
|
|
148
148
|
box-shadow: map.get($style, "box-shadow");
|
|
149
149
|
padding: map.get($style, "padding");
|
|
150
150
|
@if (typography.has-size($type-size)) {
|