kickstart_rails 3.0.60 → 3.0.61
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/core/_direct-apply.sass +3 -0
- data/app/assets/stylesheets/core/components/_buttons.sass +12 -1
- data/app/assets/stylesheets/core/components/_dropdown_menu.sass +0 -1
- data/app/assets/stylesheets/core/components/_navbar.sass +48 -13
- data/lib/kickstart_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c03ca73b410add461e621890a0b8f4d1b113a877
|
4
|
+
data.tar.gz: c6fcd9a5fac1ac386a6e18143688cb0f18bcc15c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3fd173f09f586548f977f3bdeeea26ec28f5f3a3ca70262004fde0cb52927affa84fb5501a8e9f3da8ab2b27c9e1ee2221f58e8a2499292222c0fe77432907d6
|
7
|
+
data.tar.gz: 7b61d81810c9f78f7f6f6e77816d8864feac96a78143df567c62258c0f585ecf25cb639014713747463c879f6fe37b7ba44cb32e5671dad8a732c6165cdbee86
|
@@ -11,7 +11,7 @@
|
|
11
11
|
&[disabled], &:disabled
|
12
12
|
color: rgba(0, 0, 0, 0.25)
|
13
13
|
pointer-events: none
|
14
|
-
|
14
|
+
cursor: not-allowed
|
15
15
|
|
16
16
|
&.menu-item
|
17
17
|
position: relative
|
@@ -131,17 +131,27 @@
|
|
131
131
|
> a, > button, > input
|
132
132
|
border-radius: 0
|
133
133
|
border-left: 0
|
134
|
+
@if (lightness($background-color) < 75%)
|
135
|
+
border-right: 1px solid rgba(255, 255, 255, 0.1)
|
136
|
+
@else
|
137
|
+
border-right: 1px solid rgba(0, 0, 0, 0.1)
|
134
138
|
|
135
139
|
&:first-child:not(:only-child)
|
136
140
|
> a, > button, > input
|
137
141
|
border-top-right-radius: 0
|
138
142
|
border-bottom-right-radius: 0
|
143
|
+
@if (lightness($background-color) < 75%)
|
144
|
+
border-right: 1px solid rgba(255, 255, 255, 0.1)
|
145
|
+
@else
|
146
|
+
border-right: 1px solid rgba(0, 0, 0, 0.1)
|
147
|
+
|
139
148
|
|
140
149
|
&:last-child:not(:only-child)
|
141
150
|
> a, > button, > input
|
142
151
|
border-top-left-radius: 0
|
143
152
|
border-bottom-left-radius: 0
|
144
153
|
border-left: 0
|
154
|
+
|
145
155
|
|
146
156
|
.button-dropdown
|
147
157
|
|
@@ -154,6 +164,7 @@
|
|
154
164
|
|
155
165
|
> li > ul
|
156
166
|
+button-dropdown-menu
|
167
|
+
right: auto
|
157
168
|
display: none
|
158
169
|
|
159
170
|
@content
|
@@ -67,7 +67,7 @@
|
|
67
67
|
> a:not([role=button])
|
68
68
|
+color($background-color)
|
69
69
|
|
70
|
-
&:hover
|
70
|
+
&:hover, &.active
|
71
71
|
@if (lightness($background-color) < 75%)
|
72
72
|
color: white
|
73
73
|
@else
|
@@ -81,7 +81,6 @@
|
|
81
81
|
|
82
82
|
|
83
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
84
|
font-size: $default-font-size
|
86
85
|
margin-bottom: $space
|
87
86
|
|
@@ -128,7 +127,6 @@
|
|
128
127
|
ul
|
129
128
|
left: auto
|
130
129
|
right: -1px
|
131
|
-
box-shadow: -2px 2px 0px 2px rgba(0, 0, 0, 0.1)
|
132
130
|
|
133
131
|
&:only-child
|
134
132
|
@media screen and (min-width: $breakpoint)
|
@@ -142,12 +140,17 @@
|
|
142
140
|
+root-element
|
143
141
|
margin-bottom: 0
|
144
142
|
border-radius: 0
|
145
|
-
padding: (map-get($rootElement, paddingV)
|
143
|
+
padding: (2 * map-get($rootElement, paddingV)) (map-get($rootElement, paddingH))
|
146
144
|
position: relative
|
147
|
-
margin:
|
148
|
-
left: (-1 * map-get($rootElement, paddingH))
|
149
|
-
right: (-1 * map-get($rootElement, paddingH))
|
150
145
|
user-select: none
|
146
|
+
border:
|
147
|
+
left: 0px
|
148
|
+
right: 0px
|
149
|
+
|
150
|
+
@if ($collapse == true)
|
151
|
+
margin:
|
152
|
+
left: (-1 * map-get($rootElement, paddingH))
|
153
|
+
right: (-1 * map-get($rootElement, paddingH))
|
151
154
|
|
152
155
|
@media screen and (min-width: $breakpoint)
|
153
156
|
margin: 0
|
@@ -168,7 +171,7 @@
|
|
168
171
|
background: transparent
|
169
172
|
border-color: transparent
|
170
173
|
color: inherit
|
171
|
-
margin-bottom: 0
|
174
|
+
// margin-bottom: 0
|
172
175
|
font-family: Kickstart, 'Kickstart'
|
173
176
|
padding:
|
174
177
|
left: 0
|
@@ -189,6 +192,16 @@
|
|
189
192
|
padding: (2 * map-get($rootElement, paddingV) - 1) (map-get($rootElement, paddingH))
|
190
193
|
cursor: pointer
|
191
194
|
|
195
|
+
ul
|
196
|
+
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1)
|
197
|
+
//
|
198
|
+
// li
|
199
|
+
// border-color: white
|
200
|
+
//
|
201
|
+
// a:not([role=button])
|
202
|
+
// background: inherit
|
203
|
+
// border-color: inherit
|
204
|
+
|
192
205
|
&:before
|
193
206
|
content: '='
|
194
207
|
margin-right: 8px
|
@@ -201,18 +214,33 @@
|
|
201
214
|
|
202
215
|
@media screen and (min-width: $breakpoint)
|
203
216
|
&:before
|
204
|
-
content: ''
|
217
|
+
content: ' '
|
205
218
|
display: none
|
206
219
|
|
220
|
+
&.open
|
221
|
+
&:before
|
222
|
+
content: ' '
|
223
|
+
display: block
|
224
|
+
position: absolute
|
225
|
+
bottom: -2px
|
226
|
+
left: 0
|
227
|
+
right: 0
|
228
|
+
height: 2px
|
229
|
+
background: inherit
|
230
|
+
margin: 0
|
231
|
+
z-index: 15
|
232
|
+
|
207
233
|
&:after
|
208
234
|
content: '+'
|
209
235
|
margin-left: 8px
|
210
236
|
|
211
|
-
&:hover
|
237
|
+
&:hover, &.active
|
212
238
|
@if (lightness($background-color) < 75%)
|
213
239
|
color: white
|
214
240
|
@else
|
215
241
|
color: rgba(0, 0, 0, 0.85)
|
242
|
+
|
243
|
+
&:hover
|
216
244
|
background: darken($background-color, 5%)
|
217
245
|
border-color: darken($background-color, 5%)
|
218
246
|
|
@@ -247,11 +275,18 @@
|
|
247
275
|
ul
|
248
276
|
border-top-left-radius: 0
|
249
277
|
border-top-right-radius: 0
|
250
|
-
box-shadow: 2px 2px 0px 2px rgba(0, 0, 0, 0.1)
|
251
278
|
display: none
|
252
279
|
|
280
|
+
@media screen and (min-width: $breakpoint)
|
281
|
+
border-top: 1px solid map-get($white, darker)
|
282
|
+
|
253
283
|
ul[role=button]
|
254
|
-
display:
|
284
|
+
display: inline-flex
|
285
|
+
|
286
|
+
ul[role=button], > [role=button], &.navbar-title button[role="button"]
|
287
|
+
margin: (-2 * map-get($rootElement, paddingV)) + 2
|
288
|
+
bottom: (-2 * map-get($rootElement, paddingV)) + 2 // Repeated to override navbar-title
|
289
|
+
vertical-align: text-bottom
|
255
290
|
|
256
291
|
> a:not([role=button])
|
257
292
|
text-decoration: none
|
@@ -260,7 +295,7 @@
|
|
260
295
|
+root-element
|
261
296
|
margin-bottom: 0
|
262
297
|
border-radius: 0
|
263
|
-
margin: (-
|
298
|
+
margin: (-2 * map-get($rootElement, paddingV) - 1) (-1 * map-get($rootElement, paddingH))
|
264
299
|
padding:
|
265
300
|
top: (2 * map-get($rootElement, paddingV))
|
266
301
|
bottom: (2 * map-get($rootElement, paddingV))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kickstart_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.61
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Kochanowicz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|