luda 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.md +5 -5
- data/assets/javascripts/luda-degradation.js +1 -1
- data/assets/javascripts/luda-degradation.js.map +1 -1
- data/assets/javascripts/luda-degradation.min.js +1 -1
- data/assets/javascripts/luda-degradation.min.js.map +1 -1
- data/assets/javascripts/luda-sprockets.js +11 -11
- data/assets/javascripts/luda.js +1 -1
- data/assets/javascripts/luda.js.map +1 -1
- data/assets/javascripts/luda.min.js +1 -1
- data/assets/javascripts/luda.min.js.map +1 -1
- data/assets/javascripts/luda/install.js +1 -1
- data/assets/stylesheets/luda/_core/_base.sass +429 -429
- data/assets/stylesheets/luda/_core/_functions.sass +239 -239
- data/assets/stylesheets/luda/_core/_variables.sass +709 -709
- data/assets/stylesheets/luda/_core/behaviours/_disabled.sass +11 -11
- data/assets/stylesheets/luda/_core/behaviours/_focus.sass +6 -6
- data/assets/stylesheets/luda/_core/behaviours/_readonly.sass +15 -15
- data/assets/stylesheets/luda/_core/behaviours/_toggle.sass +3 -3
- data/assets/stylesheets/luda/_core/collections/_alert.sass +23 -23
- data/assets/stylesheets/luda/_core/collections/_avatar.sass +116 -116
- data/assets/stylesheets/luda/_core/collections/_breadcrumb.sass +20 -20
- data/assets/stylesheets/luda/_core/collections/_button-group.sass +66 -66
- data/assets/stylesheets/luda/_core/collections/_button-icon.sass +45 -45
- data/assets/stylesheets/luda/_core/collections/_carousel.sass +131 -131
- data/assets/stylesheets/luda/_core/collections/_dropdown.sass +59 -59
- data/assets/stylesheets/luda/_core/collections/_form-button.sass +22 -22
- data/assets/stylesheets/luda/_core/collections/_form-dropdown.sass +20 -20
- data/assets/stylesheets/luda/_core/collections/_form-group.sass +47 -47
- data/assets/stylesheets/luda/_core/collections/_form-icon.sass +70 -70
- data/assets/stylesheets/luda/_core/collections/_media.sass +54 -54
- data/assets/stylesheets/luda/_core/collections/_modal.sass +11 -11
- data/assets/stylesheets/luda/_core/collections/_nav.sass +161 -161
- data/assets/stylesheets/luda/_core/collections/_tab.sass +17 -17
- data/assets/stylesheets/luda/_core/elements/_badge.sass +18 -18
- data/assets/stylesheets/luda/_core/elements/_baseline.sass +21 -21
- data/assets/stylesheets/luda/_core/elements/_button.sass +135 -135
- data/assets/stylesheets/luda/_core/elements/_container.sass +7 -7
- data/assets/stylesheets/luda/_core/elements/_grid.sass +54 -54
- data/assets/stylesheets/luda/_core/elements/_icon.sass +109 -109
- data/assets/stylesheets/luda/_core/elements/_overlay.sass +10 -10
- data/assets/stylesheets/luda/_core/elements/_progress.sass +30 -30
- data/assets/stylesheets/luda/_core/elements/_scrollbar.sass +20 -20
- data/assets/stylesheets/luda/_core/elements/_table.sass +101 -101
- data/assets/stylesheets/luda/_core/elements/_turbolinks-progress-bar.sass +4 -4
- data/assets/stylesheets/luda/_core/elements/form/_form-check-radio.sass +104 -104
- data/assets/stylesheets/luda/_core/elements/form/_form-element.sass +82 -82
- data/assets/stylesheets/luda/_core/elements/form/_form-helper.sass +65 -65
- data/assets/stylesheets/luda/_core/elements/form/_form-label.sass +19 -19
- data/assets/stylesheets/luda/_core/elements/form/_form-range.sass +91 -91
- data/assets/stylesheets/luda/_core/elements/form/_form-row.sass +213 -213
- data/assets/stylesheets/luda/_core/elements/typography/_code.sass +26 -26
- data/assets/stylesheets/luda/_core/elements/typography/_link.sass +14 -14
- data/assets/stylesheets/luda/_core/elements/typography/_list.sass +13 -13
- data/assets/stylesheets/luda/_core/elements/typography/_mark.sass +6 -6
- data/assets/stylesheets/luda/_core/elements/typography/_quote.sass +67 -67
- data/assets/stylesheets/luda/_core/elements/typography/_sub-sup.sass +15 -15
- data/assets/stylesheets/luda/_core/elements/typography/_typography.sass +51 -51
- data/assets/stylesheets/luda/_core/mixins/_browser.sass +14 -14
- data/assets/stylesheets/luda/_core/mixins/_button.sass +89 -89
- data/assets/stylesheets/luda/_core/mixins/_dropdown.sass +39 -39
- data/assets/stylesheets/luda/_core/mixins/_focus.sass +2 -2
- data/assets/stylesheets/luda/_core/mixins/_form.sass +26 -26
- data/assets/stylesheets/luda/_core/mixins/_install.sass +6 -6
- data/assets/stylesheets/luda/_core/mixins/_media-query.sass +65 -65
- data/assets/stylesheets/luda/_core/mixins/_overlay.sass +13 -13
- data/assets/stylesheets/luda/_core/mixins/_sass-lint-fix.sass +2 -2
- data/assets/stylesheets/luda/_core/mixins/_typography.sass +39 -39
- data/assets/stylesheets/luda/_core/utilities/_align.sass +18 -18
- data/assets/stylesheets/luda/_core/utilities/_background.sass +87 -87
- data/assets/stylesheets/luda/_core/utilities/_color.sass +35 -35
- data/assets/stylesheets/luda/_core/utilities/_display.sass +39 -39
- data/assets/stylesheets/luda/_core/utilities/_flex.sass +113 -113
- data/assets/stylesheets/luda/_core/utilities/_float.sass +20 -20
- data/assets/stylesheets/luda/_core/utilities/_opacity.sass +18 -18
- data/assets/stylesheets/luda/_core/utilities/_overflow.sass +17 -17
- data/assets/stylesheets/luda/_core/utilities/_position.sass +47 -47
- data/assets/stylesheets/luda/_core/utilities/_shape.sass +61 -61
- data/assets/stylesheets/luda/_core/utilities/_size.sass +66 -66
- data/assets/stylesheets/luda/_core/utilities/_space.sass +226 -226
- data/assets/stylesheets/luda/_core/utilities/_text.sass +84 -84
- data/assets/stylesheets/luda/_core/utilities/_visibility.sass +10 -10
- data/assets/stylesheets/luda/_core/utilities/_z-index.sass +18 -18
- data/assets/stylesheets/luda/_default.sass +51 -51
- data/assets/stylesheets/luda/default/_banner.sass +1 -1
- data/assets/stylesheets/luda/default/_base.sass +5 -5
- data/assets/stylesheets/luda/default/_mixins.sass +9 -9
- data/assets/stylesheets/luda/default/behaviours/_disabled.sass +4 -4
- data/assets/stylesheets/luda/default/behaviours/_focus.sass +4 -4
- data/assets/stylesheets/luda/default/behaviours/_readonly.sass +4 -4
- data/assets/stylesheets/luda/default/behaviours/_toggle.sass +4 -4
- data/assets/stylesheets/luda/default/collections/_alert.sass +5 -5
- data/assets/stylesheets/luda/default/collections/_avatar.sass +6 -6
- data/assets/stylesheets/luda/default/collections/_breadcrumb.sass +5 -5
- data/assets/stylesheets/luda/default/collections/_button-group.sass +6 -6
- data/assets/stylesheets/luda/default/collections/_button-icon.sass +7 -7
- data/assets/stylesheets/luda/default/collections/_carousel.sass +6 -6
- data/assets/stylesheets/luda/default/collections/_dropdown.sass +7 -7
- data/assets/stylesheets/luda/default/collections/_form-button.sass +8 -8
- data/assets/stylesheets/luda/default/collections/_form-dropdown.sass +7 -7
- data/assets/stylesheets/luda/default/collections/_form-group.sass +10 -10
- data/assets/stylesheets/luda/default/collections/_form-icon.sass +7 -7
- data/assets/stylesheets/luda/default/collections/_media.sass +6 -6
- data/assets/stylesheets/luda/default/collections/_modal.sass +6 -6
- data/assets/stylesheets/luda/default/collections/_nav.sass +9 -9
- data/assets/stylesheets/luda/default/collections/_tab.sass +8 -8
- data/assets/stylesheets/luda/default/elements/_badge.sass +5 -5
- data/assets/stylesheets/luda/default/elements/_baseline.sass +5 -5
- data/assets/stylesheets/luda/default/elements/_button.sass +6 -6
- data/assets/stylesheets/luda/default/elements/_container.sass +5 -5
- data/assets/stylesheets/luda/default/elements/_form.sass +12 -12
- data/assets/stylesheets/luda/default/elements/_grid.sass +5 -5
- data/assets/stylesheets/luda/default/elements/_icon.sass +5 -5
- data/assets/stylesheets/luda/default/elements/_overlay.sass +5 -5
- data/assets/stylesheets/luda/default/elements/_progress.sass +5 -5
- data/assets/stylesheets/luda/default/elements/_scrollbar.sass +5 -5
- data/assets/stylesheets/luda/default/elements/_table.sass +5 -5
- data/assets/stylesheets/luda/default/elements/_turbolinks-progress-bar.sass +5 -5
- data/assets/stylesheets/luda/default/elements/_typography.sass +11 -11
- data/assets/stylesheets/luda/default/elements/form/_form-check-radio.sass +4 -4
- data/assets/stylesheets/luda/default/elements/form/_form-element.sass +4 -4
- data/assets/stylesheets/luda/default/elements/form/_form-helper.sass +4 -4
- data/assets/stylesheets/luda/default/elements/form/_form-label.sass +4 -4
- data/assets/stylesheets/luda/default/elements/form/_form-range.sass +4 -4
- data/assets/stylesheets/luda/default/elements/form/_form-row.sass +4 -4
- data/assets/stylesheets/luda/default/elements/typography/_code.sass +4 -4
- data/assets/stylesheets/luda/default/elements/typography/_link.sass +4 -4
- data/assets/stylesheets/luda/default/elements/typography/_list.sass +3 -3
- data/assets/stylesheets/luda/default/elements/typography/_mark.sass +4 -4
- data/assets/stylesheets/luda/default/elements/typography/_quote.sass +4 -4
- data/assets/stylesheets/luda/default/elements/typography/_sub-sup.sass +4 -4
- data/assets/stylesheets/luda/default/elements/typography/_typography.sass +4 -4
- data/assets/stylesheets/luda/default/index.sass +55 -55
- data/assets/stylesheets/luda/default/utilities/_align.sass +4 -4
- data/assets/stylesheets/luda/default/utilities/_background.sass +4 -4
- data/assets/stylesheets/luda/default/utilities/_color.sass +4 -4
- data/assets/stylesheets/luda/default/utilities/_display.sass +4 -4
- data/assets/stylesheets/luda/default/utilities/_flex.sass +4 -4
- data/assets/stylesheets/luda/default/utilities/_float.sass +4 -4
- data/assets/stylesheets/luda/default/utilities/_opacity.sass +4 -4
- data/assets/stylesheets/luda/default/utilities/_overflow.sass +4 -4
- data/assets/stylesheets/luda/default/utilities/_position.sass +4 -4
- data/assets/stylesheets/luda/default/utilities/_shape.sass +4 -4
- data/assets/stylesheets/luda/default/utilities/_size.sass +4 -4
- data/assets/stylesheets/luda/default/utilities/_space.sass +4 -4
- data/assets/stylesheets/luda/default/utilities/_text.sass +4 -4
- data/assets/stylesheets/luda/default/utilities/_visibility.sass +4 -4
- data/assets/stylesheets/luda/default/utilities/_z-index.sass +4 -4
- data/lib/luda.rb +72 -72
- data/lib/luda/engine.rb +11 -11
- data/lib/luda/version.rb +1 -1
- metadata +3 -74
- data/assets/stylesheets/luda/core/_base.sass +0 -430
- data/assets/stylesheets/luda/core/_functions.sass +0 -240
- data/assets/stylesheets/luda/core/_variables.sass +0 -710
- data/assets/stylesheets/luda/core/behaviours/_disabled.sass +0 -12
- data/assets/stylesheets/luda/core/behaviours/_focus.sass +0 -7
- data/assets/stylesheets/luda/core/behaviours/_readonly.sass +0 -16
- data/assets/stylesheets/luda/core/behaviours/_toggle.sass +0 -4
- data/assets/stylesheets/luda/core/collections/_alert.sass +0 -24
- data/assets/stylesheets/luda/core/collections/_avatar.sass +0 -117
- data/assets/stylesheets/luda/core/collections/_breadcrumb.sass +0 -21
- data/assets/stylesheets/luda/core/collections/_button-group.sass +0 -67
- data/assets/stylesheets/luda/core/collections/_button-icon.sass +0 -46
- data/assets/stylesheets/luda/core/collections/_carousel.sass +0 -132
- data/assets/stylesheets/luda/core/collections/_dropdown.sass +0 -60
- data/assets/stylesheets/luda/core/collections/_form-button.sass +0 -23
- data/assets/stylesheets/luda/core/collections/_form-dropdown.sass +0 -21
- data/assets/stylesheets/luda/core/collections/_form-group.sass +0 -48
- data/assets/stylesheets/luda/core/collections/_form-icon.sass +0 -71
- data/assets/stylesheets/luda/core/collections/_media.sass +0 -55
- data/assets/stylesheets/luda/core/collections/_modal.sass +0 -12
- data/assets/stylesheets/luda/core/collections/_nav.sass +0 -162
- data/assets/stylesheets/luda/core/collections/_tab.sass +0 -18
- data/assets/stylesheets/luda/core/elements/_badge.sass +0 -19
- data/assets/stylesheets/luda/core/elements/_baseline.sass +0 -22
- data/assets/stylesheets/luda/core/elements/_button.sass +0 -136
- data/assets/stylesheets/luda/core/elements/_container.sass +0 -8
- data/assets/stylesheets/luda/core/elements/_grid.sass +0 -55
- data/assets/stylesheets/luda/core/elements/_icon.sass +0 -110
- data/assets/stylesheets/luda/core/elements/_overlay.sass +0 -11
- data/assets/stylesheets/luda/core/elements/_progress.sass +0 -31
- data/assets/stylesheets/luda/core/elements/_scrollbar.sass +0 -21
- data/assets/stylesheets/luda/core/elements/_table.sass +0 -102
- data/assets/stylesheets/luda/core/elements/_turbolinks-progress-bar.sass +0 -5
- data/assets/stylesheets/luda/core/elements/form/_form-check-radio.sass +0 -105
- data/assets/stylesheets/luda/core/elements/form/_form-element.sass +0 -83
- data/assets/stylesheets/luda/core/elements/form/_form-helper.sass +0 -66
- data/assets/stylesheets/luda/core/elements/form/_form-label.sass +0 -20
- data/assets/stylesheets/luda/core/elements/form/_form-range.sass +0 -92
- data/assets/stylesheets/luda/core/elements/form/_form-row.sass +0 -214
- data/assets/stylesheets/luda/core/elements/typography/_code.sass +0 -27
- data/assets/stylesheets/luda/core/elements/typography/_link.sass +0 -15
- data/assets/stylesheets/luda/core/elements/typography/_list.sass +0 -14
- data/assets/stylesheets/luda/core/elements/typography/_mark.sass +0 -7
- data/assets/stylesheets/luda/core/elements/typography/_quote.sass +0 -68
- data/assets/stylesheets/luda/core/elements/typography/_sub-sup.sass +0 -16
- data/assets/stylesheets/luda/core/elements/typography/_typography.sass +0 -52
- data/assets/stylesheets/luda/core/mixins/_browser.sass +0 -15
- data/assets/stylesheets/luda/core/mixins/_button.sass +0 -90
- data/assets/stylesheets/luda/core/mixins/_dropdown.sass +0 -40
- data/assets/stylesheets/luda/core/mixins/_focus.sass +0 -3
- data/assets/stylesheets/luda/core/mixins/_form.sass +0 -27
- data/assets/stylesheets/luda/core/mixins/_install.sass +0 -7
- data/assets/stylesheets/luda/core/mixins/_media-query.sass +0 -66
- data/assets/stylesheets/luda/core/mixins/_overlay.sass +0 -14
- data/assets/stylesheets/luda/core/mixins/_sass-lint-fix.sass +0 -3
- data/assets/stylesheets/luda/core/mixins/_typography.sass +0 -40
- data/assets/stylesheets/luda/core/utilities/_align.sass +0 -19
- data/assets/stylesheets/luda/core/utilities/_background.sass +0 -88
- data/assets/stylesheets/luda/core/utilities/_color.sass +0 -36
- data/assets/stylesheets/luda/core/utilities/_display.sass +0 -40
- data/assets/stylesheets/luda/core/utilities/_flex.sass +0 -114
- data/assets/stylesheets/luda/core/utilities/_float.sass +0 -21
- data/assets/stylesheets/luda/core/utilities/_opacity.sass +0 -19
- data/assets/stylesheets/luda/core/utilities/_overflow.sass +0 -18
- data/assets/stylesheets/luda/core/utilities/_position.sass +0 -48
- data/assets/stylesheets/luda/core/utilities/_shape.sass +0 -62
- data/assets/stylesheets/luda/core/utilities/_size.sass +0 -67
- data/assets/stylesheets/luda/core/utilities/_space.sass +0 -227
- data/assets/stylesheets/luda/core/utilities/_text.sass +0 -85
- data/assets/stylesheets/luda/core/utilities/_visibility.sass +0 -11
- data/assets/stylesheets/luda/core/utilities/_z-index.sass +0 -19
@@ -1,40 +1,40 @@
|
|
1
|
-
=_dropdown-absolute($breakpoint: null)
|
2
|
-
|
3
|
-
$class-fix: if($breakpoint, "-#{$breakpoint}", null)
|
4
|
-
|
5
|
-
.dropdown-absolute#{$class-fix}.dropdown-active > .dropdown-menu
|
6
|
-
display: block
|
7
|
-
position: relative
|
8
|
-
z-index: $z-index-much-higher
|
9
|
-
margin: 0
|
10
|
-
overflow: visible
|
11
|
-
|
12
|
-
.dropdown-absolute#{$class-fix} > .dropdown-menu > .dropdown-items
|
13
|
-
position: absolute
|
14
|
-
max-height: $dropdown-absolute-max-height-rem
|
15
|
-
margin: $dropdown-absolute-drop-gap-rem 0 0
|
16
|
-
overflow: auto
|
17
|
-
-webkit-overflow-scrolling: touch
|
18
|
-
background: $dropdown-absolute-fixed-background
|
19
|
-
border-radius: $dropdown-absolute-border-radius
|
20
|
-
box-shadow: $dropdown-absolute-box-shadow
|
21
|
-
|
22
|
-
.dropdown-absolute#{$class-fix}.dropdown-top > .dropdown-menu,
|
23
|
-
.dropdown-absolute#{$class-fix}.dropdown-left > .dropdown-menu,
|
24
|
-
.dropdown-absolute#{$class-fix}.dropdown-right > .dropdown-menu
|
25
|
-
order: -1
|
26
|
-
|
27
|
-
.dropdown-absolute#{$class-fix}.dropdown-top > .dropdown-menu > .dropdown-items
|
28
|
-
bottom: 0
|
29
|
-
margin: 0 0 $dropdown-absolute-drop-gap-rem
|
30
|
-
|
31
|
-
.dropdown-absolute#{$class-fix}.dropdown-align-right > .dropdown-menu > .dropdown-items
|
32
|
-
right: 0
|
33
|
-
|
34
|
-
.dropdown-absolute#{$class-fix}.dropdown-right > .dropdown-menu > .dropdown-items
|
35
|
-
left: 100%
|
36
|
-
margin: 0 0 0 $dropdown-absolute-drop-gap-rem
|
37
|
-
|
38
|
-
.dropdown-absolute#{$class-fix}.dropdown-left > .dropdown-menu > .dropdown-items
|
39
|
-
right: 100%
|
1
|
+
=_dropdown-absolute($breakpoint: null)
|
2
|
+
|
3
|
+
$class-fix: if($breakpoint, "-#{$breakpoint}", null)
|
4
|
+
|
5
|
+
.dropdown-absolute#{$class-fix}.dropdown-active > .dropdown-menu
|
6
|
+
display: block
|
7
|
+
position: relative
|
8
|
+
z-index: $z-index-much-higher
|
9
|
+
margin: 0
|
10
|
+
overflow: visible
|
11
|
+
|
12
|
+
.dropdown-absolute#{$class-fix} > .dropdown-menu > .dropdown-items
|
13
|
+
position: absolute
|
14
|
+
max-height: $dropdown-absolute-max-height-rem
|
15
|
+
margin: $dropdown-absolute-drop-gap-rem 0 0
|
16
|
+
overflow: auto
|
17
|
+
-webkit-overflow-scrolling: touch
|
18
|
+
background: $dropdown-absolute-fixed-background
|
19
|
+
border-radius: $dropdown-absolute-border-radius
|
20
|
+
box-shadow: $dropdown-absolute-box-shadow
|
21
|
+
|
22
|
+
.dropdown-absolute#{$class-fix}.dropdown-top > .dropdown-menu,
|
23
|
+
.dropdown-absolute#{$class-fix}.dropdown-left > .dropdown-menu,
|
24
|
+
.dropdown-absolute#{$class-fix}.dropdown-right > .dropdown-menu
|
25
|
+
order: -1
|
26
|
+
|
27
|
+
.dropdown-absolute#{$class-fix}.dropdown-top > .dropdown-menu > .dropdown-items
|
28
|
+
bottom: 0
|
29
|
+
margin: 0 0 $dropdown-absolute-drop-gap-rem
|
30
|
+
|
31
|
+
.dropdown-absolute#{$class-fix}.dropdown-align-right > .dropdown-menu > .dropdown-items
|
32
|
+
right: 0
|
33
|
+
|
34
|
+
.dropdown-absolute#{$class-fix}.dropdown-right > .dropdown-menu > .dropdown-items
|
35
|
+
left: 100%
|
36
|
+
margin: 0 0 0 $dropdown-absolute-drop-gap-rem
|
37
|
+
|
38
|
+
.dropdown-absolute#{$class-fix}.dropdown-left > .dropdown-menu > .dropdown-items
|
39
|
+
right: 100%
|
40
40
|
margin: 0 $dropdown-absolute-drop-gap-rem 0 0
|
@@ -1,3 +1,3 @@
|
|
1
|
-
=_focus
|
2
|
-
outline: $focus-outline-style $focus-outline-width-px $focus-outline-color
|
1
|
+
=_focus
|
2
|
+
outline: $focus-outline-style $focus-outline-width-px $focus-outline-color
|
3
3
|
outline-offset: $focus-outline-offset-px
|
@@ -1,27 +1,27 @@
|
|
1
|
-
=form-checkbox-or-radio-background-icon($icon, $icon-color, $background)
|
2
|
-
background: url(svg-icon($icon, $icon-color)) center / contain no-repeat, $background
|
3
|
-
|
4
|
-
=form-row-background-icon($icon, $icon-color, $background)
|
5
|
-
background: url(svg-icon($icon, $icon-color)) right $form-element-text-helvertical-padding-em (center / $form-element-icon-size-em) no-repeat, $background
|
6
|
-
|
7
|
-
=_form-range-track-skin
|
8
|
-
background: $form-element-track-background
|
9
|
-
border-radius: $form-element-track-border-radius
|
10
|
-
|
11
|
-
=_form-range-thumb-styles
|
12
|
-
width: $form-element-thumb-width-em
|
13
|
-
height: $form-element-thumb-height-em
|
14
|
-
border: $form-element-border-style $form-element-border-width $form-element-thumb-border-color
|
15
|
-
background: $form-element-thumb-background
|
16
|
-
border-radius: $form-element-thumb-border-radius
|
17
|
-
box-shadow: $form-element-box-shadow
|
18
|
-
|
19
|
-
=_form-range-focus-thumb-skin
|
20
|
-
background: $form-element-focus-thumb-background
|
21
|
-
border-color: $form-element-focus-thumb-border-color
|
22
|
-
box-shadow: $form-element-focus-box-shadow
|
23
|
-
|
24
|
-
=_form-range-error-thumb-skin
|
25
|
-
background: $form-element-error-thumb-background
|
26
|
-
border-color: $form-element-error-thumb-border-color
|
1
|
+
=form-checkbox-or-radio-background-icon($icon, $icon-color, $background)
|
2
|
+
background: url(svg-icon($icon, $icon-color)) center / contain no-repeat, $background
|
3
|
+
|
4
|
+
=form-row-background-icon($icon, $icon-color, $background)
|
5
|
+
background: url(svg-icon($icon, $icon-color)) right $form-element-text-helvertical-padding-em (center / $form-element-icon-size-em) no-repeat, $background
|
6
|
+
|
7
|
+
=_form-range-track-skin
|
8
|
+
background: $form-element-track-background
|
9
|
+
border-radius: $form-element-track-border-radius
|
10
|
+
|
11
|
+
=_form-range-thumb-styles
|
12
|
+
width: $form-element-thumb-width-em
|
13
|
+
height: $form-element-thumb-height-em
|
14
|
+
border: $form-element-border-style $form-element-border-width $form-element-thumb-border-color
|
15
|
+
background: $form-element-thumb-background
|
16
|
+
border-radius: $form-element-thumb-border-radius
|
17
|
+
box-shadow: $form-element-box-shadow
|
18
|
+
|
19
|
+
=_form-range-focus-thumb-skin
|
20
|
+
background: $form-element-focus-thumb-background
|
21
|
+
border-color: $form-element-focus-thumb-border-color
|
22
|
+
box-shadow: $form-element-focus-box-shadow
|
23
|
+
|
24
|
+
=_form-range-error-thumb-skin
|
25
|
+
background: $form-element-error-thumb-background
|
26
|
+
border-color: $form-element-error-thumb-border-color
|
27
27
|
box-shadow: $form-element-error-box-shadow
|
@@ -1,7 +1,7 @@
|
|
1
|
-
$installed-modules: () !default
|
2
|
-
|
3
|
-
=install($module-name)
|
4
|
-
@if index($installed-modules, $module-name) == null
|
5
|
-
$installed-modules: append($installed-modules, $module-name) !global
|
6
|
-
@at-root
|
1
|
+
$installed-modules: () !default
|
2
|
+
|
3
|
+
=install($module-name)
|
4
|
+
@if index($installed-modules, $module-name) == null
|
5
|
+
$installed-modules: append($installed-modules, $module-name) !global
|
6
|
+
@at-root
|
7
7
|
@content
|
@@ -1,66 +1,66 @@
|
|
1
|
-
=_media-query($breakpoints, $breakpoint, $query-rule, $down-value: 0)
|
2
|
-
$breakpoint-value: map-get($breakpoints, $breakpoint)
|
3
|
-
$query-rule-min: null
|
4
|
-
$breakpoint-max-value: null
|
5
|
-
$query-rule-max: null
|
6
|
-
|
7
|
-
@if $breakpoint-value > 0
|
8
|
-
@if $query-rule == aspect-ratio
|
9
|
-
$query-rule-min: "(min-aspect-ratio:#{$breakpoint-value * 10000}/10000)"
|
10
|
-
@else
|
11
|
-
$query-rule-min: "(min-#{$query-rule}:#{$breakpoint-value})"
|
12
|
-
|
13
|
-
@if $down-value > 0
|
14
|
-
$breakpoints-keys: map-keys($breakpoints)
|
15
|
-
$breakpoints-values: map-values($breakpoints)
|
16
|
-
$breakpoint-index: index($breakpoints-keys, $breakpoint)
|
17
|
-
$breakpoint-max-value: null
|
18
|
-
@if $breakpoint-index < length($breakpoints-keys)
|
19
|
-
$breakpoint-max-value: nth($breakpoints-values, $breakpoint-index + 1) - $down-value
|
20
|
-
@else
|
21
|
-
$breakpoint-max-value: null
|
22
|
-
@if $breakpoint-max-value and $breakpoint-max-value > 0
|
23
|
-
@if $query-rule == aspect-ratio
|
24
|
-
$query-rule-max: "(max-aspect-ratio:#{$breakpoint-max-value * 10000}/10000)"
|
25
|
-
@else
|
26
|
-
$query-rule-max: "(max-#{$query-rule}:#{$breakpoint-max-value})"
|
27
|
-
|
28
|
-
@if $query-rule-min or $query-rule-max
|
29
|
-
@if $query-rule-min
|
30
|
-
@media #{$query-rule-min}
|
31
|
-
@if $query-rule-max
|
32
|
-
@media #{$query-rule-max}
|
33
|
-
@content
|
34
|
-
@else
|
35
|
-
// sass-lint:disable indentation
|
36
|
-
@content
|
37
|
-
// sass-lint:enable indentation
|
38
|
-
@else
|
39
|
-
@if $query-rule-max
|
40
|
-
@media #{$query-rule-max}
|
41
|
-
@content
|
42
|
-
@else
|
43
|
-
@content
|
44
|
-
@else
|
45
|
-
@content
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
=media-width($breakpoint, $only-breakpoint: false)
|
50
|
-
$down-value: if($only-breakpoint, 1, 0)
|
51
|
-
+_media-query($breakpoint-width-pxs, $breakpoint, width, $down-value)
|
52
|
-
@content
|
53
|
-
|
54
|
-
=media-resolution($breakpoint, $only-breakpoint: false)
|
55
|
-
$down-value: if($only-breakpoint, 9.6, 0)
|
56
|
-
+_media-query($breakpoint-resolutions, $breakpoint, resolution, $down-value)
|
57
|
-
@content
|
58
|
-
|
59
|
-
=media-aspect-ratio($breakpoint, $only-breakpoint: false)
|
60
|
-
$down-value: if($only-breakpoint, 0.0001, 0)
|
61
|
-
+_media-query($breakpoint-aspect-ratios, $breakpoint, aspect-ratio, $down-value)
|
62
|
-
@content
|
63
|
-
|
64
|
-
=media-print
|
65
|
-
@media print
|
1
|
+
=_media-query($breakpoints, $breakpoint, $query-rule, $down-value: 0)
|
2
|
+
$breakpoint-value: map-get($breakpoints, $breakpoint)
|
3
|
+
$query-rule-min: null
|
4
|
+
$breakpoint-max-value: null
|
5
|
+
$query-rule-max: null
|
6
|
+
|
7
|
+
@if $breakpoint-value > 0
|
8
|
+
@if $query-rule == aspect-ratio
|
9
|
+
$query-rule-min: "(min-aspect-ratio:#{$breakpoint-value * 10000}/10000)"
|
10
|
+
@else
|
11
|
+
$query-rule-min: "(min-#{$query-rule}:#{$breakpoint-value})"
|
12
|
+
|
13
|
+
@if $down-value > 0
|
14
|
+
$breakpoints-keys: map-keys($breakpoints)
|
15
|
+
$breakpoints-values: map-values($breakpoints)
|
16
|
+
$breakpoint-index: index($breakpoints-keys, $breakpoint)
|
17
|
+
$breakpoint-max-value: null
|
18
|
+
@if $breakpoint-index < length($breakpoints-keys)
|
19
|
+
$breakpoint-max-value: nth($breakpoints-values, $breakpoint-index + 1) - $down-value
|
20
|
+
@else
|
21
|
+
$breakpoint-max-value: null
|
22
|
+
@if $breakpoint-max-value and $breakpoint-max-value > 0
|
23
|
+
@if $query-rule == aspect-ratio
|
24
|
+
$query-rule-max: "(max-aspect-ratio:#{$breakpoint-max-value * 10000}/10000)"
|
25
|
+
@else
|
26
|
+
$query-rule-max: "(max-#{$query-rule}:#{$breakpoint-max-value})"
|
27
|
+
|
28
|
+
@if $query-rule-min or $query-rule-max
|
29
|
+
@if $query-rule-min
|
30
|
+
@media #{$query-rule-min}
|
31
|
+
@if $query-rule-max
|
32
|
+
@media #{$query-rule-max}
|
33
|
+
@content
|
34
|
+
@else
|
35
|
+
// sass-lint:disable indentation
|
36
|
+
@content
|
37
|
+
// sass-lint:enable indentation
|
38
|
+
@else
|
39
|
+
@if $query-rule-max
|
40
|
+
@media #{$query-rule-max}
|
41
|
+
@content
|
42
|
+
@else
|
43
|
+
@content
|
44
|
+
@else
|
45
|
+
@content
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
=media-width($breakpoint, $only-breakpoint: false)
|
50
|
+
$down-value: if($only-breakpoint, 1, 0)
|
51
|
+
+_media-query($breakpoint-width-pxs, $breakpoint, width, $down-value)
|
52
|
+
@content
|
53
|
+
|
54
|
+
=media-resolution($breakpoint, $only-breakpoint: false)
|
55
|
+
$down-value: if($only-breakpoint, 9.6, 0)
|
56
|
+
+_media-query($breakpoint-resolutions, $breakpoint, resolution, $down-value)
|
57
|
+
@content
|
58
|
+
|
59
|
+
=media-aspect-ratio($breakpoint, $only-breakpoint: false)
|
60
|
+
$down-value: if($only-breakpoint, 0.0001, 0)
|
61
|
+
+_media-query($breakpoint-aspect-ratios, $breakpoint, aspect-ratio, $down-value)
|
62
|
+
@content
|
63
|
+
|
64
|
+
=media-print
|
65
|
+
@media print
|
66
66
|
@content
|
@@ -1,14 +1,14 @@
|
|
1
|
-
=overlay
|
2
|
-
display: flex
|
3
|
-
position: fixed
|
4
|
-
top: 0
|
5
|
-
right: 0
|
6
|
-
bottom: 0
|
7
|
-
left: 0
|
8
|
-
z-index: $z-index-highest
|
9
|
-
overflow: auto
|
10
|
-
-webkit-overflow-scrolling: touch
|
11
|
-
background: $overlay-background
|
12
|
-
|
13
|
-
=overlay-body
|
1
|
+
=overlay
|
2
|
+
display: flex
|
3
|
+
position: fixed
|
4
|
+
top: 0
|
5
|
+
right: 0
|
6
|
+
bottom: 0
|
7
|
+
left: 0
|
8
|
+
z-index: $z-index-highest
|
9
|
+
overflow: auto
|
10
|
+
-webkit-overflow-scrolling: touch
|
11
|
+
background: $overlay-background
|
12
|
+
|
13
|
+
=overlay-body
|
14
14
|
margin: auto
|
@@ -1,3 +1,3 @@
|
|
1
|
-
// sass-lint:disable no-empty-rulesets
|
2
|
-
=_sass-lint-fix-if-else
|
1
|
+
// sass-lint:disable no-empty-rulesets
|
2
|
+
=_sass-lint-fix-if-else
|
3
3
|
// ugly hack to fix sass-lint bug https://github.com/sasstools/sass-lint/issues/1138
|
@@ -1,40 +1,40 @@
|
|
1
|
-
=typo-level-vertical-padding($type-level, $baseline-offset)
|
2
|
-
padding-top: typo-padding-top($type-level, $baseline-offset)
|
3
|
-
padding-bottom: typo-padding-bottom($type-level, $baseline-offset)
|
4
|
-
|
5
|
-
=typo-level($type-level, $baseline-offset)
|
6
|
-
+typo-level-vertical-padding($type-level, $baseline-offset)
|
7
|
-
font-size: typo-size($type-level)
|
8
|
-
line-height: typo-line-height($type-level)
|
9
|
-
|
10
|
-
=typo-link($class: null, $color: null, $hover-color: null, $active-color: null)
|
11
|
-
a.link-#{$class}:not(.btn)
|
12
|
-
color: $color
|
13
|
-
|
14
|
-
a.link-#{$class}:not(.btn):hover
|
15
|
-
color: $hover-color
|
16
|
-
|
17
|
-
a.link-#{$class}:not(.btn):active
|
18
|
-
color: $active-color
|
19
|
-
|
20
|
-
=font-face($family: null, $style: normal, $weight: 400, $locals: null, $urls: null, $unicodes: null)
|
21
|
-
$src: null
|
22
|
-
@if $locals
|
23
|
-
@each $local in $locals
|
24
|
-
@if $src
|
25
|
-
$src: "#{$src}, local('#{$local}')"
|
26
|
-
@else
|
27
|
-
$src: "local('#{$local}')"
|
28
|
-
@if $urls
|
29
|
-
@each $format, $url in $urls
|
30
|
-
@if $src
|
31
|
-
$src: "#{$src}, url(#{$url}) format('#{$format}')"
|
32
|
-
@else
|
33
|
-
$src: "url(#{$url}) format('#{$format}')"
|
34
|
-
@at-root
|
35
|
-
@font-face
|
36
|
-
src: unquote($src)
|
37
|
-
font-family: $family
|
38
|
-
font-style: $style
|
39
|
-
font-weight: $weight
|
1
|
+
=typo-level-vertical-padding($type-level, $baseline-offset)
|
2
|
+
padding-top: typo-padding-top($type-level, $baseline-offset)
|
3
|
+
padding-bottom: typo-padding-bottom($type-level, $baseline-offset)
|
4
|
+
|
5
|
+
=typo-level($type-level, $baseline-offset)
|
6
|
+
+typo-level-vertical-padding($type-level, $baseline-offset)
|
7
|
+
font-size: typo-size($type-level)
|
8
|
+
line-height: typo-line-height($type-level)
|
9
|
+
|
10
|
+
=typo-link($class: null, $color: null, $hover-color: null, $active-color: null)
|
11
|
+
a.link-#{$class}:not(.btn)
|
12
|
+
color: $color
|
13
|
+
|
14
|
+
a.link-#{$class}:not(.btn):hover
|
15
|
+
color: $hover-color
|
16
|
+
|
17
|
+
a.link-#{$class}:not(.btn):active
|
18
|
+
color: $active-color
|
19
|
+
|
20
|
+
=font-face($family: null, $style: normal, $weight: 400, $locals: null, $urls: null, $unicodes: null)
|
21
|
+
$src: null
|
22
|
+
@if $locals
|
23
|
+
@each $local in $locals
|
24
|
+
@if $src
|
25
|
+
$src: "#{$src}, local('#{$local}')"
|
26
|
+
@else
|
27
|
+
$src: "local('#{$local}')"
|
28
|
+
@if $urls
|
29
|
+
@each $format, $url in $urls
|
30
|
+
@if $src
|
31
|
+
$src: "#{$src}, url(#{$url}) format('#{$format}')"
|
32
|
+
@else
|
33
|
+
$src: "url(#{$url}) format('#{$format}')"
|
34
|
+
@at-root
|
35
|
+
@font-face
|
36
|
+
src: unquote($src)
|
37
|
+
font-family: $family
|
38
|
+
font-style: $style
|
39
|
+
font-weight: $weight
|
40
40
|
unicode-range: $unicodes
|
@@ -1,19 +1,19 @@
|
|
1
|
-
+install(shared-utility-align)
|
2
|
-
|
3
|
-
.va-top
|
4
|
-
vertical-align: top !important
|
5
|
-
|
6
|
-
.va-middle
|
7
|
-
vertical-align: middle !important
|
8
|
-
|
9
|
-
.va-baseline
|
10
|
-
vertical-align: baseline !important
|
11
|
-
|
12
|
-
.va-bottom
|
13
|
-
vertical-align: bottom !important
|
14
|
-
|
15
|
-
.va-text-top
|
16
|
-
vertical-align: text-top !important
|
17
|
-
|
18
|
-
.va-text-bottom
|
1
|
+
+install(shared-utility-align)
|
2
|
+
|
3
|
+
.va-top
|
4
|
+
vertical-align: top !important
|
5
|
+
|
6
|
+
.va-middle
|
7
|
+
vertical-align: middle !important
|
8
|
+
|
9
|
+
.va-baseline
|
10
|
+
vertical-align: baseline !important
|
11
|
+
|
12
|
+
.va-bottom
|
13
|
+
vertical-align: bottom !important
|
14
|
+
|
15
|
+
.va-text-top
|
16
|
+
vertical-align: text-top !important
|
17
|
+
|
18
|
+
.va-text-bottom
|
19
19
|
vertical-align: text-bottom !important
|
@@ -1,88 +1,88 @@
|
|
1
|
-
+install(shared-utility-background)
|
2
|
-
|
3
|
-
.bc-primary
|
4
|
-
background-color: $background-color-primary !important
|
5
|
-
|
6
|
-
.bc-secondary
|
7
|
-
background-color: $background-color-secondary !important
|
8
|
-
|
9
|
-
.bc-danger
|
10
|
-
background-color: $background-color-danger !important
|
11
|
-
|
12
|
-
.bc-dark
|
13
|
-
background-color: $background-color-dark !important
|
14
|
-
|
15
|
-
.bc-light
|
16
|
-
background-color: $background-color-light !important
|
17
|
-
|
18
|
-
.bc-transparent
|
19
|
-
background-color: transparent !important
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
.b-emphasis
|
24
|
-
background: $background-emphasis !important
|
25
|
-
|
26
|
-
.b-main
|
27
|
-
background: $background-main !important
|
28
|
-
|
29
|
-
.b-muted
|
30
|
-
background: $background-muted !important
|
31
|
-
|
32
|
-
.b-inverse-emphasis
|
33
|
-
background: $background-inverse-emphasis !important
|
34
|
-
|
35
|
-
.b-inverse-main
|
36
|
-
background: $background-inverse-main !important
|
37
|
-
|
38
|
-
.b-inverse-muted
|
39
|
-
background: $background-inverse-muted !important
|
40
|
-
|
41
|
-
.b-none
|
42
|
-
background: none !important
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
.bp-c
|
47
|
-
background-position: center !important
|
48
|
-
|
49
|
-
.bp-rc
|
50
|
-
background-position: right center !important
|
51
|
-
|
52
|
-
.bp-lc
|
53
|
-
background-position: left center !important
|
54
|
-
|
55
|
-
.bp-ct
|
56
|
-
background-position: center top !important
|
57
|
-
|
58
|
-
.bp-cb
|
59
|
-
background-position: center bottom !important
|
60
|
-
|
61
|
-
.bp-lt
|
62
|
-
background-position: left top !important
|
63
|
-
|
64
|
-
.bp-lb
|
65
|
-
background-position: left bottom !important
|
66
|
-
|
67
|
-
.bp-rt
|
68
|
-
background-position: right top !important
|
69
|
-
|
70
|
-
.bp-rb
|
71
|
-
background-position: right bottom !important
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
.bs-cover
|
76
|
-
background-size: cover !important
|
77
|
-
|
78
|
-
.bs-contain
|
79
|
-
background-size: contain !important
|
80
|
-
|
81
|
-
.bs-auto
|
82
|
-
background-size: auto !important
|
83
|
-
|
84
|
-
.bs-100-auto
|
85
|
-
background-size: 100% auto !important
|
86
|
-
|
87
|
-
.bs-auto-100
|
1
|
+
+install(shared-utility-background)
|
2
|
+
|
3
|
+
.bc-primary
|
4
|
+
background-color: $background-color-primary !important
|
5
|
+
|
6
|
+
.bc-secondary
|
7
|
+
background-color: $background-color-secondary !important
|
8
|
+
|
9
|
+
.bc-danger
|
10
|
+
background-color: $background-color-danger !important
|
11
|
+
|
12
|
+
.bc-dark
|
13
|
+
background-color: $background-color-dark !important
|
14
|
+
|
15
|
+
.bc-light
|
16
|
+
background-color: $background-color-light !important
|
17
|
+
|
18
|
+
.bc-transparent
|
19
|
+
background-color: transparent !important
|
20
|
+
|
21
|
+
|
22
|
+
|
23
|
+
.b-emphasis
|
24
|
+
background: $background-emphasis !important
|
25
|
+
|
26
|
+
.b-main
|
27
|
+
background: $background-main !important
|
28
|
+
|
29
|
+
.b-muted
|
30
|
+
background: $background-muted !important
|
31
|
+
|
32
|
+
.b-inverse-emphasis
|
33
|
+
background: $background-inverse-emphasis !important
|
34
|
+
|
35
|
+
.b-inverse-main
|
36
|
+
background: $background-inverse-main !important
|
37
|
+
|
38
|
+
.b-inverse-muted
|
39
|
+
background: $background-inverse-muted !important
|
40
|
+
|
41
|
+
.b-none
|
42
|
+
background: none !important
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
.bp-c
|
47
|
+
background-position: center !important
|
48
|
+
|
49
|
+
.bp-rc
|
50
|
+
background-position: right center !important
|
51
|
+
|
52
|
+
.bp-lc
|
53
|
+
background-position: left center !important
|
54
|
+
|
55
|
+
.bp-ct
|
56
|
+
background-position: center top !important
|
57
|
+
|
58
|
+
.bp-cb
|
59
|
+
background-position: center bottom !important
|
60
|
+
|
61
|
+
.bp-lt
|
62
|
+
background-position: left top !important
|
63
|
+
|
64
|
+
.bp-lb
|
65
|
+
background-position: left bottom !important
|
66
|
+
|
67
|
+
.bp-rt
|
68
|
+
background-position: right top !important
|
69
|
+
|
70
|
+
.bp-rb
|
71
|
+
background-position: right bottom !important
|
72
|
+
|
73
|
+
|
74
|
+
|
75
|
+
.bs-cover
|
76
|
+
background-size: cover !important
|
77
|
+
|
78
|
+
.bs-contain
|
79
|
+
background-size: contain !important
|
80
|
+
|
81
|
+
.bs-auto
|
82
|
+
background-size: auto !important
|
83
|
+
|
84
|
+
.bs-100-auto
|
85
|
+
background-size: 100% auto !important
|
86
|
+
|
87
|
+
.bs-auto-100
|
88
88
|
background-size: auto 100% !important
|