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 +4 -4
- data/app/assets/stylesheets/_reset.scss +4 -0
- data/app/assets/stylesheets/components/_dialogs.scss +1 -0
- data/app/assets/stylesheets/components/_form.scss +6 -2
- data/app/assets/stylesheets/components/_inputs.scss +21 -31
- data/app/assets/stylesheets/components/_tables.scss +1 -2
- data/app/assets/stylesheets/layouts/_header.scss +1 -0
- data/app/assets/stylesheets/mixins/_prefix_mixins.scss +9 -0
- data/app/assets/stylesheets/pages/_form.scss +21 -2
- data/app/assets/stylesheets/pages/_index.scss +9 -1
- data/app/assets/stylesheets/pages/_login.scss +14 -0
- data/lib/arctic_admin.rb +1 -0
- data/lib/arctic_admin/version.rb +3 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b57ee8ef7f2c02ed36c8892765e8f56aecf8851c
|
4
|
+
data.tar.gz: e5a6098e9b6ef9c9ae7fd693efa8a90e2f99ad88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d5946c37419d4a0281078473c919b76996643648c68d16130727d6ed2faaa323667e5ff8cba8c0cb6c0de4389a0ff262769c832ffd47ceccbec30f733c2952d
|
7
|
+
data.tar.gz: 10e0f9e047e062dcd5329fac592ec4bab4fcab6c2380362047caf4cd2d9f020a5c8c721ffaa7ebc889cd719591b4fa21ddaab6444c8841f71b5dea7d5cb9e7c3
|
@@ -14,8 +14,12 @@
|
|
14
14
|
}
|
15
15
|
|
16
16
|
legend {
|
17
|
-
margin-bottom:
|
18
|
-
font-
|
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
|
13
|
+
padding: 6px 12px;
|
14
14
|
font-size: 14px;
|
15
15
|
line-height: 1.57142857;
|
16
|
-
color:
|
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-
|
22
|
-
|
23
|
-
|
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:
|
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:
|
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-
|
83
|
-
|
84
|
-
|
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:
|
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:
|
96
|
-
-o-transition:
|
97
|
-
transition:
|
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 {
|
@@ -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
|
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;
|
data/lib/arctic_admin.rb
CHANGED
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.
|
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
|
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
|
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
|