activeadmin_blaze_theme 0.4.2 → 0.4.4

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: 4e70d278c51ab097b30f091e9a1fe3e808ddaef2
4
- data.tar.gz: b5f933ceb7bac37d1c9cd3bec610b7bebd10c885
3
+ metadata.gz: 66a742da10c20cda796b5c93f3cfc207fc146a32
4
+ data.tar.gz: 2abd4ec276aad78cd0eea1c2c394f818823e5058
5
5
  SHA512:
6
- metadata.gz: b515660524d732e155f79b9c27599ae116508111c3c5c7d6e1f0571176176fc8d2cfa669b15cb92ad79862a72e188e775b2b0e494af33211ce71a3512784a562
7
- data.tar.gz: 04a959a45af8100b579752e79882c4897ab84c8f2b0b677f64e97843588c3c0c557d496b09f8bc331ada0730c897d9be4404bb7d700ff74cb08144c74704ea80
6
+ metadata.gz: 7c76799bd6ba1a0ca9a023b79b0a73af5a405c0cbe5c147eb057a45d2e1d794561c0a63a4288e008aadf35ff5cf72c50d0760834169c394e94223d67a7ab7e67
7
+ data.tar.gz: f200a500935195f437baeb2fad1d6ad6687f11fbc2a30d9f17778d2eb986930242fe17866dd3b6c96be290f49034a13eedfda5c558d349b7d0a1b050bbb88c69
data/README.md CHANGED
@@ -70,8 +70,15 @@ $text-shadow: #000 !default;
70
70
 
71
71
  ```css
72
72
  // scrollable table cells
73
- .index_content table {
74
- @extend .scoll_cells;
73
+ body.active_admin .index_content table {
74
+ @extend .scrollable_cells;
75
+ }
76
+ ```
77
+
78
+ ```css
79
+ // fix ckeditor width
80
+ body.active_admin .cke {
81
+ @extend .ckeditor_width_fix
75
82
  }
76
83
  ```
77
84
 
@@ -547,41 +547,9 @@ body.active_admin {
547
547
  text-align: center;
548
548
  }
549
549
  }
550
- // .index_table {
551
- // @extend .c-table;
552
- // // @extend .c-table--striped;
553
- // // @extend .c-table--condensed;
554
- // > thead {
555
- // @extend .c-table__head;
556
- // > tr {
557
- // @extend .c-table__row;
558
- // @extend .c-table__row--heading;
559
- // > th {
560
- // @extend .c-table__cell;
561
- // margin-bottom: 0;
562
- // &.col-selectable > div {
563
- // margin-left: auto;
564
- // margin-right: auto;
565
- // }
566
- // }
567
- // }
568
- // }
569
- // > tbody {
570
- // @extend .c-table__body;
571
- // border-left: 1px solid $fg-table-borders;
572
- // border-right: 1px solid $fg-table-borders;
573
- // > tr {
574
- // @extend .c-table__row;
575
- // > td {
576
- // @extend .c-table__cell;
577
- // &.col-selectable > div {
578
- // margin-left: auto;
579
- // margin-right: auto;
580
- // }
581
- // }
582
- // }
583
- // }
584
- // }
550
+ .index_as_table {
551
+ overflow-x: scroll;
552
+ }
585
553
  .panel_contents table tr:last-child {
586
554
  > td, > th {
587
555
  border-bottom: 0 none;
@@ -721,6 +689,30 @@ body.active_admin {
721
689
  width: 100%;
722
690
  }
723
691
 
692
+ // boolean values
693
+ .status_tag {
694
+ min-width: 30px;
695
+ display: inline-block;
696
+ text-align: center;
697
+ &.no {
698
+ background-color: $color-error;
699
+ }
700
+ &.yes {
701
+ background-color: $color-success;
702
+ }
703
+ }
704
+
705
+ // misc
706
+ #active_admin_content.without_sidebar #main_content_wrapper #main_content {
707
+ width: 100%;
708
+ }
709
+ #wrapper {
710
+ display: block;
711
+ min-height: 100vh;
712
+ padding-bottom: 40px; // footer height
713
+ position: relative;
714
+ }
715
+
724
716
  // optional customizations
725
717
  .compact_titlebar {
726
718
  white-space: initial;
@@ -738,19 +730,14 @@ body.active_admin {
738
730
  margin-left: 0;
739
731
  }
740
732
  }
741
- table.scoll_cells {
733
+ table.scrollable_cells {
742
734
  th, td {
743
735
  max-width: 200px;
744
736
  overflow: scroll;
745
737
  }
746
738
  }
747
-
748
- #active_admin_content.without_sidebar #main_content_wrapper #main_content {
749
- width: 100%;
750
- }
751
- #wrapper {
752
- min-height: 100vh;
753
- padding-bottom: 40px; // footer height
754
- position: relative;
739
+ .ckeditor_width_fix {
740
+ display: inline-block;
741
+ width: calc(80% - 22px);
755
742
  }
756
743
  }
@@ -1,3 +1,3 @@
1
1
  module ActiveAdminBlazeTheme
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.4'
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.2
4
+ version: 0.4.4
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-06-05 00:00:00.000000000 Z
11
+ date: 2017-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin