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,23 +1,23 @@
|
|
1
|
-
+install(shared-collection-form-button)
|
2
|
-
|
3
|
-
.fm-btn
|
4
|
-
display: flex
|
5
|
-
|
6
|
-
.fm-btn .fm
|
7
|
-
flex-basis: 100%
|
8
|
-
|
9
|
-
.fm-btn .fm input,
|
10
|
-
.fm-btn .fm select,
|
11
|
-
.fm-btn .fm textarea
|
12
|
-
border-right: none
|
13
|
-
border-top-right-radius: 0
|
14
|
-
border-bottom-right-radius: 0
|
15
|
-
|
16
|
-
.fm-btn .btn,
|
17
|
-
.fm-btn .btn-check,
|
18
|
-
.fm-btn .btn-radio,
|
19
|
-
.fm-btn .btn-file
|
20
|
-
flex-shrink: 0
|
21
|
-
order: 1
|
22
|
-
border-top-left-radius: 0
|
1
|
+
+install(shared-collection-form-button)
|
2
|
+
|
3
|
+
.fm-btn
|
4
|
+
display: flex
|
5
|
+
|
6
|
+
.fm-btn .fm
|
7
|
+
flex-basis: 100%
|
8
|
+
|
9
|
+
.fm-btn .fm input,
|
10
|
+
.fm-btn .fm select,
|
11
|
+
.fm-btn .fm textarea
|
12
|
+
border-right: none
|
13
|
+
border-top-right-radius: 0
|
14
|
+
border-bottom-right-radius: 0
|
15
|
+
|
16
|
+
.fm-btn .btn,
|
17
|
+
.fm-btn .btn-check,
|
18
|
+
.fm-btn .btn-radio,
|
19
|
+
.fm-btn .btn-file
|
20
|
+
flex-shrink: 0
|
21
|
+
order: 1
|
22
|
+
border-top-left-radius: 0
|
23
23
|
border-bottom-left-radius: 0
|
@@ -1,21 +1,21 @@
|
|
1
|
-
+install(shared-collection-form-dropdown)
|
2
|
-
|
3
|
-
.fm-dropdown.dropdown-absolute,
|
4
|
-
.fm-dropdown.dropdown-fixed
|
5
|
-
width: 100%
|
6
|
-
|
7
|
-
+media-width($dropdown-width-breakpoint)
|
8
|
-
|
9
|
-
.fm-dropdown.dropdown-absolute-#{$dropdown-width-breakpoint}:not(.dropdown-top)
|
10
|
-
|
11
|
-
> .dropdown-menu
|
12
|
-
order: -1
|
13
|
-
|
14
|
-
> .dropdown-menu > .dropdown-items
|
15
|
-
margin-top: $form-element-textfield-height-rem + $dropdown-absolute-drop-gap-rem
|
16
|
-
|
17
|
-
> .fm-small ~ .dropdown-menu > .dropdown-items
|
18
|
-
margin-top: $form-element-small-textfield-height-rem + $dropdown-absolute-drop-gap-rem
|
19
|
-
|
20
|
-
> .fm-large ~ .dropdown-menu > .dropdown-items
|
1
|
+
+install(shared-collection-form-dropdown)
|
2
|
+
|
3
|
+
.fm-dropdown.dropdown-absolute,
|
4
|
+
.fm-dropdown.dropdown-fixed
|
5
|
+
width: 100%
|
6
|
+
|
7
|
+
+media-width($dropdown-width-breakpoint)
|
8
|
+
|
9
|
+
.fm-dropdown.dropdown-absolute-#{$dropdown-width-breakpoint}:not(.dropdown-top)
|
10
|
+
|
11
|
+
> .dropdown-menu
|
12
|
+
order: -1
|
13
|
+
|
14
|
+
> .dropdown-menu > .dropdown-items
|
15
|
+
margin-top: $form-element-textfield-height-rem + $dropdown-absolute-drop-gap-rem
|
16
|
+
|
17
|
+
> .fm-small ~ .dropdown-menu > .dropdown-items
|
18
|
+
margin-top: $form-element-small-textfield-height-rem + $dropdown-absolute-drop-gap-rem
|
19
|
+
|
20
|
+
> .fm-large ~ .dropdown-menu > .dropdown-items
|
21
21
|
margin-top: $form-element-large-textfield-height-rem + $dropdown-absolute-drop-gap-rem
|
@@ -1,48 +1,48 @@
|
|
1
|
-
+install(shared-collection-form-group)
|
2
|
-
|
3
|
-
.fm-group > .grid
|
4
|
-
width: auto
|
5
|
-
padding-right: $grid-gutter-width-rem / 2
|
6
|
-
margin-right: - $grid-gutter-width-rem / 2
|
7
|
-
margin-left: - $grid-gutter-width-rem / 2
|
8
|
-
|
9
|
-
.fm-group > .grid > [class*=col-]
|
10
|
-
padding-right: 0
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
.fm-group .fm-label-nowrap.fm-label,
|
15
|
-
.fm-group .fm-label-wrap.fm-label
|
16
|
-
height: $form-element-textfield-height-rem
|
17
|
-
padding-top: 0
|
18
|
-
padding-bottom: 0
|
19
|
-
overflow: hidden
|
20
|
-
text-overflow: ellipsis
|
21
|
-
|
22
|
-
.fm-group .fm-label-nowrap.fm-label
|
23
|
-
line-height: $form-element-textfield-height-rem
|
24
|
-
white-space: nowrap
|
25
|
-
|
26
|
-
.fm-group .fm-label-small.fm-label-nowrap.fm-label
|
27
|
-
height: $form-element-small-textfield-height-rem
|
28
|
-
line-height: $form-element-small-textfield-height-rem
|
29
|
-
|
30
|
-
.fm-group .fm-label-large.fm-label-nowrap.fm-label
|
31
|
-
height: $form-element-large-textfield-height-rem
|
32
|
-
line-height: $form-element-large-textfield-height-rem
|
33
|
-
|
34
|
-
.fm-group .fm-label-wrap.fm-label
|
35
|
-
line-height: $form-element-textfield-height-rem / 2
|
36
|
-
|
37
|
-
.fm-group .fm-label-small.fm-label-wrap.fm-label
|
38
|
-
height: $form-element-small-textfield-height-rem
|
39
|
-
line-height: $form-element-small-textfield-height-rem / 2
|
40
|
-
|
41
|
-
.fm-group .fm-label-large.fm-label-wrap.fm-label
|
42
|
-
height: $form-element-large-textfield-height-rem
|
43
|
-
line-height: $form-element-large-textfield-height-rem / 2
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
.fm-group .fm
|
1
|
+
+install(shared-collection-form-group)
|
2
|
+
|
3
|
+
.fm-group > .grid
|
4
|
+
width: auto
|
5
|
+
padding-right: $grid-gutter-width-rem / 2
|
6
|
+
margin-right: - $grid-gutter-width-rem / 2
|
7
|
+
margin-left: - $grid-gutter-width-rem / 2
|
8
|
+
|
9
|
+
.fm-group > .grid > [class*=col-]
|
10
|
+
padding-right: 0
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
.fm-group .fm-label-nowrap.fm-label,
|
15
|
+
.fm-group .fm-label-wrap.fm-label
|
16
|
+
height: $form-element-textfield-height-rem
|
17
|
+
padding-top: 0
|
18
|
+
padding-bottom: 0
|
19
|
+
overflow: hidden
|
20
|
+
text-overflow: ellipsis
|
21
|
+
|
22
|
+
.fm-group .fm-label-nowrap.fm-label
|
23
|
+
line-height: $form-element-textfield-height-rem
|
24
|
+
white-space: nowrap
|
25
|
+
|
26
|
+
.fm-group .fm-label-small.fm-label-nowrap.fm-label
|
27
|
+
height: $form-element-small-textfield-height-rem
|
28
|
+
line-height: $form-element-small-textfield-height-rem
|
29
|
+
|
30
|
+
.fm-group .fm-label-large.fm-label-nowrap.fm-label
|
31
|
+
height: $form-element-large-textfield-height-rem
|
32
|
+
line-height: $form-element-large-textfield-height-rem
|
33
|
+
|
34
|
+
.fm-group .fm-label-wrap.fm-label
|
35
|
+
line-height: $form-element-textfield-height-rem / 2
|
36
|
+
|
37
|
+
.fm-group .fm-label-small.fm-label-wrap.fm-label
|
38
|
+
height: $form-element-small-textfield-height-rem
|
39
|
+
line-height: $form-element-small-textfield-height-rem / 2
|
40
|
+
|
41
|
+
.fm-group .fm-label-large.fm-label-wrap.fm-label
|
42
|
+
height: $form-element-large-textfield-height-rem
|
43
|
+
line-height: $form-element-large-textfield-height-rem / 2
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
.fm-group .fm
|
48
48
|
margin-bottom: $form-group-element-vertical-margin-rem
|
@@ -1,71 +1,71 @@
|
|
1
|
-
+install(shared-collection-form-icon)
|
2
|
-
|
3
|
-
.fm.fm-ico-left input,
|
4
|
-
.fm.fm-ico-left select[multiple],
|
5
|
-
.fm.fm-ico-left textarea
|
6
|
-
padding-left: $form-element-text-helvertical-padding-em * 2 + $form-element-icon-size-em
|
7
|
-
|
8
|
-
.fm.fm-ico-right input,
|
9
|
-
.fm.fm-ico-right select[multiple],
|
10
|
-
.fm.fm-ico-right textarea
|
11
|
-
padding-right: $form-element-text-helvertical-padding-em * 2 + $form-element-icon-size-em
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
.fm-select.fm-ico-right input,
|
16
|
-
.fm-file.fm-ico-right input,
|
17
|
-
.fm-search.fm-ico-right input
|
18
|
-
background: $form-element-background
|
19
|
-
|
20
|
-
.fm-select.fm-ico-right[data-error] input,
|
21
|
-
.fm-file.fm-ico-right[data-error] input,
|
22
|
-
.fm-search.fm-ico-right[data-error] input
|
23
|
-
background: form-error-background
|
24
|
-
|
25
|
-
.fm.fm-select.fm-ico-right .focus ~ input,
|
26
|
-
.fm.fm-select.fm-ico-right input.focus,
|
27
|
-
.fm.fm-file.fm-ico-right .focus ~ input,
|
28
|
-
.fm.fm-search.fm-ico-right input.focus
|
29
|
-
background: form-focus-background
|
30
|
-
|
31
|
-
.fm.fm-select[data-error].fm-ico-right .focus ~ input,
|
32
|
-
.fm.fm-select[data-error].fm-ico-right input.focus,
|
33
|
-
.fm.fm-file[data-error].fm-ico-right .focus ~ input,
|
34
|
-
.fm.fm-search[data-error].fm-ico-right input.focus
|
35
|
-
background: form-error-focus-background
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
.fm > .ico
|
40
|
-
margin-top: _form-icon-margin-top($form-element-textfield-height-rem, $form-element-typography-size-level)
|
41
|
-
font-size: $form-element-icon-size-em
|
42
|
-
color: $form-element-icon-color
|
43
|
-
fill: $form-element-icon-color
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
.fm.fm-ico-left > .ico
|
48
|
-
margin-left: $form-element-text-helvertical-padding-em / strip-unit($form-element-icon-size-em)
|
49
|
-
|
50
|
-
.fm.fm-ico-right > .ico
|
51
|
-
margin-right: $form-element-text-helvertical-padding-em / strip-unit($form-element-icon-size-em)
|
52
|
-
margin-left: auto
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
.fm-small.fm > .ico
|
57
|
-
margin-top: _form-icon-margin-top($form-element-small-textfield-height-rem, $form-element-small-typography-size-level)
|
58
|
-
|
59
|
-
.fm-large.fm > .ico
|
60
|
-
margin-top: _form-icon-margin-top($form-element-large-textfield-height-rem, $form-element-large-typography-size-level)
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
.fm[data-error] .ico
|
65
|
-
color: $form-element-error-icon-color
|
66
|
-
fill: $form-element-error-icon-color
|
67
|
-
|
68
|
-
.fm.fm-ico-left .focus ~ .ico,
|
69
|
-
.fm.fm-ico-right .focus ~ .ico
|
70
|
-
color: $form-element-focus-icon-color
|
1
|
+
+install(shared-collection-form-icon)
|
2
|
+
|
3
|
+
.fm.fm-ico-left input,
|
4
|
+
.fm.fm-ico-left select[multiple],
|
5
|
+
.fm.fm-ico-left textarea
|
6
|
+
padding-left: $form-element-text-helvertical-padding-em * 2 + $form-element-icon-size-em
|
7
|
+
|
8
|
+
.fm.fm-ico-right input,
|
9
|
+
.fm.fm-ico-right select[multiple],
|
10
|
+
.fm.fm-ico-right textarea
|
11
|
+
padding-right: $form-element-text-helvertical-padding-em * 2 + $form-element-icon-size-em
|
12
|
+
|
13
|
+
|
14
|
+
|
15
|
+
.fm-select.fm-ico-right input,
|
16
|
+
.fm-file.fm-ico-right input,
|
17
|
+
.fm-search.fm-ico-right input
|
18
|
+
background: $form-element-background
|
19
|
+
|
20
|
+
.fm-select.fm-ico-right[data-error] input,
|
21
|
+
.fm-file.fm-ico-right[data-error] input,
|
22
|
+
.fm-search.fm-ico-right[data-error] input
|
23
|
+
background: form-error-background
|
24
|
+
|
25
|
+
.fm.fm-select.fm-ico-right .focus ~ input,
|
26
|
+
.fm.fm-select.fm-ico-right input.focus,
|
27
|
+
.fm.fm-file.fm-ico-right .focus ~ input,
|
28
|
+
.fm.fm-search.fm-ico-right input.focus
|
29
|
+
background: form-focus-background
|
30
|
+
|
31
|
+
.fm.fm-select[data-error].fm-ico-right .focus ~ input,
|
32
|
+
.fm.fm-select[data-error].fm-ico-right input.focus,
|
33
|
+
.fm.fm-file[data-error].fm-ico-right .focus ~ input,
|
34
|
+
.fm.fm-search[data-error].fm-ico-right input.focus
|
35
|
+
background: form-error-focus-background
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
.fm > .ico
|
40
|
+
margin-top: _form-icon-margin-top($form-element-textfield-height-rem, $form-element-typography-size-level)
|
41
|
+
font-size: $form-element-icon-size-em
|
42
|
+
color: $form-element-icon-color
|
43
|
+
fill: $form-element-icon-color
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
.fm.fm-ico-left > .ico
|
48
|
+
margin-left: $form-element-text-helvertical-padding-em / strip-unit($form-element-icon-size-em)
|
49
|
+
|
50
|
+
.fm.fm-ico-right > .ico
|
51
|
+
margin-right: $form-element-text-helvertical-padding-em / strip-unit($form-element-icon-size-em)
|
52
|
+
margin-left: auto
|
53
|
+
|
54
|
+
|
55
|
+
|
56
|
+
.fm-small.fm > .ico
|
57
|
+
margin-top: _form-icon-margin-top($form-element-small-textfield-height-rem, $form-element-small-typography-size-level)
|
58
|
+
|
59
|
+
.fm-large.fm > .ico
|
60
|
+
margin-top: _form-icon-margin-top($form-element-large-textfield-height-rem, $form-element-large-typography-size-level)
|
61
|
+
|
62
|
+
|
63
|
+
|
64
|
+
.fm[data-error] .ico
|
65
|
+
color: $form-element-error-icon-color
|
66
|
+
fill: $form-element-error-icon-color
|
67
|
+
|
68
|
+
.fm.fm-ico-left .focus ~ .ico,
|
69
|
+
.fm.fm-ico-right .focus ~ .ico
|
70
|
+
color: $form-element-focus-icon-color
|
71
71
|
fill: $form-element-focus-icon-color
|
@@ -1,55 +1,55 @@
|
|
1
|
-
+install(shared-collection-media)
|
2
|
-
|
3
|
-
.media
|
4
|
-
display: inline-block
|
5
|
-
vertical-align: top
|
6
|
-
max-width: 100%
|
7
|
-
|
8
|
-
.media img,
|
9
|
-
.media svg,
|
10
|
-
.media canvas,
|
11
|
-
.media video,
|
12
|
-
.media object,
|
13
|
-
.media embed,
|
14
|
-
[class*=media-content]
|
15
|
-
display: block
|
16
|
-
max-width: 100%
|
17
|
-
margin: auto
|
18
|
-
overflow: hidden
|
19
|
-
object-fit: cover
|
20
|
-
object-position: center
|
21
|
-
background-color: $media-background-color
|
22
|
-
background-position: center
|
23
|
-
background-size: cover
|
24
|
-
border-radius: $media-border-radius
|
25
|
-
|
26
|
-
[class*=media-content]
|
27
|
-
position: relative
|
28
|
-
width: 100%
|
29
|
-
padding-top: 100% / $media-content-aspect-ratio
|
30
|
-
|
31
|
-
.media [class*=media-content] > *
|
32
|
-
position: absolute
|
33
|
-
top: 0
|
34
|
-
right: 0
|
35
|
-
bottom: 0
|
36
|
-
left: 0
|
37
|
-
width: 100%
|
38
|
-
height: 100%
|
39
|
-
background-color: transparent
|
40
|
-
|
41
|
-
.media-content-1by1
|
42
|
-
padding-top: 100%
|
43
|
-
|
44
|
-
.media-description
|
45
|
-
text-align: center
|
46
|
-
color: $media-description-color
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
.media-contain.media img,
|
51
|
-
.media-contain.media svg,
|
52
|
-
.media-contain.media video,
|
53
|
-
.media-contain.media [class*=media-content]
|
54
|
-
object-fit: contain
|
1
|
+
+install(shared-collection-media)
|
2
|
+
|
3
|
+
.media
|
4
|
+
display: inline-block
|
5
|
+
vertical-align: top
|
6
|
+
max-width: 100%
|
7
|
+
|
8
|
+
.media img,
|
9
|
+
.media svg,
|
10
|
+
.media canvas,
|
11
|
+
.media video,
|
12
|
+
.media object,
|
13
|
+
.media embed,
|
14
|
+
[class*=media-content]
|
15
|
+
display: block
|
16
|
+
max-width: 100%
|
17
|
+
margin: auto
|
18
|
+
overflow: hidden
|
19
|
+
object-fit: cover
|
20
|
+
object-position: center
|
21
|
+
background-color: $media-background-color
|
22
|
+
background-position: center
|
23
|
+
background-size: cover
|
24
|
+
border-radius: $media-border-radius
|
25
|
+
|
26
|
+
[class*=media-content]
|
27
|
+
position: relative
|
28
|
+
width: 100%
|
29
|
+
padding-top: 100% / $media-content-aspect-ratio
|
30
|
+
|
31
|
+
.media [class*=media-content] > *
|
32
|
+
position: absolute
|
33
|
+
top: 0
|
34
|
+
right: 0
|
35
|
+
bottom: 0
|
36
|
+
left: 0
|
37
|
+
width: 100%
|
38
|
+
height: 100%
|
39
|
+
background-color: transparent
|
40
|
+
|
41
|
+
.media-content-1by1
|
42
|
+
padding-top: 100%
|
43
|
+
|
44
|
+
.media-description
|
45
|
+
text-align: center
|
46
|
+
color: $media-description-color
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
.media-contain.media img,
|
51
|
+
.media-contain.media svg,
|
52
|
+
.media-contain.media video,
|
53
|
+
.media-contain.media [class*=media-content]
|
54
|
+
object-fit: contain
|
55
55
|
background-size: contain
|
@@ -1,12 +1,12 @@
|
|
1
|
-
+install(shared-collection-modal)
|
2
|
-
|
3
|
-
.modal
|
4
|
-
padding: $modal-padding-rem
|
5
|
-
overflow: hidden
|
6
|
-
background: $modal-background
|
7
|
-
border-radius: $modal-border-radius
|
8
|
-
box-shadow: $modal-box-shadow
|
9
|
-
|
10
|
-
.overlay-body > .modal
|
11
|
-
max-width: $modal-in-overlay-max-width-px
|
1
|
+
+install(shared-collection-modal)
|
2
|
+
|
3
|
+
.modal
|
4
|
+
padding: $modal-padding-rem
|
5
|
+
overflow: hidden
|
6
|
+
background: $modal-background
|
7
|
+
border-radius: $modal-border-radius
|
8
|
+
box-shadow: $modal-box-shadow
|
9
|
+
|
10
|
+
.overlay-body > .modal
|
11
|
+
max-width: $modal-in-overlay-max-width-px
|
12
12
|
min-width: $modal-in-overlay-min-width-px
|