rails_admin_rollincode 1.1 → 1.2

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: 6919645d3249012117f563afe9883230efa98535
4
- data.tar.gz: 37c017651354f1726e3419b84ff0dd9a3eec0e85
3
+ metadata.gz: 338b4f9d796c35d5bc9bc4b075db8439d11c7435
4
+ data.tar.gz: de0fd54a7deff78d6b8db49593249f872acc1b71
5
5
  SHA512:
6
- metadata.gz: 4e1b5aaf270923101f80a3e38a9a3fc50ff3b2a45c43009598d81f875d91105e5c2a435459f4da98f537139c3aa2affa1597aa6ab312403337d8f749bb4ee91d
7
- data.tar.gz: 685236e83e586e50088e298c6b77fb5abf221958cad5350c4264404f62b107114bbea233d7564204a65f8560203cd2658ca9eb307ceca34956af2974d87f0972
6
+ metadata.gz: 2b7f056ac67d3b4d36e09aeeefc5e68dc11f184d59c43e0118eb334bb262f3002653a717bb5e80a850b7af7c877ae299d47cda16bd902e57e77103f1e22819eb
7
+ data.tar.gz: 2c5a1685a1a4051e25576a8ff5543f01acf96a316b2d471816a9450ccd324a7351c5856dd97b59959778c760a6019ce1ccb793a345a2772adacedeba113df55f
data/Rakefile CHANGED
@@ -14,11 +14,6 @@ RDoc::Task.new(:rdoc) do |rdoc|
14
14
  rdoc.rdoc_files.include('lib/**/*.rb')
15
15
  end
16
16
 
17
-
18
-
19
17
  load 'rails/tasks/statistics.rake'
20
18
 
21
-
22
-
23
19
  Bundler::GemHelper.install_tasks
24
-
@@ -1,4 +1,4 @@
1
- require "rails_admin_rollincode/engine"
1
+ require 'rails_admin_rollincode/engine'
2
2
 
3
3
  module RailsAdminRollincode
4
4
  end
@@ -1,3 +1,3 @@
1
1
  module RailsAdminRollincode
2
- VERSION = "1.1"
2
+ VERSION = '1.2'
3
3
  end
@@ -1,11 +1,4 @@
1
- @import url(https://fonts.googleapis.com/css?family=Raleway);
2
-
3
- @mixin transition($time) {
4
- -webkit-transition: all $time ease;
5
- -moz-transition: all $time ease;
6
- -o-transition: all $time ease;
7
- transition: all $time ease;
8
- }
1
+ @import url(https://fonts.googleapis.com/css?family=Raleway:400,700);
9
2
 
10
3
  body {
11
4
  color: $black;
@@ -13,31 +6,36 @@ body {
13
6
  font-family: 'Raleway', sans-serif;
14
7
  }
15
8
 
9
+ body.rails_admin .form-horizontal textarea {
10
+ width: 100%;
11
+ }
12
+
16
13
  body.rails_admin .sidebar-nav .dropdown-header {
17
- color: white;
14
+ color: #fff;
18
15
  padding: 10px 15px;
19
16
  font-size: 14px;
20
17
  line-height: 1.42857143;
21
18
  font-weight: normal;
22
19
  text-transform: inherit;
23
20
  cursor: pointer;
21
+
24
22
  &::after {
25
23
  content: "\f138";
26
24
  position: absolute;
27
25
  right: 15px;
28
- color: white;
26
+ color: #fff;
29
27
  font-family: 'FontAwesome', sans-serif;
30
28
  }
31
29
  }
32
30
 
33
- body.rails_admin .table .headerSortUp, body.rails_admin .table .headerSortDown,
34
- {
31
+ ,
32
+ body.rails_admin .table .headerSortDown,
33
+ body.rails_admin .table .headerSortUp {
35
34
  background-color: inherit;
36
35
  text-shadow: none;
37
36
  }
38
37
 
39
- body.rails_admin .table .header:after
40
- {
38
+ body.rails_admin .table .header:after {
41
39
  visibility: visible !important;
42
40
  }
43
41
 
@@ -56,25 +54,28 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
56
54
  .links {
57
55
  ul li {
58
56
  a {
59
- color: white;
57
+ color: #fff;
60
58
  background: $primary;
61
59
  }
60
+
62
61
  &:nth-child(1) {
63
62
  a {
64
63
  background: #29B6F6;
65
- color: white;
64
+ color: #fff;
66
65
  }
67
66
  }
67
+
68
68
  &:nth-child(2) {
69
69
  a {
70
70
  background: #66BB6A;
71
- color: white;
71
+ color: #fff;
72
72
  }
73
73
  }
74
+
74
75
  &:nth-child(3) {
75
76
  a {
76
77
  background: #ef5350;
77
- color: white
78
+ color: #fff;
78
79
  }
79
80
  }
80
81
  }
@@ -100,7 +101,7 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
100
101
 
101
102
  .btn {
102
103
  border-radius: 2px;
103
- color: white !important;
104
+ color: #fff !important;
104
105
  }
105
106
 
106
107
  .btn-default {
@@ -110,7 +111,11 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
110
111
  .btn-info {
111
112
  background: $primary;
112
113
  border-color: darken($primary, 10%);
113
- &:hover, &:focus, &:target, &:active {
114
+
115
+ &:active,
116
+ &:focus,
117
+ &:hover,
118
+ &:target {
114
119
  background: $secondary;
115
120
  border-color: darken($secondary, 10%);
116
121
  color: $primary;
@@ -125,7 +130,11 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
125
130
  .btn-primary {
126
131
  background: $secondary;
127
132
  border-color: $secondary;
128
- &:hover, &:focus, &:target, &:active {
133
+
134
+ &:active,
135
+ &:focus,
136
+ &:hover,
137
+ &:target {
129
138
  background: darken($secondary, 20%);
130
139
  border-color: darken($secondary, 20%);
131
140
  }
@@ -133,7 +142,7 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
133
142
 
134
143
  .btn-primary.disabled {
135
144
  background: lighten($secondary, 20%);
136
- border-color: ligten($secondary, 20%);
145
+ border-color: lighten($secondary, 20%);
137
146
  }
138
147
 
139
148
  .alert {
@@ -154,7 +163,9 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
154
163
  li {
155
164
  border-radius: 2px;
156
165
  }
157
- a.dropdown-toggle, a {
166
+
167
+ a,
168
+ a.dropdown-toggle {
158
169
  color: $black;
159
170
  }
160
171
  }
@@ -169,7 +180,7 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
169
180
  content: "\f13a" !important;
170
181
  position: absolute;
171
182
  right: 15px;
172
- color: white;
183
+ color: #fff;
173
184
  font-family: 'FontAwesome', sans-serif;
174
185
  }
175
186
  }
@@ -182,12 +193,12 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
182
193
  background: $secondary;
183
194
  }
184
195
 
185
- a,
186
- .navbar-default .navbar-nav > li > a {
196
+ .navbar-default .navbar-nav > li > a,
197
+ a {
187
198
  &:hover {
188
199
  color: $secondary;
189
200
  }
190
- color: white;
201
+ color: #fff;
191
202
  }
192
203
 
193
204
  .navbar-header {
@@ -198,21 +209,23 @@ a.navbar-brand {
198
209
  line-height: 25px;
199
210
  padding-top: 12px;
200
211
  white-space: nowrap;
201
- color: white !important;
212
+ color: #fff !important;
202
213
  cursor: pointer !important;
203
214
  background: darken($secondary, 10%) !important;
215
+
204
216
  &:hover {
205
217
  background: darken($secondary, 10%) !important;
206
- color: white !important;
218
+ color: #fff !important;
207
219
  }
208
220
  }
209
221
 
210
222
  .page-header {
211
223
  margin-top: 0;
224
+
212
225
  h1 {
213
226
  background: $secondary;
214
227
  padding: 10px 15px;
215
- color: white;
228
+ color: #fff;
216
229
  border-radius: 2px;
217
230
  text-transform: uppercase;
218
231
  margin-top: 0;
@@ -220,9 +233,10 @@ a.navbar-brand {
220
233
  }
221
234
 
222
235
  .content {
223
- margin: 19px 0 15px 0;
224
- background: white;
236
+ margin: 19px 0 15px;
237
+ background: #fff;
225
238
  padding: 20px;
239
+
226
240
  a {
227
241
  color: $secondary;
228
242
  }
@@ -232,30 +246,35 @@ a.navbar-brand {
232
246
  border-radius: 2px;
233
247
  }
234
248
 
235
- .nav-pills > li > a:hover,
236
- .nav-pills > li > a:focus {
249
+ .nav-pills > li > a:focus,
250
+ .nav-pills > li > a:hover {
237
251
  color: $secondary !important;
238
252
  }
239
253
 
240
254
  .root_links {
241
- .dashboard_root_link, .edit_user_root_link, .dashboard_root_link, li {
255
+ .dashboard_root_link,
256
+ .edit_user_root_link,
257
+
258
+ li {
242
259
  .label-danger {
243
260
  padding: 5px 10px;
244
261
  }
245
- color: white;
262
+ color: #fff;
263
+
246
264
  &:hover {
247
265
  background: darken($secondary, 10%) !important;
248
266
  }
267
+
249
268
  a {
250
269
  &:hover {
251
- color: white !important;
270
+ color: #fff !important;
252
271
  }
253
272
  }
254
273
  }
255
274
  }
256
275
 
257
276
  .sub-menu a {
258
- color: white;
277
+ color: #fff;
259
278
  padding: 10px 15px 10px 30px;
260
279
  font-size: 14px;
261
280
  line-height: 1.42857143;
@@ -268,15 +287,19 @@ a.navbar-brand {
268
287
 
269
288
  .sub-menu-container {
270
289
  background: darken($primary, 5%);
290
+
271
291
  li a {
272
292
  color: #EEE;
293
+
273
294
  &:hover {
274
295
  color: $secondary !important;
275
296
  }
276
297
  }
298
+
277
299
  li.active a {
278
300
  background: darken($primary, 10%);
279
301
  color: $secondary !important;
302
+
280
303
  &:hover {
281
304
  color: $secondary !important;
282
305
  }
@@ -291,8 +314,8 @@ a.navbar-brand {
291
314
  border-radius: 2px;
292
315
  }
293
316
 
294
- h1,
295
- .h1 {
317
+ .h1,
318
+ h1 {
296
319
  font-size: 20px;
297
320
  }
298
321
 
@@ -305,6 +328,7 @@ h1,
305
328
  padding: 8px 10px;
306
329
  border-radius: 2px;
307
330
  color: $secondary;
331
+
308
332
  &:hover {
309
333
  background: $secondary;
310
334
  color: $primary;
@@ -313,7 +337,7 @@ h1,
313
337
 
314
338
  .ui-state-default a:link,
315
339
  .ui-state-default a:visited {
316
- color: white;
340
+ color: #fff;
317
341
  text-decoration: none;
318
342
  }
319
343
 
@@ -324,8 +348,8 @@ h1,
324
348
  padding-bottom: 8px;
325
349
  }
326
350
 
327
- .table-striped th,
328
351
  .table-striped td,
352
+ .table-striped th,
329
353
  body.rails_admin .table td {
330
354
  vertical-align: middle;
331
355
  line-height: 40px;
@@ -337,8 +361,13 @@ body.rails_admin .table td {
337
361
  background: rgba($secondary, .1) !important;
338
362
  }
339
363
 
340
- .table-condensed > thead > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > th, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > th, .table-condensed > tfoot > tr > td,
341
- {
364
+ ,
365
+ .table-condensed > tbody > tr > td,
366
+ .table-condensed > tbody > tr > th,
367
+ .table-condensed > tfoot > tr > td,
368
+ .table-condensed > tfoot > tr > th,
369
+ .table-condensed > thead > tr > td,
370
+ .table-condensed > thead > tr > th {
342
371
  padding: 15px 5px;
343
372
  }
344
373
 
@@ -384,11 +413,12 @@ td.carrierwave_type .img-thumbnail {
384
413
  }
385
414
 
386
415
  #sortable li {
387
- color: white;
416
+ color: #fff;
388
417
  cursor: pointer;
389
418
  }
390
419
 
391
- #sortable li, .ui-state-highlight {
420
+ #sortable li,
421
+ .ui-state-highlight {
392
422
  display: inline-block;
393
423
  }
394
424
 
@@ -398,7 +428,8 @@ td.carrierwave_type .img-thumbnail {
398
428
  }
399
429
  }
400
430
 
401
- .dd-handle .dd3-handle, .dd3-content {
431
+ .dd-handle .dd3-handle,
432
+ .dd3-content {
402
433
  height: inherit;
403
434
  }
404
435
 
@@ -408,7 +439,7 @@ td.carrierwave_type .img-thumbnail {
408
439
  }
409
440
 
410
441
  .dd3-content {
411
- margin: 10px 0!important;
442
+ margin: 10px 0 !important;
412
443
  }
413
444
 
414
445
  .sortable-container {
@@ -417,7 +448,8 @@ td.carrierwave_type .img-thumbnail {
417
448
  margin-bottom: 15px;
418
449
  }
419
450
 
420
- .ref_number, .li_sortable_label {
451
+ .li_sortable_label,
452
+ .ref_number {
421
453
  float: left;
422
454
  padding: 10px 5px;
423
455
  }
@@ -437,7 +469,7 @@ td.carrierwave_type .img-thumbnail {
437
469
 
438
470
  .ui-state-highlight {
439
471
  padding: 10px 15px;
440
- margin: 0 15px 15px 15px;
472
+ margin: 0 15px 15px;
441
473
  width: 100%;
442
474
  min-height: 40px;
443
475
  }
@@ -456,6 +488,7 @@ td.carrierwave_type .img-thumbnail {
456
488
  border-bottom-left-radius: 0;
457
489
  border-bottom-right-radius: 0;
458
490
  }
491
+
459
492
  dd.well {
460
493
  padding: 10px;
461
494
  border-top: 0;
@@ -483,7 +516,7 @@ td.carrierwave_type .img-thumbnail {
483
516
  #edit_page {
484
517
  .has_one_association_type {
485
518
  background: #F3F1F1;
486
- margin: 25px 15px!important;
519
+ margin: 25px 15px !important;
487
520
  }
488
521
  }
489
522
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_admin_rollincode
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: '1.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - KOVACS Nicolas
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-07-28 00:00:00.000000000 Z
12
+ date: 2017-01-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  version: '0'
67
67
  requirements: []
68
68
  rubyforge_project:
69
- rubygems_version: 2.6.6
69
+ rubygems_version: 2.6.7
70
70
  signing_key:
71
71
  specification_version: 4
72
72
  summary: Rails_Admin theme