kickstart_rails 3.0.13 → 3.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e88d049aac133c55016d063b28d3ce21fd966fa2
4
- data.tar.gz: 7bf1ef24ef7e0275b553595a5090393e762648de
3
+ metadata.gz: 6f190e115dfed3894487785502e2fdcd6f8aabea
4
+ data.tar.gz: f6a6a406e5c0299758fbee4437416c0bc91a8ff0
5
5
  SHA512:
6
- metadata.gz: b0bc67d3b9cd1860c8ca59d3bf9ae60bc724fcf92cf2408d0786dffc63de2174f182402258fb422f8164bb3020e45139500adcd192e933dc8e7e63217cf8f025
7
- data.tar.gz: e3a521d85a4b9b95436d57ef2f08b7a2ad15cc138ecbd63a1029b7bb9b2da0146716500cdb92f0d49235eb074f23accf4e17885d9a57c0f525e1a4685eb42ebc
6
+ metadata.gz: e8ecfe4d05450e29186cc7e328675fa3f580151e5dccae9e11905f42129ee77c7eab1b76feec00d700205e2288eb7eaa95f1529977165f743cea7dd5840217a4
7
+ data.tar.gz: b180c09642a1cf848c8049d8605ba00532776174417593183a39d3092b70de38f2e7a5b6b25e9650e1cfe1fbe305c2a268ca1370aff67a9fd44af9384504eab6
@@ -6,6 +6,9 @@
6
6
  margin:
7
7
  bottom: $space
8
8
 
9
+ p
10
+ +p
11
+
9
12
  > *:last-child
10
13
  margin-bottom: 0
11
14
 
@@ -4,12 +4,17 @@
4
4
  @else
5
5
  color: rgba(0, 0, 0, 0.5)
6
6
 
7
- =navbar-default($bleed-container: false, $background: map-get($white, dark), $breakpoint: $tablet, $collapse: false)
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 ($bleed-container)
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
@@ -8,7 +8,7 @@
8
8
  // Buttons
9
9
  // -------
10
10
 
11
- button,
11
+ button:not(.navbar-button),
12
12
  input[type="submit"],
13
13
  input[type="button"],
14
14
  +button
@@ -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
- max-width: $tablet
42
+
43
+ @if $fluid == false
44
+ max-width: $tablet
43
45
  padding:
44
46
  left: 25px
45
47
  right: 25px
46
48
 
47
- @media screen and (min-width: $showOffsets)
48
- max-width: $desktop
49
+ @if $fluid == false
50
+ @media screen and (min-width: $showOffsets)
51
+ max-width: $desktop
49
52
 
50
- @media screen and (min-width: $xxl-monitor)
51
- max-width: $large-monitor
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($bleed-container: true, $collapse: true)
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($bleed-container: true, $background: map-get($black, lightest), $collapse: true)
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
- .navbar-dark
254
- +navbar($background: map-get($black, lighter))
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($bleed-container: false, $background: map-get($white, dark), $breakpoint: $tablet, $collapse: false)
195
- +navbar-default($bleed-container, $background, $breakpoint, $collapse)
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
@@ -1,3 +1,3 @@
1
1
  module Kickstart_rails
2
- VERSION = "3.0.13"
2
+ VERSION = "3.0.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kickstart_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.13
4
+ version: 3.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Kochanowicz