rails_admin_rollincode 1.0

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.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 098ae78064aedd2f2d82f4f9e354ddc22c401b04
4
+ data.tar.gz: 868721ef12728894fa2f5ae279dbb8db1b806051
5
+ SHA512:
6
+ metadata.gz: d26d2d30a9f24bc11082c419970c21edb33199b143e35b1bc136437b0fed0f467709b720cc92e413b7c6513428c15d5aaa5d5a532b8e0810d657b7ceccb3d50d
7
+ data.tar.gz: 537e2ae3b5bb408eb5bd24f927d07e41eab519094befb60b968a0fb8641e5f52db1a477c23da654bd3c37eadfd9c732aa0f5993044363d854e6f9dad6358b268
@@ -0,0 +1,20 @@
1
+ Copyright 2016 KOVACS Nicolas
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.
@@ -0,0 +1,24 @@
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
+
18
+
19
+ load 'rails/tasks/statistics.rake'
20
+
21
+
22
+
23
+ Bundler::GemHelper.install_tasks
24
+
@@ -0,0 +1,4 @@
1
+ require "rails_admin_rollincode/engine"
2
+
3
+ module RailsAdminRollincode
4
+ end
@@ -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.0"
3
+ end
@@ -0,0 +1,502 @@
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
+ }
9
+
10
+ body {
11
+ color: $black;
12
+ background: $background;
13
+ font-family: 'Raleway', sans-serif;
14
+ }
15
+
16
+ a.navbar-brand {
17
+ padding-top: 12px;
18
+ }
19
+
20
+ body.rails_admin .sidebar-nav .dropdown-header {
21
+ color: white;
22
+ padding: 10px 15px;
23
+ font-size: 14px;
24
+ line-height: 1.42857143;
25
+ font-weight: normal;
26
+ text-transform: inherit;
27
+ cursor: pointer;
28
+ &::after {
29
+ content: "\f138";
30
+ position: absolute;
31
+ right: 15px;
32
+ color: white;
33
+ font-family: 'FontAwesome', sans-serif;
34
+ }
35
+ }
36
+
37
+ body.rails_admin .table .headerSortUp, body.rails_admin .table .headerSortDown,
38
+ {
39
+ background-color: inherit;
40
+ text-shadow: none;
41
+ }
42
+
43
+ body.rails_admin .table .header:after,
44
+ {
45
+ visibility: visible !important;
46
+ }
47
+
48
+ body.rails_admin .sidebar-nav {
49
+ background: $primary;
50
+ }
51
+
52
+ .nav .nav-pills .nav-stacked {
53
+ margin-top: 4px;
54
+ }
55
+
56
+ body.rails_admin .sidebar-nav > .nav-stacked > li > a {
57
+ padding: 10px 15px;
58
+ }
59
+
60
+ a.navbar-brand {
61
+ line-height: 25px;
62
+ }
63
+
64
+ .links {
65
+ ul li {
66
+ a {
67
+ color: white;
68
+ background: $primary;
69
+ }
70
+ &:nth-child(1) {
71
+ a {
72
+ background: #29B6F6;
73
+ color: white;
74
+ }
75
+ }
76
+ &:nth-child(2) {
77
+ a {
78
+ background: #66BB6A;
79
+ color: white;
80
+ }
81
+ }
82
+ &:nth-child(3) {
83
+ a {
84
+ background: #ef5350;
85
+ color: white
86
+ }
87
+ }
88
+ }
89
+ }
90
+
91
+ .alert-info {
92
+ background-color: #3498db;
93
+ border: 0;
94
+ color: #fff;
95
+ }
96
+
97
+ .alert-success {
98
+ background-color: #2ecc71;
99
+ border: 0;
100
+ color: #fff;
101
+ }
102
+
103
+ .alert-danger {
104
+ background-color: #e74c3c;
105
+ border: 0;
106
+ color: #fff;
107
+ }
108
+
109
+ .btn {
110
+ border-radius: 2px;
111
+ color: white !important;
112
+ }
113
+
114
+ .btn-default {
115
+ color: $black !important;
116
+ }
117
+
118
+ .btn-info {
119
+ background: $primary;
120
+ border-color: darken($primary, 10%);
121
+ &:hover, &:focus, &:target, &:active {
122
+ background: $secondary;
123
+ border-color: darken($secondary, 10%);
124
+ color: $primary;
125
+ }
126
+ }
127
+
128
+ .btn-info.disabled {
129
+ background: lighten($primary, 10%);
130
+ border-color: lighten($primary, 10%);
131
+ }
132
+
133
+ .btn-primary {
134
+ background: darken($secondary, 20%);
135
+ border-color: darken($secondary, 20%);
136
+ &:hover, &:focus, &:target, &:active {
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: ligten($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
+ a.dropdown-toggle, a {
166
+ color: $black;
167
+ }
168
+ }
169
+
170
+ .navbar-default {
171
+ background: darken($secondary, 20%);
172
+ border: 0;
173
+ }
174
+
175
+ .dropdown-header.open {
176
+ &::after {
177
+ content: "\f13a" !important;
178
+ position: absolute;
179
+ right: 15px;
180
+ color: white;
181
+ font-family: 'FontAwesome', sans-serif;
182
+ }
183
+ }
184
+
185
+ .dropdown-header:hover {
186
+ background: $secondary;
187
+ }
188
+
189
+ .dropdown-header.active {
190
+ background: $secondary;
191
+ }
192
+
193
+ a,
194
+ .navbar-default .navbar-nav > li > a {
195
+ &:hover {
196
+ color: $secondary;
197
+ }
198
+ color: white;
199
+ }
200
+
201
+ .navbar-header {
202
+ margin-left: -15px;
203
+ }
204
+
205
+ a.navbar-brand {
206
+ width: 100%;
207
+ color: white !important;
208
+ cursor: pointer !important;
209
+ background: darken($secondary, 10%) !important;
210
+ &:hover {
211
+ background: darken($secondary, 10%) !important;
212
+ color: white !important;
213
+ }
214
+ }
215
+
216
+ .page-header {
217
+ margin-top: 0;
218
+ h1 {
219
+ background: $secondary;
220
+ padding: 10px 15px;
221
+ color: white;
222
+ border-radius: 2px;
223
+ text-transform: uppercase;
224
+ margin-top: 0;
225
+ }
226
+ }
227
+
228
+ .content {
229
+ margin: 19px 0 15px 0;
230
+ background: white;
231
+ padding: 20px;
232
+ a {
233
+ color: $secondary;
234
+ }
235
+ }
236
+
237
+ .form-control {
238
+ border-radius: 2px;
239
+ }
240
+
241
+ .nav-pills > li > a:hover,
242
+ .nav-pills > li > a:focus {
243
+ color: $secondary !important;
244
+ }
245
+
246
+ .root_links {
247
+ .dashboard_root_link, .edit_user_root_link, .dashboard_root_link, li {
248
+ .label-danger {
249
+ padding: 5px 10px;
250
+ }
251
+ color: white;
252
+ &:hover {
253
+ background: darken($secondary, 10%) !important;
254
+ }
255
+ a {
256
+ &:hover {
257
+ color: white !important;
258
+ }
259
+ }
260
+ }
261
+ }
262
+
263
+ .sub-menu a {
264
+ color: white;
265
+ padding: 10px 15px 10px 30px;
266
+ font-size: 14px;
267
+ line-height: 1.42857143;
268
+ font-weight: normal;
269
+ text-transform: inherit;
270
+ cursor: pointer;
271
+ display: block;
272
+ text-decoration: none;
273
+ }
274
+
275
+ .sub-menu-container {
276
+ background: darken($primary, 5%);
277
+ li a {
278
+ color: #EEE;
279
+ &:hover {
280
+ color: $secondary !important;
281
+ }
282
+ }
283
+ li.active a {
284
+ background: darken($primary, 10%);
285
+ color: $secondary !important;
286
+ &:hover {
287
+ color: $secondary !important;
288
+ }
289
+ }
290
+ }
291
+
292
+ .label-warning {
293
+ padding: 5px;
294
+ }
295
+
296
+ .well {
297
+ border-radius: 2px;
298
+ }
299
+
300
+ h1,
301
+ .h1 {
302
+ font-size: 20px;
303
+ }
304
+
305
+ .fieldset a {
306
+ color: $secondary !important;
307
+ }
308
+
309
+ .table-striped td:not(.image_field) a {
310
+ text-decoration: none !important;
311
+ padding: 8px 10px;
312
+ border-radius: 2px;
313
+ color: $secondary;
314
+ &:hover {
315
+ background: $secondary;
316
+ color: $primary;
317
+ }
318
+ }
319
+
320
+ .ui-state-default a:link,
321
+ .ui-state-default a:visited {
322
+ color: white;
323
+ text-decoration: none;
324
+ }
325
+
326
+ #fields_to_export .control-label {
327
+ text-align: left;
328
+ margin-bottom: 0;
329
+ padding-top: 8px;
330
+ padding-bottom: 8px;
331
+ }
332
+
333
+ .table-striped th,
334
+ .table-striped td,
335
+ body.rails_admin .table td {
336
+ vertical-align: middle;
337
+ line-height: 40px;
338
+ border-right: 1px solid #ddd;
339
+ padding: 6px 11px;
340
+ }
341
+
342
+ .row-highlight td {
343
+ background: rgba($secondary, .1) !important;
344
+ }
345
+
346
+ .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,
347
+ {
348
+ padding: 15px 5px;
349
+ }
350
+
351
+ .table-striped {
352
+ border: 1px solid #ddd;
353
+ border-top: 4px solid $secondary;
354
+ }
355
+
356
+ th.shrink {
357
+ padding: 14px 11px !important;
358
+ }
359
+
360
+ td.carrierwave_type .img-thumbnail {
361
+ max-width: 40px;
362
+ }
363
+
364
+ .img-thumbnail {
365
+ max-width: 125px;
366
+ background: #EEE;
367
+ }
368
+
369
+ .breadcrumb .false a {
370
+ color: #C4C4C4 !important;
371
+ }
372
+
373
+ .breadcrumb {
374
+ border-radius: 2px;
375
+ }
376
+
377
+ .nav-stacked > li + li {
378
+ margin-top: 0;
379
+ }
380
+
381
+ .progress {
382
+ border-radius: 2px;
383
+ }
384
+
385
+ #sortable {
386
+ list-style-type: none;
387
+ margin: 0;
388
+ padding: 0;
389
+ width: 100%;
390
+ }
391
+
392
+ #sortable li {
393
+ color: white;
394
+ cursor: pointer;
395
+ }
396
+
397
+ #sortable li, .ui-state-highlight {
398
+ display: inline-block;
399
+ }
400
+
401
+ #rails_admin_nestable {
402
+ label {
403
+ padding: 0;
404
+ }
405
+ }
406
+
407
+ .dd-handle .dd3-handle, .dd3-content {
408
+ height: inherit;
409
+ }
410
+
411
+ .dd3-content .pull-right a {
412
+ background: none!important;
413
+ color: #000!important;
414
+ }
415
+
416
+ .dd3-content {
417
+ margin: 10px 0!important;
418
+ }
419
+
420
+ .sortable-container {
421
+ width: 100%;
422
+ background: lighten($secondary, 5%);
423
+ margin-bottom: 15px;
424
+ }
425
+
426
+ .ref_number, .li_sortable_label {
427
+ float: left;
428
+ padding: 10px 5px;
429
+ }
430
+
431
+ .li_sortable_label {
432
+ background: lighten($secondary, 5%);
433
+ color: $primary;
434
+ padding: 10px 15px;
435
+ }
436
+
437
+ .ref_number {
438
+ color: $secondary;
439
+ background: $primary;
440
+ padding: 10px 15px;
441
+ border-left: 2px solid darken($secondary, 20%);
442
+ }
443
+
444
+ .ui-state-highlight {
445
+ padding: 10px 15px;
446
+ margin: 0 15px 15px 15px;
447
+ width: 100%;
448
+ min-height: 40px;
449
+ }
450
+
451
+ .well {
452
+ box-shadow: none;
453
+ }
454
+
455
+ .fieldset {
456
+ dl {
457
+ dt span.label-info {
458
+ text-align: left;
459
+ display: block;
460
+ padding: 10px;
461
+ font-size: 13px;
462
+ border-bottom-left-radius: 0;
463
+ border-bottom-right-radius: 0;
464
+ }
465
+ dd.well {
466
+ padding: 10px;
467
+ border-top: 0;
468
+ border-top-left-radius: 0;
469
+ border-top-right-radius: 0;
470
+ }
471
+ }
472
+ }
473
+
474
+ .bootstrap-datetimepicker-widget table td.day {
475
+ color: #333;
476
+ width: 10px;
477
+ height: 10px;
478
+ line-height: 10px;
479
+ padding: 10px 0;
480
+ }
481
+
482
+ .bootstrap-datetimepicker-widget table td span {
483
+ width: 25px;
484
+ height: 25px;
485
+ line-height: 25px;
486
+ color: #333;
487
+ }
488
+
489
+ #edit_page {
490
+ .has_one_association_type {
491
+ background: #F3F1F1;
492
+ margin: 25px 15px!important;
493
+ }
494
+ }
495
+
496
+ .fr-basic .fr-element {
497
+ min-height: 150px;
498
+ }
499
+
500
+ .modal-header-title {
501
+ margin-top: 0;
502
+ }
@@ -0,0 +1,4 @@
1
+ $primary: #273135;
2
+ $secondary: #81C784;
3
+ $black: #1a1a1a;
4
+ $background: #E9F0F5;
metadata ADDED
@@ -0,0 +1,72 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rails_admin_rollincode
3
+ version: !ruby/object:Gem::Version
4
+ version: '1.0'
5
+ platform: ruby
6
+ authors:
7
+ - KOVACS Nicolas
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-06-02 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '6'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '4.0'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '6'
33
+ description: Rails_Admin theme
34
+ email:
35
+ - pro.nicovak@gmail.com
36
+ executables: []
37
+ extensions: []
38
+ extra_rdoc_files: []
39
+ files:
40
+ - MIT-LICENSE
41
+ - Rakefile
42
+ - lib/rails_admin_rollincode.rb
43
+ - lib/rails_admin_rollincode/engine.rb
44
+ - lib/rails_admin_rollincode/version.rb
45
+ - vendor/assets/stylesheets/rails_admin/themes/rollincode/mixins.scss
46
+ - vendor/assets/stylesheets/rails_admin/themes/rollincode/theming.scss
47
+ - vendor/assets/stylesheets/rails_admin/themes/rollincode/variables.scss
48
+ homepage: https://github.com/rollincode/rails_admin_theme
49
+ licenses:
50
+ - MIT
51
+ metadata: {}
52
+ post_install_message:
53
+ rdoc_options: []
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ requirements: []
67
+ rubyforge_project:
68
+ rubygems_version: 2.6.4
69
+ signing_key:
70
+ specification_version: 4
71
+ summary: Rails_Admin theme
72
+ test_files: []