foundation-rails 5.2.3.0 → 5.3.0.0
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.
- checksums.yaml +4 -4
- data/bower.json +2 -2
- data/lib/foundation/rails/version.rb +1 -1
- data/test/dummy/.ruby-version +1 -0
- data/vendor/assets/_settings.scss +1298 -0
- data/vendor/assets/javascripts/foundation/foundation.abide.js +4 -4
- data/vendor/assets/javascripts/foundation/foundation.accordion.js +7 -1
- data/vendor/assets/javascripts/foundation/foundation.alert.js +3 -3
- data/vendor/assets/javascripts/foundation/foundation.clearing.js +17 -9
- data/vendor/assets/javascripts/foundation/foundation.dropdown.js +7 -5
- data/vendor/assets/javascripts/foundation/foundation.equalizer.js +2 -2
- data/vendor/assets/javascripts/foundation/foundation.interchange.js +24 -11
- data/vendor/assets/javascripts/foundation/foundation.joyride.js +14 -11
- data/vendor/assets/javascripts/foundation/foundation.js +6 -4
- data/vendor/assets/javascripts/foundation/foundation.magellan.js +5 -3
- data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +2 -2
- data/vendor/assets/javascripts/foundation/foundation.orbit.js +123 -261
- data/vendor/assets/javascripts/foundation/foundation.reveal.js +15 -15
- data/vendor/assets/javascripts/foundation/foundation.slider.js +51 -24
- data/vendor/assets/javascripts/foundation/foundation.topbar.js +13 -12
- data/vendor/assets/javascripts/vendor/modernizr.js +3 -3
- data/vendor/assets/stylesheets/foundation.scss +2 -1
- data/vendor/assets/stylesheets/foundation/_settings.scss +19 -10
- data/vendor/assets/stylesheets/foundation/components/_accordion.scss +115 -1
- data/vendor/assets/stylesheets/foundation/components/_block-grid.scss +2 -2
- data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +9 -1
- data/vendor/assets/stylesheets/foundation/components/_forms.scss +8 -6
- data/vendor/assets/stylesheets/foundation/components/_global.scss +12 -7
- data/vendor/assets/stylesheets/foundation/components/_grid.scss +17 -4
- data/vendor/assets/stylesheets/foundation/components/_icon-bar.scss +229 -0
- data/vendor/assets/stylesheets/foundation/components/_iconbar.scss +67 -0
- data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +18 -16
- data/vendor/assets/stylesheets/foundation/components/_orbit.scss +84 -139
- data/vendor/assets/stylesheets/foundation/components/_panels.scss +6 -3
- data/vendor/assets/stylesheets/foundation/components/_range-slider.scss +20 -5
- data/vendor/assets/stylesheets/foundation/components/_reveal-new.scss +0 -0
- data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +1 -1
- data/vendor/assets/stylesheets/foundation/components/_switches.scss +215 -0
- data/vendor/assets/stylesheets/foundation/components/_tabs.scss +1 -1
- data/vendor/assets/stylesheets/foundation/components/_toolbar.scss +67 -0
- data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +2 -1
- data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +26 -11
- data/vendor/assets/stylesheets/foundation/components/_type.scss +2 -0
- metadata +10 -3
- data/vendor/assets/stylesheets/foundation/components/_switch.scss +0 -294
@@ -10,6 +10,7 @@ $include-html-off-canvas-classes: $include-html-classes !default;
|
|
10
10
|
|
11
11
|
$tabbar-bg: #333 !default;
|
12
12
|
$tabbar-height: rem-calc(45) !default;
|
13
|
+
$tabbar-icon-width: $tabbar-height !default;
|
13
14
|
$tabbar-line-height: $tabbar-height !default;
|
14
15
|
$tabbar-color: #fff !default;
|
15
16
|
$tabbar-middle-padding: 0 rem-calc(10) !default;
|
@@ -33,6 +34,7 @@ $off-canvas-bg: #333 !default;
|
|
33
34
|
$off-canvas-label-padding: 0.3rem rem-calc(15) !default;
|
34
35
|
$off-canvas-label-color: #999 !default;
|
35
36
|
$off-canvas-label-text-transform: uppercase !default;
|
37
|
+
$off-canvas-label-font-size: rem-calc(12) !default;
|
36
38
|
$off-canvas-label-font-weight: $font-weight-bold !default;
|
37
39
|
$off-canvas-label-bg: #444 !default;
|
38
40
|
$off-canvas-label-border-top: 1px solid scale-color($off-canvas-label-bg, $lightness: 14%) !default;
|
@@ -47,16 +49,15 @@ $tabbar-menu-icon-color: #FFF !default;
|
|
47
49
|
$tabbar-menu-icon-hover: scale-color($tabbar-menu-icon-color, $lightness: -30%) !default;
|
48
50
|
|
49
51
|
$tabbar-menu-icon-text-indent: rem-calc(35) !default;
|
50
|
-
$tabbar-menu-icon-width: $tabbar-
|
52
|
+
$tabbar-menu-icon-width: $tabbar-icon-width !default;
|
51
53
|
$tabbar-menu-icon-height: $tabbar-height !default;
|
52
|
-
$tabbar-menu-icon-line-height: rem-calc(33) !default;
|
53
54
|
$tabbar-menu-icon-padding: 0 !default;
|
54
55
|
|
55
56
|
$tabbar-hamburger-icon-width: rem-calc(16) !default;
|
56
57
|
$tabbar-hamburger-icon-left: false !default;
|
57
58
|
$tabbar-hamburger-icon-top: false !default;
|
58
|
-
$
|
59
|
-
$
|
59
|
+
$tabbar-hamburger-icon-thickness: 1px !default;
|
60
|
+
$tabbar-hamburger-icon-gap: 6px !default;
|
60
61
|
|
61
62
|
// Off Canvas Back-Link Overlay
|
62
63
|
$off-canvas-overlay-transition: background 300ms ease !default;
|
@@ -147,7 +148,7 @@ $menu-slide: "transform 500ms ease" !default;
|
|
147
148
|
background: $tabbar-bg;
|
148
149
|
color: $tabbar-color;
|
149
150
|
height: $tabbar-height;
|
150
|
-
line-height: $tabbar-height;
|
151
|
+
line-height: $tabbar-line-height;
|
151
152
|
|
152
153
|
// make sure it's below the .exit-offcanvas link
|
153
154
|
position: relative;
|
@@ -166,7 +167,7 @@ $menu-slide: "transform 500ms ease" !default;
|
|
166
167
|
// SMALL SECTIONS
|
167
168
|
// These are small sections on the left and right that contain the off-canvas toggle buttons;
|
168
169
|
@mixin tabbar-small-section($position) {
|
169
|
-
width: $tabbar-
|
170
|
+
width: $tabbar-icon-width;
|
170
171
|
height: $tabbar-height;
|
171
172
|
position: absolute;
|
172
173
|
top: 0;
|
@@ -193,15 +194,15 @@ $menu-slide: "transform 500ms ease" !default;
|
|
193
194
|
// still need to make these non-presentational
|
194
195
|
&.left {
|
195
196
|
left: 0;
|
196
|
-
right: $tabbar-
|
197
|
+
right: $tabbar-icon-width;
|
197
198
|
}
|
198
199
|
&.right {
|
199
|
-
left: $tabbar-
|
200
|
+
left: $tabbar-icon-width;
|
200
201
|
right: 0;
|
201
202
|
}
|
202
203
|
&.middle {
|
203
|
-
left: $tabbar-
|
204
|
-
right: $tabbar-
|
204
|
+
left: $tabbar-icon-width;
|
205
|
+
right: $tabbar-icon-width;
|
205
206
|
}
|
206
207
|
}
|
207
208
|
|
@@ -214,9 +215,11 @@ $menu-slide: "transform 500ms ease" !default;
|
|
214
215
|
|
215
216
|
li {
|
216
217
|
label {
|
218
|
+
display: block;
|
217
219
|
padding: $off-canvas-label-padding;
|
218
220
|
color: $off-canvas-label-color;
|
219
221
|
text-transform: $off-canvas-label-text-transform;
|
222
|
+
font-size: $off-canvas-label-font-size;
|
220
223
|
font-weight: $off-canvas-label-font-weight;
|
221
224
|
background: $off-canvas-label-bg;
|
222
225
|
border-top: $off-canvas-label-border-top;
|
@@ -282,10 +285,9 @@ $menu-slide: "transform 500ms ease" !default;
|
|
282
285
|
// This is a little bonus. You don't need it for off canvas to work. Mixins to be written in the future.
|
283
286
|
.tab-bar .menu-icon {
|
284
287
|
text-indent: $tabbar-menu-icon-text-indent;
|
285
|
-
width: $tabbar-
|
286
|
-
height: $tabbar-height;
|
288
|
+
width: $tabbar-menu-icon-width;
|
289
|
+
height: $tabbar-menu-icon-height;
|
287
290
|
display: block;
|
288
|
-
line-height: $tabbar-menu-icon-line-height;
|
289
291
|
padding: $tabbar-menu-icon-padding;
|
290
292
|
color: $tabbar-menu-icon-color;
|
291
293
|
position: relative;
|
@@ -297,12 +299,12 @@ $menu-slide: "transform 500ms ease" !default;
|
|
297
299
|
// $width - Width of hamburger icon in rem Default: $tabbar-hamburger-icon-width.
|
298
300
|
// $left - If false, icon will be centered horizontally || explicitly set value in rem Default: $tabbar-hamburger-icon-left= False
|
299
301
|
// $top - If false, icon will be centered vertically || explicitly set value in rem Default: = False
|
300
|
-
// $thickness - thickness of lines in hamburger icon, set value in px Default: $
|
301
|
-
// $gap - spacing between the lines in hamburger icon, set value in px Default: $
|
302
|
+
// $thickness - thickness of lines in hamburger icon, set value in px Default: $tabbar-hamburger-icon-thickness = 1px
|
303
|
+
// $gap - spacing between the lines in hamburger icon, set value in px Default: $tabbar-hamburger-icon-gap = 6px
|
302
304
|
// $color - icon color Default: $tabbar-menu-icon-color
|
303
305
|
// $hover-color - icon color when hovered Default: $tabbar-menu-icon-hover
|
304
306
|
// $offcanvas - Set to true
|
305
|
-
@include hamburger($tabbar-hamburger-icon-width, $tabbar-hamburger-icon-left, $tabbar-hamburger-icon-top, $
|
307
|
+
@include hamburger($tabbar-hamburger-icon-width, $tabbar-hamburger-icon-left, $tabbar-hamburger-icon-top, $tabbar-hamburger-icon-thickness, $tabbar-hamburger-icon-gap, $tabbar-menu-icon-color, $tabbar-menu-icon-hover, true)
|
306
308
|
}
|
307
309
|
|
308
310
|
.left-off-canvas-menu { @include off-canvas-menu($position: left); }
|
@@ -37,10 +37,6 @@ $orbit-slide-number-bg: rgba(0,0,0,0) !default;
|
|
37
37
|
$orbit-slide-number-font-color: #fff !default;
|
38
38
|
$orbit-slide-number-padding: rem-calc(5) !default;
|
39
39
|
|
40
|
-
// We use these to controls the css animation
|
41
|
-
$orbit-animation-speed: 500ms !default;
|
42
|
-
$orbit-animation-ease: ease-in-out !default;
|
43
|
-
|
44
40
|
// Graceful Loading Wrapper and preloader
|
45
41
|
$wrapper-class: "slideshow-wrapper" !default;
|
46
42
|
$preloader-class: "preloader" !default;
|
@@ -50,33 +46,25 @@ $orbit-nav-hide-for-small: true !default;
|
|
50
46
|
$orbit-bullet-hide-for-small: true !default;
|
51
47
|
$orbit-timer-hide-for-small: true !default;
|
52
48
|
|
53
|
-
// CSS Transform
|
54
|
-
// This function is needed in order to put in all of the browser prefixes.
|
55
|
-
// The normal tranform attribute still does not work properly across all browsers.
|
56
|
-
// In order to receive the transitionEnd events then you will still need to use the vendor prefixes
|
57
|
-
@mixin translate3d($x,$y,$z) {
|
58
|
-
-ms-transform:translate($x,$y);
|
59
|
-
|
60
|
-
-webkit-transform: translate3d($x,$y,$z);
|
61
|
-
-moz-transform: translate3d($x,$y,$z);
|
62
|
-
-o-transform: translate3d($x,$y,$z);
|
63
|
-
transform: translate3d($x,$y,$z);
|
64
|
-
}
|
65
|
-
|
66
|
-
@mixin rotate($d) {
|
67
|
-
-webkit-transform: rotate($d);
|
68
|
-
-moz-transform: rotate($d);
|
69
|
-
-ms-transform: rotate($d);
|
70
|
-
-o-transform: rotate($d);
|
71
|
-
transform: rotate($d);
|
72
|
-
}
|
73
49
|
|
74
50
|
@include exports("orbit") {
|
75
51
|
@if $include-html-orbit-classes {
|
76
52
|
|
53
|
+
@-webkit-keyframes rotate {
|
54
|
+
from { -webkit-transform: rotate(0deg); }
|
55
|
+
to { -webkit-transform: rotate(360deg); }
|
56
|
+
}
|
57
|
+
@-moz-keyframes rotate {
|
58
|
+
from { -moz-transform: rotate(0deg); }
|
59
|
+
to { -moz-transform: rotate(360deg); }
|
60
|
+
}
|
61
|
+
@-o-keyframes rotate {
|
62
|
+
from { -o-transform: rotate(0deg); }
|
63
|
+
to { -o-transform: rotate(360deg); }
|
64
|
+
}
|
77
65
|
@keyframes rotate {
|
78
|
-
from {
|
79
|
-
to {
|
66
|
+
from { transform: rotate(0deg); }
|
67
|
+
to { transform: rotate(360deg); }
|
80
68
|
}
|
81
69
|
|
82
70
|
/* Orbit Graceful Loading */
|
@@ -103,6 +91,9 @@ $orbit-timer-hide-for-small: true !default;
|
|
103
91
|
|
104
92
|
.orbit-caption { display: block; }
|
105
93
|
}
|
94
|
+
.orbit-bullets li {
|
95
|
+
display: inline-block;
|
96
|
+
}
|
106
97
|
}
|
107
98
|
|
108
99
|
// Orbit preloader
|
@@ -125,6 +116,7 @@ $orbit-timer-hide-for-small: true !default;
|
|
125
116
|
}
|
126
117
|
}
|
127
118
|
|
119
|
+
|
128
120
|
.orbit-container {
|
129
121
|
overflow: hidden;
|
130
122
|
width: 100%;
|
@@ -142,61 +134,24 @@ $orbit-timer-hide-for-small: true !default;
|
|
142
134
|
|
143
135
|
img { display: block; max-width: 100%; }
|
144
136
|
|
145
|
-
|
146
|
-
opacity: 0;
|
147
|
-
transition: opacity $orbit-animation-speed $orbit-animation-ease;
|
148
|
-
@include translate3d(0,0,0);
|
149
|
-
&.animate-in {
|
150
|
-
opacity: 1;
|
151
|
-
z-index: 20;
|
152
|
-
transition: opacity $orbit-animation-speed $orbit-animation-ease;
|
153
|
-
}
|
154
|
-
&.animate-out {
|
155
|
-
z-index: 10;
|
156
|
-
transition: opacity $orbit-animation-speed $orbit-animation-ease;
|
157
|
-
}
|
158
|
-
}
|
159
|
-
|
160
|
-
&.swipe-next > li {
|
161
|
-
@include translate3d(100%,0,0);
|
162
|
-
&.animate-in {
|
163
|
-
@include translate3d(0,0,0);
|
164
|
-
transition-duration:$orbit-animation-speed;
|
165
|
-
}
|
166
|
-
&.animate-out {
|
167
|
-
@include translate3d(-100%,0,0);
|
168
|
-
transition-duration:$orbit-animation-speed;
|
169
|
-
}
|
170
|
-
}
|
171
|
-
|
172
|
-
&.swipe-prev > li {
|
173
|
-
@include translate3d(-100%,0,0);
|
174
|
-
&.animate-in {
|
175
|
-
@include translate3d(0,0,0);
|
176
|
-
transition-duration:$orbit-animation-speed;
|
177
|
-
}
|
178
|
-
&.animate-out {
|
179
|
-
@include translate3d(100%,0,0);
|
180
|
-
transition-duration:$orbit-animation-speed;
|
181
|
-
}
|
182
|
-
}
|
183
|
-
|
184
|
-
> li {
|
137
|
+
&>* {
|
185
138
|
position: absolute;
|
186
139
|
top: 0;
|
187
|
-
left: 0;
|
188
140
|
width: 100%;
|
189
|
-
@
|
190
|
-
|
191
|
-
|
141
|
+
@if $text-direction == rtl {
|
142
|
+
margin-right: 100%;
|
143
|
+
}
|
144
|
+
@else {
|
145
|
+
margin-left: 100%;
|
146
|
+
}
|
192
147
|
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
left: 0
|
199
|
-
|
148
|
+
&:first-child {
|
149
|
+
@if $text-direction == rtl {
|
150
|
+
margin-right: 0%;
|
151
|
+
}
|
152
|
+
@else {
|
153
|
+
margin-left: 0%;
|
154
|
+
}
|
200
155
|
}
|
201
156
|
|
202
157
|
.orbit-caption {
|
@@ -221,7 +176,7 @@ $orbit-timer-hide-for-small: true !default;
|
|
221
176
|
top: 10px;
|
222
177
|
#{$default-float}: 10px;
|
223
178
|
font-size: 12px;
|
224
|
-
span { font-weight:
|
179
|
+
span { font-weight: 700; padding: $orbit-slide-number-padding;}
|
225
180
|
color: $orbit-slide-number-font-color;
|
226
181
|
background: $orbit-slide-number-bg;
|
227
182
|
z-index: 10;
|
@@ -243,8 +198,6 @@ $orbit-timer-hide-for-small: true !default;
|
|
243
198
|
position: relative;
|
244
199
|
right: 20px;
|
245
200
|
top: 5px;
|
246
|
-
} @else {
|
247
|
-
display:none; // This is used by the Javascript to not create a handler.
|
248
201
|
}
|
249
202
|
}
|
250
203
|
|
@@ -260,7 +213,7 @@ $orbit-timer-hide-for-small: true !default;
|
|
260
213
|
border-top: none;
|
261
214
|
border-bottom: none;
|
262
215
|
}
|
263
|
-
|
216
|
+
|
264
217
|
// Pause button
|
265
218
|
&.paused {
|
266
219
|
& > span {
|
@@ -270,16 +223,16 @@ $orbit-timer-hide-for-small: true !default;
|
|
270
223
|
height: 14px;
|
271
224
|
border: inset 8px;
|
272
225
|
border-left-style: solid;
|
273
|
-
|
274
|
-
border-color:
|
275
|
-
&.dark {
|
276
|
-
border-color:
|
226
|
+
border-color: transparent;
|
227
|
+
border-left-color: #fff;
|
228
|
+
&.dark {
|
229
|
+
border-left-color: #333;
|
277
230
|
}
|
278
231
|
}
|
279
232
|
}
|
280
233
|
}
|
281
|
-
|
282
|
-
|
234
|
+
|
235
|
+
|
283
236
|
|
284
237
|
&:hover .orbit-timer > span { display: block; }
|
285
238
|
|
@@ -333,37 +286,37 @@ $orbit-timer-hide-for-small: true !default;
|
|
333
286
|
border-#{$default-float}-color: $orbit-nav-arrow-color-hover;
|
334
287
|
}
|
335
288
|
}
|
289
|
+
}
|
336
290
|
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
291
|
+
.orbit-bullets-container { text-align: center; }
|
292
|
+
.orbit-bullets {
|
293
|
+
margin: 0 auto 30px auto;
|
294
|
+
overflow: hidden;
|
295
|
+
position: relative;
|
296
|
+
top: 10px;
|
297
|
+
float: none;
|
298
|
+
text-align: center;
|
299
|
+
display: block;
|
300
|
+
|
301
|
+
li {
|
302
|
+
cursor:pointer;
|
303
|
+
display: inline-block;
|
304
|
+
width: $orbit-bullet-radius;
|
305
|
+
height: $orbit-bullet-radius;
|
306
|
+
background: $orbit-bullet-nav-color;
|
307
|
+
// float: $default-float;
|
343
308
|
float: none;
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
li {
|
348
|
-
display: inline-block;
|
349
|
-
width: $orbit-bullet-radius;
|
350
|
-
height: $orbit-bullet-radius;
|
351
|
-
background: $orbit-bullet-nav-color;
|
352
|
-
// float: $default-float;
|
353
|
-
float: none;
|
354
|
-
margin-#{$opposite-direction}: 6px;
|
355
|
-
@include radius(1000px);
|
356
|
-
|
357
|
-
&.active {
|
358
|
-
background: $orbit-bullet-nav-color-active;
|
359
|
-
}
|
309
|
+
margin-#{$opposite-direction}: 6px;
|
310
|
+
@include radius(1000px);
|
360
311
|
|
361
|
-
|
312
|
+
&.active {
|
313
|
+
background: $orbit-bullet-nav-color-active;
|
362
314
|
}
|
315
|
+
|
316
|
+
&:last-child { margin-#{$opposite-direction}: 0; }
|
363
317
|
}
|
364
318
|
}
|
365
319
|
|
366
|
-
|
367
320
|
.touch {
|
368
321
|
.orbit-container {
|
369
322
|
.orbit-prev,
|
@@ -388,36 +341,28 @@ $orbit-timer-hide-for-small: true !default;
|
|
388
341
|
}
|
389
342
|
|
390
343
|
@media #{$small-only} {
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
-webkit-transform: none !important;
|
399
|
-
-moz-transform: none !important;
|
400
|
-
-ms-transform: none !important;
|
401
|
-
-o-transform: none !important;
|
402
|
-
transform: none !important;
|
403
|
-
transition: none !important;
|
404
|
-
}
|
405
|
-
|
406
|
-
@if $orbit-timer-hide-for-small {
|
407
|
-
.orbit-timer{display: none;}
|
408
|
-
}
|
409
|
-
@if $orbit-nav-hide-for-small {
|
410
|
-
.orbit-next,.orbit-prev{display: none;}
|
411
|
-
}
|
412
|
-
@if $orbit-bullet-hide-for-small {
|
413
|
-
.orbit-bullets{display: none;}
|
414
|
-
}
|
344
|
+
.orbit-stack-on-small {
|
345
|
+
.orbit-slides-container {height: auto !important;}
|
346
|
+
.orbit-slides-container > * {
|
347
|
+
position: relative;
|
348
|
+
margin:0% !important;
|
349
|
+
opacity:1 !important;
|
350
|
+
}
|
415
351
|
|
416
|
-
|
417
|
-
|
418
|
-
}
|
352
|
+
.orbit-slide-number {
|
353
|
+
display: none;
|
419
354
|
}
|
420
|
-
|
355
|
+
}
|
421
356
|
|
357
|
+
@if $orbit-timer-hide-for-small {
|
358
|
+
.orbit-timer{display: none;}
|
359
|
+
}
|
360
|
+
@if $orbit-nav-hide-for-small {
|
361
|
+
.orbit-next,.orbit-prev{display: none;}
|
362
|
+
}
|
363
|
+
@if $orbit-bullet-hide-for-small {
|
364
|
+
.orbit-bullets{display: none;}
|
365
|
+
}
|
366
|
+
}
|
422
367
|
}
|
423
368
|
}
|
@@ -54,9 +54,12 @@ $callout-panel-link-color: $primary-color !default;
|
|
54
54
|
|
55
55
|
@if $adjust {
|
56
56
|
// We set the font color based on the darkness of the bg.
|
57
|
-
@if $bg-lightness >= 50%
|
58
|
-
|
59
|
-
|
57
|
+
@if $bg-lightness >= 50% {
|
58
|
+
h1,h2,h3,h4,h5,h6,p,li,dl { color: $panel-font-color; }
|
59
|
+
}
|
60
|
+
@else {
|
61
|
+
h1,h2,h3,h4,h5,h6,p,li,dl { color: $panel-font-color-alt; }
|
62
|
+
}
|
60
63
|
|
61
64
|
// reset header line-heights for panels
|
62
65
|
h1,h2,h3,h4,h5,h6 {
|
@@ -43,6 +43,7 @@ $range-slider-handle-round: $global-rounded !default;
|
|
43
43
|
$range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%) !default;
|
44
44
|
$range-slider-handle-cursor: pointer !default;
|
45
45
|
|
46
|
+
$range-slider-disabled-opacity: 0.7 !default;
|
46
47
|
|
47
48
|
//
|
48
49
|
// @mixins
|
@@ -66,11 +67,16 @@ $range-slider-handle-cursor: pointer !default;
|
|
66
67
|
@mixin range-slider-bar-style(
|
67
68
|
$bg: true,
|
68
69
|
$radius: false,
|
69
|
-
$round: false
|
70
|
-
|
71
|
-
|
72
|
-
|
70
|
+
$round: false,
|
71
|
+
$disabled: false) {
|
72
|
+
@if $bg == true { background: $range-slider-bar-bg-color; }
|
73
|
+
@if $radius == true { @include radius($range-slider-radius); }
|
74
|
+
@if $round == true { @include radius($range-slider-round); }
|
75
|
+
@if $disabled == true {
|
76
|
+
cursor: $cursor-default-value;
|
77
|
+
opacity: $range-slider-disabled-opacity;
|
73
78
|
}
|
79
|
+
}
|
74
80
|
|
75
81
|
@mixin range-slider-bar(
|
76
82
|
$bg: $range-slider-bar-bg-color,
|
@@ -92,10 +98,15 @@ $range-slider-handle-cursor: pointer !default;
|
|
92
98
|
@mixin range-slider-handle-style(
|
93
99
|
$bg: true,
|
94
100
|
$radius: false,
|
95
|
-
$round: false
|
101
|
+
$round: false,
|
102
|
+
$disabled: false) {
|
96
103
|
@if $bg == true { background: $range-slider-handle-bg-color; }
|
97
104
|
@if $radius == true { @include radius($range-slider-radius); }
|
98
105
|
@if $round == true { @include radius($range-slider-round); }
|
106
|
+
@if $disabled == true {
|
107
|
+
cursor: $cursor-default-value;
|
108
|
+
opacity: $range-slider-disabled-opacity;
|
109
|
+
}
|
99
110
|
&:hover {
|
100
111
|
background: $range-slider-handle-bg-hover-color;
|
101
112
|
}
|
@@ -133,6 +144,10 @@ $range-slider-handle-cursor: pointer !default;
|
|
133
144
|
@include range-slider-bar-style($round:true);
|
134
145
|
.range-slider-handle { @include range-slider-handle-style($round: true); }
|
135
146
|
}
|
147
|
+
&.disabled, &[disabled] {
|
148
|
+
@include range-slider-bar-style($disabled:true);
|
149
|
+
.range-slider-handle { @include range-slider-handle-style($disabled: true); }
|
150
|
+
}
|
136
151
|
}
|
137
152
|
.range-slider-active-segment {
|
138
153
|
display: inline-block;
|