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,27 +1,27 @@
|
|
1
|
-
+install(shared-element-typography-code)
|
2
|
-
|
3
|
-
code,
|
4
|
-
kbd,
|
5
|
-
samp
|
6
|
-
padding: $typography-code-padding-em
|
7
|
-
line-height: 0
|
8
|
-
color: $typography-code-color
|
9
|
-
font-family: $typography-code
|
10
|
-
background: $typography-code-background
|
11
|
-
border-radius: $typography-code-border-radius
|
12
|
-
|
13
|
-
.code
|
14
|
-
padding: $typography-code-block-padding-rem
|
15
|
-
background: $typography-code-background
|
16
|
-
border-radius: $typography-code-border-radius
|
17
|
-
|
18
|
-
.code code,
|
19
|
-
.code samp,
|
20
|
-
.code kbd
|
21
|
-
$baseline-offset: existing($typography-code-baseline-offset-ratio, $typography-main-baseline-offset-ratio)
|
22
|
-
+typo-level($typography-block-code-size-level, $baseline-offset)
|
23
|
-
display: block
|
24
|
-
padding-right: 0
|
25
|
-
padding-left: 0
|
26
|
-
background: none
|
1
|
+
+install(shared-element-typography-code)
|
2
|
+
|
3
|
+
code,
|
4
|
+
kbd,
|
5
|
+
samp
|
6
|
+
padding: $typography-code-padding-em
|
7
|
+
line-height: 0
|
8
|
+
color: $typography-code-color
|
9
|
+
font-family: $typography-code
|
10
|
+
background: $typography-code-background
|
11
|
+
border-radius: $typography-code-border-radius
|
12
|
+
|
13
|
+
.code
|
14
|
+
padding: $typography-code-block-padding-rem
|
15
|
+
background: $typography-code-background
|
16
|
+
border-radius: $typography-code-border-radius
|
17
|
+
|
18
|
+
.code code,
|
19
|
+
.code samp,
|
20
|
+
.code kbd
|
21
|
+
$baseline-offset: existing($typography-code-baseline-offset-ratio, $typography-main-baseline-offset-ratio)
|
22
|
+
+typo-level($typography-block-code-size-level, $baseline-offset)
|
23
|
+
display: block
|
24
|
+
padding-right: 0
|
25
|
+
padding-left: 0
|
26
|
+
background: none
|
27
27
|
border-radius: if($typography-code-border-radius, 0, null)
|
@@ -1,15 +1,15 @@
|
|
1
|
-
+install(shared-element-typography-link)
|
2
|
-
|
3
|
-
a:not(.btn)
|
4
|
-
color: $typography-link-color
|
5
|
-
text-decoration: $typography-link-text-decoration
|
6
|
-
|
7
|
-
a:not(.btn):hover
|
8
|
-
color: $typography-link-hover-color
|
9
|
-
text-decoration: $typography-link-hover-text-decoration
|
10
|
-
|
11
|
-
a:not(.btn):active
|
12
|
-
color: $typography-link-active-color
|
13
|
-
text-decoration: $typography-link-active-text-decoration
|
14
|
-
|
1
|
+
+install(shared-element-typography-link)
|
2
|
+
|
3
|
+
a:not(.btn)
|
4
|
+
color: $typography-link-color
|
5
|
+
text-decoration: $typography-link-text-decoration
|
6
|
+
|
7
|
+
a:not(.btn):hover
|
8
|
+
color: $typography-link-hover-color
|
9
|
+
text-decoration: $typography-link-hover-text-decoration
|
10
|
+
|
11
|
+
a:not(.btn):active
|
12
|
+
color: $typography-link-active-color
|
13
|
+
text-decoration: $typography-link-active-text-decoration
|
14
|
+
|
15
15
|
+typo-link(light, $typography-link-light-color, $typography-link-light-hover-color, $typography-link-light-active-color)
|
@@ -1,14 +1,14 @@
|
|
1
|
-
+install(shared-element-typography-list)
|
2
|
-
|
3
|
-
ul,
|
4
|
-
ol
|
5
|
-
list-style-position: outside
|
6
|
-
|
7
|
-
ul ul,
|
8
|
-
ul ol,
|
9
|
-
ol ul,
|
10
|
-
ol ol
|
11
|
-
padding: $typography-list-nested-padding-em
|
12
|
-
|
13
|
-
dt
|
1
|
+
+install(shared-element-typography-list)
|
2
|
+
|
3
|
+
ul,
|
4
|
+
ol
|
5
|
+
list-style-position: outside
|
6
|
+
|
7
|
+
ul ul,
|
8
|
+
ul ol,
|
9
|
+
ol ul,
|
10
|
+
ol ol
|
11
|
+
padding: $typography-list-nested-padding-em
|
12
|
+
|
13
|
+
dt
|
14
14
|
font-weight: 700
|
@@ -1,7 +1,7 @@
|
|
1
|
-
+install(shared-element-typography-mark)
|
2
|
-
|
3
|
-
mark
|
4
|
-
padding: $typography-mark-padding-em
|
5
|
-
color: $typography-mark-color
|
6
|
-
background: $typography-mark-background
|
1
|
+
+install(shared-element-typography-mark)
|
2
|
+
|
3
|
+
mark
|
4
|
+
padding: $typography-mark-padding-em
|
5
|
+
color: $typography-mark-color
|
6
|
+
background: $typography-mark-background
|
7
7
|
border-radius: $typography-mark-border-radius
|
@@ -1,68 +1,68 @@
|
|
1
|
-
+install(shared-element-typography-quote)
|
2
|
-
|
3
|
-
q,
|
4
|
-
.quote p
|
5
|
-
font-family: $typography-quote
|
6
|
-
font-style: italic
|
7
|
-
|
8
|
-
q
|
9
|
-
line-height: 0
|
10
|
-
|
11
|
-
q::before
|
12
|
-
padding: 0 0.3em
|
13
|
-
content: '"'
|
14
|
-
|
15
|
-
q::after
|
16
|
-
padding: 0 0.3em 0 0.2em
|
17
|
-
content: '"'
|
18
|
-
|
19
|
-
q q::before
|
20
|
-
content: "'"
|
21
|
-
|
22
|
-
q q::after
|
23
|
-
content: "'"
|
24
|
-
|
25
|
-
cite
|
26
|
-
color: $typography-cite-color
|
27
|
-
font-style: italic
|
28
|
-
font-weight: 700
|
29
|
-
|
30
|
-
.quote
|
31
|
-
padding: $typography-quote-block-padding-rem
|
32
|
-
|
33
|
-
.quote p
|
34
|
-
$offset-diff: $typography-quote-baseline-offset-ratio != $typography-main-baseline-offset-ratio
|
35
|
-
$size-diff: $typography-block-quote-size-level != $typography-main-size-level
|
36
|
-
@if $typography-quote-baseline-offset-ratio and $offset-diff or $size-diff
|
37
|
-
$baseline-offset-ratio: existing($typography-quote-baseline-offset-ratio, $typography-main-baseline-offset-ratio)
|
38
|
-
+typo-level($typography-block-quote-size-level, $baseline-offset-ratio)
|
39
|
-
margin: $typography-quote-block-p-margin-rem
|
40
|
-
|
41
|
-
.quote p:first-child
|
42
|
-
position: relative
|
43
|
-
|
44
|
-
.quote p:first-child::before
|
45
|
-
display: block
|
46
|
-
position: absolute
|
47
|
-
top: 0
|
48
|
-
left: - mirror-nth($typography-quote-block-padding-rem, 4)
|
49
|
-
width: mirror-nth($typography-quote-block-padding-rem, 4)
|
50
|
-
font-size: 3em
|
51
|
-
text-align: center
|
52
|
-
content: '"'
|
53
|
-
color: $typography-cite-color
|
54
|
-
|
55
|
-
.quote p:last-of-type
|
56
|
-
margin-bottom: 0
|
57
|
-
|
58
|
-
.quote footer
|
59
|
-
color: $typography-cite-color
|
60
|
-
|
61
|
-
.quote footer::before
|
62
|
-
display: inline-block
|
63
|
-
vertical-align: middle
|
64
|
-
width: 2em
|
65
|
-
margin-right: 1em
|
66
|
-
border-width: $typography-quote-block-cite-lead-height 0 0
|
67
|
-
content: ""
|
1
|
+
+install(shared-element-typography-quote)
|
2
|
+
|
3
|
+
q,
|
4
|
+
.quote p
|
5
|
+
font-family: $typography-quote
|
6
|
+
font-style: italic
|
7
|
+
|
8
|
+
q
|
9
|
+
line-height: 0
|
10
|
+
|
11
|
+
q::before
|
12
|
+
padding: 0 0.3em
|
13
|
+
content: '"'
|
14
|
+
|
15
|
+
q::after
|
16
|
+
padding: 0 0.3em 0 0.2em
|
17
|
+
content: '"'
|
18
|
+
|
19
|
+
q q::before
|
20
|
+
content: "'"
|
21
|
+
|
22
|
+
q q::after
|
23
|
+
content: "'"
|
24
|
+
|
25
|
+
cite
|
26
|
+
color: $typography-cite-color
|
27
|
+
font-style: italic
|
28
|
+
font-weight: 700
|
29
|
+
|
30
|
+
.quote
|
31
|
+
padding: $typography-quote-block-padding-rem
|
32
|
+
|
33
|
+
.quote p
|
34
|
+
$offset-diff: $typography-quote-baseline-offset-ratio != $typography-main-baseline-offset-ratio
|
35
|
+
$size-diff: $typography-block-quote-size-level != $typography-main-size-level
|
36
|
+
@if $typography-quote-baseline-offset-ratio and $offset-diff or $size-diff
|
37
|
+
$baseline-offset-ratio: existing($typography-quote-baseline-offset-ratio, $typography-main-baseline-offset-ratio)
|
38
|
+
+typo-level($typography-block-quote-size-level, $baseline-offset-ratio)
|
39
|
+
margin: $typography-quote-block-p-margin-rem
|
40
|
+
|
41
|
+
.quote p:first-child
|
42
|
+
position: relative
|
43
|
+
|
44
|
+
.quote p:first-child::before
|
45
|
+
display: block
|
46
|
+
position: absolute
|
47
|
+
top: 0
|
48
|
+
left: - mirror-nth($typography-quote-block-padding-rem, 4)
|
49
|
+
width: mirror-nth($typography-quote-block-padding-rem, 4)
|
50
|
+
font-size: 3em
|
51
|
+
text-align: center
|
52
|
+
content: '"'
|
53
|
+
color: $typography-cite-color
|
54
|
+
|
55
|
+
.quote p:last-of-type
|
56
|
+
margin-bottom: 0
|
57
|
+
|
58
|
+
.quote footer
|
59
|
+
color: $typography-cite-color
|
60
|
+
|
61
|
+
.quote footer::before
|
62
|
+
display: inline-block
|
63
|
+
vertical-align: middle
|
64
|
+
width: 2em
|
65
|
+
margin-right: 1em
|
66
|
+
border-width: $typography-quote-block-cite-lead-height 0 0
|
67
|
+
content: ""
|
68
68
|
border-style: solid
|
@@ -1,16 +1,16 @@
|
|
1
|
-
+install(shared-element-typography-sub-sup)
|
2
|
-
|
3
|
-
sub,
|
4
|
-
sup
|
5
|
-
vertical-align: baseline
|
6
|
-
position: relative
|
7
|
-
font-size: $typography-sub-sup-size
|
8
|
-
line-height: 0
|
9
|
-
|
10
|
-
sub
|
11
|
-
bottom: $typography-sub-bottom-offset-em
|
12
|
-
font-feature-settings: "subs" 1
|
13
|
-
|
14
|
-
sup
|
15
|
-
top: $typography-sup-top-offset-em
|
1
|
+
+install(shared-element-typography-sub-sup)
|
2
|
+
|
3
|
+
sub,
|
4
|
+
sup
|
5
|
+
vertical-align: baseline
|
6
|
+
position: relative
|
7
|
+
font-size: $typography-sub-sup-size
|
8
|
+
line-height: 0
|
9
|
+
|
10
|
+
sub
|
11
|
+
bottom: $typography-sub-bottom-offset-em
|
12
|
+
font-feature-settings: "subs" 1
|
13
|
+
|
14
|
+
sup
|
15
|
+
top: $typography-sup-top-offset-em
|
16
16
|
font-feature-settings: "sups" 1
|
@@ -1,52 +1,52 @@
|
|
1
|
-
+install(shared-element-typography-typography)
|
2
|
-
|
3
|
-
@for $type-level from 1 through 6
|
4
|
-
|
5
|
-
$is-default-typo-level: $type-level == $typography-main-size-level
|
6
|
-
$paragraph-selector: if($is-default-typo-level, "p,.p#{$type-level}", ".p#{$type-level}")
|
7
|
-
$lead-selector: "h#{$type-level},.h#{$type-level}"
|
8
|
-
$baseline-offset-ratio-changed: $typography-lead-baseline-offset-ratio != $typography-main-baseline-offset-ratio
|
9
|
-
|
10
|
-
@if $typography-lead-baseline-offset-ratio and $baseline-offset-ratio-changed
|
11
|
-
|
12
|
-
#{$lead-selector}
|
13
|
-
+typo-level($type-level, $typography-lead-baseline-offset-ratio)
|
14
|
-
display: block
|
15
|
-
|
16
|
-
#{$paragraph-selector}
|
17
|
-
+typo-level($type-level, $typography-main-baseline-offset-ratio)
|
18
|
-
display: block
|
19
|
-
|
20
|
-
@else
|
21
|
-
|
22
|
-
#{$lead-selector},
|
23
|
-
#{$paragraph-selector}
|
24
|
-
+typo-level($type-level, $typography-main-baseline-offset-ratio)
|
25
|
-
display: block
|
26
|
-
|
27
|
-
+_sass-lint-fix-if-else
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
h1,
|
32
|
-
h2,
|
33
|
-
h3,
|
34
|
-
h4,
|
35
|
-
h5,
|
36
|
-
h6,
|
37
|
-
.h1,
|
38
|
-
.h2,
|
39
|
-
.h3,
|
40
|
-
.h4,
|
41
|
-
.h5,
|
42
|
-
.h6
|
43
|
-
color: $typography-lead-color
|
44
|
-
font-family: $typography-lead
|
45
|
-
font-weight: $typography-lead-font-weight
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
.typo-inline
|
50
|
-
display: inline !important
|
51
|
-
padding: 0 !important
|
1
|
+
+install(shared-element-typography-typography)
|
2
|
+
|
3
|
+
@for $type-level from 1 through 6
|
4
|
+
|
5
|
+
$is-default-typo-level: $type-level == $typography-main-size-level
|
6
|
+
$paragraph-selector: if($is-default-typo-level, "p,.p#{$type-level}", ".p#{$type-level}")
|
7
|
+
$lead-selector: "h#{$type-level},.h#{$type-level}"
|
8
|
+
$baseline-offset-ratio-changed: $typography-lead-baseline-offset-ratio != $typography-main-baseline-offset-ratio
|
9
|
+
|
10
|
+
@if $typography-lead-baseline-offset-ratio and $baseline-offset-ratio-changed
|
11
|
+
|
12
|
+
#{$lead-selector}
|
13
|
+
+typo-level($type-level, $typography-lead-baseline-offset-ratio)
|
14
|
+
display: block
|
15
|
+
|
16
|
+
#{$paragraph-selector}
|
17
|
+
+typo-level($type-level, $typography-main-baseline-offset-ratio)
|
18
|
+
display: block
|
19
|
+
|
20
|
+
@else
|
21
|
+
|
22
|
+
#{$lead-selector},
|
23
|
+
#{$paragraph-selector}
|
24
|
+
+typo-level($type-level, $typography-main-baseline-offset-ratio)
|
25
|
+
display: block
|
26
|
+
|
27
|
+
+_sass-lint-fix-if-else
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
h1,
|
32
|
+
h2,
|
33
|
+
h3,
|
34
|
+
h4,
|
35
|
+
h5,
|
36
|
+
h6,
|
37
|
+
.h1,
|
38
|
+
.h2,
|
39
|
+
.h3,
|
40
|
+
.h4,
|
41
|
+
.h5,
|
42
|
+
.h6
|
43
|
+
color: $typography-lead-color
|
44
|
+
font-family: $typography-lead
|
45
|
+
font-weight: $typography-lead-font-weight
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
.typo-inline
|
50
|
+
display: inline !important
|
51
|
+
padding: 0 !important
|
52
52
|
line-height: 0 !important
|
@@ -1,15 +1,15 @@
|
|
1
|
-
=browser-firefox
|
2
|
-
@-moz-document url-prefix()
|
3
|
-
@content
|
4
|
-
|
5
|
-
=browser-ios-safari
|
6
|
-
@supports (-webkit-overflow-scrolling: touch)
|
7
|
-
@content
|
8
|
-
|
9
|
-
=browser-edge
|
10
|
-
@supports (-ms-ime-align: auto)
|
11
|
-
@content
|
12
|
-
|
13
|
-
=browser-chrome-and-opera
|
14
|
-
@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm)
|
1
|
+
=browser-firefox
|
2
|
+
@-moz-document url-prefix()
|
3
|
+
@content
|
4
|
+
|
5
|
+
=browser-ios-safari
|
6
|
+
@supports (-webkit-overflow-scrolling: touch)
|
7
|
+
@content
|
8
|
+
|
9
|
+
=browser-edge
|
10
|
+
@supports (-ms-ime-align: auto)
|
11
|
+
@content
|
12
|
+
|
13
|
+
=browser-chrome-and-opera
|
14
|
+
@media all and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm)
|
15
15
|
@content
|
@@ -1,90 +1,90 @@
|
|
1
|
-
=button-solid($name: null, $color: null, $hover-color: null, $active-color: null, $background: null, $hover-background: null, $active-background: null, $border-color: null, $hover-border-color: null, $active-border-color: null, $box-shadow: null, $hover-box-shadow: null, $active-box-shadow: null)
|
2
|
-
|
3
|
-
.btn.btn-#{$name},
|
4
|
-
.btn-check.btn-#{$name} label,
|
5
|
-
.btn-radio.btn-#{$name} label,
|
6
|
-
.btn-file.btn-#{$name} label
|
7
|
-
color: $color
|
8
|
-
background: $background
|
9
|
-
border-color: existing($border-color, transparent)
|
10
|
-
box-shadow: $box-shadow
|
11
|
-
|
12
|
-
.btn.btn-#{$name}:hover,
|
13
|
-
.btn-file.btn-#{$name} input:hover ~ label
|
14
|
-
color: $hover-color
|
15
|
-
background: $hover-background
|
16
|
-
border-color: $hover-border-color
|
17
|
-
box-shadow: $hover-box-shadow
|
18
|
-
|
19
|
-
.btn.btn-#{$name}:active,
|
20
|
-
.btn.btn-#{$name}.btn-active,
|
21
|
-
.btn-file.btn-#{$name} input:active ~ label,
|
22
|
-
.btn-check.btn-#{$name} input:checked ~ label,
|
23
|
-
.btn-radio.btn-#{$name} input:checked ~ label,
|
24
|
-
.btn-check.btn-#{$name}.btn-active input ~ label,
|
25
|
-
.btn-radio.btn-#{$name}.btn-active input ~ label,
|
26
|
-
.btn-file.btn-#{$name}.btn-active input ~ label
|
27
|
-
color: $active-color
|
28
|
-
background: $active-background
|
29
|
-
border-color: $active-border-color
|
30
|
-
box-shadow: $active-box-shadow
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
=button-hollow($name: null, $color: null, $hover-color: null, $active-color: null, $hover-background: null, $active-background: null, $border-color: null, $hover-border-color: null, $active-border-color: null, $box-shadow: null, $hover-box-shadow: null, $active-box-shadow: null)
|
35
|
-
|
36
|
-
.btn.btn-hollow-#{$name},
|
37
|
-
.btn-check.btn-hollow-#{$name} label,
|
38
|
-
.btn-radio.btn-hollow-#{$name} label,
|
39
|
-
.btn-file.btn-hollow-#{$name} label
|
40
|
-
color: $color
|
41
|
-
border-color: existing($border-color, $color)
|
42
|
-
box-shadow: $box-shadow
|
43
|
-
|
44
|
-
.btn.btn-hollow-#{$name}:hover,
|
45
|
-
.btn-file.btn-hollow-#{$name} input:hover ~ label
|
46
|
-
color: $hover-color
|
47
|
-
background: $hover-background
|
48
|
-
border-color: $hover-border-color
|
49
|
-
box-shadow: $hover-box-shadow
|
50
|
-
|
51
|
-
.btn.btn-hollow-#{$name}:active,
|
52
|
-
.btn.btn-hollow-#{$name}.btn-active,
|
53
|
-
.btn-file.btn-hollow-#{$name} input:active ~ label,
|
54
|
-
.btn-check.btn-hollow-#{$name} input:checked ~ label,
|
55
|
-
.btn-radio.btn-hollow-#{$name} input:checked ~ label,
|
56
|
-
.btn-check.btn-hollow-#{$name}.btn-active input ~ label,
|
57
|
-
.btn-radio.btn-hollow-#{$name}.btn-active input ~ label,
|
58
|
-
.btn-file.btn-hollow-#{$name}.btn-active input ~ label
|
59
|
-
color: $active-color
|
60
|
-
background: $active-background
|
61
|
-
border-color: $active-border-color
|
62
|
-
box-shadow: $active-box-shadow
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
=button-text($name: null, $color: null, $hover-color: null, $active-color: null, $text-shadow: null, $hover-text-shadow: null, $active-text-shadow: null)
|
67
|
-
|
68
|
-
.btn.btn-text-#{$name},
|
69
|
-
.btn-check.btn-text-#{$name},
|
70
|
-
.btn-radio.btn-text-#{$name},
|
71
|
-
.btn-file.btn-text-#{$name}
|
72
|
-
color: $color
|
73
|
-
text-shadow: $text-shadow
|
74
|
-
border-color: transparent
|
75
|
-
|
76
|
-
.btn.btn-text-#{$name}:hover,
|
77
|
-
.btn-file.btn-text-#{$name} input:hover ~ label
|
78
|
-
color: $hover-color
|
79
|
-
text-shadow: $hover-text-shadow
|
80
|
-
|
81
|
-
.btn.btn-text-#{$name}:active,
|
82
|
-
.btn.btn-text-#{$name}.btn-active,
|
83
|
-
.btn-file.btn-text-#{$name} input:active ~ label,
|
84
|
-
.btn-check.btn-text-#{$name} input:checked ~ label,
|
85
|
-
.btn-radio.btn-text-#{$name} input:checked ~ label,
|
86
|
-
.btn-check.btn-text-#{$name}.btn-active input ~ label,
|
87
|
-
.btn-radio.btn-text-#{$name}.btn-active input ~ label,
|
88
|
-
.btn-file.btn-text-#{$name}.btn-active input ~ label
|
89
|
-
color: $active-color
|
1
|
+
=button-solid($name: null, $color: null, $hover-color: null, $active-color: null, $background: null, $hover-background: null, $active-background: null, $border-color: null, $hover-border-color: null, $active-border-color: null, $box-shadow: null, $hover-box-shadow: null, $active-box-shadow: null)
|
2
|
+
|
3
|
+
.btn.btn-#{$name},
|
4
|
+
.btn-check.btn-#{$name} label,
|
5
|
+
.btn-radio.btn-#{$name} label,
|
6
|
+
.btn-file.btn-#{$name} label
|
7
|
+
color: $color
|
8
|
+
background: $background
|
9
|
+
border-color: existing($border-color, transparent)
|
10
|
+
box-shadow: $box-shadow
|
11
|
+
|
12
|
+
.btn.btn-#{$name}:hover,
|
13
|
+
.btn-file.btn-#{$name} input:hover ~ label
|
14
|
+
color: $hover-color
|
15
|
+
background: $hover-background
|
16
|
+
border-color: $hover-border-color
|
17
|
+
box-shadow: $hover-box-shadow
|
18
|
+
|
19
|
+
.btn.btn-#{$name}:active,
|
20
|
+
.btn.btn-#{$name}.btn-active,
|
21
|
+
.btn-file.btn-#{$name} input:active ~ label,
|
22
|
+
.btn-check.btn-#{$name} input:checked ~ label,
|
23
|
+
.btn-radio.btn-#{$name} input:checked ~ label,
|
24
|
+
.btn-check.btn-#{$name}.btn-active input ~ label,
|
25
|
+
.btn-radio.btn-#{$name}.btn-active input ~ label,
|
26
|
+
.btn-file.btn-#{$name}.btn-active input ~ label
|
27
|
+
color: $active-color
|
28
|
+
background: $active-background
|
29
|
+
border-color: $active-border-color
|
30
|
+
box-shadow: $active-box-shadow
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
=button-hollow($name: null, $color: null, $hover-color: null, $active-color: null, $hover-background: null, $active-background: null, $border-color: null, $hover-border-color: null, $active-border-color: null, $box-shadow: null, $hover-box-shadow: null, $active-box-shadow: null)
|
35
|
+
|
36
|
+
.btn.btn-hollow-#{$name},
|
37
|
+
.btn-check.btn-hollow-#{$name} label,
|
38
|
+
.btn-radio.btn-hollow-#{$name} label,
|
39
|
+
.btn-file.btn-hollow-#{$name} label
|
40
|
+
color: $color
|
41
|
+
border-color: existing($border-color, $color)
|
42
|
+
box-shadow: $box-shadow
|
43
|
+
|
44
|
+
.btn.btn-hollow-#{$name}:hover,
|
45
|
+
.btn-file.btn-hollow-#{$name} input:hover ~ label
|
46
|
+
color: $hover-color
|
47
|
+
background: $hover-background
|
48
|
+
border-color: $hover-border-color
|
49
|
+
box-shadow: $hover-box-shadow
|
50
|
+
|
51
|
+
.btn.btn-hollow-#{$name}:active,
|
52
|
+
.btn.btn-hollow-#{$name}.btn-active,
|
53
|
+
.btn-file.btn-hollow-#{$name} input:active ~ label,
|
54
|
+
.btn-check.btn-hollow-#{$name} input:checked ~ label,
|
55
|
+
.btn-radio.btn-hollow-#{$name} input:checked ~ label,
|
56
|
+
.btn-check.btn-hollow-#{$name}.btn-active input ~ label,
|
57
|
+
.btn-radio.btn-hollow-#{$name}.btn-active input ~ label,
|
58
|
+
.btn-file.btn-hollow-#{$name}.btn-active input ~ label
|
59
|
+
color: $active-color
|
60
|
+
background: $active-background
|
61
|
+
border-color: $active-border-color
|
62
|
+
box-shadow: $active-box-shadow
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
=button-text($name: null, $color: null, $hover-color: null, $active-color: null, $text-shadow: null, $hover-text-shadow: null, $active-text-shadow: null)
|
67
|
+
|
68
|
+
.btn.btn-text-#{$name},
|
69
|
+
.btn-check.btn-text-#{$name},
|
70
|
+
.btn-radio.btn-text-#{$name},
|
71
|
+
.btn-file.btn-text-#{$name}
|
72
|
+
color: $color
|
73
|
+
text-shadow: $text-shadow
|
74
|
+
border-color: transparent
|
75
|
+
|
76
|
+
.btn.btn-text-#{$name}:hover,
|
77
|
+
.btn-file.btn-text-#{$name} input:hover ~ label
|
78
|
+
color: $hover-color
|
79
|
+
text-shadow: $hover-text-shadow
|
80
|
+
|
81
|
+
.btn.btn-text-#{$name}:active,
|
82
|
+
.btn.btn-text-#{$name}.btn-active,
|
83
|
+
.btn-file.btn-text-#{$name} input:active ~ label,
|
84
|
+
.btn-check.btn-text-#{$name} input:checked ~ label,
|
85
|
+
.btn-radio.btn-text-#{$name} input:checked ~ label,
|
86
|
+
.btn-check.btn-text-#{$name}.btn-active input ~ label,
|
87
|
+
.btn-radio.btn-text-#{$name}.btn-active input ~ label,
|
88
|
+
.btn-file.btn-text-#{$name}.btn-active input ~ label
|
89
|
+
color: $active-color
|
90
90
|
text-shadow: $active-text-shadow
|