arctic_admin 1.4.1 → 1.4.2

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: cc0ade458ebc198960e35b07ef03e0704ac1e16d
4
- data.tar.gz: '090b8aa98a689b80c130088f72381487d6532d6f'
3
+ metadata.gz: 29182a814d62503572f87ae3d331c111f0264507
4
+ data.tar.gz: 2e37aa5e4e6bd664af8bf24ad116b7136811fb1d
5
5
  SHA512:
6
- metadata.gz: 1ad5d50c0445de83879c9efb6478995ff7b1340e9638debc419a44c2d116fc2885a2967d7bd5482cb03ae5f89b65f2ca2bb1f9c578f3a27e4f642df503283131
7
- data.tar.gz: c1ac362ecaacc56311506a4e59acfbe3dba5509ae78b1ca5704c27c4e16fc872d3889c17aca2247622b16eb7e06be14e95a8a6a5527f9372c53caf50065ad389
6
+ metadata.gz: 303270a4f1834897504d7013da8bfef5e7455f851577889d1d05cb41244b2d65f9d57aabea0610cc6b322983560fa043e22e5e100e754dbbb81a9a721e983d94
7
+ data.tar.gz: 64ce36a1a8da9ddd0f42f2312d88df647767beb963059b469a7caed3495e65e02b43345d5108abaf554e2e3bde463c6b2613d8fffda647fc933209b1a41c8bc9
@@ -1,4 +1,4 @@
1
- @import "font-awesome.css";
1
+ @import "font-awesome";
2
2
 
3
3
  @import "reset";
4
4
  @import "fonts";
@@ -1,6 +1,6 @@
1
1
  .ui-dialog {
2
2
  background-color: #fff;
3
- @include box-shadow(0 0 4px 0 rgba(0,0,0,0.1));
3
+ @include box-shadow($box-shadow);
4
4
  border-radius: $border-radius;
5
5
  padding: 15px 10px;
6
6
  z-index: 1;
@@ -2,7 +2,7 @@
2
2
  width: 100%;
3
3
  padding: 10px;
4
4
  text-align: center;
5
- background-color: #76838f;
5
+ background-color: $flash-background-color;
6
6
  color: $flash-text-color;
7
7
  }
8
8
 
@@ -198,7 +198,7 @@ body.active_admin.logged_in {
198
198
 
199
199
  #title_bar {
200
200
  background-color: #fff;
201
- @include box-shadow(0 0 4px 0 rgba(0, 0, 0, 0.1));
201
+ @include box-shadow($box-shadow);
202
202
  margin: 15px 0 0 0;
203
203
  padding: 8px 10px;
204
204
  @include clear-fix();
@@ -67,7 +67,7 @@
67
67
  }
68
68
 
69
69
  &.disabled, &:disabled {
70
- color: #76838f;
70
+ color: $grey;
71
71
  background-color: #f3f7f9;
72
72
  border-color: #f3f7f9;
73
73
  @include box-shadow(none);
@@ -34,7 +34,7 @@ body.index {
34
34
  background-color: #fff;
35
35
  padding: 10px 15px;
36
36
  border-radius: $border-radius;
37
- @include box-shadow(0 0 4px 0 rgba(0, 0, 0, 0.1));
37
+ @include box-shadow($box-shadow);
38
38
  display: inline-block;
39
39
  position: absolute;
40
40
  z-index: 1;
@@ -16,7 +16,7 @@ body.logged_out {
16
16
  margin: auto;
17
17
  background-color: white;
18
18
  border-top: $border-radius solid $primary-color;
19
- box-shadow: 0 0 4px 0 rgba(0,0,0,.04);
19
+ @include box-shadow($box-shadow);
20
20
  color: $text-color;
21
21
  padding: 20px;
22
22
 
@@ -3,6 +3,7 @@ $red: #B02B2C;
3
3
  $green: #00897B;
4
4
  $blue: #4bacfe;
5
5
  $black: #36393D;
6
+ $grey: #76838f;
6
7
 
7
8
  // flash
8
9
  $error: #dc4747 !default;
@@ -10,6 +11,7 @@ $warning: #f2a654 !default;
10
11
  $success: #46be8a !default;
11
12
  $info: #57c7d4 !default;
12
13
  $flash-text-color: #fff !default;
14
+ $flash-background-color: $grey !default;
13
15
 
14
16
  // status_tag
15
17
  $status-tag-text-color: #fff !default;
@@ -42,4 +44,6 @@ $sidebar-nested-item-hover-background: #e7e7e7 !default;
42
44
  $text-color: #5a5a5a !default;
43
45
  $text-color-important: #526069 !default;
44
46
 
47
+ $box-shadow: 0 0 4px 0 rgba(0,0,0,0.1) !default;
48
+
45
49
  $primary-color: $blue !default;
@@ -1,3 +1,3 @@
1
1
  module ArcticAdmin
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arctic_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clément Prod'homme
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-19 00:00:00.000000000 Z
11
+ date: 2018-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -139,7 +139,6 @@ files:
139
139
  - app/assets/stylesheets/arctic_admin/variables/_media_queries.scss
140
140
  - app/assets/stylesheets/arctic_admin/variables/_size.scss
141
141
  - app/assets/stylesheets/arctic_admin/variables/_variables.scss
142
- - app/views/layouts/active_admin_logged_out.html.erb
143
142
  - lib/arctic_admin.rb
144
143
  - lib/arctic_admin/version.rb
145
144
  homepage: https://github.com/cle61/arctic_admin
@@ -1,40 +0,0 @@
1
- <%# NB: This is a copy of ActiveAdmin's layout, but with the meta viewport tag included %>
2
- <!DOCTYPE html>
3
- <html>
4
- <head>
5
- <meta http-equiv="Content-type" content="text/html; charset=utf-8">
6
-
7
- <title><%= [@page_title, render_or_call_method_or_proc_on(self, ActiveAdmin.application.site_title)].compact.join(" | ") %></title>
8
-
9
- <% ActiveAdmin.application.stylesheets.each do |style, options| %>
10
- <%= stylesheet_link_tag style, options %>
11
- <% end %>
12
- <% ActiveAdmin.application.javascripts.each do |path| %>
13
- <%= javascript_include_tag path %>
14
- <% end %>
15
-
16
- <%= favicon_link_tag ActiveAdmin.application.favicon if ActiveAdmin.application.favicon %>
17
-
18
- <% ActiveAdmin.application.meta_tags_for_logged_out_pages.each do |name, content| %>
19
- <%= tag(:meta, name: name, content: content) %>
20
- <% end %>
21
-
22
- <%= csrf_meta_tag %>
23
- </head>
24
- <body class="active_admin logged_out <%= controller.action_name %>">
25
- <div id="wrapper">
26
-
27
- <div id="content_wrapper">
28
- <% flash_messages.each do |type, message| %>
29
- <%= content_tag :div, message, class: "flash flash_#{type}" %>
30
- <% end %>
31
- <div id="active_admin_content">
32
- <%= yield %>
33
- </div>
34
- </div>
35
- <div id="footer">
36
- <%= yield :footer %>
37
- </div>
38
- </div>
39
- </body>
40
- </html>