kickstart_rails 3.0.13 → 3.0.14
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/kickstart_rails/components/_alerts.sass +3 -0
- data/app/assets/stylesheets/kickstart_rails/components/_nav.sass +14 -5
- data/app/assets/stylesheets/kickstart_rails/core/_direct-apply.sass +1 -1
- data/app/assets/stylesheets/kickstart_rails/core/_grid.sass +9 -6
- data/app/assets/stylesheets/kickstart_rails/docs.sass +7 -3
- data/app/assets/stylesheets/kickstart_rails/kickstart.sass +5 -2
- data/app/assets/stylesheets/kickstart_rails/themes/_default.sass +7 -2
- data/lib/kickstart_rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f190e115dfed3894487785502e2fdcd6f8aabea
|
4
|
+
data.tar.gz: f6a6a406e5c0299758fbee4437416c0bc91a8ff0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8ecfe4d05450e29186cc7e328675fa3f580151e5dccae9e11905f42129ee77c7eab1b76feec00d700205e2288eb7eaa95f1529977165f743cea7dd5840217a4
|
7
|
+
data.tar.gz: b180c09642a1cf848c8049d8605ba00532776174417593183a39d3092b70de38f2e7a5b6b25e9650e1cfe1fbe305c2a268ca1370aff67a9fd44af9384504eab6
|
@@ -4,12 +4,17 @@
|
|
4
4
|
@else
|
5
5
|
color: rgba(0, 0, 0, 0.5)
|
6
6
|
|
7
|
-
=navbar-default($
|
7
|
+
=navbar-default($fluid: false, $background: map-get($white, dark), $breakpoint: $tablet, $collapse: false)
|
8
8
|
background: $background
|
9
9
|
box-shadow: 0px 1px 0px darken($background, 12%) inset
|
10
10
|
font-size: $default-font-size
|
11
|
+
margin-bottom: $space
|
11
12
|
|
12
13
|
nav
|
14
|
+
@if $fluid == true
|
15
|
+
+container(true)
|
16
|
+
@else
|
17
|
+
+container
|
13
18
|
width: 100%
|
14
19
|
border-radius: 0
|
15
20
|
position: relative
|
@@ -41,7 +46,7 @@
|
|
41
46
|
margin: 0
|
42
47
|
|
43
48
|
@media screen and (min-width: $breakpoint)
|
44
|
-
@if
|
49
|
+
@if $fluid == false
|
45
50
|
> ul:first-child
|
46
51
|
margin-left: (-1 * map-get($rootElement, paddingH))
|
47
52
|
|
@@ -73,9 +78,10 @@
|
|
73
78
|
border-radius: 0
|
74
79
|
padding: (map-get($rootElement, paddingV) - 1) (map-get($rootElement, paddingH))
|
75
80
|
position: relative
|
76
|
-
margin:
|
81
|
+
margin:
|
77
82
|
left: (-1 * map-get($rootElement, paddingH))
|
78
83
|
right: (-1 * map-get($rootElement, paddingH))
|
84
|
+
user-select: none
|
79
85
|
|
80
86
|
@media screen and (min-width: $breakpoint)
|
81
87
|
margin: 0
|
@@ -97,7 +103,7 @@
|
|
97
103
|
color: inherit
|
98
104
|
display: block
|
99
105
|
margin-bottom: 0
|
100
|
-
font-family: Kickstart, 'Kickstart'
|
106
|
+
font-family: Kickstart, 'Kickstart'
|
101
107
|
padding:
|
102
108
|
left: 0
|
103
109
|
right: 0
|
@@ -168,7 +174,7 @@
|
|
168
174
|
font-size: 1rem
|
169
175
|
|
170
176
|
a:not([role=button])
|
171
|
-
padding:
|
177
|
+
padding:
|
172
178
|
top: 2 * map-get($rootElement, paddingV)
|
173
179
|
bottom: 2 * map-get($rootElement, paddingV)
|
174
180
|
|
@@ -178,6 +184,9 @@
|
|
178
184
|
box-shadow: 3px 3px 3px -3px rgba(0, 0, 0, 0.25)
|
179
185
|
display: none
|
180
186
|
|
187
|
+
ul[role=button]
|
188
|
+
display: inherit
|
189
|
+
|
181
190
|
> a:not([role=button])
|
182
191
|
+color($background)
|
183
192
|
text-decoration: none
|
@@ -36,19 +36,22 @@ $showColumns: $phablet // Allow < 12 columns
|
|
36
36
|
$showPartialColumns: $tablet // Simpler alternative to actual columns
|
37
37
|
$showFullColumns: $desktop // Actual user-defined column measurement
|
38
38
|
|
39
|
-
=container
|
39
|
+
=container-default($fluid: false)
|
40
40
|
margin: 0px auto
|
41
41
|
display: block
|
42
|
-
|
42
|
+
|
43
|
+
@if $fluid == false
|
44
|
+
max-width: $tablet
|
43
45
|
padding:
|
44
46
|
left: 25px
|
45
47
|
right: 25px
|
46
48
|
|
47
|
-
@
|
48
|
-
|
49
|
+
@if $fluid == false
|
50
|
+
@media screen and (min-width: $showOffsets)
|
51
|
+
max-width: $desktop
|
49
52
|
|
50
|
-
|
51
|
-
|
53
|
+
@media screen and (min-width: $xxl-monitor)
|
54
|
+
max-width: $large-monitor
|
52
55
|
|
53
56
|
=row
|
54
57
|
display: flex
|
@@ -28,17 +28,18 @@
|
|
28
28
|
+column(8, 2, 2)
|
29
29
|
|
30
30
|
.main-navigation
|
31
|
-
+navbar($
|
31
|
+
+navbar($fluid: false, $collapse: true)
|
32
32
|
|
33
33
|
.logo
|
34
34
|
height: 30px
|
35
35
|
margin:
|
36
|
-
top: 5px
|
37
36
|
bottom: -5px
|
38
37
|
opacity: 0.8
|
39
38
|
|
40
39
|
.docs-nav
|
41
|
-
+navbar($
|
40
|
+
+navbar($fluid: false, $background: darken(map-get($colors, blue), 5%), $collapse: true)
|
41
|
+
margin:
|
42
|
+
top: -$space
|
42
43
|
|
43
44
|
// Colors
|
44
45
|
// Kind of shitty, but there is a colors page that directly relies on this.
|
@@ -111,6 +112,9 @@ h1.example-
|
|
111
112
|
display: none
|
112
113
|
|
113
114
|
.hero
|
115
|
+
margin:
|
116
|
+
top: -$space
|
117
|
+
|
114
118
|
ul, ul li, .navbar
|
115
119
|
text-align: left
|
116
120
|
|
@@ -250,8 +250,11 @@
|
|
250
250
|
.navbar
|
251
251
|
+navbar
|
252
252
|
|
253
|
-
|
254
|
-
|
253
|
+
&.navbar-fluid
|
254
|
+
+navbar($fluid: true)
|
255
|
+
|
256
|
+
&.navbar-dark
|
257
|
+
+navbar($background: map-get($black, lighter))
|
255
258
|
|
256
259
|
// TABLES
|
257
260
|
// ------
|
@@ -57,6 +57,11 @@ $default-font-size: $base-font-size // TODO: Why?
|
|
57
57
|
|
58
58
|
@import ../core/_index
|
59
59
|
|
60
|
+
// Grid
|
61
|
+
|
62
|
+
=container($fluid: false)
|
63
|
+
+container-default($fluid)
|
64
|
+
|
60
65
|
// Typography
|
61
66
|
// ----------
|
62
67
|
|
@@ -191,8 +196,8 @@ hr
|
|
191
196
|
// Navigation
|
192
197
|
// ----------
|
193
198
|
|
194
|
-
=navbar($
|
195
|
-
+navbar-default($
|
199
|
+
=navbar($fluid: false, $background: map-get($white, dark), $breakpoint: $tablet, $collapse: false)
|
200
|
+
+navbar-default($fluid, $background, $breakpoint, $collapse)
|
196
201
|
|
197
202
|
=dropdown_menu
|
198
203
|
+dropdown_menu-default
|