kube-rails 0.3.0 → 0.3.1

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: 4aeea30aac759d05e01bde11af77cba136965d41
4
- data.tar.gz: c2717cde0a583002267bc60479bfc66611774766
3
+ metadata.gz: d3431f9ba6bc45151993232ba8a8b89f1139120b
4
+ data.tar.gz: 90bba611e7dd2434efd0fcc82eab9ad8bb6b04b9
5
5
  SHA512:
6
- metadata.gz: 0fa62588aa837fad19dd89f7b77a100fc088d95d3aef908e4b5b72ed30c99fecdc097511b17b9d5fa2d5bd1f345a8322d7dc45e785998e5681134e40a1671039
7
- data.tar.gz: 1decdabd66f65cd67bc3ba7e9183e83f8aecb8ebf8c7f982eb3ba0b09ccd67c48b2270facd2599338834ff5bd7611d4f7f1f66db4170147895b4313d2e7cc8b2
6
+ metadata.gz: 45fdb2ae53bd937022376d928d7567f759eef2229bc51ca00ade7e5052218edd2bab2ef60127afc868c52f414e3ea85dc256c96c5518b945add1359467f69dd6
7
+ data.tar.gz: a3b1f945b57b560becf6227980792474730667abf6cfafc1ac826cc3c5445bce5849cdfb4d712c30190bbe46662f15b3e6c5c3b79bdc29ed3fbb4e05f38f2cd3
@@ -1,5 +1,5 @@
1
1
  module Kube
2
2
  module Rails
3
- VERSION = '0.3.0'
3
+ VERSION = '0.3.1'
4
4
  end
5
5
  end
@@ -66,6 +66,9 @@
66
66
  .forms-inline-list li label {
67
67
  margin-right: @fieldsBottom;
68
68
  }
69
+ .forms-inline-list li {
70
+ margin-bottom: 3px;
71
+ }
69
72
  .forms-list li {
70
73
  margin-bottom: 6px;
71
74
  }
@@ -175,10 +178,10 @@ input[type="search"] {
175
178
  background-color: #eee;
176
179
  border: 1px solid #ccc;
177
180
  margin: 0;
178
- padding: 0;
179
- color: @colorBody;
181
+ padding: 0 7px;
182
+ color: rgba(0, 0, 0, .5);
180
183
  line-height: 1;
181
- font-size: 1em;
184
+ font-size: @smallFontSize;
182
185
  white-space: nowrap;
183
186
  }
