activeadmin_blaze_theme 0.5.8 → 0.5.9

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: 96e0f4eda4fc536f0fa2c4da717efd6910d8824c
4
- data.tar.gz: ea4ff7374ebd3f2310f3f9c96604c022c0d4ac36
3
+ metadata.gz: 7da7d78e047be729f924cd6f877dc3e8c8ec1385
4
+ data.tar.gz: 7639cccdc4e8f1b06d3769420430a1886dbc2891
5
5
  SHA512:
6
- metadata.gz: cbb314a102e508466b89548d4267cb1f8406dc0712119359e3a14d617fe7696d581765f09d01b5fbceabc12938afcd496d3dcfd07b0721376a84900ccbd9e067
7
- data.tar.gz: 72596e95cefcc389810bfaf32ae03368241bd7779f9149ae04bd92efffbb7cebdfd311122d3d45247c313c50e8fb41ad2057cf8713210c0bf4e7c470556b9215
6
+ metadata.gz: 62296440970fe162bd568870e285af4c9be8d0a1392c5818bb1f0e41a662035dc65014f9a9b79961fba06b183bcfcbf9286caa44773e40d3b1d95bfa9b92e117
7
+ data.tar.gz: 8c77aa6bf6aaa129537bff1e24180321b513b699f7d3b22a32656821187d5aaa52d12af7047d3513abb763bc6207cd29ebf0196021405132ec1d53979f726c5b
data/README.md CHANGED
@@ -6,7 +6,7 @@ Features:
6
6
 
7
7
  - CSS only theme with clean UI
8
8
  - compact nested forms
9
- - [customizable](#customize): colors, sidebar position, scroll on cells
9
+ - [customizable](#customize) options: colors, sidebar position, squared style, scroll on cells
10
10
  - custom controls / components: [toggle](#toggle), [Sidebar menu](#sidebar-menu), [Accordion](#accordion), [Readonly field](#readonly-field)
11
11
  - Blaze CSS [widgets](#blaze-widgets)
12
12
 
@@ -66,6 +66,14 @@ $text-shadow: #000 !default;
66
66
  }
67
67
  ```
68
68
 
69
+ - Squared style (no rounded borders):
70
+
71
+ ```css
72
+ #active_admin_content, .active_admin #title_bar {
73
+ @extend .no_rounded;
74
+ }
75
+ ```
76
+
69
77
  - More options:
70
78
 
71
79
  ```css
@@ -90,10 +90,6 @@ body.active_admin {
90
90
  textarea {
91
91
  padding: 6px;
92
92
  }
93
- .selectize-input {
94
- line-height: $height-inputs;
95
- padding-left: 8px;
96
- }
97
93
  abbr {
98
94
  padding-left: 3px;
99
95
  }
@@ -888,6 +884,24 @@ body.active_admin {
888
884
  margin-bottom: 4px;
889
885
  }
890
886
 
887
+ // special components
888
+ .filter_form .select-one-inputs {
889
+ display: flex;
890
+ >input[type="text"], >select {
891
+ width: 49%;
892
+ }
893
+ >input[type="text"] {
894
+ margin: 0 1% 0 0;
895
+ }
896
+ select {
897
+ margin: 0 0 0 1%;
898
+ }
899
+ }
900
+ .selectize.input > .selectize-control > .selectize-input {
901
+ padding-left: 4px;
902
+ padding-top: 3px;
903
+ }
904
+
891
905
  // optional customizations
892
906
  .compact_titlebar {
893
907
  white-space: initial;
@@ -917,4 +931,12 @@ body.active_admin {
917
931
  width: auto;
918
932
  // width: calc(80% - 22px);
919
933
  }
934
+ .no_rounded {
935
+ * {
936
+ border-radius: 0;
937
+ }
938
+ .action_items span.action_item > a {
939
+ border-radius: 0;
940
+ }
941
+ }
920
942
  }
@@ -1,3 +1,3 @@
1
1
  module ActiveAdminBlazeTheme
2
- VERSION = '0.5.8'
2
+ VERSION = '0.5.9'
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.5.8
4
+ version: 0.5.9
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-09-24 00:00:00.000000000 Z
11
+ date: 2017-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin