activeadmin_blaze_theme 0.2.4 → 0.2.6

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
2
  SHA1:
3
- metadata.gz: b62a6f9a1f7bb1f14aecb9ff45c89b024f9ee90c
4
- data.tar.gz: 7d65828b99ae146d8dd966caec162eb6477c88be
3
+ metadata.gz: ca79afa98ee60f65d295f0332fe37fa2010d239a
4
+ data.tar.gz: 0e2430e58ccad963ab4025f84dfd890ff8742683
5
5
  SHA512:
6
- metadata.gz: 2ded722c1bcd17b961da7513562d2dee5257a25422ea6dc5cef43625bf5416a4d1978202acb665e5a239d86e2e90a32c693e0ddeea38f3c041d2ee94c6d060c2
7
- data.tar.gz: 9817a79f09ee13260fd3d1800f4195a7f97f49213cf1f0f3df35bad041b6f5b24b4a00d1bf0a661fb1d9f6ac17666b508750c4b1b059007bd50c2d8b496e4c7b
6
+ metadata.gz: 8f56fb3e886f08a92bd666c7927671ee6c7abd3db100c98bc873ddaf98565f35d030648491e43b736cad3ea2fccecabd4b86746f9c4b0d903bd7228220fca1bd
7
+ data.tar.gz: 35e5b46915bd816bc84ed5b67067225345af103bded2a11b0c78313976e9efedddd237dc595a7e7089688e54051cc8abc6dc56b18c112c0e5a0643af198df67d
@@ -19,7 +19,7 @@ $fg-table-link: #eee !default;
19
19
  // other variables
20
20
  $form-padding: 10px !default;
21
21
  $inputs-spacing: 10px !default;
22
- $height-inputs: 28px !default;
22
+ $height-inputs: 26px !default;
23
23
  $text-shadow: #000 !default;
24
24
 
25
25
  // active_admin theme styles
@@ -34,41 +34,6 @@ body.active_admin {
34
34
  box-shadow: initial;
35
35
  text-shadow: $text-shadow 0 1px 0;
36
36
  }
37
- .compact_titlebar {
38
- padding-top: 0;
39
- padding-bottom: 0;
40
- .breadcrumb {
41
- float: left;
42
- font-size: 1em;
43
- line-height: initial;
44
- margin: 0;
45
- padding: 0;
46
- }
47
- #page_title {
48
- font-size: 2em;
49
- }
50
- #titlebar_left, #titlebar_right {
51
- height: 36px;
52
- }
53
- }
54
- .sidebar_left {
55
- #main_content_wrapper {
56
- float: right;
57
- width: calc( 100% - 300px );
58
- #main_content {
59
- margin-right: 0;
60
- }
61
- }
62
- #sidebar {
63
- margin-left: 0;
64
- }
65
- }
66
- table.scoll_cells {
67
- th, td {
68
- max-width: 200px;
69
- overflow: scroll;
70
- }
71
- }
72
37
 
73
38
  // forms
