kickstart_rails 3.0.11 → 3.0.13

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3a3b1bf75dd6f2888811c7698520c0bda3328305
4
- data.tar.gz: 9c729599ab35ed53f86cc72172b776e2b8b93685
3
+ metadata.gz: e88d049aac133c55016d063b28d3ce21fd966fa2
4
+ data.tar.gz: 7bf1ef24ef7e0275b553595a5090393e762648de
5
5
  SHA512:
6
- metadata.gz: 317f1c73cfb4973739675013de9fbf42e49f2c508c306ec04abff8f9bf6241720f8e7b535ea967fc1dc0a4356dd2c07c34d9d6d6c96dc40b287f4910e41d8367
7
- data.tar.gz: a862774c6d7311565698387c7af2c59c0c4d74c38431a26ec157efed101459927ac2a8880b50cc83118ec47357410b7d138527f8cc9ab155b83ad13d68b7aaf0
6
+ metadata.gz: b0bc67d3b9cd1860c8ca59d3bf9ae60bc724fcf92cf2408d0786dffc63de2174f182402258fb422f8164bb3020e45139500adcd192e933dc8e7e63217cf8f025
7
+ data.tar.gz: e3a521d85a4b9b95436d57ef2f08b7a2ad15cc138ecbd63a1029b7bb9b2da0146716500cdb92f0d49235eb074f23accf4e17885d9a57c0f525e1a4685eb42ebc
@@ -71,12 +71,14 @@
71
71
  +root-element
72
72
  margin-bottom: 0
73
73
  border-radius: 0
74
- padding:
75
- top: (map-get($rootElement, paddingV) - 1)
76
- bottom: (map-get($rootElement, paddingV) - 1)
77
- left: map-get($rootElement, paddingH)
78
- right: map-get($rootElement, paddingH)
74
+ padding: (map-get($rootElement, paddingV) - 1) (map-get($rootElement, paddingH))
79
75
  position: relative
76
+ margin:
77
+ left: (-1 * map-get($rootElement, paddingH))
78
+ right: (-1 * map-get($rootElement, paddingH))
79
+
80
+ @media screen and (min-width: $breakpoint)
81
+ margin: 0
80
82
 
81
83
  @if $collapse == true
82
84
  display: none
@@ -90,10 +92,22 @@
90
92
  align-items: center
91
93
 
92
94
  button
93
- +button(transparent)
95
+ +button-default(transparent)
94
96
  border-color: transparent
95
97
  color: inherit
96
98
  display: block
99
+ margin-bottom: 0
100
+ font-family: Kickstart, 'Kickstart'
101
+ padding:
102
+ left: 0
103
+ right: 0
104
+ opacity: 0.5
105
+
106
+ &:hover, &:active
107
+ box-shadow: none
108
+
109
+ &:hover
110
+ opacity: 1
97
111
 
98
112
  @media screen and (min-width: $breakpoint)
99
113
  display: none
@@ -103,14 +117,25 @@
103
117
  +color($background)
104
118
  cursor: pointer
105
119
 
106
- &:after
107
- content: '+'
120
+ &:before
121
+ content: '='
122
+ margin-right: 8px
123
+
124
+ &:before, &:after
108
125
  font-family: 'Kickstart', Kickstart
109
126
  display: inline-block
110
- margin-left: 8px
111
127
  font-size: 0.65rem
112
128
  vertical-align: middle
113
129
 
130
+ @media screen and (min-width: $breakpoint)
131
+ &:before
132
+ content: ''
133
+ display: none
134
+
135
+ &:after
136
+ content: '+'
137
+ margin-left: 8px
138
+
114
139
  &:hover
115
140
  @if (lightness($background) < 75%)
116
141
  color: white
@@ -134,6 +159,19 @@
134
159
  border-color: map-get($white, darker)
135
160
  border-bottom-color: transparent
136
161
 
162
+ @media screen and (max-width: $breakpoint)
163
+ ul
164
+ max-width: none
165
+ right: -1px
166
+
167
+ li, li a:not([role=button])
168
+ font-size: 1rem
169
+
170
+ a:not([role=button])
171
+ padding:
172
+ top: 2 * map-get($rootElement, paddingV)
173
+ bottom: 2 * map-get($rootElement, paddingV)
174
+
137
175
  ul
138
176
  border-top-left-radius: 0
139
177
  border-top-right-radius: 0
@@ -1,3 +1,3 @@
1
1
  module Kickstart_rails
2
- VERSION = "3.0.11"
2
+ VERSION = "3.0.13"
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.11
4
+ version: 3.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Kochanowicz