activeadmin_blaze_theme 0.4.7 → 0.4.8

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
2
  SHA1:
3
- metadata.gz: a486914aebe433502fb4a426941956cd13650b56
4
- data.tar.gz: 33ccd78541cd4480e61b0e4f2fbd6dfd749cbedc
3
+ metadata.gz: 588cf6e0f16f2711032a031e7f5f560de3a51587
4
+ data.tar.gz: f9a06e5703b389427d7b7f8e7c2aa4bc13575935
5
5
  SHA512:
6
- metadata.gz: cf61992958c0568ede258452dc2db5669a837ce14c69775fb3ba28638dc4dabe12216f4578fab747b0c60af830bf20bfd55278ba91cc9b86369ff50704c0fe46
7
- data.tar.gz: d5e814c26743c52d2bd4b8fed881ea8b699300f8ff336fb5d8359220b9c67a72263d50d01f2f103930a008dfb046a1ebf35a235a7ba659672eb31866560575da
6
+ metadata.gz: cd9750659109d28003d3f5186895b5fae934e9ab99b6588f04099eb57d57b0ff044e2a14354aa2ae4e4b46b02729bacc5a2b7e2c8b5600b73fd32c6d2b50ecc0
7
+ data.tar.gz: d1d85f5af657b0cba4ea6a974949239ec7cb071073cc7fe36356ef2d5ac27854e4a788cb1065e1977441be51ac92c1370893e167d23af055d5b62a5b2ddcd1dd
@@ -40,6 +40,9 @@ body.active_admin {
40
40
  box-shadow: initial;
41
41
  text-shadow: $text-shadow 0 1px 0;
42
42
  }
43
+ .c-input-group .c-button:not(:first-child) {
44
+ border-left: 1px solid #ddd;
45
+ }
43
46
 
44
47
  // forms
45
48
  form {
@@ -77,6 +80,10 @@ body.active_admin {
77
80
  select[multiple], textarea {
78
81
  height: auto;
79
82
  }
83
+ select.c-field:not([multiple]), select:not([multiple]) {
84
+ background: transparent;
85
+ -webkit-appearance: menulist;
86
+ }
80
87
  textarea {
81
88
  padding: 6px;
82
89
  }
@@ -184,7 +191,7 @@ body.active_admin {
184
191
  select,
185
192
  textarea {
186
193
  background-color: $bg-inputs;
187
- min-width: 240px;
194
+ min-width: 450px;
188
195
  width: auto;
189
196
  // width: calc(80% - 22px);
190
197
  }
@@ -194,27 +201,31 @@ body.active_admin {
194
201
  label {
195
202
  line-height: $height-inputs;
196
203
  }
204
+ li.input.hidden {
205
+ padding: 0;
206
+ }
197
207
  // .boolean > label { // not working
198
208
  // @extend .c-field;
199
209
  // @extend .c-field--choice;
200
210
  // }
201
211
  .button {
202
212
  @extend .button-base;
213
+ display: inline-block;
214
+ margin-left: 10px;
215
+ margin-top: 10px;
216
+ &:hover {
217
+ background-image: none;
218
+ }
203
219
  &.has_many_add {
204
220
  @extend .c-button--info;
205
- display: inline-block;
206
- &:hover {
207
- background-image: none;
208
- }
209
221
  }
210
222
  &.has_many_remove {
211
223
  @extend .c-button--error;
212
- display: inline-block;
213
- &:hover {
214
- background-image: none;
215
- }
216
224
  }
217
225
  }
226
+ // .datepicker > input {
227
+ // -webkit-appearance: menulist;
228
+ // }
218
229
  .fragment {
219
230
  input[type='datetime-local'],
220
231
  input[type='email'],
@@ -225,6 +236,7 @@ body.active_admin {
225
236
  input[type='text'],
226
237
  input[type='url'],
227
238
  select {
239
+ min-width: auto;
228
240
  width: auto;
229
241
  }
230
242
  }
@@ -501,6 +513,10 @@ body.active_admin {
501
513
  #active_admin_content > #sidebar, #active_admin_content > #main_content_wrapper {
502
514
  float: none;
503
515
  }
516
+ .panel_contents {
517
+ @extend .c-card__item;
518
+ padding: 8px 10px 10px 10px;
519
+ }
504
520
  .sidebar_section {
505
521
  @extend .c-card;
506
522
  @extend .u-high;
@@ -521,10 +537,6 @@ body.active_admin {
521
537
  background-color: $bg-inputs;
522
538
  }
523
539
  }
524
- .panel_contents {
525
- @extend .c-card__item;
526
- padding: 5px 10px 10px 10px;
527
- }
528
540
  > h3 {
529
541
  @extend .c-card__item;
530
542
  @extend .c-card__item--brand;
@@ -536,9 +548,15 @@ body.active_admin {
536
548
  padding: 8px 11px;
537
549
  text-shadow: $text-shadow 0 1px 0;
538
550
  }
551
+ h4 {
552
+ margin: 0;
553
+ }
539
554
  input[type='submit'] {
540
555
  @extend .c-button--info;
541
556
  }
557
+ ul {
558
+ margin: 0 0 8px 0;
559
+ }
542
560
  }
543
561
 
544
562
  // tables
@@ -633,7 +651,7 @@ body.active_admin {
633
651
  margin: 0;
634
652
  padding: 25px 20px;
635
653
  width: calc(100% - 270px);
636
- > .panel {
654
+ .panel {
637
655
  @extend .c-card;
638
656
  @extend .u-high;
639
657
  > h3 {
@@ -768,7 +786,7 @@ body.active_admin {
768
786
  }
769
787
  .ckeditor_width_fix {
770
788
  display: inline-block;
771
- min-width: 240px;
789
+ min-width: 450px;
772
790
  width: auto;
773
791
  // width: calc(80% - 22px);
774
792
  }
@@ -1,3 +1,3 @@
1
1
  module ActiveAdminBlazeTheme
2
- VERSION = '0.4.7'
2
+ VERSION = '0.4.8'
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.4.7
4
+ version: 0.4.8
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-08-08 00:00:00.000000000 Z
11
+ date: 2017-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin