kickstart_rails 3.0.36 → 3.0.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kickstart_rails/version.rb +1 -1
- metadata +2 -154
- data/app/assets/javascripts/kickstart_rails/docs.js +0 -166
- data/app/assets/javascripts/kickstart_rails/docs/throttler_edge.js +0 -2
- data/app/assets/javascripts/kickstart_rails/docs/throttler_edgeActions.js +0 -8
- data/app/assets/javascripts/kickstart_rails/docs/throttler_edgePreload.js +0 -18
- data/app/assets/javascripts/kickstart_rails/kickstart.js +0 -450
- data/app/assets/javascripts/kickstart_rails/kickstart.min.js +0 -1
- data/app/assets/javascripts/kickstart_rails/navbar-fixer.js +0 -19
- data/app/assets/javascripts/kickstart_rails/test.js +0 -6705
- data/app/assets/javascripts/kickstart_rails/throttler_edge.js +0 -2
- data/app/assets/javascripts/kickstart_rails/throttler_edgeActions.js +0 -8
- data/app/assets/javascripts/kickstart_rails/throttler_edgePreload.js +0 -18
- data/app/assets/stylesheets/components/_alerts.sass +0 -23
- data/app/assets/stylesheets/components/_buttons.sass +0 -159
- data/app/assets/stylesheets/components/_dropdown_menu.sass +0 -69
- data/app/assets/stylesheets/components/_forms.sass +0 -106
- data/app/assets/stylesheets/components/_growls.sass +0 -2
- data/app/assets/stylesheets/components/_hr.sass +0 -5
- data/app/assets/stylesheets/components/_images.sass +0 -40
- data/app/assets/stylesheets/components/_labels.sass +0 -15
- data/app/assets/stylesheets/components/_modals.sass +0 -73
- data/app/assets/stylesheets/components/_nav.sass +0 -219
- data/app/assets/stylesheets/components/_navbar.sass +0 -270
- data/app/assets/stylesheets/components/_notifications.sass +0 -20
- data/app/assets/stylesheets/components/_pagination.sass +0 -11
- data/app/assets/stylesheets/components/_progress.sass +0 -12
- data/app/assets/stylesheets/components/_root-element.sass +0 -12
- data/app/assets/stylesheets/components/_status.sass +0 -12
- data/app/assets/stylesheets/components/_tables.sass +0 -70
- data/app/assets/stylesheets/components/_tabs.sass +0 -37
- data/app/assets/stylesheets/components/_tiles.sass +0 -42
- data/app/assets/stylesheets/components/_tooltips.sass +0 -26
- data/app/assets/stylesheets/components/_typography.sass +0 -141
- data/app/assets/stylesheets/core/_animations.sass +0 -8
- data/app/assets/stylesheets/core/_base.sass +0 -16
- data/app/assets/stylesheets/core/_base_components.sass +0 -15
- data/app/assets/stylesheets/core/_components.sass +0 -20
- data/app/assets/stylesheets/core/_dependent_components.sass +0 -12
- data/app/assets/stylesheets/core/_direct-apply.sass +0 -337
- data/app/assets/stylesheets/core/_grid.sass +0 -142
- data/app/assets/stylesheets/core/_icons.sass +0 -3
- data/app/assets/stylesheets/core/_index.sass +0 -7
- data/app/assets/stylesheets/core/_mixins.sass +0 -22
- data/app/assets/stylesheets/core/_normalize.sass +0 -339
- data/app/assets/stylesheets/core/_root-element.sass +0 -17
- data/app/assets/stylesheets/core/_typography.sass +0 -180
- data/app/assets/stylesheets/core/components/_alerts.sass +0 -23
- data/app/assets/stylesheets/core/components/_buttons.sass +0 -159
- data/app/assets/stylesheets/core/components/_dropdown_menu.sass +0 -69
- data/app/assets/stylesheets/core/components/_forms.sass +0 -106
- data/app/assets/stylesheets/core/components/_growls.sass +0 -2
- data/app/assets/stylesheets/core/components/_hr.sass +0 -5
- data/app/assets/stylesheets/core/components/_images.sass +0 -40
- data/app/assets/stylesheets/core/components/_labels.sass +0 -15
- data/app/assets/stylesheets/core/components/_modals.sass +0 -73
- data/app/assets/stylesheets/core/components/_navbar.sass +0 -270
- data/app/assets/stylesheets/core/components/_notifications.sass +0 -20
- data/app/assets/stylesheets/core/components/_pagination.sass +0 -11
- data/app/assets/stylesheets/core/components/_progress.sass +0 -12
- data/app/assets/stylesheets/core/components/_tables.sass +0 -70
- data/app/assets/stylesheets/core/components/_tabs.sass +0 -37
- data/app/assets/stylesheets/core/components/_tooltips.sass +0 -26
- data/app/assets/stylesheets/docs.sass +0 -99
- data/app/assets/stylesheets/external/_index.sass +0 -9
- data/app/assets/stylesheets/foovendor/_fooindex.sass +0 -9
- data/app/assets/stylesheets/fullpage.sass +0 -7
- data/app/assets/stylesheets/kickstart-semantic.sass +0 -10
- data/app/assets/stylesheets/kickstart.sass +0 -344
- data/app/assets/stylesheets/kickstart_rails/core/_animations.sass +0 -8
- data/app/assets/stylesheets/kickstart_rails/core/_base.sass +0 -16
- data/app/assets/stylesheets/kickstart_rails/core/_base_components.sass +0 -15
- data/app/assets/stylesheets/kickstart_rails/core/_dependent_components.sass +0 -12
- data/app/assets/stylesheets/kickstart_rails/core/_direct-apply.sass +0 -337
- data/app/assets/stylesheets/kickstart_rails/core/_grid.sass +0 -142
- data/app/assets/stylesheets/kickstart_rails/core/_icons.sass +0 -3
- data/app/assets/stylesheets/kickstart_rails/core/_index.sass +0 -7
- data/app/assets/stylesheets/kickstart_rails/core/_mixins.sass +0 -22
- data/app/assets/stylesheets/kickstart_rails/core/_normalize.sass +0 -339
- data/app/assets/stylesheets/kickstart_rails/core/_root-element.sass +0 -17
- data/app/assets/stylesheets/kickstart_rails/core/_typography.sass +0 -180
- data/app/assets/stylesheets/kickstart_rails/core/components/_alerts.sass +0 -23
- data/app/assets/stylesheets/kickstart_rails/core/components/_buttons.sass +0 -159
- data/app/assets/stylesheets/kickstart_rails/core/components/_dropdown_menu.sass +0 -69
- data/app/assets/stylesheets/kickstart_rails/core/components/_forms.sass +0 -106
- data/app/assets/stylesheets/kickstart_rails/core/components/_growls.sass +0 -2
- data/app/assets/stylesheets/kickstart_rails/core/components/_hr.sass +0 -5
- data/app/assets/stylesheets/kickstart_rails/core/components/_images.sass +0 -40
- data/app/assets/stylesheets/kickstart_rails/core/components/_labels.sass +0 -15
- data/app/assets/stylesheets/kickstart_rails/core/components/_modals.sass +0 -73
- data/app/assets/stylesheets/kickstart_rails/core/components/_navbar.sass +0 -270
- data/app/assets/stylesheets/kickstart_rails/core/components/_notifications.sass +0 -20
- data/app/assets/stylesheets/kickstart_rails/core/components/_pagination.sass +0 -11
- data/app/assets/stylesheets/kickstart_rails/core/components/_progress.sass +0 -12
- data/app/assets/stylesheets/kickstart_rails/core/components/_tables.sass +0 -70
- data/app/assets/stylesheets/kickstart_rails/core/components/_tabs.sass +0 -37
- data/app/assets/stylesheets/kickstart_rails/core/components/_tooltips.sass +0 -26
- data/app/assets/stylesheets/kickstart_rails/docs.sass +0 -99
- data/app/assets/stylesheets/kickstart_rails/fullpage.sass +0 -7
- data/app/assets/stylesheets/kickstart_rails/kickstart-semantic.sass +0 -10
- data/app/assets/stylesheets/kickstart_rails/kickstart.sass +0 -344
- data/app/assets/stylesheets/kickstart_rails/pages/docs/form.sass +0 -0
- data/app/assets/stylesheets/kickstart_rails/pages/docs/grid.sass +0 -73
- data/app/assets/stylesheets/kickstart_rails/pages/docs/index.sass +0 -210
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/alerts.sass +0 -5
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/buttons.sass +0 -52
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/forms.sass +0 -31
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/images.sass +0 -7
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/labels.sass +0 -10
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/modals.sass +0 -18
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/navigation.sass +0 -14
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/notifications.sass +0 -17
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/tables.sass +0 -13
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/tabs.sass +0 -7
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/tooltips.sass +0 -7
- data/app/assets/stylesheets/kickstart_rails/pages/docs/ui/typography.sass +0 -56
- data/app/assets/stylesheets/kickstart_rails/pages/index.sass +0 -105
- data/app/assets/stylesheets/kickstart_rails/themes/default/theme.sass +0 -264
- data/app/assets/stylesheets/kickstart_rails/vendor/_index.sass +0 -10
- data/app/assets/stylesheets/kickstart_rails/vendor/switch/README.md +0 -34
- data/app/assets/stylesheets/kickstart_rails/vendor/switch/example.sass +0 -14
- data/app/assets/stylesheets/kickstart_rails/vendor/switch/gulpfile.js +0 -16
- data/app/assets/stylesheets/kickstart_rails/vendor/switch/index.html +0 -18
- data/app/assets/stylesheets/kickstart_rails/vendor/switch/package.json +0 -24
- data/app/assets/stylesheets/kickstart_rails/vendor/switch/switch.sass +0 -53
- data/app/assets/stylesheets/pages/docs/form.sass +0 -0
- data/app/assets/stylesheets/pages/docs/grid.sass +0 -73
- data/app/assets/stylesheets/pages/docs/index.sass +0 -210
- data/app/assets/stylesheets/pages/docs/ui/alerts.sass +0 -5
- data/app/assets/stylesheets/pages/docs/ui/buttons.sass +0 -52
- data/app/assets/stylesheets/pages/docs/ui/forms.sass +0 -31
- data/app/assets/stylesheets/pages/docs/ui/image.sass +0 -4
- data/app/assets/stylesheets/pages/docs/ui/images.sass +0 -7
- data/app/assets/stylesheets/pages/docs/ui/labels.sass +0 -10
- data/app/assets/stylesheets/pages/docs/ui/modals.sass +0 -18
- data/app/assets/stylesheets/pages/docs/ui/navigation.sass +0 -14
- data/app/assets/stylesheets/pages/docs/ui/notifications.sass +0 -17
- data/app/assets/stylesheets/pages/docs/ui/tables.sass +0 -13
- data/app/assets/stylesheets/pages/docs/ui/tabs.sass +0 -7
- data/app/assets/stylesheets/pages/docs/ui/tooltips.sass +0 -7
- data/app/assets/stylesheets/pages/docs/ui/typography.sass +0 -56
- data/app/assets/stylesheets/pages/index.sass +0 -105
- data/app/assets/stylesheets/themes/_canary.sass +0 -266
- data/app/assets/stylesheets/themes/_default.sass +0 -264
- data/app/assets/stylesheets/themes/_shabbychic.sass +0 -252
- data/app/assets/stylesheets/themes/default/theme.sass +0 -264
- data/app/assets/stylesheets/vendor/_index.sass +0 -10
- data/app/assets/stylesheets/vendor/switch/README.md +0 -34
- data/app/assets/stylesheets/vendor/switch/example.sass +0 -14
- data/app/assets/stylesheets/vendor/switch/gulpfile.js +0 -16
- data/app/assets/stylesheets/vendor/switch/index.html +0 -18
- data/app/assets/stylesheets/vendor/switch/index.sass +0 -53
- data/app/assets/stylesheets/vendor/switch/package.json +0 -24
- data/app/assets/stylesheets/vendor/switch/switch.sass +0 -53
@@ -1,23 +0,0 @@
|
|
1
|
-
=alert-default
|
2
|
-
+root-element
|
3
|
-
padding: $space/2
|
4
|
-
background: $primary-color
|
5
|
-
color: white
|
6
|
-
margin:
|
7
|
-
bottom: $space
|
8
|
-
|
9
|
-
p
|
10
|
-
+p
|
11
|
-
|
12
|
-
> *:last-child
|
13
|
-
margin-bottom: 0
|
14
|
-
|
15
|
-
h1
|
16
|
-
+heading-xs
|
17
|
-
color: inherit
|
18
|
-
|
19
|
-
a:not([role=button])
|
20
|
-
color: inherit
|
21
|
-
text-decoration: underline
|
22
|
-
|
23
|
-
@content
|
@@ -1,159 +0,0 @@
|
|
1
|
-
=button-default($background-color: $secondary-color, $size: 1)
|
2
|
-
display: inline-block
|
3
|
-
cursor: pointer
|
4
|
-
text-decoration: none
|
5
|
-
color: map-get($black, light)
|
6
|
-
text-align: left
|
7
|
-
transition: box-shadow 0.15s
|
8
|
-
vertical-align: middle
|
9
|
-
user-select: none
|
10
|
-
|
11
|
-
&[disabled], &:disabled
|
12
|
-
color: rgba(0, 0, 0, 0.25)
|
13
|
-
pointer-events: none
|
14
|
-
// TODO: Cursor disabled?
|
15
|
-
|
16
|
-
&.menu-item
|
17
|
-
position: relative
|
18
|
-
|
19
|
-
ul
|
20
|
-
display: none
|
21
|
-
|
22
|
-
&:after
|
23
|
-
content: '+'
|
24
|
-
font-family: 'Kickstart', Kickstart
|
25
|
-
font-size: 0.65rem
|
26
|
-
display: inline-block
|
27
|
-
color: rgba(0, 0, 0, 0.3)
|
28
|
-
|
29
|
-
&:hover
|
30
|
-
box-shadow: 0px -2px 0px 0px rgba(0, 0, 0, 0.1) inset, 0px 2px 0px 0px rgba(255, 255, 255, 0.1) inset
|
31
|
-
text-decoration: none
|
32
|
-
|
33
|
-
&:active
|
34
|
-
box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.1) inset, 0px -2px 0px 0px rgba(255, 255, 255, 0.1) inset
|
35
|
-
text-decoration: none
|
36
|
-
|
37
|
-
// TODO: Done this way, these properties are not mutex
|
38
|
-
// in the case of missing params.
|
39
|
-
|
40
|
-
+button-color($background-color)
|
41
|
-
+root-element($size: $size)
|
42
|
-
+button-size($size)
|
43
|
-
|
44
|
-
@content
|
45
|
-
|
46
|
-
// Separated from main mixin for access by non-semantic library.
|
47
|
-
|
48
|
-
=button-color($background-color)
|
49
|
-
background-color: $background-color
|
50
|
-
|
51
|
-
&.open
|
52
|
-
background-color: darken($background-color, 5%)
|
53
|
-
|
54
|
-
@if lightness($background-color) > 75%
|
55
|
-
color: map-get($black, lighter)
|
56
|
-
@else
|
57
|
-
color: white
|
58
|
-
|
59
|
-
@if $background-color == map-get($colors, yellow)
|
60
|
-
color: map-get($black, lighter)
|
61
|
-
|
62
|
-
@if $background-color == transparent
|
63
|
-
color: map-get($black, lighter)
|
64
|
-
|
65
|
-
=button-size($size)
|
66
|
-
padding: ($size * $size * map-get($rootElement, paddingV)) ($size * $size * map-get($rootElement, paddingH))
|
67
|
-
line-height: $size * $default-line-height
|
68
|
-
margin-bottom: 0
|
69
|
-
font-size: ($default-font-size - 2) * $size
|
70
|
-
border-color: hsla(0, 0%, 0%, 0.15)
|
71
|
-
padding:
|
72
|
-
left: $size * $size * map-get($rootElement, paddingH)
|
73
|
-
right: $size * $size * map-get($rootElement, paddingH)
|
74
|
-
|
75
|
-
&.menu-item
|
76
|
-
&:after
|
77
|
-
font-size: $size * 0.85rem
|
78
|
-
margin-left: $size * $size * $space/4
|
79
|
-
|
80
|
-
&.open
|
81
|
-
ul
|
82
|
-
display: block
|
83
|
-
|
84
|
-
ul
|
85
|
-
+button-dropdown-menu
|
86
|
-
|
87
|
-
li
|
88
|
-
padding:
|
89
|
-
left: 0
|
90
|
-
right: 0
|
91
|
-
margin:
|
92
|
-
bottom: 0
|
93
|
-
|
94
|
-
+ .button-dropdown + ul
|
95
|
-
// Button with dropdown
|
96
|
-
+button-dropdown-menu
|
97
|
-
|
98
|
-
&.button-dropdown
|
99
|
-
padding:
|
100
|
-
left: map-get($rootElement, paddingV) * $size * $size
|
101
|
-
right: map-get($rootElement, paddingV) * $size * $size
|
102
|
-
|
103
|
-
=button-dropdown-menu
|
104
|
-
// Most of the styling actually comes from the global dropdown_menu
|
105
|
-
// styling, however this will provide some specifics for working
|
106
|
-
// with buttons.
|
107
|
-
margin-top: 5px
|
108
|
-
right: -$space
|
109
|
-
border: 1px solid map-get($white, darker)
|
110
|
-
|
111
|
-
=button-group-default($background-color: map-get($white, darker), $size: 1)
|
112
|
-
list-style: none
|
113
|
-
padding: 0
|
114
|
-
margin:
|
115
|
-
bottom: 0
|
116
|
-
top: 0
|
117
|
-
display: flex
|
118
|
-
align-items: center
|
119
|
-
position: relative
|
120
|
-
|
121
|
-
> li
|
122
|
-
color: inherit
|
123
|
-
|
124
|
-
> a, > button, > input
|
125
|
-
color: inherit
|
126
|
-
+button($background-color, $size)
|
127
|
-
text-decoration: inherit
|
128
|
-
vertical-align: top
|
129
|
-
|
130
|
-
&:not(:first-child):not(:last-child):not(:only-child)
|
131
|
-
> a, > button, > input
|
132
|
-
border-radius: 0
|
133
|
-
border-left: 0
|
134
|
-
|
135
|
-
&:first-child:not(:only-child)
|
136
|
-
> a, > button, > input
|
137
|
-
border-top-right-radius: 0
|
138
|
-
border-bottom-right-radius: 0
|
139
|
-
|
140
|
-
&:last-child:not(:only-child)
|
141
|
-
> a, > button, > input
|
142
|
-
border-top-left-radius: 0
|
143
|
-
border-bottom-left-radius: 0
|
144
|
-
border-left: 0
|
145
|
-
|
146
|
-
.button-dropdown
|
147
|
-
|
148
|
-
&:after
|
149
|
-
content: '+'
|
150
|
-
display: block
|
151
|
-
font-family: "Kickstart", Kickstart
|
152
|
-
color: rgba(0, 0, 0, 0.3)
|
153
|
-
font-size: 90%
|
154
|
-
|
155
|
-
> li > ul
|
156
|
-
+button-dropdown-menu
|
157
|
-
display: none
|
158
|
-
|
159
|
-
@content
|
@@ -1,69 +0,0 @@
|
|
1
|
-
=dropdown_menu-default
|
2
|
-
.menu-item
|
3
|
-
ul
|
4
|
-
display: none
|
5
|
-
position: absolute
|
6
|
-
padding: 0
|
7
|
-
list-style: none
|
8
|
-
z-index: 10
|
9
|
-
background: white
|
10
|
-
top: 100%
|
11
|
-
margin-top: 1px
|
12
|
-
left: -1px // Compensate for border
|
13
|
-
min-width: 175px
|
14
|
-
border:
|
15
|
-
left: 1px solid map-get($white, darker)
|
16
|
-
right: 1px solid map-get($white, darker)
|
17
|
-
bottom: 1px solid map-get($white, darker)
|
18
|
-
border-radius: map-get($rootElement, border-radius)
|
19
|
-
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25)
|
20
|
-
background: white
|
21
|
-
|
22
|
-
&:before
|
23
|
-
display: block
|
24
|
-
position: absolute
|
25
|
-
content: ' '
|
26
|
-
|
27
|
-
li
|
28
|
-
border: 0px
|
29
|
-
|
30
|
-
a:not([role=button])
|
31
|
-
+button-default
|
32
|
-
display: block
|
33
|
-
margin-bottom: 0
|
34
|
-
border-radius: 0
|
35
|
-
background: white
|
36
|
-
border-color: white
|
37
|
-
font-size: $default-font-size
|
38
|
-
|
39
|
-
&:hover
|
40
|
-
border-color: map-get($white, dark)
|
41
|
-
background: map-get($white, dark)
|
42
|
-
box-shadow: none
|
43
|
-
|
44
|
-
&:active
|
45
|
-
border-color: map-get($white, darker)
|
46
|
-
background: map-get($white, darker)
|
47
|
-
box-shadow: none
|
48
|
-
|
49
|
-
&:first-child
|
50
|
-
border-top-right-radius: map-get($rootElement, border-radius)
|
51
|
-
border-top-left-radius: map-get($rootElement, border-radius)
|
52
|
-
|
53
|
-
a:not([role=button])
|
54
|
-
border-top-right-radius: map-get($rootElement, border-radius)
|
55
|
-
border-top-left-radius: map-get($rootElement, border-radius)
|
56
|
-
|
57
|
-
&:last-child
|
58
|
-
border-bottom-right-radius: map-get($rootElement, border-radius)
|
59
|
-
border-bottom-left-radius: map-get($rootElement, border-radius)
|
60
|
-
|
61
|
-
a:not([role=button])
|
62
|
-
border-bottom-right-radius: map-get($rootElement, border-radius)
|
63
|
-
border-bottom-left-radius: map-get($rootElement, border-radius)
|
64
|
-
|
65
|
-
&.open
|
66
|
-
ul
|
67
|
-
display: block
|
68
|
-
|
69
|
-
@content
|
@@ -1,106 +0,0 @@
|
|
1
|
-
label, legend
|
2
|
-
display: block
|
3
|
-
font-weight: 500
|
4
|
-
margin-bottom: $space/4
|
5
|
-
|
6
|
-
=form-default($layout: 'none')
|
7
|
-
margin-bottom: $space
|
8
|
-
|
9
|
-
@if ($layout == 'horizontal')
|
10
|
-
+form-horizontal
|
11
|
-
@if ($layout == 'left')
|
12
|
-
+form-left
|
13
|
-
|
14
|
-
@content
|
15
|
-
|
16
|
-
=input-styles
|
17
|
-
+root-element
|
18
|
-
margin: 0
|
19
|
-
bottom: 0
|
20
|
-
border: 1px solid #CCC
|
21
|
-
display: block
|
22
|
-
border-radius: 3px
|
23
|
-
max-width: 100%
|
24
|
-
|
25
|
-
label + &
|
26
|
-
margin-top: ($space/5)
|
27
|
-
|
28
|
-
&:focus
|
29
|
-
outline: 0px
|
30
|
-
box-shadow: 0px 0px 0px 2px $primary-color
|
31
|
-
|
32
|
-
@content
|
33
|
-
|
34
|
-
+text-inputs
|
35
|
-
+input-styles
|
36
|
-
|
37
|
-
textarea
|
38
|
-
+input-styles
|
39
|
-
width: 300px
|
40
|
-
|
41
|
-
input[type="checkbox"],
|
42
|
-
input[type="radio"]
|
43
|
-
display: inline-block
|
44
|
-
width: 14px
|
45
|
-
margin:
|
46
|
-
left: 1px
|
47
|
-
right: 5px
|
48
|
-
|
49
|
-
select
|
50
|
-
+button
|
51
|
-
height: calc(#{$default-line-height} + #{2 * map-get($rootElement, paddingV)})
|
52
|
-
background-image: none
|
53
|
-
|
54
|
-
=form-horizontal
|
55
|
-
display: inline-block
|
56
|
-
|
57
|
-
label, input
|
58
|
-
display: inline-block
|
59
|
-
|
60
|
-
@content
|
61
|
-
|
62
|
-
=form-left
|
63
|
-
label
|
64
|
-
+root-element
|
65
|
-
padding:
|
66
|
-
right: 0
|
67
|
-
left: 0
|
68
|
-
display: inline-block
|
69
|
-
margin:
|
70
|
-
top: 0
|
71
|
-
bottom: 0
|
72
|
-
|
73
|
-
@media screen and (min-width: $tablet)
|
74
|
-
label:not(.checkbox):not(.radio)
|
75
|
-
text-align: right
|
76
|
-
|
77
|
-
@content
|
78
|
-
|
79
|
-
=form_group-default($layout: 'none')
|
80
|
-
display: block
|
81
|
-
margin-bottom: $space
|
82
|
-
|
83
|
-
@if $layout == 'horizontal'
|
84
|
-
display: inherit
|
85
|
-
margin:
|
86
|
-
right: $space/5
|
87
|
-
|
88
|
-
> *
|
89
|
-
display: inline-block
|
90
|
-
margin-right: $space/5
|
91
|
-
|
92
|
-
@content
|
93
|
-
|
94
|
-
=field-colors($color)
|
95
|
-
label, p
|
96
|
-
color: $color
|
97
|
-
|
98
|
-
+text-inputs
|
99
|
-
border-color: $color
|
100
|
-
|
101
|
-
select
|
102
|
-
border-color: $color
|
103
|
-
background-color: $color
|
104
|
-
|
105
|
-
textarea
|
106
|
-
border-color: $color
|
@@ -1,40 +0,0 @@
|
|
1
|
-
=thumbnail-content-default
|
2
|
-
display: flex
|
3
|
-
overflow: hidden
|
4
|
-
margin-bottom: $space
|
5
|
-
align-items: flex-start
|
6
|
-
|
7
|
-
img, figure
|
8
|
-
flex-grow: 0
|
9
|
-
flex-shrink: 0
|
10
|
-
|
11
|
-
> :not(img)
|
12
|
-
+ img, + figure
|
13
|
-
margin-left: $space/2
|
14
|
-
|
15
|
-
h1
|
16
|
-
+heading-xs
|
17
|
-
|
18
|
-
> img, > figure
|
19
|
-
+ :not(img)
|
20
|
-
margin-left: $space/2
|
21
|
-
|
22
|
-
@content
|
23
|
-
|
24
|
-
=thumbnail-default
|
25
|
-
+root-element
|
26
|
-
border: 1px solid map-get($white, darker)
|
27
|
-
display: inline-block
|
28
|
-
max-width: 100%
|
29
|
-
|
30
|
-
img
|
31
|
-
max-width: 100%
|
32
|
-
|
33
|
-
figcaption
|
34
|
-
font-size: 0.85rem
|
35
|
-
|
36
|
-
@content
|
37
|
-
|
38
|
-
figure
|
39
|
-
margin: 0
|
40
|
-
padding: 0
|
@@ -1,15 +0,0 @@
|
|
1
|
-
=label-default($background-color: $primary-color)
|
2
|
-
+root-element
|
3
|
-
background: $background-color
|
4
|
-
font-size: 0.8rem
|
5
|
-
color: white
|
6
|
-
line-height: normal
|
7
|
-
font-weight: bold
|
8
|
-
|
9
|
-
@if $background-color == map-get($colors, yellow)
|
10
|
-
color: $default-font-color
|
11
|
-
|
12
|
-
&:after
|
13
|
-
border-top-color: $background-color
|
14
|
-
|
15
|
-
@content
|
@@ -1,73 +0,0 @@
|
|
1
|
-
=modal-default()
|
2
|
-
+root-element
|
3
|
-
border-width: 0
|
4
|
-
padding: $space
|
5
|
-
position: fixed
|
6
|
-
box-shadow: 0px 0px 99999px 99999px rgba(0, 0, 0, 0.35), 0px 0px 25px rgba(0, 0, 0, 0.5)
|
7
|
-
top: 15px
|
8
|
-
top: 5vh
|
9
|
-
left: 2%
|
10
|
-
right: 2%
|
11
|
-
margin: 0px auto
|
12
|
-
display: none
|
13
|
-
background: white
|
14
|
-
border-color: map-get($white, dark)
|
15
|
-
animation-duration: 0.2s
|
16
|
-
animation-timing-function: ease
|
17
|
-
animation-fill-mode: both
|
18
|
-
z-index: 1500
|
19
|
-
|
20
|
-
&[style="display: block;"]
|
21
|
-
animation-name: fadeInDown
|
22
|
-
|
23
|
-
@media screen and (min-width: $tablet)
|
24
|
-
top: 75px
|
25
|
-
top: 10vh
|
26
|
-
width: 650px
|
27
|
-
left: 50%
|
28
|
-
margin-left: -325px
|
29
|
-
|
30
|
-
> header, > footer
|
31
|
-
+alert
|
32
|
-
|
33
|
-
> h1, > h2, > h3, > h4, > h5, > h6
|
34
|
-
margin-bottom: 0
|
35
|
-
|
36
|
-
background: map-get($white, dark)
|
37
|
-
color: $default-font-color
|
38
|
-
margin: -$space
|
39
|
-
bottom: $space
|
40
|
-
|
41
|
-
> header
|
42
|
-
border-bottom-left-radius: 0
|
43
|
-
border-bottom-right-radius: 0
|
44
|
-
position: relative
|
45
|
-
|
46
|
-
a[data-modal-close]
|
47
|
-
position: absolute
|
48
|
-
top: $space/2
|
49
|
-
right: $space/2
|
50
|
-
line-height: 1.3rem
|
51
|
-
text-decoration: none
|
52
|
-
font-size: 1.3rem
|
53
|
-
|
54
|
-
> footer
|
55
|
-
margin:
|
56
|
-
top: $space
|
57
|
-
bottom: -$space
|
58
|
-
border-top-left-radius: 0
|
59
|
-
border-top-right-radius: 0
|
60
|
-
|
61
|
-
ul
|
62
|
-
+list($style: 'unstyled horizontal')
|
63
|
-
text-align: right
|
64
|
-
|
65
|
-
li
|
66
|
-
margin:
|
67
|
-
bottom: 0
|
68
|
-
right: 0
|
69
|
-
|
70
|
-
[role="button"]
|
71
|
-
text-decoration: none
|
72
|
-
|
73
|
-
@content
|