74
39
  form {
@@ -87,6 +52,7 @@ body.active_admin {
87
52
  background-color: $bg-inputs;
88
53
  display: inline-block;
89
54
  height: $height-inputs;
55
+ padding: 1px 6px;
90
56
  }
91
57
  input[type='radio'] {
92
58
  margin-right: 0.4em;
@@ -99,9 +65,15 @@ body.active_admin {
99
65
  min-width: 200px;
100
66
  width: 30%;
101
67
  }
68
+ select {
69
+ padding: 1px 2px;
70
+ }
102
71
  select[multiple], textarea {
103
72
  height: auto;
104
73
  }
74
+ textarea {
75
+ padding: 6px;
76
+ }
105
77
  .selectize-input {
106
78
  line-height: $height-inputs;
107
79
  padding-left: 8px;
@@ -149,6 +121,17 @@ body.active_admin {
149
121
 
150
122
  // filter forms
151
123
  &.filter_form {
124
+ .filter_form_field {
125
+ > input, > select, .separator, .seperator {
126
+ float: left;
127
+ }
128
+ > label {
129
+ padding-top: 8px;
130
+ }
131
+ .separator, .seperator {
132
+ line-height: $height-inputs;
133
+ }
134
+ }
152
135
  .filter_form_field.filter_date_range {
153
136
  input[type='datetime-local'],
154
137
  input[type='email'],
@@ -165,6 +148,10 @@ body.active_admin {
165
148
  .filter_form_field.select_and_search select {
166
149
  background-color: $bg-inputs;
167
150
  }
151
+ .buttons {
152
+ clear: both;
153
+ padding-top: 14px;
154
+ }
168
155
  }
169
156
 
170
157
  // fieldsets
@@ -449,6 +436,13 @@ body.active_admin {
449
436
  }
450
437
 
451
438
  // sidebars
439
+ #sidebar {
440
+ background: #efefef;
441
+ padding: 0 15px;
442
+ .sidebar_section {
443
+ margin-bottom: 20px;
444
+ }
445
+ }
452
446
  .sidebar_section {
453
447
  @extend .c-card;
454
448
  @extend .u-high;
@@ -477,6 +471,7 @@ body.active_admin {
477
471
  background-image: none;
478
472
  border: 0 none !important;
479
473
  color: $fg-box-title;
474
+ margin-bottom: 0;
480
475
  padding: 8px 11px;
481
476
  text-shadow: $text-shadow 0 1px 0;
482
477
  }
@@ -564,6 +559,7 @@ body.active_admin {
564
559
  // title bar
565
560
  #title_bar {
566
561
  background-image: none;
562
+ box-shadow: none;
567
563
  .action_items span.action_item {
568
564
  > a,
569
565
  > .dropdown_menu > a {
@@ -582,6 +578,7 @@ body.active_admin {
582
578
 
583
579
  // main content
584
580
  #main_content {
581
+ padding: 30px 0 15px 20px;
585
582
  > .panel {
586
583
  @extend .c-card;
587
584
  @extend .u-high;
@@ -603,6 +600,11 @@ body.active_admin {
603
600
  }
604
601
  }
605
602
 
603
+ // admin content
604
+ #active_admin_content {
605
+ padding: 0;
606
+ }
607
+
606
608
  // dialogs
607
609
  .ui-dialog > .ui-dialog-buttonpane button.ui-button {
608
610
  @extend .button-base;
@@ -614,8 +616,13 @@ body.active_admin {
614
616
 
615
617
  // footer
616
618
  #footer {
617
- padding: 10px 0 0 0;
619
+ bottom: 0;
620
+ position: absolute;
618
621
  text-align: center;
622
+ width: 100%;
623
+ > p {
624
+ padding: 0;
625
+ }
619
626
  }
620
627
 
621
628
  // misc
@@ -643,4 +650,50 @@ body.active_admin {
643
650
  #active_admin_comment_body {
644
651
  width: 100%;
645
652
  }
653
+
654
+ // optional customizations
655
+ .compact_titlebar {
656
+ padding-top: 0;
657
+ padding-bottom: 0;
658
+ .breadcrumb {
659
+ float: left;
660
+ font-size: 1em;
661
+ line-height: initial;
662
+ margin: 0;
663
+ padding: 0;
664
+ > a, > a:link, > a:visited, > a:active {
665
+ opacity: 0.5;
666
+ }
667
+ }
668
+ #page_title {
669
+ display: inline-block;
670
+ float: left;
671
+ font-size: 1em;
672
+ // font-size: 2em;
673
+ line-height: initial;
674
+ margin-left: 5px;
675
+ }
676
+ #titlebar_left, #titlebar_right {
677
+ height: 36px;
678
+ }
679
+ }
680
+ .sidebar_left {
681
+ #main_content_wrapper {
682
+ float: right;
683
+ width: calc( 100% - 300px );
684
+ #main_content {
685
+ margin-right: 0;
686
+ padding: 35px 30px 35px 0;
687
+ }
688
+ }
689
+ #sidebar {
690
+ margin-left: 0;
691
+ }
692
+ }
693
+ table.scoll_cells {
694
+ th, td {
695
+ max-width: 200px;
696
+ overflow: scroll;
697
+ }
698
+ }
646
699
  }
@@ -1,3 +1,3 @@
1
1
  module ActiveAdminBlazeTheme
2
- VERSION = '0.2.4'
2
+ VERSION = '0.2.6'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_blaze_theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattia Roccoberton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-28 00:00:00.000000000 Z
11
+ date: 2017-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin