rails_admin_rollincode_arifikhsan 1.3

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4f637829be27a51fc557705adaa1f09a5e3a0f2950ff615147a8258ea839c167
4
+ data.tar.gz: 9aacc55a241aab0ac6f49df44409cfc5beb029f03434031ac4a5866b32057b1b
5
+ SHA512:
6
+ metadata.gz: 9999dc343062e4b95e59d22fb1acbf3b67e447d84b1a693ffb93caeac77fb77fa8325e3f13b092c6e2ffb87c32286f37681cdf6d0314cd392b86fc7fd6bd4810
7
+ data.tar.gz: bc42542f4dc6a0c8be127f52282578e2f38e4758928f1442793618c479f1ecb6466351c73fc96b0e7b0e80323d4a0e82bb5545c5b126768242ff3dc55dc709cd
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2019 Rollincode
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,19 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'RailsAdminRollincode'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.rdoc')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+ load 'rails/tasks/statistics.rake'
18
+
19
+ Bundler::GemHelper.install_tasks
@@ -0,0 +1,4 @@
1
+ module RailsAdminRollincode
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,3 @@
1
+ module RailsAdminRollincode
2
+ VERSION = '1.3'
3
+ end
@@ -0,0 +1,4 @@
1
+ require 'rails_admin_rollincode/engine'
2
+
3
+ module RailsAdminRollincode
4
+ end
@@ -0,0 +1,527 @@
1
+ @import url(https://fonts.googleapis.com/css?family=Raleway:400,700);
2
+
3
+ body {
4
+ color: $black;
5
+ background: $background;
6
+ font-family: 'Raleway', sans-serif;
7
+ }
8
+
9
+ body.rails_admin .form-horizontal textarea {
10
+ width: 100%;
11
+ }
12
+
13
+ body.rails_admin .sidebar-nav .dropdown-header {
14
+ color: #fff;
15
+ padding: 10px 15px;
16
+ font-size: 14px;
17
+ line-height: 1.42857143;
18
+ font-weight: normal;
19
+ text-transform: inherit;
20
+ cursor: pointer;
21
+
22
+ &::after {
23
+ content: "\f138";
24
+ position: absolute;
25
+ right: 15px;
26
+ color: #fff;
27
+ font-family: 'FontAwesome', sans-serif;
28
+ }
29
+ }
30
+
31
+ body.rails_admin .table .headerSortDown,
32
+ body.rails_admin .table .headerSortUp {
33
+ background-color: inherit;
34
+ text-shadow: none;
35
+ }
36
+
37
+ body.rails_admin .table .header:after {
38
+ visibility: visible !important;
39
+ }
40
+
41
+ body.rails_admin .sidebar-nav {
42
+ background: $primary;
43
+ }
44
+
45
+ .nav .nav-pills .nav-stacked {
46
+ margin-top: 4px;
47
+ }
48
+
49
+ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
50
+ padding: 10px 15px;
51
+ }
52
+
53
+ .links {
54
+ ul li {
55
+ a {
56
+ color: #fff;
57
+ background: $primary;
58
+ }
59
+
60
+ &:nth-child(1) {
61
+ a {
62
+ background: #29B6F6;
63
+ color: #fff;
64
+ }
65
+ }
66
+
67
+ &:nth-child(2) {
68
+ a {
69
+ background: #66BB6A;
70
+ color: #fff;
71
+ }
72
+ }
73
+
74
+ &:nth-child(3) {
75
+ a {
76
+ background: #ef5350;
77
+ color: #fff;
78
+ }
79
+ }
80
+ }
81
+ }
82
+
83
+ .alert-info {
84
+ background-color: #3498db;
85
+ border: 0;
86
+ color: #fff;
87
+ }
88
+
89
+ .alert-success {
90
+ background-color: #2ecc71;
91
+ border: 0;
92
+ color: #fff;
93
+ }
94
+
95
+ .alert-danger {
96
+ background-color: #e74c3c;
97
+ border: 0;
98
+ color: #fff;
99
+ }
100
+
101
+ .btn {
102
+ border-radius: 2px;
103
+ color: #fff !important;
104
+ }
105
+
106
+ .btn-default {
107
+ color: $black !important;
108
+ }
109
+
110
+ .btn-info {
111
+ background: $primary;
112
+ border-color: darken($primary, 10%);
113
+
114
+ &:active,
115
+ &:focus,
116
+ &:hover,
117
+ &:target {
118
+ background: $secondary;
119
+ border-color: darken($secondary, 10%);
120
+ color: $primary;
121
+ }
122
+ }
123
+
124
+ .btn-info.disabled {
125
+ background: lighten($primary, 10%);
126
+ border-color: lighten($primary, 10%);
127
+ }
128
+
129
+ .btn-primary {
130
+ background: $secondary;
131
+ border-color: $secondary;
132
+
133
+ &:active,
134
+ &:focus,
135
+ &:hover,
136
+ &:target {
137
+ background: darken($secondary, 20%);
138
+ border-color: darken($secondary, 20%);
139
+ }
140
+ }
141
+
142
+ .btn-primary.disabled {
143
+ background: lighten($secondary, 20%);
144
+ border-color: lighten($secondary, 20%);
145
+ }
146
+
147
+ .alert {
148
+ border-radius: 2px;
149
+ }
150
+
151
+ .sidebar-nav {
152
+ i {
153
+ margin-right: 10px;
154
+ }
155
+ }
156
+
157
+ .nav-tabs > li > a {
158
+ border-radius: 2px 2px 0 0;
159
+ }
160
+
161
+ .nav-tabs {
162
+ li {
163
+ border-radius: 2px;
164
+ }
165
+
166
+ a,
167
+ a.dropdown-toggle {
168
+ color: $black;
169
+ }
170
+ }
171
+
172
+ .navbar-default {
173
+ background: $secondary;
174
+ border: 0;
175
+ }
176
+
177
+ .dropdown-header.open {
178
+ &::after {
179
+ content: "\f13a" !important;
180
+ position: absolute;
181
+ right: 15px;
182
+ color: #fff;
183
+ font-family: 'FontAwesome', sans-serif;
184
+ }
185
+ }
186
+
187
+ .dropdown-header:hover {
188
+ background: $secondary;
189
+ }
190
+
191
+ .dropdown-header.active {
192
+ background: $secondary;
193
+ }
194
+
195
+ .navbar-default .navbar-nav > li > a,
196
+ a {
197
+ &:hover {
198
+ color: $secondary;
199
+ }
200
+ color: #fff;
201
+ }
202
+
203
+ .navbar-header {
204
+ margin-left: -15px;
205
+ }
206
+
207
+ a.navbar-brand {
208
+ line-height: 25px;
209
+ padding-top: 12px;
210
+ white-space: nowrap;
211
+ color: #fff !important;
212
+ cursor: pointer !important;
213
+ background: darken($secondary, 10%) !important;
214
+
215
+ &:hover {
216
+ background: darken($secondary, 10%) !important;
217
+ color: #fff !important;
218
+ }
219
+ }
220
+
221
+ .page-header {
222
+ margin-top: 0;
223
+
224
+ h1 {
225
+ background: $secondary;
226
+ padding: 10px 15px;
227
+ color: #fff;
228
+ border-radius: 2px;
229
+ text-transform: uppercase;
230
+ margin-top: 0;
231
+ }
232
+ }
233
+
234
+ .content {
235
+ margin: 19px 0 15px;
236
+ background: #fff;
237
+ padding: 20px;
238
+
239
+ a {
240
+ color: $secondary;
241
+ }
242
+ }
243
+
244
+ .form-control {
245
+ border-radius: 2px;
246
+ }
247
+
248
+ .nav-pills > li > a:focus,
249
+ .nav-pills > li > a:hover {
250
+ color: $secondary !important;
251
+ }
252
+
253
+ .root_links {
254
+ .dashboard_root_link,
255
+ .edit_user_root_link,
256
+
257
+ li {
258
+ .label-danger {
259
+ padding: 5px 10px;
260
+ }
261
+ color: #fff;
262
+
263
+ &:hover {
264
+ background: darken($secondary, 10%) !important;
265
+ }
266
+
267
+ a {
268
+ &:hover {
269
+ color: #fff !important;
270
+ }
271
+ }
272
+ }
273
+ }
274
+
275
+ .sub-menu a {
276
+ color: #fff;
277
+ padding: 10px 15px 10px 30px;
278
+ font-size: 14px;
279
+ line-height: 1.42857143;
280
+ font-weight: normal;
281
+ text-transform: inherit;
282
+ cursor: pointer;
283
+ display: block;
284
+ text-decoration: none;
285
+ }
286
+
287
+ .sub-menu-container {
288
+ background: darken($primary, 5%);
289
+
290
+ li a {
291
+ color: #EEE;
292
+
293
+ &:hover {
294
+ color: $secondary !important;
295
+ }
296
+ }
297
+
298
+ li.active a {
299
+ background: darken($primary, 10%);
300
+ color: $secondary !important;
301
+
302
+ &:hover {
303
+ color: $secondary !important;
304
+ }
305
+ }
306
+ }
307
+
308
+ .label-warning {
309
+ padding: 5px;
310
+ }
311
+
312
+ .well {
313
+ border-radius: 2px;
314
+ }
315
+
316
+ .h1,
317
+ h1 {
318
+ font-size: 20px;
319
+ }
320
+
321
+ .fieldset a {
322
+ color: $secondary !important;
323
+ }
324
+
325
+ .table-striped td:not(.image_field) a {
326
+ text-decoration: none !important;
327
+ padding: 8px 10px;
328
+ border-radius: 2px;
329
+ color: $secondary;
330
+
331
+ &:hover {
332
+ background: $secondary;
333
+ color: $primary;
334
+ }
335
+ }
336
+
337
+ .ui-state-default a:link,
338
+ .ui-state-default a:visited {
339
+ color: #fff;
340
+ text-decoration: none;
341
+ }
342
+
343
+ #fields_to_export .control-label {
344
+ text-align: left;
345
+ margin-bottom: 0;
346
+ padding-top: 8px;
347
+ padding-bottom: 8px;
348
+ }
349
+
350
+ .table-striped td,
351
+ .table-striped th,
352
+ body.rails_admin .table td {
353
+ vertical-align: middle;
354
+ line-height: 40px;
355
+ border-right: 1px solid #ddd;
356
+ padding: 6px 11px;
357
+ }
358
+
359
+ .row-highlight td {
360
+ background: rgba($secondary, .1) !important;
361
+ }
362
+
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 {
369
+ padding: 15px 5px;
370
+ }
371
+
372
+ .table-striped {
373
+ border: 1px solid #ddd;
374
+ border-top: 4px solid $secondary;
375
+ }
376
+
377
+ th.shrink {
378
+ padding: 14px 11px !important;
379
+ }
380
+
381
+ td.carrierwave_type .img-thumbnail {
382
+ max-width: 40px;
383
+ }
384
+
385
+ .img-thumbnail {
386
+ max-width: 125px;
387
+ background: #EEE;
388
+ }
389
+
390
+ .breadcrumb .false a {
391
+ color: #C4C4C4 !important;
392
+ }
393
+
394
+ .breadcrumb {
395
+ border-radius: 2px;
396
+ }
397
+
398
+ .nav-stacked > li + li {
399
+ margin-top: 0;
400
+ }
401
+
402
+ .progress {
403
+ border-radius: 2px;
404
+ }
405
+
406
+ #sortable {
407
+ list-style-type: none;
408
+ margin: 0;
409
+ padding: 0;
410
+ width: 100%;
411
+ }
412
+
413
+ #sortable li {
414
+ color: #fff;
415
+ cursor: pointer;
416
+ }
417
+
418
+ #sortable li,
419
+ .ui-state-highlight {
420
+ display: inline-block;
421
+ }
422
+
423
+ #rails_admin_nestable {
424
+ label {
425
+ padding: 0;
426
+ }
427
+ }
428
+
429
+ .dd-handle .dd3-handle,
430
+ .dd3-content {
431
+ height: inherit;
432
+ }
433
+
434
+ .dd3-content .pull-right a {
435
+ background: none!important;
436
+ color: #000!important;
437
+ }
438
+
439
+ .dd3-content {
440
+ margin: 10px 0 !important;
441
+ }
442
+
443
+ .sortable-container {
444
+ width: 100%;
445
+ background: lighten($secondary, 5%);
446
+ margin-bottom: 15px;
447
+ }
448
+
449
+ .li_sortable_label,
450
+ .ref_number {
451
+ float: left;
452
+ padding: 10px 5px;
453
+ }
454
+
455
+ .li_sortable_label {
456
+ background: lighten($secondary, 5%);
457
+ color: $primary;
458
+ padding: 10px 15px;
459
+ }
460
+
461
+ .ref_number {
462
+ color: $secondary;
463
+ background: $primary;
464
+ padding: 10px 15px;
465
+ border-left: 2px solid darken($secondary, 20%);
466
+ }
467
+
468
+ .ui-state-highlight {
469
+ padding: 10px 15px;
470
+ margin: 0 15px 15px;
471
+ width: 100%;
472
+ min-height: 40px;
473
+ }
474
+
475
+ .well {
476
+ box-shadow: none;
477
+ }
478
+
479
+ .fieldset {
480
+ dl {
481
+ dt span.label-info {
482
+ text-align: left;
483
+ display: block;
484
+ padding: 10px;
485
+ font-size: 13px;
486
+ border-bottom-left-radius: 0;
487
+ border-bottom-right-radius: 0;
488
+ }
489
+
490
+ dd.well {
491
+ padding: 10px;
492
+ border-top: 0;
493
+ border-top-left-radius: 0;
494
+ border-top-right-radius: 0;
495
+ }
496
+ }
497
+ }
498
+
499
+ .bootstrap-datetimepicker-widget table td.day {
500
+ color: #333;
501
+ width: 10px;
502
+ height: 10px;
503
+ line-height: 10px;
504
+ padding: 10px 0;
505
+ }
506
+
507
+ .bootstrap-datetimepicker-widget table td span {
508
+ width: 25px;
509
+ height: 25px;
510
+ line-height: 25px;
511
+ color: #333;
512
+ }
513
+
514
+ #edit_page {
515
+ .has_one_association_type {
516
+ background: #F3F1F1;
517
+ margin: 25px 15px !important;
518
+ }
519
+ }
520
+
521
+ .fr-basic .fr-element {
522
+ min-height: 150px;
523
+ }
524
+
525
+ .modal-header-title {
526
+ margin-top: 0;
527
+ }
@@ -0,0 +1,4 @@
1
+ $primary: #273135;
2
+ $secondary: #37BC9B;
3
+ $black: #1a1a1a;
4
+ $background: #E9F0F5;
metadata ADDED
@@ -0,0 +1,66 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_admin_rollincode_arifikhsan
3
+ version: !ruby/object:Gem::Version
4
+ version: '1.3'
5
+ platform: ruby
6
+ authors:
7
+ - KOVACS Nicolas
8
+ - VIDEAUD Matthieu
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2021-12-24 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: rails
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: '4.0'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ version: '4.0'
28
+ description: Rails_Admin FLAT theme overhaul
29
+ email:
30
+ - pro.nicovak@gmail.com
31
+ executables: []
32
+ extensions: []
33
+ extra_rdoc_files: []
34
+ files:
35
+ - MIT-LICENSE
36
+ - Rakefile
37
+ - lib/rails_admin_rollincode.rb
38
+ - lib/rails_admin_rollincode/engine.rb
39
+ - lib/rails_admin_rollincode/version.rb
40
+ - vendor/assets/stylesheets/rails_admin/themes/rollincode/mixins.scss
41
+ - vendor/assets/stylesheets/rails_admin/themes/rollincode/theming.scss
42
+ - vendor/assets/stylesheets/rails_admin/themes/rollincode/variables.scss
43
+ homepage: https://github.com/arifikhsan/rails_admin_theme
44
+ licenses:
45
+ - MIT
46
+ metadata: {}
47
+ post_install_message:
48
+ rdoc_options: []
49
+ require_paths:
50
+ - lib
51
+ required_ruby_version: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - ">="
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ requirements: []
62
+ rubygems_version: 3.2.32
63
+ signing_key:
64
+ specification_version: 4
65
+ summary: Rails_Admin FLAT theme overhaul
66
+ test_files: []