kickstart_rails 3.0.53 → 3.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/themes/default/theme.sass +4 -0
- data/app/assets/stylesheets/vendor/_index.sass +1 -0
- data/app/assets/stylesheets/vendor/switch/README.md +45 -0
- data/app/assets/stylesheets/vendor/switch/example.sass +14 -0
- data/app/assets/stylesheets/vendor/switch/gulpfile.js +16 -0
- data/app/assets/stylesheets/vendor/switch/index.html +18 -0
- data/app/assets/stylesheets/vendor/switch/package.json +24 -0
- data/app/assets/stylesheets/vendor/switch/switch.sass +53 -0
- data/lib/kickstart_rails/version.rb +1 -1
- metadata +7 -29
- 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/_dependent_components.sass +0 -12
- data/app/assets/stylesheets/core/_direct-apply.sass +0 -337
- data/app/assets/stylesheets/core/_grid.sass +0 -148
- 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 -43
- 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 -283
- 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
@@ -1,283 +0,0 @@
|
|
1
|
-
=color($background)
|
2
|
-
@if (lightness($background) < 75%)
|
3
|
-
color: rgba(255, 255, 255, 0.5)
|
4
|
-
@else
|
5
|
-
color: rgba(0, 0, 0, 0.5)
|
6
|
-
|
7
|
-
=navbar-align_menus($breakpoint)
|
8
|
-
@media screen and (min-width: $breakpoint)
|
9
|
-
> ul:first-child
|
10
|
-
margin-left: (-1 * map-get($rootElement, paddingH))
|
11
|
-
|
12
|
-
> ul:last-child
|
13
|
-
margin-right: (-1 * map-get($rootElement, paddingH))
|
14
|
-
|
15
|
-
> ul:only-child
|
16
|
-
margin-right: 0
|
17
|
-
|
18
|
-
=navbar-fluid($breakpoint: $tablet)
|
19
|
-
nav
|
20
|
-
+container(true)
|
21
|
-
+navbar-align_menus($breakpoint)
|
22
|
-
|
23
|
-
=navbar-fluid_fixed($breakpoint: $tablet)
|
24
|
-
nav
|
25
|
-
+container(false)
|
26
|
-
+navbar-align_menus($breakpoint)
|
27
|
-
|
28
|
-
=navbar-collapse($breakpoint: $tablet)
|
29
|
-
nav
|
30
|
-
&.expand
|
31
|
-
> ul > li
|
32
|
-
display: block
|
33
|
-
|
34
|
-
&.navbar-title
|
35
|
-
display: flex
|
36
|
-
|
37
|
-
> ul
|
38
|
-
> li
|
39
|
-
display: none
|
40
|
-
|
41
|
-
@media screen and (min-width: $breakpoint)
|
42
|
-
display: block
|
43
|
-
|
44
|
-
&.navbar-title
|
45
|
-
button
|
46
|
-
display: block
|
47
|
-
|
48
|
-
@media screen and (min-width: $breakpoint)
|
49
|
-
display: none
|
50
|
-
|
51
|
-
=navbar-fixed
|
52
|
-
position: fixed
|
53
|
-
z-index: 100
|
54
|
-
left: 0
|
55
|
-
right: 0
|
56
|
-
top: 0
|
57
|
-
|
58
|
-
=navbar-color($background-color)
|
59
|
-
background-color: $background-color
|
60
|
-
|
61
|
-
nav
|
62
|
-
> ul
|
63
|
-
> li
|
64
|
-
&.menu-item
|
65
|
-
+color($background-color)
|
66
|
-
|
67
|
-
> a:not([role=button])
|
68
|
-
+color($background-color)
|
69
|
-
|
70
|
-
&:hover
|
71
|
-
@if (lightness($background-color) < 75%)
|
72
|
-
color: white
|
73
|
-
@else
|
74
|
-
color: rgba(0, 0, 0, 0.85)
|
75
|
-
background: darken($background-color, 5%)
|
76
|
-
border-color: darken($background-color, 5%)
|
77
|
-
|
78
|
-
&:active
|
79
|
-
background: darken($background-color, 15%)
|
80
|
-
border-color: darken($background-color, 15%)
|
81
|
-
|
82
|
-
|
83
|
-
=navbar-default($layout: 'none', $background-color: map-get($white, darker), $breakpoint: $tablet, $collapse: false, $fixed: false)
|
84
|
-
// box-shadow: 0px 1px 0px darken($background-color, 12%) inset
|
85
|
-
font-size: $default-font-size
|
86
|
-
margin-bottom: $space
|
87
|
-
|
88
|
-
nav
|
89
|
-
width: 100%
|
90
|
-
border-radius: 0
|
91
|
-
position: relative
|
92
|
-
|
93
|
-
@if (lightness($background-color) < 75%)
|
94
|
-
color: white
|
95
|
-
@else
|
96
|
-
color: $default-font-color
|
97
|
-
|
98
|
-
@media screen and (min-width: $breakpoint)
|
99
|
-
display: flex
|
100
|
-
align-items: center
|
101
|
-
flex-wrap: wrap
|
102
|
-
justify-content: space-between
|
103
|
-
align-content: space-between
|
104
|
-
|
105
|
-
h1
|
106
|
-
+heading-xxs
|
107
|
-
margin-bottom: 0
|
108
|
-
font-size: $default-font-size
|
109
|
-
line-height: $default-line-height
|
110
|
-
|
111
|
-
p
|
112
|
-
margin: 0
|
113
|
-
|
114
|
-
> ul
|
115
|
-
margin: 0
|
116
|
-
padding: 0
|
117
|
-
|
118
|
-
@media screen and (min-width: $breakpoint)
|
119
|
-
display: flex
|
120
|
-
justify-content: space-between
|
121
|
-
align-content: space-between
|
122
|
-
align-items: center
|
123
|
-
flex-wrap: wrap
|
124
|
-
|
125
|
-
&:last-child
|
126
|
-
@media screen and (min-width: $breakpoint)
|
127
|
-
> li.menu-item.open
|
128
|
-
ul
|
129
|
-
left: auto
|
130
|
-
right: -1px
|
131
|
-
|
132
|
-
&:only-child
|
133
|
-
@media screen and (min-width: $breakpoint)
|
134
|
-
> li.menu-item.open
|
135
|
-
ul
|
136
|
-
left: -1px
|
137
|
-
right: auto
|
138
|
-
|
139
|
-
> li
|
140
|
-
list-style: none
|
141
|
-
+root-element
|
142
|
-
margin-bottom: 0
|
143
|
-
border-radius: 0
|
144
|
-
padding: (map-get($rootElement, paddingV) - 1) (map-get($rootElement, paddingH))
|
145
|
-
position: relative
|
146
|
-
margin:
|
147
|
-
left: (-1 * map-get($rootElement, paddingH))
|
148
|
-
right: (-1 * map-get($rootElement, paddingH))
|
149
|
-
user-select: none
|
150
|
-
|
151
|
-
@media screen and (min-width: $breakpoint)
|
152
|
-
margin: 0
|
153
|
-
|
154
|
-
&.navbar-title
|
155
|
-
display: flex
|
156
|
-
justify-content: space-between
|
157
|
-
align-items: center
|
158
|
-
|
159
|
-
@media screen and (min-width: $breakpoint)
|
160
|
-
padding: 0
|
161
|
-
|
162
|
-
> h1, > h2, > h3, > h4, > h5, > h6
|
163
|
-
padding: (map-get($rootElement, paddingV) - 1) (map-get($rootElement, paddingH))
|
164
|
-
|
165
|
-
button
|
166
|
-
+button-default(transparent)
|
167
|
-
background: transparent
|
168
|
-
border-color: transparent
|
169
|
-
color: inherit
|
170
|
-
margin-bottom: 0
|
171
|
-
font-family: Kickstart, 'Kickstart'
|
172
|
-
padding:
|
173
|
-
left: 0
|
174
|
-
right: 0
|
175
|
-
opacity: 0.5
|
176
|
-
display: none
|
177
|
-
|
178
|
-
&:hover, &:active
|
179
|
-
box-shadow: none
|
180
|
-
|
181
|
-
&:hover
|
182
|
-
opacity: 1
|
183
|
-
|
184
|
-
@media screen and (min-width: $breakpoint)
|
185
|
-
display: none
|
186
|
-
|
187
|
-
&.menu-item // Added via k$.nav()
|
188
|
-
padding: (2 * map-get($rootElement, paddingV) - 1) (map-get($rootElement, paddingH))
|
189
|
-
cursor: pointer
|
190
|
-
|
191
|
-
&:before
|
192
|
-
content: '='
|
193
|
-
margin-right: 8px
|
194
|
-
|
195
|
-
&:before, &:after
|
196
|
-
font-family: 'Kickstart', Kickstart
|
197
|
-
display: inline-block
|
198
|
-
font-size: 0.65rem
|
199
|
-
vertical-align: middle
|
200
|
-
|
201
|
-
@media screen and (min-width: $breakpoint)
|
202
|
-
&:before
|
203
|
-
content: ''
|
204
|
-
display: none
|
205
|
-
|
206
|
-
&:after
|
207
|
-
content: '+'
|
208
|
-
margin-left: 8px
|
209
|
-
|
210
|
-
&:hover
|
211
|
-
@if (lightness($background-color) < 75%)
|
212
|
-
color: white
|
213
|
-
@else
|
214
|
-
color: rgba(0, 0, 0, 0.85)
|
215
|
-
background: darken($background-color, 5%)
|
216
|
-
border-color: darken($background-color, 5%)
|
217
|
-
|
218
|
-
&:active
|
219
|
-
background: darken($background-color, 15%)
|
220
|
-
border-color: darken($background-color, 15%)
|
221
|
-
|
222
|
-
&.open
|
223
|
-
color: rgba(0, 0, 0, 0.85)
|
224
|
-
background: white
|
225
|
-
border-color: map-get($white, darker)
|
226
|
-
border-bottom-color: transparent
|
227
|
-
|
228
|
-
&:hover
|
229
|
-
color: rgba(0, 0, 0, 0.85)
|
230
|
-
border-color: map-get($white, darker)
|
231
|
-
border-bottom-color: transparent
|
232
|
-
|
233
|
-
@media screen and (max-width: $breakpoint)
|
234
|
-
ul
|
235
|
-
max-width: none
|
236
|
-
right: -1px
|
237
|
-
|
238
|
-
li, li a:not([role=button])
|
239
|
-
font-size: 1rem
|
240
|
-
|
241
|
-
a:not([role=button])
|
242
|
-
padding:
|
243
|
-
top: 2 * map-get($rootElement, paddingV)
|
244
|
-
bottom: 2 * map-get($rootElement, paddingV)
|
245
|
-
|
246
|
-
ul
|
247
|
-
border-top-left-radius: 0
|
248
|
-
border-top-right-radius: 0
|
249
|
-
box-shadow: 3px 3px 3px -3px rgba(0, 0, 0, 0.25)
|
250
|
-
display: none
|
251
|
-
|
252
|
-
ul[role=button]
|
253
|
-
display: inherit
|
254
|
-
|
255
|
-
> a:not([role=button])
|
256
|
-
text-decoration: none
|
257
|
-
cursor: pointer
|
258
|
-
display: block
|
259
|
-
+root-element
|
260
|
-
margin-bottom: 0
|
261
|
-
border-radius: 0
|
262
|
-
margin: (-1 * map-get($rootElement, paddingV)) (-1 * map-get($rootElement, paddingH))
|
263
|
-
padding:
|
264
|
-
top: (2 * map-get($rootElement, paddingV))
|
265
|
-
bottom: (2 * map-get($rootElement, paddingV))
|
266
|
-
left: map-get($rootElement, paddingH)
|
267
|
-
right: map-get($rootElement, paddingH)
|
268
|
-
|
269
|
-
@if ($layout == 'fluid')
|
270
|
-
+navbar-fluid($breakpoint)
|
271
|
-
|
272
|
-
@if ($layout == 'fluid-fixed')
|
273
|
-
+navbar-fluid_fixed($breakpoint)
|
274
|
-
|
275
|
-
@if ($fixed == true)
|
276
|
-
+navbar-fixed
|
277
|
-
|
278
|
-
@if ($collapse == true)
|
279
|
-
+navbar-collapse($breakpoint)
|
280
|
-
|
281
|
-
+navbar-color($background-color)
|
282
|
-
|
283
|
-
@content
|
@@ -1,20 +0,0 @@
|
|
1
|
-
=status_bar
|
2
|
-
position: fixed
|
3
|
-
top: 0
|
4
|
-
left: 0
|
5
|
-
right: 0
|
6
|
-
z-index: 2000 // Above modal
|
7
|
-
display: flex
|
8
|
-
pointer-events: none
|
9
|
-
|
10
|
-
.status_bar-status
|
11
|
-
+label(map-get($colors, yellow))
|
12
|
-
color: black
|
13
|
-
text-align: center
|
14
|
-
margin: 5px auto
|
15
|
-
max-width: 300px
|
16
|
-
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.15)
|
17
|
-
+fadeInDown
|
18
|
-
z-index: 1000
|
19
|
-
|
20
|
-
@content
|
@@ -1,70 +0,0 @@
|
|
1
|
-
=table-default($blank: false, $zebra: false, $hover: false)
|
2
|
-
border-collapse: collapse
|
3
|
-
background: white
|
4
|
-
border-spacing: 0
|
5
|
-
empty-cells: show
|
6
|
-
border: 1px solid map-get($gray, light)
|
7
|
-
width: 100%
|
8
|
-
margin-bottom: $space
|
9
|
-
|
10
|
-
pre
|
11
|
-
margin: 0
|
12
|
-
|
13
|
-
thead
|
14
|
-
background: map-get($white, dark)
|
15
|
-
color: black
|
16
|
-
text-align: left
|
17
|
-
vertical-align: bottom
|
18
|
-
border-bottom: 1px solid transparent
|
19
|
-
|
20
|
-
th
|
21
|
-
font-weight: bold
|
22
|
-
text-align: left
|
23
|
-
|
24
|
-
th, td
|
25
|
-
background-color: transparent
|
26
|
-
border-left: 1px solid map-get($gray, light)
|
27
|
-
border-width: 0 0 0 1px
|
28
|
-
font-size: inherit
|
29
|
-
margin: 0
|
30
|
-
overflow: visible
|
31
|
-
padding: ($space/6) ($space/4)
|
32
|
-
line-height: normal
|
33
|
-
|
34
|
-
&:first-child
|
35
|
-
border-left-width: 0
|
36
|
-
|
37
|
-
@if $blank == true
|
38
|
-
+table-blank
|
39
|
-
|
40
|
-
@if $zebra == true
|
41
|
-
+table-zebra
|
42
|
-
|
43
|
-
@content
|
44
|
-
|
45
|
-
=table-blank
|
46
|
-
border-color: transparent
|
47
|
-
table, tr, td, tbody, thead, th, tfoot
|
48
|
-
border-color: transparent
|
49
|
-
background: transparent
|
50
|
-
th, td
|
51
|
-
padding:
|
52
|
-
left: 0px
|
53
|
-
right: 0px
|
54
|
-
|
55
|
-
=table-hover
|
56
|
-
tbody, thead
|
57
|
-
tr:hover
|
58
|
-
background-color: $primary-color
|
59
|
-
|
60
|
-
td, th
|
61
|
-
color: white
|
62
|
-
|
63
|
-
=table-zebra
|
64
|
-
tbody, thead
|
65
|
-
tr:nth-child(even)
|
66
|
-
background-color: map-get($white, dark)
|
67
|
-
|
68
|
-
tr
|
69
|
-
td, th
|
70
|
-
padding: ($space/6) ($space/4)
|
@@ -1,37 +0,0 @@
|
|
1
|
-
=tabs-default
|
2
|
-
+list($style: 'unstyled horizontal')
|
3
|
-
border-bottom: 1px solid map-get($white, darker)
|
4
|
-
|
5
|
-
li
|
6
|
-
margin: 0
|
7
|
-
right: -1px
|
8
|
-
bottom: -1px
|
9
|
-
|
10
|
-
&.open
|
11
|
-
a
|
12
|
-
border-bottom-color: transparent
|
13
|
-
background: white
|
14
|
-
|
15
|
-
&:hover, &.active
|
16
|
-
box-shadow: none
|
17
|
-
|
18
|
-
a
|
19
|
-
+button
|
20
|
-
border: 1px solid $secondary-color
|
21
|
-
padding:
|
22
|
-
left: map-get($rootElement, paddingH)
|
23
|
-
right: map-get($rootElement, paddingH)
|
24
|
-
border-bottom-left-radius: 0
|
25
|
-
border-bottom-right-radius: 0
|
26
|
-
|
27
|
-
=tab_pane_container-default
|
28
|
-
+root-element
|
29
|
-
background: white
|
30
|
-
border-color: $secondary-color
|
31
|
-
border-top: 0
|
32
|
-
border-top-left-radius: 0
|
33
|
-
border-top-right-radius: 0
|
34
|
-
padding: $space
|
35
|
-
margin-top: -$space
|
36
|
-
|
37
|
-
@content
|
@@ -1,26 +0,0 @@
|
|
1
|
-
=tooltip_trigger-default($background-color: false)
|
2
|
-
position: relative
|
3
|
-
display: inline-block
|
4
|
-
cursor: pointer
|
5
|
-
|
6
|
-
@if not $background-color == false
|
7
|
-
.tooltip
|
8
|
-
+label($background-color)
|
9
|
-
|
10
|
-
&:hover
|
11
|
-
[data-ks-tooltip]
|
12
|
-
&:after, &:before
|
13
|
-
opacity: 1
|
14
|
-
|
15
|
-
&:after
|
16
|
-
transform: translateY(-8px)
|
17
|
-
transition: transform 0.25s
|
18
|
-
|
19
|
-
.tooltip
|
20
|
-
opacity: 1
|
21
|
-
transform: translateY(0px)
|
22
|
-
|
23
|
-
&:after
|
24
|
-
opacity: 1
|
25
|
-
|
26
|
-
@content
|