active_bootstrap_skin 0.1.4 → 0.1.5
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 2b5f21deb9fa09d76f8b21c95c59a552b6fdd8fc460fc8c0514f70d842ff45c9
|
4
|
+
data.tar.gz: 3bd2876f569f0bf270c04618c20438af77135f5ef142a0d3e00aba655e8e221e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30c5eb7fd78b77a6a4ee2b33f3e06067655e195bf511ea08113d9fc8d623454773ae1bee05b5289367d0c724ae4e247583c4b7cd50e377e7b7e6042925d34824
|
7
|
+
data.tar.gz: 940f40d456f18bdaf885a5fa627bcf72e21c6fbda66ad15954e28189627bd63e1ad9cb8fa15849de029811d1ed4b0429b773d0bf694aafe2a86c2d9b70ff0107
|
@@ -22,5 +22,5 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency "bundler", "~> 1.11"
|
23
23
|
spec.add_development_dependency "rake", "~> 10.0"
|
24
24
|
|
25
|
-
spec.add_runtime_dependency "bootstrap-sass", "~> 3.
|
25
|
+
spec.add_runtime_dependency "bootstrap-sass", "~> 3.4.1"
|
26
26
|
end
|
@@ -1,9 +1,87 @@
|
|
1
1
|
@import 'bootstrap';
|
2
2
|
|
3
|
+
/* set horizontal padding on all content containers */
|
4
|
+
#title_bar, .flashes, .logged_out #content_wrapper, #footer {
|
5
|
+
@include container-fixed;
|
6
|
+
}
|
7
|
+
|
3
8
|
#wrapper {
|
4
|
-
@
|
5
|
-
|
6
|
-
|
9
|
+
@include container-fixed(0);
|
10
|
+
}
|
11
|
+
|
12
|
+
// apply bootstrap pagination style to .pagination
|
13
|
+
.pagination {
|
14
|
+
> span {
|
15
|
+
position: relative;
|
16
|
+
float: left;
|
17
|
+
padding: $padding-base-vertical $padding-base-horizontal;
|
18
|
+
line-height: $line-height-base;
|
19
|
+
background-color: $pagination-bg;
|
20
|
+
border: 1px solid $pagination-border;
|
21
|
+
margin-left: -1px;
|
22
|
+
|
23
|
+
&:first-child {
|
24
|
+
@include border-left-radius($border-radius-base);
|
25
|
+
}
|
26
|
+
|
27
|
+
&:last-child {
|
28
|
+
@include border-right-radius($border-radius-base);
|
29
|
+
}
|
30
|
+
|
31
|
+
&:hover, &:focus {
|
32
|
+
z-index: 2;
|
33
|
+
color: $pagination-hover-color;
|
34
|
+
background-color: $pagination-hover-bg;
|
35
|
+
border-color: $pagination-hover-border;
|
36
|
+
}
|
37
|
+
|
38
|
+
&.current {
|
39
|
+
&, &:hover, &:focus {
|
40
|
+
z-index: 3;
|
41
|
+
color: $pagination-active-color;
|
42
|
+
background-color: $pagination-active-bg;
|
43
|
+
border-color: $pagination-active-border;
|
44
|
+
cursor: default;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
&.gap {
|
49
|
+
&, &:hover, &:focus {
|
50
|
+
color: $pagination-disabled-color;
|
51
|
+
background-color: $pagination-disabled-bg;
|
52
|
+
border-color: $pagination-disabled-border;
|
53
|
+
cursor: $cursor-disabled;
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
a {
|
58
|
+
color: $pagination-color;
|
59
|
+
|
60
|
+
&:hover, &:focus {
|
61
|
+
text-decoration: none;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
//apply bootstrap panel style to .panel
|
68
|
+
.panel {
|
69
|
+
@extend .panel-default;
|
70
|
+
|
71
|
+
> h3 {
|
72
|
+
@extend .panel-heading;
|
73
|
+
|
74
|
+
padding-top: 7px;
|
75
|
+
margin: 0;
|
76
|
+
|
77
|
+
a {
|
78
|
+
color: $panel-default-text;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
.panel_contents {
|
84
|
+
@extend .panel-body;
|
7
85
|
}
|
8
86
|
|
9
87
|
.flash {
|
@@ -16,18 +94,18 @@
|
|
16
94
|
}
|
17
95
|
|
18
96
|
.flash_notice {
|
19
|
-
@extend .alert-success
|
97
|
+
@extend .alert-success;
|
20
98
|
}
|
21
99
|
|
22
100
|
#error_explanation {
|
23
|
-
color:
|
101
|
+
color: $state-danger-text;
|
24
102
|
h2 {
|
25
|
-
font-size: 15px
|
103
|
+
font-size: 15px;
|
26
104
|
}
|
27
105
|
}
|
28
106
|
|
29
107
|
.inline-errors {
|
30
|
-
color:
|
108
|
+
color: $state-danger-text;
|
31
109
|
}
|
32
110
|
|
33
111
|
#login {
|
@@ -51,7 +129,7 @@
|
|
51
129
|
#header {
|
52
130
|
@extend .navbar;
|
53
131
|
@extend .navbar-inverse;
|
54
|
-
border-radius:
|
132
|
+
border-radius: 0;
|
55
133
|
|
56
134
|
.mobile {
|
57
135
|
display: none;
|
@@ -93,7 +171,6 @@
|
|
93
171
|
}
|
94
172
|
}
|
95
173
|
|
96
|
-
|
97
174
|
#site_title {
|
98
175
|
@extend .navbar-brand;
|
99
176
|
margin-top: 0;
|
@@ -107,14 +184,14 @@
|
|
107
184
|
li.current { @extend .active; }
|
108
185
|
}
|
109
186
|
|
110
|
-
|
111
187
|
.header-item.tab {
|
112
|
-
@extend .col-sm-3
|
188
|
+
@extend .col-sm-3;
|
113
189
|
}
|
114
190
|
}
|
115
191
|
|
116
192
|
#title_bar {
|
117
193
|
@extend .clearfix;
|
194
|
+
margin-bottom: 10px;
|
118
195
|
|
119
196
|
#titlebar_left {
|
120
197
|
@extend .pull-left;
|
@@ -136,6 +213,10 @@
|
|
136
213
|
@extend .form-group;
|
137
214
|
|
138
215
|
input,select { @extend .form-control; }
|
216
|
+
|
217
|
+
select[multiple] {
|
218
|
+
height: auto;
|
219
|
+
}
|
139
220
|
}
|
140
221
|
|
141
222
|
.buttons {
|
@@ -147,23 +228,32 @@
|
|
147
228
|
/* Main Content */
|
148
229
|
#active_admin_content {
|
149
230
|
@extend .row;
|
231
|
+
margin: 0;
|
232
|
+
padding-bottom: 30px;
|
150
233
|
|
151
234
|
&.without_sidebar {
|
152
|
-
#main_content_wrapper {
|
235
|
+
#main_content_wrapper {
|
236
|
+
@extend .col-md-6;
|
237
|
+
width: auto;
|
238
|
+
min-width: 100%;
|
239
|
+
}
|
153
240
|
}
|
154
241
|
|
155
242
|
&.with_sidebar {
|
156
243
|
#main_content_wrapper { @extend .col-md-9; }
|
157
|
-
#sidebar {
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
}
|
244
|
+
#sidebar { @extend .col-md-3; }
|
245
|
+
}
|
246
|
+
|
247
|
+
table {
|
248
|
+
width: auto;
|
163
249
|
}
|
164
250
|
}
|
165
251
|
|
166
252
|
#main_content_wrapper {
|
253
|
+
padding-bottom: 40px;
|
254
|
+
/* make extra wide content accessible */
|
255
|
+
overflow-x: auto;
|
256
|
+
|
167
257
|
.member_link {
|
168
258
|
margin-right: 10px;
|
169
259
|
}
|
@@ -175,6 +265,10 @@
|
|
175
265
|
}
|
176
266
|
}
|
177
267
|
|
268
|
+
#main_content table {
|
269
|
+
@extend .table;
|
270
|
+
}
|
271
|
+
|
178
272
|
ul.scopes {
|
179
273
|
li.scope {
|
180
274
|
display: inline-block;
|
@@ -185,8 +279,12 @@ ul.scopes {
|
|
185
279
|
li.scope.selected a { @extend .btn-primary; }
|
186
280
|
}
|
187
281
|
|
188
|
-
|
189
|
-
|
282
|
+
/* breadcrumb */
|
283
|
+
.breadcrumb {
|
284
|
+
/* the typical bootstrap look for .breadcrumb does not fit in the active admin layout */
|
285
|
+
padding: 0;
|
286
|
+
border-radius: 0;
|
287
|
+
}
|
190
288
|
|
191
289
|
#ui-datepicker-div {
|
192
290
|
background: white;
|
@@ -228,6 +326,52 @@ ul.scopes {
|
|
228
326
|
.index_table { @extend .table; }
|
229
327
|
.attributes_table table { @extend .table; }
|
230
328
|
|
329
|
+
//turn .table_actions into buttons with icons
|
330
|
+
|
331
|
+
#main_content_wrapper .table_actions {
|
332
|
+
@extend .btn-toolbar;
|
333
|
+
min-width: 117px;
|
334
|
+
|
335
|
+
> .member_link {
|
336
|
+
margin: (-3px) 10px 0 0;
|
337
|
+
|
338
|
+
&:last-child {
|
339
|
+
margin-right: 0;
|
340
|
+
}
|
341
|
+
}
|
342
|
+
}
|
343
|
+
|
344
|
+
.member_link, .ui-sortable-handle {
|
345
|
+
@extend .btn;
|
346
|
+
@extend .btn-default;
|
347
|
+
@extend .glyphicon;
|
348
|
+
font-size: 0;
|
349
|
+
text-align: center;
|
350
|
+
padding: 3px 0;
|
351
|
+
width: 28px;
|
352
|
+
|
353
|
+
&:before {
|
354
|
+
font-size: 14px;
|
355
|
+
}
|
356
|
+
}
|
357
|
+
|
358
|
+
.ui-sortable-handle {
|
359
|
+
@extend .glyphicon-sort;
|
360
|
+
cursor: all-scroll;
|
361
|
+
}
|
362
|
+
|
363
|
+
.view_link {
|
364
|
+
@extend .glyphicon-search;
|
365
|
+
}
|
366
|
+
|
367
|
+
.edit_link {
|
368
|
+
@extend .glyphicon-pencil;
|
369
|
+
}
|
370
|
+
|
371
|
+
.delete_link {
|
372
|
+
@extend .glyphicon-trash;
|
373
|
+
}
|
374
|
+
|
231
375
|
/* Forms */
|
232
376
|
form {
|
233
377
|
//@extend form[role="form"];
|
@@ -244,6 +388,10 @@ form {
|
|
244
388
|
@extend .form-group;
|
245
389
|
|
246
390
|
input,select,textarea { @extend .form-control; }
|
391
|
+
|
392
|
+
select[multiple] {
|
393
|
+
height: auto;
|
394
|
+
}
|
247
395
|
}
|
248
396
|
}
|
249
397
|
|
@@ -274,4 +422,122 @@ form {
|
|
274
422
|
vertical-align: inherit;
|
275
423
|
border-radius: inherit;
|
276
424
|
}
|
425
|
+
|
426
|
+
&.formtastic .errors {
|
427
|
+
color: $state-danger-text;
|
428
|
+
}
|
429
|
+
}
|
430
|
+
|
431
|
+
/* Footer */
|
432
|
+
#footer {
|
433
|
+
padding-top: 30px;
|
434
|
+
padding-bottom: 20px;
|
435
|
+
background-color: #9da5a4;
|
436
|
+
}
|
437
|
+
|
438
|
+
legend.label {
|
439
|
+
@extend legend;
|
440
|
+
text-align: left;
|
441
|
+
border-radius: 0;
|
442
|
+
margin-bottom: 10px;
|
443
|
+
}
|
444
|
+
|
445
|
+
/* Display of checkboxes and radios */
|
446
|
+
|
447
|
+
.check_boxes {
|
448
|
+
@extend .checkbox;
|
449
|
+
}
|
450
|
+
|
451
|
+
.check_boxes, .radio {
|
452
|
+
label {
|
453
|
+
font-weight: normal;
|
454
|
+
}
|
455
|
+
|
456
|
+
legend label {
|
457
|
+
padding: 0;
|
458
|
+
}
|
459
|
+
}
|
460
|
+
|
461
|
+
// style filter form
|
462
|
+
.filter_form {
|
463
|
+
|
464
|
+
input {
|
465
|
+
margin-top: 10px;
|
466
|
+
}
|
467
|
+
|
468
|
+
label input {
|
469
|
+
margin-top: 5px;
|
470
|
+
}
|
471
|
+
|
472
|
+
.buttons {
|
473
|
+
input, a {
|
474
|
+
margin-right: 5px;
|
475
|
+
}
|
476
|
+
|
477
|
+
a {
|
478
|
+
margin-top: 10px;
|
479
|
+
}
|
480
|
+
}
|
481
|
+
|
482
|
+
.filter_form_field, form .inputs li {
|
483
|
+
|
484
|
+
select[multiple] {
|
485
|
+
height: auto;
|
486
|
+
}
|
487
|
+
|
488
|
+
input[type="radio"] {
|
489
|
+
height: auto;
|
490
|
+
width: auto;
|
491
|
+
}
|
492
|
+
}
|
493
|
+
}
|
494
|
+
|
495
|
+
/* table_tools */
|
496
|
+
|
497
|
+
.table_tools {
|
498
|
+
overflow: hidden;
|
499
|
+
margin-bottom: 10px;
|
500
|
+
|
501
|
+
.batch_actions_selector {
|
502
|
+
.dropdown_menu_button {
|
503
|
+
@extend .btn;
|
504
|
+
@extend .btn-default;
|
505
|
+
@extend .dropdown-toggle;
|
506
|
+
&:after {
|
507
|
+
margin-left: 0.4em;
|
508
|
+
content: "";
|
509
|
+
@extend .caret;
|
510
|
+
}
|
511
|
+
}
|
512
|
+
|
513
|
+
.dropdown_menu_list {
|
514
|
+
@extend .dropdown-menu;
|
515
|
+
display: block;
|
516
|
+
top: auto;
|
517
|
+
left: auto;
|
518
|
+
}
|
519
|
+
}
|
520
|
+
|
521
|
+
.table_tools_segmented_control {
|
522
|
+
@extend .btn-group;
|
523
|
+
margin: 0 0 0 1px;
|
524
|
+
}
|
525
|
+
|
526
|
+
.index {
|
527
|
+
@extend .btn;
|
528
|
+
@extend .btn-default;
|
529
|
+
|
530
|
+
a {
|
531
|
+
color: $btn-default-color;
|
532
|
+
|
533
|
+
&:hover, &:focus {
|
534
|
+
text-decoration: none;
|
535
|
+
}
|
536
|
+
}
|
537
|
+
|
538
|
+
&.selected {
|
539
|
+
@extend .btn-default;
|
540
|
+
@extend .active;
|
541
|
+
}
|
542
|
+
}
|
277
543
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_bootstrap_skin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vinh Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 3.
|
47
|
+
version: 3.4.1
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 3.
|
54
|
+
version: 3.4.1
|
55
55
|
description: Bootstrap skin for ActiveAdmin.
|
56
56
|
email:
|
57
57
|
- vinh.nglx@gmail.com
|
@@ -94,8 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
- !ruby/object:Gem::Version
|
95
95
|
version: '0'
|
96
96
|
requirements: []
|
97
|
-
|
98
|
-
rubygems_version: 2.6.2
|
97
|
+
rubygems_version: 3.0.1
|
99
98
|
signing_key:
|
100
99
|
specification_version: 4
|
101
100
|
summary: Bootstrap skin for ActiveAdmin.
|