184
187
  .input-groups .input-prepend {
@@ -1,7 +1,6 @@
1
1
  /* =Grid
2
2
  -----------------------------------------------------------------------------*/
3
3
  .units-container,
4
- .units-row-end,
5
4
  .units-row {
6
5
  .clearfix;
7
6
  }
@@ -12,11 +11,9 @@
12
11
  .units-row {
13
12
  margin-bottom: @baseLine / @em;
14
13
  }
15
- .units-row-end {
16
- margin-bottom: 0;
17
- }
18
14
 
19
15
  .width-100, .unit-100 { width: 100%; }
16
+ .width-90, .unit-90 { width: 90%; }
20
17
  .width-80, .unit-80 { width: 80%; }
21
18
  .width-75, .unit-75 { width: 75%; }
22
19
  .width-70, .unit-70 { width: 70%; }
@@ -25,11 +22,12 @@
25
22
  .width-60, .unit-60 { width: 60%; }
26
23
  .width-50, .unit-50 { width: 50%; }
27
24
  .width-40, .unit-40 { width: 40%; }
28
- .width-35, .unit-35 { width: 35%; }
25
+ .width-35, .unit-35 { width: 35%; }
29
26
  .width-33, .unit-33 { width: 33.3%; }
30
27
  .width-30, .unit-30 { width: 30%; }
31
28
  .width-25, .unit-25 { width: 25%; }
32
29
  .width-20, .unit-20 { width: 20%; }
30
+ .width-10, .unit-10 { width: 10%; }
33
31
 
34
32
  input.width-100,
35
33
  input.unit-100 { width: 98.6%; }
@@ -38,6 +36,7 @@ textarea.unit-100 { width: 98.8%; }
38
36
  select.width-100,
39
37
  select.unit-100 { width: 99.4%; }
40
38
 
39
+ .units-row .unit-90,
41
40
  .units-row .unit-80,
42
41
  .units-row .unit-75,
43
42
  .units-row .unit-70,
@@ -51,53 +50,30 @@ select.unit-100 { width: 99.4%; }
51
50
  .units-row .unit-30,
52
51
  .units-row .unit-25,
53
52
  .units-row .unit-20,
54
- .units-row-end .unit-100,
55
- .units-row-end .unit-80,
56
- .units-row-end .unit-75,
57
- .units-row-end .unit-70,
58
- .units-row-end .unit-66,
59
- .units-row-end .unit-65,
60
- .units-row-end .unit-60,
61
- .units-row-end .unit-50,
62
- .units-row-end .unit-40,
63
- .units-row-end .unit-35,
64
- .units-row-end .unit-33,
65
- .units-row-end .unit-30,
66
- .units-row-end .unit-25,
67
- .units-row-end .unit-20 {
53
+ .units-row .unit-10 {
68
54
  float: left;
69
55
  margin-left: @gridGutterWidth/(@gridWidth/100)*1%;
70
56
  &:first-child {
71
57
  margin-left: 0;
72
58
  }
73
59
  }
74
- .units-row .unit-80,
75
- .units-row-end .unit-80 { .columns(4, 5); }
76
- .units-row .unit-75,
77
- .units-row-end .unit-75 { .columns(3, 4); }
78
- .units-row .unit-70,
79
- .units-row-end .unit-70 { .columns(7, 10); }
80
- .units-row .unit-66,
81
- .units-row-end .unit-66 { .columns(2, 3); }
82
- .units-row .unit-65,
83
- .units-row-end .unit-65 { .columns(2, 3); }
84
- .units-row .unit-60,
85
- .units-row-end .unit-60 { .columns(3, 5); }
86
- .units-row .unit-50,
87
- .units-row-end .unit-50 { .column(2); }
88
- .units-row .unit-40,
89
- .units-row-end .unit-40 { .columns(2, 5); }
90
- .units-row .unit-35,
91
- .units-row-end .unit-35 { .column(3); }
92
- .units-row .unit-33,
93
- .units-row-end .unit-33 { .column(3); }
94
- .units-row .unit-30,
95
- .units-row-end .unit-30 { .columns(3, 10); }
96
- .units-row .unit-25,
97
- .units-row-end .unit-25 { .column(4); }
98
- .units-row .unit-20,
99
- .units-row-end .unit-20 { .column(5); }
60
+ .units-row .unit-90 { .columns(9, 10); }
61
+ .units-row .unit-80 { .columns(4, 5); }
62
+ .units-row .unit-75 { .columns(3, 4); }
63
+ .units-row .unit-70 { .columns(7, 10); }
64
+ .units-row .unit-66 { .columns(2, 3); }
65
+ .units-row .unit-65 { .columns(2, 3); }
66
+ .units-row .unit-60 { .columns(3, 5); }
67
+ .units-row .unit-50 { .column(2); }
68
+ .units-row .unit-40 { .columns(2, 5); }
69
+ .units-row .unit-35 { .column(3); }
70
+ .units-row .unit-33 { .column(3); }
71
+ .units-row .unit-30 { .columns(3, 10); }
72
+ .units-row .unit-25 { .column(4); }
73
+ .units-row .unit-20 { .column(5); }
74
+ .units-row .unit-10 { .columns(1, 10); }
100
75
 
76
+ .unit-push-90,
101
77
  .unit-push-80,
102
78
  .unit-push-75,
103
79
  .unit-push-70,
@@ -110,10 +86,11 @@ select.unit-100 { width: 99.4%; }
110
86
  .unit-push-33,
111
87
  .unit-push-30,
112
88
  .unit-push-25,
113
- .unit-push-20 {
89
+ .unit-push-20,
90
+ .unit-push-10 {
114
91
  position: relative;
115
92
  }
116
- .unit-push-30 { .columns-push(3, 10); }
93
+ .unit-push-90 { .columns-push(9, 10); }
117
94
  .unit-push-80 { .columns-push(4, 5); }
118
95
  .unit-push-75 { .columns-push(3, 4); }
119
96
  .unit-push-70 { .columns-push(7, 10); }
@@ -124,11 +101,12 @@ select.unit-100 { width: 99.4%; }
124
101
  .unit-push-40 { .columns-push(2, 5); }
125
102
  .unit-push-35 { .column-push(3); }
126
103
  .unit-push-33 { .column-push(3); }
104
+ .unit-push-30 { .columns-push(3, 10); }
127
105
  .unit-push-25 { .column-push(4); }
128
106
  .unit-push-20 { .column-push(5); }
107
+ .unit-push-10 { .columns-push(1, 10); }
129
108
 
130
- .units-row .unit-push-right,
131
- .units-row-end .unit-push-right {
109
+ .units-row .unit-push-right {
132
110
  float: right;
133
111
  }
134
112
 
@@ -142,6 +120,7 @@ select.unit-100 { width: 99.4%; }
142
120
  padding: @baseLine / @em;
143
121
  }
144
122
  .units-padding .unit-100,
123
+ .units-padding .unit-90,
145
124
  .units-padding .unit-80,
146
125
  .units-padding .unit-75,
147
126
  .units-padding .unit-70,
@@ -154,10 +133,12 @@ select.unit-100 { width: 99.4%; }
154
133
  .units-padding .unit-33,
155
134
  .units-padding .unit-30,
156
135
  .units-padding .unit-25,
157
- .units-padding .unit-20 {
136
+ .units-padding .unit-20,
137
+ .units-padding .unit-10 {
158
138
  padding: @baseLine / @em;
159
139
  }
160
140
 
141
+ .units-split .unit-90,
161
142
  .units-split .unit-80,
162
143
  .units-split .unit-75,
163
144
  .units-split .unit-70,
@@ -170,9 +151,11 @@ select.unit-100 { width: 99.4%; }
170
151
  .units-split .unit-33,
171
152
  .units-split .unit-30,
172
153
  .units-split .unit-25,
173
- .units-split .unit-20 {
154
+ .units-split .unit-20,
155
+ .units-split .unit-10 {
174
156
  margin-left: 0;
175
157
  }
158
+ .units-split .unit-90 { width: 90%; }
176
159
  .units-split .unit-80 { width: 80%; }
177
160
  .units-split .unit-75 { width: 75%; }
178
161
  .units-split .unit-70 { width: 70%; }
@@ -186,12 +169,18 @@ select.unit-100 { width: 99.4%; }
186
169
  .units-split .unit-30 { width: 30%; }
187
170
  .units-split .unit-25 { width: 25%; }
188
171
  .units-split .unit-20 { width: 20%; }
172
+ .units-split .unit-10 { width: 10%; }
189
173
 
190
174
 
191
175
  /* =Responsive
192
176
  -----------------------------------------------------------------------------*/
193
177
  @media only screen and (max-width: 767px) {
194
178
 
179
+ .mobile-width-100 {
180
+ width: 100%;
181
+ }
182
+
183
+ .units-row .unit-90,
195
184
  .units-row .unit-80,
196
185
  .units-row .unit-75,
197
186
  .units-row .unit-70,
@@ -205,25 +194,14 @@ select.unit-100 { width: 99.4%; }
205
194
  .units-row .unit-30,
206
195
  .units-row .unit-25,
207
196
  .units-row .unit-20,
208
- .units-row-end .unit-80,
209
- .units-row-end .unit-75,
210
- .units-row-end .unit-70,
211
- .units-row-end .unit-66,
212
- .units-row-end .unit-65,
213
- .units-row-end .unit-60,
214
- .units-row-end .unit-50,
215
- .units-row-end .unit-40,
216
- .units-row-end .unit-35,
217
- .units-row-end .unit-33,
218
- .units-row-end .unit-30,
219
- .units-row-end .unit-25,
220
- .units-row-end .unit-20 {
197
+ .units-row .unit-10 {
221
198
  width: 100%;
222
199
  float: none;
223
200
  margin-left: 0;
224
201
  margin-bottom: @baseLine/@em;
225
202
  }
226
203
 
204
+ .unit-push-90,
227
205
  .unit-push-80,
228
206
  .unit-push-75,
229
207
  .unit-push-70,
@@ -236,15 +214,16 @@ select.unit-100 { width: 99.4%; }
236
214
  .unit-push-33,
237
215
  .unit-push-30,
238
216
  .unit-push-25,
239
- .unit-push-20 {
217
+ .unit-push-20,
218
+ .unit-push-10 {
240
219
  left: 0;
241
220
  }
242
221
 
243
- .units-row-end .unit-push-right,
244
222
  .units-row .unit-push-right {
245
223
  float: none;
246
224
  }
247
225
 
226
+ .units-mobile-50 .unit-90,
248
227
  .units-mobile-50 .unit-80,
249
228
  .units-mobile-50 .unit-75,
250
229
  .units-mobile-50 .unit-70,
@@ -256,11 +235,13 @@ select.unit-100 { width: 99.4%; }
256
235
  .units-mobile-50 .unit-35,
257
236
  .units-mobile-50 .unit-33,
258
237
  .units-mobile-50 .unit-25,
259
- .units-mobile-50 .unit-20 {
238
+ .units-mobile-50 .unit-20,
239
+ .units-mobile-50 .unit-10 {
260
240
  float: left;
261
241
  margin-left: @gridGutterWidth/(@gridWidth/100)*1%;
262
242
  .column(2);
263
243
  }
244
+ .units-mobile-50 .unit-90:first-child,
264
245
  .units-mobile-50 .unit-80:first-child,
265
246
  .units-mobile-50 .unit-75:first-child,
266
247
  .units-mobile-50 .unit-70:first-child,
@@ -272,7 +253,8 @@ select.unit-100 { width: 99.4%; }
272
253
  .units-mobile-50 .unit-30:first-child,
273
254
  .units-mobile-50 .unit-33:first-child,
274
255
  .units-mobile-50 .unit-25:first-child,
275
- .units-mobile-50 .unit-20:first-child {
256
+ .units-mobile-50 .unit-20:first-child,
257
+ .units-mobile-50 .unit-10:first-child {
276
258
  margin-left: 0;
277
259
  }
278
260
 
@@ -17,6 +17,9 @@ table.table-flat th {
17
17
  table.table-striped tbody tr:nth-child(odd) td {
18
18
  background-color: #f8f8f8;
19
19
  }
20
+ table.table-hovered tbody tr:hover td {
21
+ background-color: #f4f4f4;
22
+ }
20
23
 
21
24
  /* Responsive Tables */
22
25
  .table-container {
@@ -53,7 +53,7 @@
53
53
  @colorLinkHover: @colorRed;
54
54
 
55
55
  // Forms
56
- @fieldsBottom: 1em;
56
+ @fieldsBottom: 1.6em;
57
57
 
58
58
  // Util
59
59
  @em: @baseFontSize * 1em; // outputting ems, e.g. 14 / @em
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kube-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mindaugas Mozūras
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-02 00:00:00.000000000 Z
11
+ date: 2014-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -73,6 +73,8 @@ executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
75
  files:
76
+ - README.md
77
+ - Rakefile
76
78
  - lib/generators/kube/install/install_generator.rb
77
79
  - lib/generators/kube/install/templates/application.css
78
80
  - lib/generators/kube/install/templates/kube.less
@@ -92,10 +94,10 @@ files:
92
94
  - lib/generators/kube/themed/templates/show.html.haml
93
95
  - lib/generators/kube/themed/templates/show.html.slim
94
96
  - lib/generators/kube/themed/themed_generator.rb
97
+ - lib/kube-rails.rb
95
98
  - lib/kube/rails/engine.rb
96
99
  - lib/kube/rails/kube.rb
97
100
  - lib/kube/rails/version.rb
98
- - lib/kube-rails.rb
99
101
  - vendor/kube/blocks.less
100
102
  - vendor/kube/buttons.less
101
103
  - vendor/kube/forms.less
@@ -109,8 +111,6 @@ files:
109
111
  - vendor/kube/tables.less
110
112
  - vendor/kube/typography.less
111
113
  - vendor/kube/variables.less
112
- - Rakefile
113
- - README.md
114
114
  homepage: https://github.com/mmozuras/kube-rails
115
115
  licenses:
116
116
  - MIT
@@ -131,9 +131,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  requirements: []
133
133
  rubyforge_project: kube-rails
134
- rubygems_version: 2.0.7
134
+ rubygems_version: 2.2.2
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: Kube for Rails 3.1 Asset Pipeline
138
138
  test_files: []
139
- has_rdoc: