rails_admin_rollincode 1.1 → 1.4

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
- SHA1:
3
- metadata.gz: 6919645d3249012117f563afe9883230efa98535
4
- data.tar.gz: 37c017651354f1726e3419b84ff0dd9a3eec0e85
2
+ SHA256:
3
+ metadata.gz: 0c1f8daa92b9e906b0528b2717a7cd2b63560c56a1e778e3a1672000d08a2a4e
4
+ data.tar.gz: edcc5e48ae249ad8c22bc29422efe6cad91261feac8fab8dbbc16ef9b899b93d
5
5
  SHA512:
6
- metadata.gz: 4e1b5aaf270923101f80a3e38a9a3fc50ff3b2a45c43009598d81f875d91105e5c2a435459f4da98f537139c3aa2affa1597aa6ab312403337d8f749bb4ee91d
7
- data.tar.gz: 685236e83e586e50088e298c6b77fb5abf221958cad5350c4264404f62b107114bbea233d7564204a65f8560203cd2658ca9eb307ceca34956af2974d87f0972
6
+ metadata.gz: a90359525abc7d2a94aee01961bce1b032298389069280011317bb71e84ab1ff1b5f9eddec4b2a6e31d92616a58b7e75e15a3adab9d9c2647337aaa3b800ad86
7
+ data.tar.gz: 6ba4154f3ec16b0c67d0f35e040800ce16e120f810ea16e4685d2ba8102c343af29f76b76598047f87aaa7d6766855a24988def87943c023ef885d963cd08fc9
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2016 KOVACS Nicolas
1
+ Copyright 2019 Rollincode
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
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,3 +1,3 @@
1
1
  module RailsAdminRollincode
2
- VERSION = "1.1"
2
+ VERSION = '1.4'
3
3
  end
@@ -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,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,35 @@ 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
+ body.rails_admin .table .headerSortDown,
32
+ body.rails_admin .table .headerSortUp {
35
33
  background-color: inherit;
36
34
  text-shadow: none;
37
35
  }
38
36
 
39
- body.rails_admin .table .header:after
40
- {
37
+ body.rails_admin .table .header:after {
41
38
  visibility: visible !important;
42
39
  }
43
40
 
@@ -56,25 +53,28 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
56
53
  .links {
57
54
  ul li {
58
55
  a {
59
- color: white;
56
+ color: #fff;
60
57
  background: $primary;
61
58
  }
59
+
62
60
  &:nth-child(1) {
63
61
  a {
64
62
  background: #29B6F6;
65
- color: white;
63
+ color: #fff;
66
64
  }
67
65
  }
66
+
68
67
  &:nth-child(2) {
69
68
  a {
70
69
  background: #66BB6A;
71
- color: white;
70
+ color: #fff;
72
71
  }
73
72
  }
73
+
74
74
  &:nth-child(3) {
75
75
  a {
76
76
  background: #ef5350;
77
- color: white
77
+ color: #fff;
78
78
  }
79
79
  }
80
80
  }
@@ -100,7 +100,7 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
100
100
 
101
101
  .btn {
102
102
  border-radius: 2px;
103
- color: white !important;
103
+ color: #fff !important;
104
104
  }
105
105
 
106
106
  .btn-default {
@@ -110,7 +110,11 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
110
110
  .btn-info {
111
111
  background: $primary;
112
112
  border-color: darken($primary, 10%);
113
- &:hover, &:focus, &:target, &:active {
113
+
114
+ &:active,
115
+ &:focus,
116
+ &:hover,
117
+ &:target {
114
118
  background: $secondary;
115
119
  border-color: darken($secondary, 10%);
116
120
  color: $primary;
@@ -125,7 +129,11 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
125
129
  .btn-primary {
126
130
  background: $secondary;
127
131
  border-color: $secondary;
128
- &:hover, &:focus, &:target, &:active {
132
+
133
+ &:active,
134
+ &:focus,
135
+ &:hover,
136
+ &:target {
129
137
  background: darken($secondary, 20%);
130
138
  border-color: darken($secondary, 20%);
131
139
  }
@@ -133,7 +141,7 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
133
141
 
134
142
  .btn-primary.disabled {
135
143
  background: lighten($secondary, 20%);
136
- border-color: ligten($secondary, 20%);
144
+ border-color: lighten($secondary, 20%);
137
145
  }
138
146
 
139
147
  .alert {
@@ -154,7 +162,9 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
154
162
  li {
155
163
  border-radius: 2px;
156
164
  }
157
- a.dropdown-toggle, a {
165
+
166
+ a,
167
+ a.dropdown-toggle {
158
168
  color: $black;
159
169
  }
160
170
  }
@@ -169,7 +179,7 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
169
179
  content: "\f13a" !important;
170
180
  position: absolute;
171
181
  right: 15px;
172
- color: white;
182
+ color: #fff;
173
183
  font-family: 'FontAwesome', sans-serif;
174
184
  }
175
185
  }
@@ -182,12 +192,12 @@ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
182
192
  background: $secondary;
183
193
  }
184
194
 
185
- a,
186
- .navbar-default .navbar-nav > li > a {
195
+ .navbar-default .navbar-nav > li > a,
196
+ a {
187
197
  &:hover {
188
198
  color: $secondary;
189
199
  }
190
- color: white;
200
+ color: #fff;
191
201
  }
192
202
 
193
203
  .navbar-header {
@@ -198,21 +208,23 @@ a.navbar-brand {
198
208
  line-height: 25px;
199
209
  padding-top: 12px;
200
210
  white-space: nowrap;
201
- color: white !important;
211
+ color: #fff !important;
202
212
  cursor: pointer !important;
203
213
  background: darken($secondary, 10%) !important;
214
+
204
215
  &:hover {
205
216
  background: darken($secondary, 10%) !important;
206
- color: white !important;
217
+ color: #fff !important;
207
218
  }
208
219
  }
209
220
 
210
221
  .page-header {
211
222
  margin-top: 0;
223
+
212
224
  h1 {
213
225
  background: $secondary;
214
226
  padding: 10px 15px;
215
- color: white;
227
+ color: #fff;
216
228
  border-radius: 2px;
217
229
  text-transform: uppercase;
218
230
  margin-top: 0;
@@ -220,9 +232,10 @@ a.navbar-brand {
220
232
  }
221
233
 
222
234
  .content {
223
- margin: 19px 0 15px 0;
224
- background: white;
235
+ margin: 19px 0 15px;
236
+ background: #fff;
225
237
  padding: 20px;
238
+
226
239
  a {
227
240
  color: $secondary;
228
241
  }
@@ -232,30 +245,35 @@ a.navbar-brand {
232
245
  border-radius: 2px;
233
246
  }
234
247
 
235
- .nav-pills > li > a:hover,
236
- .nav-pills > li > a:focus {
248
+ .nav-pills > li > a:focus,
249
+ .nav-pills > li > a:hover {
237
250
  color: $secondary !important;
238
251
  }
239
252
 
240
253
  .root_links {
241
- .dashboard_root_link, .edit_user_root_link, .dashboard_root_link, li {
254
+ .dashboard_root_link,
255
+ .edit_user_root_link,
256
+
257
+ li {
242
258
  .label-danger {
243
259
  padding: 5px 10px;
244
260
  }
245
- color: white;
261
+ color: #fff;
262
+
246
263
  &:hover {
247
264
  background: darken($secondary, 10%) !important;
248
265
  }
266
+
249
267
  a {
250
268
  &:hover {
251
- color: white !important;
269
+ color: #fff !important;
252
270
  }
253
271
  }
254
272
  }
255
273
  }
256
274
 
257
275
  .sub-menu a {
258
- color: white;
276
+ color: #fff;
259
277
  padding: 10px 15px 10px 30px;
260
278
  font-size: 14px;
261
279
  line-height: 1.42857143;
@@ -268,15 +286,19 @@ a.navbar-brand {
268
286
 
269
287
  .sub-menu-container {
270
288
  background: darken($primary, 5%);
289
+
271
290
  li a {
272
291
  color: #EEE;
292
+
273
293
  &:hover {
274
294
  color: $secondary !important;
275
295
  }
276
296
  }
297
+
277
298
  li.active a {
278
299
  background: darken($primary, 10%);
279
300
  color: $secondary !important;
301
+
280
302
  &:hover {
281
303
  color: $secondary !important;
282
304
  }
@@ -291,8 +313,8 @@ a.navbar-brand {
291
313
  border-radius: 2px;
292
314
  }
293
315
 
294
- h1,
295
- .h1 {
316
+ .h1,
317
+ h1 {
296
318
  font-size: 20px;
297
319
  }
298
320
 
@@ -305,6 +327,7 @@ h1,
305
327
  padding: 8px 10px;
306
328
  border-radius: 2px;
307
329
  color: $secondary;
330
+
308
331
  &:hover {
309
332
  background: $secondary;
310
333
  color: $primary;
@@ -313,7 +336,7 @@ h1,
313
336
 
314
337
  .ui-state-default a:link,
315
338
  .ui-state-default a:visited {
316
- color: white;
339
+ color: #fff;
317
340
  text-decoration: none;
318
341
  }
319
342
 
@@ -324,8 +347,8 @@ h1,
324
347
  padding-bottom: 8px;
325
348
  }
326
349
 
327
- .table-striped th,
328
350
  .table-striped td,
351
+ .table-striped th,
329
352
  body.rails_admin .table td {
330
353
  vertical-align: middle;
331
354
  line-height: 40px;
@@ -337,8 +360,12 @@ body.rails_admin .table td {
337
360
  background: rgba($secondary, .1) !important;
338
361
  }
339
362
 
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
- {
363
+ .table-condensed > tbody > tr > td,
364
+ .table-condensed > tbody > tr > th,
365
+ .table-condensed > tfoot > tr > td,
366
+ .table-condensed > tfoot > tr > th,
367
+ .table-condensed > thead > tr > td,
368
+ .table-condensed > thead > tr > th {
342
369
  padding: 15px 5px;
343
370
  }
344
371
 
@@ -384,11 +411,12 @@ td.carrierwave_type .img-thumbnail {
384
411
  }
385
412
 
386
413
  #sortable li {
387
- color: white;
414
+ color: #fff;
388
415
  cursor: pointer;
389
416
  }
390
417
 
391
- #sortable li, .ui-state-highlight {
418
+ #sortable li,
419
+ .ui-state-highlight {
392
420
  display: inline-block;
393
421
  }
394
422
 
@@ -398,7 +426,8 @@ td.carrierwave_type .img-thumbnail {
398
426
  }
399
427
  }
400
428
 
401
- .dd-handle .dd3-handle, .dd3-content {
429
+ .dd-handle .dd3-handle,
430
+ .dd3-content {
402
431
  height: inherit;
403
432
  }
404
433
 
@@ -408,7 +437,7 @@ td.carrierwave_type .img-thumbnail {
408
437
  }
409
438
 
410
439
  .dd3-content {
411
- margin: 10px 0!important;
440
+ margin: 10px 0 !important;
412
441
  }
413
442
 
414
443
  .sortable-container {
@@ -417,7 +446,8 @@ td.carrierwave_type .img-thumbnail {
417
446
  margin-bottom: 15px;
418
447
  }
419
448
 
420
- .ref_number, .li_sortable_label {
449
+ .li_sortable_label,
450
+ .ref_number {
421
451
  float: left;
422
452
  padding: 10px 5px;
423
453
  }
@@ -437,7 +467,7 @@ td.carrierwave_type .img-thumbnail {
437
467
 
438
468
  .ui-state-highlight {
439
469
  padding: 10px 15px;
440
- margin: 0 15px 15px 15px;
470
+ margin: 0 15px 15px;
441
471
  width: 100%;
442
472
  min-height: 40px;
443
473
  }
@@ -456,6 +486,7 @@ td.carrierwave_type .img-thumbnail {
456
486
  border-bottom-left-radius: 0;
457
487
  border-bottom-right-radius: 0;
458
488
  }
489
+
459
490
  dd.well {
460
491
  padding: 10px;
461
492
  border-top: 0;
@@ -483,7 +514,7 @@ td.carrierwave_type .img-thumbnail {
483
514
  #edit_page {
484
515
  .has_one_association_type {
485
516
  background: #F3F1F1;
486
- margin: 25px 15px!important;
517
+ margin: 25px 15px !important;
487
518
  }
488
519
  }
489
520
 
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.4'
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: 2022-01-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: '4.0'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '6'
23
+ version: '8'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,8 +30,8 @@ dependencies:
30
30
  version: '4.0'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '6'
34
- description: Rails_Admin theme
33
+ version: '8'
34
+ description: Rails_Admin FLAT theme overhaul
35
35
  email:
36
36
  - pro.nicovak@gmail.com
37
37
  executables: []
@@ -65,9 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
- rubyforge_project:
69
- rubygems_version: 2.6.6
68
+ rubygems_version: 3.1.6
70
69
  signing_key:
71
70
  specification_version: 4
72
- summary: Rails_Admin theme
71
+ summary: Rails_Admin FLAT theme overhaul
73
72
  test_files: []