arctic_admin 1.2.6 → 1.2.7

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: 3d21e67cc443c7b310d3d6f4b5bc88810c4c4b1e
4
- data.tar.gz: 02a66959cbde507488b4c72eb2defefe6510a7ff
3
+ metadata.gz: b57ee8ef7f2c02ed36c8892765e8f56aecf8851c
4
+ data.tar.gz: e5a6098e9b6ef9c9ae7fd693efa8a90e2f99ad88
5
5
  SHA512:
6
- metadata.gz: 3bff1575e662d565c7afe3cc4f242a1b592eaa18e58cb23dfdb5d1744f77a5d5ccb41814cb6a520d62f6637f70d75996f224e369491429a3e4be2cfff6c93617
7
- data.tar.gz: '09a339177ba82c1d124656ac4048f92049c53d724d44dc6519679eeef4a0b24cc64ad072d68fea76a5674c28d16d467255ff05dabb06635e4d7a05e08f4b31c5'
6
+ metadata.gz: 1d5946c37419d4a0281078473c919b76996643648c68d16130727d6ed2faaa323667e5ff8cba8c0cb6c0de4389a0ff262769c832ffd47ceccbec30f733c2952d
7
+ data.tar.gz: 10e0f9e047e062dcd5329fac592ec4bab4fcab6c2380362047caf4cd2d9f020a5c8c721ffaa7ebc889cd719591b4fa21ddaab6444c8841f71b5dea7d5cb9e7c3
@@ -20,6 +20,10 @@ fieldset {
20
20
  padding: 0;
21
21
  }
22
22
 
23
+ legend {
24
+ padding: 0;
25
+ }
26
+
23
27
  ol, ul {
24
28
  margin: 0;
25
29
  padding: 0;
@@ -3,6 +3,7 @@
3
3
  box-shadow: 0 0 4px 0 rgba(0,0,0,0.1);
4
4
  border-radius: 3px;
5
5
  padding: 15px 10px;
6
+ z-index: 1;
6
7
 
7
8
  &:focus, &:active {
8
9
  -webkit-tap-highlight-color: rgba(0,0,0,0);
@@ -14,8 +14,12 @@
14
14
  }
15
15
 
16
16
  legend {
17
- margin-bottom: 20px;
18
- font-weight: bold;
17
+ margin-bottom: 28px;
18
+ font-size: 18px;
19
+ display: block;
20
+ width: 100%;
21
+ padding-bottom: 12px;
22
+ border-bottom: 1px solid $body-background;
19
23
  }
20
24
 
21
25
  .field_with_errors {
@@ -1,47 +1,40 @@
1
1
  input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="tel"], textarea {
2
2
  -webkit-appearance: none;
3
+ -moz-appearance: none;
3
4
  -webkit-box-shadow: none;
4
5
  box-shadow: none;
5
6
  -webkit-transition: -webkit-box-shadow .25s linear,border .25s linear,color .25s linear,background-color .25s linear;
6
7
  -o-transition: box-shadow .25s linear,border .25s linear,color .25s linear,background-color .25s linear;
7
8
  transition: box-shadow .25s linear,border .25s linear,color .25s linear,background-color .25s linear;
8
- -moz-appearance: none;
9
9
 
10
10
  display: block;
11
11
  width: 100%;
12
12
  height: 36px;
13
- padding: 6px 15px;
13
+ padding: 6px 12px;
14
14
  font-size: 14px;
15
15
  line-height: 1.57142857;
16
- color: #76838f;
16
+ color: $text-color;
17
17
  background-color: #fff;
18
18
  background-image: none;
19
19
  border: 1px solid #e4eaec;
20
+ outline: 0;
20
21
  border-radius: 3px;
21
- -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
22
- box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
23
- -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
24
- -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
25
- transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
22
+ -webkit-transition: border-color ease-in-out .15s;
23
+ -o-transition: border-color ease-in-out .15s;
24
+ transition: border-color ease-in-out .15s;
26
25
 
27
26
  &:focus {
28
- border-color: #62a8ea;
29
- -webkit-box-shadow: none;
30
- box-shadow: none;
31
- outline: 0;
32
-
27
+ border-color: $primary-color;
33
28
  -webkit-appearance: none;
34
- -webkit-box-shadow: none;
35
- box-shadow: none;
36
- -webkit-transition: -webkit-box-shadow .25s linear,border .25s linear,color .25s linear,background-color .25s linear;
37
- -o-transition: box-shadow .25s linear,border .25s linear,color .25s linear,background-color .25s linear;
38
- transition: box-shadow .25s linear,border .25s linear,color .25s linear,background-color .25s linear;
39
29
  -moz-appearance: none;
30
+ -webkit-transition: border .25s linear,color .25s linear,background-color .25s linear;
31
+ -o-transition: border .25s linear,color .25s linear,background-color .25s linear;
32
+ transition: border .25s linear,color .25s linear,background-color .25s linear;
40
33
  }
41
34
 
42
35
  &:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus {
43
36
  -webkit-box-shadow: 0 0 0px 1000px white inset;
44
- -webkit-text-fill-color: #76838f;
37
+ -webkit-text-fill-color: $text-color;
45
38
  }
46
39
  }
47
40
 
@@ -67,6 +60,7 @@ input[type="checkbox"] {
67
60
  box-sizing: border-box;
68
61
  @include outline();
69
62
  @include transition-button();
63
+ cursor: pointer;
70
64
 
71
65
  &:checked {
72
66
  border-color: $primary-color;
@@ -78,23 +72,19 @@ select {
78
72
  background-color: #fff;
79
73
  background-image: none;
80
74
  border: 1px solid #e4eaec;
75
+ outline: 0;
81
76
  border-radius: 3px;
82
- -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
83
- box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
84
- -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
85
- -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
86
- transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
77
+ -webkit-transition: border-color ease-in-out .15s;
78
+ -o-transition: border-color ease-in-out .15s;
79
+ transition: border-color ease-in-out .15s;
87
80
 
88
81
  &:focus {
89
- border-color: #62a8ea;
90
- -webkit-box-shadow: none;
91
- box-shadow: none;
92
- outline: 0;
82
+ border-color: $primary-color;
93
83
  -webkit-box-shadow: none;
94
84
  box-shadow: none;
95
- -webkit-transition: -webkit-box-shadow .25s linear,border .25s linear,color .25s linear,background-color .25s linear;
96
- -o-transition: box-shadow .25s linear,border .25s linear,color .25s linear,background-color .25s linear;
97
- transition: box-shadow .25s linear,border .25s linear,color .25s linear,background-color .25s linear;
85
+ -webkit-transition: border .25s linear,color .25s linear,background-color .25s linear;
86
+ -o-transition: border .25s linear,color .25s linear,background-color .25s linear;
87
+ transition: border .25s linear,color .25s linear,background-color .25s linear;
98
88
  }
99
89
 
100
90
  &:-webkit-autofill {
@@ -42,8 +42,7 @@ tbody tr {
42
42
 
43
43
  td {
44
44
  padding: 4px;
45
- line-height: 1.57142857;
46
- vertical-align: top;
45
+ vertical-align: middle;
47
46
  border-top: 1px solid #e4eaec;
48
47
  color: #7A8392;
49
48
  font-size: 12px;
@@ -231,6 +231,7 @@
231
231
  }
232
232
 
233
233
  #page_title {
234
+ font-weight: normal;
234
235
  margin: 0;
235
236
  }
236
237
  }
@@ -11,6 +11,15 @@
11
11
  transition: border .2s linear,color .2s linear,width .2s linear,background-color .2s linear;
12
12
  }
13
13
 
14
+ @mixin disable-user-select() {
15
+ -webkit-touch-callout: none;
16
+ -webkit-user-select: none;
17
+ -khtml-user-select: none;
18
+ -moz-user-select: none;
19
+ -ms-user-select: none;
20
+ user-select: none;
21
+ }
22
+
14
23
  @mixin clear-fix() {
15
24
  &:after {
16
25
  content: '';
@@ -1,7 +1,11 @@
1
1
  body.logged_in {
2
2
  &.new, &.edit, &.create, &.update {
3
3
  .formtastic legend {
4
- font-weight: normal!important;
4
+ font-weight: normal;
5
+ }
6
+
7
+ fieldset.inputs {
8
+ margin-bottom: 20px;
5
9
  }
6
10
 
7
11
  .input {
@@ -9,6 +13,9 @@ body.logged_in {
9
13
  padding-bottom: 5px;
10
14
  text-align: left;
11
15
  margin: auto 0;
16
+ padding-top: 8px;
17
+ text-align: right;
18
+ font-size: 14px;
12
19
 
13
20
  @media screen and (min-width: $sm-width) {
14
21
  padding-bottom: 0;
@@ -19,7 +26,7 @@ body.logged_in {
19
26
  }
20
27
  }
21
28
 
22
- input {
29
+ input, textarea {
23
30
  @media screen and (min-width: $sm-width) {
24
31
  width: 50%;
25
32
  }
@@ -48,10 +55,22 @@ body.logged_in {
48
55
 
49
56
  &.boolean {
50
57
  margin-left: 25%;
58
+ @include disable-user-select();
51
59
 
52
60
  input {
53
61
  width: auto;
54
62
  }
63
+
64
+ label {
65
+ font-size: 14px;
66
+ cursor: pointer;
67
+ padding: 5px 5px 5px 0;
68
+ }
69
+
70
+ input[type='checkbox'] {
71
+ width: 15px;
72
+ margin: 0 5px -2px 0;
73
+ }
55
74
  }
56
75
 
57
76
  li.fragment {
@@ -9,6 +9,14 @@ body.index {
9
9
  clear: both;
10
10
  }
11
11
 
12
+ input[type='checkbox'] {
13
+ display: flex;
14
+ }
15
+
16
+ .collection_selection_toggle_all {
17
+ display: flex !important;
18
+ }
19
+
12
20
  .batch_actions_selector {
13
21
  display: inline-block;
14
22
  }
@@ -79,7 +87,7 @@ body.index {
79
87
  position: fixed;
80
88
  right: - $filter-width;
81
89
 
82
- @media screen and (min-width: $lg-width) {
90
+ @media screen and (min-width: $x-lg-width) {
83
91
  right: - $lg-filter-width;
84
92
  }
85
93
 
@@ -35,6 +35,20 @@ body.logged_out {
35
35
  margin-bottom: 5px;
36
36
  }
37
37
 
38
+ .input.boolean {
39
+ @include disable-user-select();
40
+ label {
41
+ font-size: 15px;
42
+ cursor: pointer;
43
+ padding: 5px 5px 5px 0;
44
+ }
45
+
46
+ input[type='checkbox'] {
47
+ width: 15px;
48
+ margin: 0 5px -2px 0;
49
+ }
50
+ }
51
+
38
52
  a {
39
53
  margin-top: 10px;
40
54
  display: inline-block;
@@ -1,3 +1,4 @@
1
+ require "arctic_admin/version"
1
2
  require 'font-awesome-rails'
2
3
  require 'arctic_admin/active_admin/views/pages/bases'
3
4
 
@@ -0,0 +1,3 @@
1
+ module ArcticAdmin
2
+ VERSION = "1.2.7"
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.2.6
4
+ version: 1.2.7
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: 2017-05-21 00:00:00.000000000 Z
11
+ date: 2017-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,7 +66,7 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description: A simple theme for Active Admin
69
+ description: A responsive theme for Active Admin
70
70
  email:
71
71
  executables: []
72
72
  extensions: []
@@ -126,6 +126,7 @@ files:
126
126
  - app/views/layouts/active_admin_logged_out.html.erb
127
127
  - lib/arctic_admin.rb
128
128
  - lib/arctic_admin/active_admin/views/pages/bases.rb
129
+ - lib/arctic_admin/version.rb
129
130
  homepage: https://github.com/cle61/arctic_admin
130
131
  licenses:
131
132
  - MIT