activeadmin_blaze_theme 0.1.4 → 0.1.6

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: 810bd65be21fbd004ce9cc6b65eb4a25572cc597
4
- data.tar.gz: efb109fdd458416013802f8d5ffb70fd3df36f8d
3
+ metadata.gz: fa56215f4edbaa4ee8628bfdbd9f34676bd29241
4
+ data.tar.gz: d9a2005e6ae70f401128a226a92efe10cbc4936a
5
5
  SHA512:
6
- metadata.gz: f18f1c6d081b84bff0ea9dcff830376e2d83917574e2a14a7d9bce3fa74599864ccd4b167b30c4b00ef5bb34f0b65808feea51a691884cfadf59b537a953159b
7
- data.tar.gz: 9e728be28e09cff5dbe1e1523a6e2a552c29af06b5ffd28ca6cf33da53f0ac3cfbdba52abebaddcdd43201c8d2f9f6dfa5abba5d56e27e022eda93c8d2ec8d6e
6
+ metadata.gz: cb7fe4496339b8d5e72c4d7f445bbbbff68185b32193acdce613c4fbf28fa96c6031fdded78e93ca9bf6b4efc79f09831b71d9ce3e3c3b25371d28dfeec163bd
7
+ data.tar.gz: c7ce4c9408b631e205f604136790ba058128b8b116f20556f464e31367c012e00f1c69ddf059b2a0b460792288fc20d38a9bc08eacf680b658c8d751f2a72e5e
data/README.md CHANGED
@@ -32,13 +32,14 @@ $color-warning: #ff9800;
32
32
  $color-success: #4caf50;
33
33
  $color-error: #f44336;
34
34
  /* main variables */
35
- $bg-form1: #f4f4f4;
36
- $bg-form2: darken($bg-form1, 3%);
37
- $bg-form3: darken($bg-form1, 6%);
38
- $bg-form4: darken($bg-form1, 9%);
39
- $bg-form-sub-headings: #d4d4d4;
40
- $bg-header: $color-brand;
41
- $bg-inputs: #fff;
35
+ $bg-form1: #f4f4f4; // bg 1st level forms
36
+ $bg-form2: darken($bg-form1, 3%); // bg 2nd level forms (nested)
37
+ $bg-form3: darken($bg-form1, 6%); // bg 3rd level forms (nested)
38
+ $bg-form4: darken($bg-form1, 9%); // bg 4th level forms (nested)
39
+ $bg-form-sub-headings: #d4d4d4; // bg nested forms title
40
+ $bg-header: $color-brand; // bg header bar
41
+ $bg-inputs: #fff; // bg forms inputs
42
+ $bg-menu-active: #7b929e; // bg menu item current / hover
42
43
  $fg-box-title: #fff;
43
44
  $fg-link2: #eee;
44
45
  $fg-table-borders: #e4e4e4;
@@ -2,13 +2,14 @@
2
2
  @import url('https://fonts.googleapis.com/css?family=Roboto');
3
3
 
4
4
  // main variables
5
- $bg-form1: #f4f4f4 !default;
6
- $bg-form2: darken($bg-form1, 3%) !default;
7
- $bg-form3: darken($bg-form1, 6%) !default;
8
- $bg-form4: darken($bg-form1, 9%) !default;
9
- $bg-form-sub-headings: #d4d4d4 !default;
10
- $bg-header: $color-brand !default;
11
- $bg-inputs: #fff !default;
5
+ $bg-form1: #f4f4f4 !default; // bg 1st level forms
6
+ $bg-form2: darken($bg-form1, 3%) !default; // bg 2nd level forms (nested)
7
+ $bg-form3: darken($bg-form1, 6%) !default; // bg 3rd level forms (nested)
8
+ $bg-form4: darken($bg-form1, 9%) !default; // bg 4th level forms (nested)
9
+ $bg-form-sub-headings: #d4d4d4 !default; // bg nested forms title
10
+ $bg-header: $color-brand !default; // bg header bar
11
+ $bg-inputs: #fff !default; // bg forms inputs
12
+ $bg-menu-active: #7b929e !default; // bg menu item current / hover
12
13
  $fg-box-title: #fff !default;
13
14
  $fg-link2: #eee !default;
14
15
  $fg-table-borders: #e4e4e4 !default;
@@ -210,6 +211,10 @@ body.active_admin {
210
211
  margin-bottom: $form-padding;
211
212
  }
212
213
  }
214
+ .choices-group li.choice {
215
+ display: inline-block;
216
+ margin-right: 10px;
217
+ }
213
218
  }
214
219
  }
215
220
 
@@ -223,6 +228,27 @@ body.active_admin {
223
228
  .header-item {
224
229
  top: 0;
225
230
  }
231
+ ul.tabs {
232
+ li:hover, li.current {
233
+ background: $bg-menu-active;
234
+ }
235
+ > li.has_nested {
236
+ > a {
237
+ background-color: transparent;
238
+ border-bottom: 0;
239
+ }
240
+ > ul {
241
+ background: lighten( $bg-header, 5% );
242
+ margin: 0;
243
+ a {
244
+ line-height: 2em;
245
+ }
246
+ li:hover {
247
+ background: $bg-menu-active;
248
+ }
249
+ }
250
+ }
251
+ }
226
252
  }
227
253
 
228
254
  // navbar / menu
@@ -1,3 +1,3 @@
1
1
  module ActiveAdminBlazeTheme
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.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.1.4
4
+ version: 0.1.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-17 00:00:00.000000000 Z
11
+ date: 2017-05-19 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: An ActiveAdmin theme which use Blaze CSS toolkit
14
14
  email: