arctic_admin 1.2.8 → 1.2.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 +4 -4
- data/app/assets/stylesheets/components/_comments.scss +1 -1
- data/app/assets/stylesheets/components/_date_picker.scss +2 -2
- data/app/assets/stylesheets/components/_dialogs.scss +2 -2
- data/app/assets/stylesheets/components/_inputs.scss +23 -30
- data/app/assets/stylesheets/components/_status_tag.scss +1 -1
- data/app/assets/stylesheets/components/_tables.scss +2 -2
- data/app/assets/stylesheets/components/_tabs.scss +2 -2
- data/app/assets/stylesheets/layouts/_filter.scss +2 -2
- data/app/assets/stylesheets/layouts/_header.scss +3 -3
- data/app/assets/stylesheets/layouts/_main_content.scss +4 -4
- data/app/assets/stylesheets/layouts/_sidebar.scss +1 -1
- data/app/assets/stylesheets/mixins/_buttons_mixins.scss +15 -7
- data/app/assets/stylesheets/mixins/_prefix_mixins.scss +19 -3
- data/app/assets/stylesheets/pages/_index.scss +5 -5
- data/app/assets/stylesheets/pages/_login.scss +2 -2
- data/app/assets/stylesheets/variables/_media_queries.scss +2 -2
- data/app/assets/stylesheets/variables/_variables.scss +3 -1
- data/lib/arctic_admin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5d49c0c06fa86cc7032b01138e0bb948ad0bbc9
|
4
|
+
data.tar.gz: 78832a27e6318d6c5844dec68b7dfd2531ac7852
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5a1d0c1f38ae62b455d25053e152c0da2fd8740aec3b14984c1625340d73c4443645417b26d5891d69a14f490757e2aa0d774d2b5924f9f6505d917e4ec8968
|
7
|
+
data.tar.gz: 39d7cc9950174513c2c5cd0534ac4243bee6467b2e8a88ca986f23b98cc314700be95fa2fbadf6bec561d4696fd23485238634bea1410e3488169aa816d472d2
|
@@ -1,11 +1,10 @@
|
|
1
|
-
input[type="text"], input[type="email"], input[type="password"],
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
transition: box-shadow .25s linear,border .25s linear,color .25s linear,background-color .25s linear;
|
1
|
+
input[type="text"], input[type="email"], input[type="password"],
|
2
|
+
input[type="tel"], input[type="date"], input[type="datetime-local"],
|
3
|
+
input[type="month"], input[type="range"], input[type="search"],
|
4
|
+
input[type="time"], input[type="url"], input[type="week"],
|
5
|
+
input[type="number"], textarea {
|
6
|
+
@include appearance();
|
7
|
+
@include box-shadow(none);
|
9
8
|
|
10
9
|
display: block;
|
11
10
|
width: 100%;
|
@@ -18,18 +17,17 @@ input[type="text"], input[type="email"], input[type="password"], input[type="num
|
|
18
17
|
background-image: none;
|
19
18
|
border: 1px solid #e4eaec;
|
20
19
|
outline: 0;
|
21
|
-
border-radius:
|
22
|
-
|
23
|
-
-o-transition: border-color ease-in-out .15s;
|
24
|
-
transition: border-color ease-in-out .15s;
|
20
|
+
border-radius: $border-radius;
|
21
|
+
@include transition(border-color ease-in-out .15s);
|
25
22
|
|
26
23
|
&:focus {
|
27
24
|
border-color: $primary-color;
|
28
|
-
|
29
|
-
-
|
30
|
-
|
31
|
-
|
32
|
-
|
25
|
+
@include appearance();
|
26
|
+
@include transition(border .25s linear,color .25s linear,background-color .25s linear);
|
27
|
+
}
|
28
|
+
|
29
|
+
&:disabled {
|
30
|
+
opacity: 0.6;
|
33
31
|
}
|
34
32
|
|
35
33
|
&:-webkit-autofill, &:-webkit-autofill:hover, &:-webkit-autofill:focus {
|
@@ -39,13 +37,13 @@ input[type="text"], input[type="email"], input[type="password"], input[type="num
|
|
39
37
|
}
|
40
38
|
|
41
39
|
input[type="submit"] {
|
42
|
-
|
40
|
+
@include appearance();
|
43
41
|
@include primary-button($primary-color, white);
|
44
42
|
width: 100%;
|
45
43
|
padding: 0 12px;
|
46
44
|
font-size: 15px;
|
47
45
|
font-weight: 500;
|
48
|
-
box-shadow
|
46
|
+
@include box-shadow(0 1px 0 rgba(0,0,0,.05));
|
49
47
|
border: none;
|
50
48
|
cursor: pointer;
|
51
49
|
}
|
@@ -56,7 +54,7 @@ input[type="checkbox"] {
|
|
56
54
|
-webkit-appearance: none!important;
|
57
55
|
background-color: #fff;
|
58
56
|
border: 1px solid #e6e6e6;
|
59
|
-
border-radius:
|
57
|
+
border-radius: $border-radius;
|
60
58
|
box-sizing: border-box;
|
61
59
|
@include outline();
|
62
60
|
@include transition-button();
|
@@ -69,7 +67,7 @@ input[type="checkbox"] {
|
|
69
67
|
}
|
70
68
|
|
71
69
|
input[type="radio"] {
|
72
|
-
|
70
|
+
@include appearance();
|
73
71
|
border: 2px solid $primary-color;
|
74
72
|
width: 15px;
|
75
73
|
height: 15px;
|
@@ -89,18 +87,13 @@ select {
|
|
89
87
|
background-image: none;
|
90
88
|
border: 1px solid #e4eaec;
|
91
89
|
outline: 0;
|
92
|
-
border-radius:
|
93
|
-
|
94
|
-
-o-transition: border-color ease-in-out .15s;
|
95
|
-
transition: border-color ease-in-out .15s;
|
90
|
+
border-radius: $border-radius;
|
91
|
+
@include transition(border-color ease-in-out .15s);
|
96
92
|
|
97
93
|
&:focus {
|
98
94
|
border-color: $primary-color;
|
99
|
-
|
100
|
-
|
101
|
-
-webkit-transition: border .25s linear,color .25s linear,background-color .25s linear;
|
102
|
-
-o-transition: border .25s linear,color .25s linear,background-color .25s linear;
|
103
|
-
transition: border .25s linear,color .25s linear,background-color .25s linear;
|
95
|
+
@include box-shadow(none);
|
96
|
+
@include transition(border .25s linear,color .25s linear,background-color .25s linear);
|
104
97
|
}
|
105
98
|
|
106
99
|
&:-webkit-autofill {
|
@@ -1,8 +1,8 @@
|
|
1
1
|
#sidebar {
|
2
2
|
width: $filter-width;
|
3
3
|
background-color: #fff;
|
4
|
-
border-radius:
|
5
|
-
box-shadow
|
4
|
+
border-radius: $border-radius;
|
5
|
+
@include box-shadow(0 0 4px 0 rgba(0,0,0,.04));
|
6
6
|
margin-bottom: 30px;
|
7
7
|
|
8
8
|
@media screen and (min-width: $x-lg-width) {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
.
|
1
|
+
body.active_admin.logged_in {
|
2
2
|
padding-top: 50px;
|
3
3
|
|
4
4
|
@media screen and (min-width: $sm-width) {
|
@@ -198,14 +198,14 @@
|
|
198
198
|
|
199
199
|
#title_bar {
|
200
200
|
background-color: #fff;
|
201
|
-
box-shadow
|
201
|
+
@include box-shadow(0 0 4px 0 rgba(0, 0, 0, 0.1));
|
202
202
|
margin: 15px 0 0 0;
|
203
203
|
padding: 8px 10px;
|
204
204
|
@include clear-fix();
|
205
205
|
|
206
206
|
@media screen and (min-width: $lg-width) {
|
207
207
|
padding: 8px 20px;
|
208
|
-
border-radius:
|
208
|
+
border-radius: $border-radius;
|
209
209
|
margin: 15px 25px 0 25px;
|
210
210
|
}
|
211
211
|
|
@@ -10,8 +10,8 @@
|
|
10
10
|
|
11
11
|
@media screen and (min-width: $sm-width) {
|
12
12
|
#main_content {
|
13
|
-
border-top-right-radius:
|
14
|
-
border-bottom-right-radius:
|
13
|
+
border-top-right-radius: $border-radius;
|
14
|
+
border-bottom-right-radius: $border-radius;
|
15
15
|
}
|
16
16
|
}
|
17
17
|
|
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
#main_content {
|
32
32
|
background-color: #fff;
|
33
|
-
box-shadow
|
33
|
+
@include box-shadow(0 0 4px 0 rgba(0,0,0,.04));
|
34
34
|
padding: 15px 10px;
|
35
35
|
|
36
36
|
@media screen and (max-width: 576px) {
|
@@ -39,6 +39,6 @@
|
|
39
39
|
|
40
40
|
@media screen and (min-width: $lg-width) {
|
41
41
|
padding: 20px;
|
42
|
-
border-radius:
|
42
|
+
border-radius: $border-radius;
|
43
43
|
}
|
44
44
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@mixin button() {
|
2
|
-
border-radius:
|
2
|
+
border-radius: $border-radius;
|
3
3
|
display: inline-block;
|
4
4
|
@include transition-button();
|
5
5
|
cursor: pointer;
|
@@ -7,6 +7,11 @@
|
|
7
7
|
&:active, &:focus {
|
8
8
|
outline: 0;
|
9
9
|
}
|
10
|
+
|
11
|
+
&.disabled, &:disabled {
|
12
|
+
opacity: 0.6;
|
13
|
+
cursor: no-drop;
|
14
|
+
}
|
10
15
|
}
|
11
16
|
|
12
17
|
@mixin primary-button($background-color, $color) {
|
@@ -22,6 +27,10 @@
|
|
22
27
|
&:active, &:focus {
|
23
28
|
background-color: darken($background-color, 10%);
|
24
29
|
}
|
30
|
+
|
31
|
+
&:disabled {
|
32
|
+
background-color: $background-color;
|
33
|
+
}
|
25
34
|
}
|
26
35
|
|
27
36
|
@mixin secondary-button($color) {
|
@@ -61,8 +70,7 @@
|
|
61
70
|
color: #76838f;
|
62
71
|
background-color: #f3f7f9;
|
63
72
|
border-color: #f3f7f9;
|
64
|
-
|
65
|
-
box-shadow: none;
|
73
|
+
@include box-shadow(none);
|
66
74
|
opacity: .65;
|
67
75
|
}
|
68
76
|
}
|
@@ -81,13 +89,13 @@
|
|
81
89
|
|
82
90
|
&:first-child a {
|
83
91
|
border-left: 1px solid $color;
|
84
|
-
border-top-left-radius:
|
85
|
-
border-bottom-left-radius:
|
92
|
+
border-top-left-radius: $border-radius;
|
93
|
+
border-bottom-left-radius: $border-radius;
|
86
94
|
}
|
87
95
|
|
88
96
|
&:last-child a {
|
89
|
-
border-top-right-radius:
|
90
|
-
border-bottom-right-radius:
|
97
|
+
border-top-right-radius: $border-radius;
|
98
|
+
border-bottom-right-radius: $border-radius;
|
91
99
|
}
|
92
100
|
|
93
101
|
&:hover {
|
@@ -5,10 +5,26 @@
|
|
5
5
|
transform: $var;
|
6
6
|
}
|
7
7
|
|
8
|
+
@mixin appearance($effect:none) {
|
9
|
+
-webkit-appearance: $effect;
|
10
|
+
-moz-appearance: $effect;
|
11
|
+
appearance: $effect;
|
12
|
+
}
|
13
|
+
|
14
|
+
@mixin transition($args...) {
|
15
|
+
-webkit-transition: $args;
|
16
|
+
-o-transition: $args;
|
17
|
+
transition: $args;
|
18
|
+
}
|
19
|
+
|
8
20
|
@mixin transition-button() {
|
9
|
-
|
10
|
-
|
11
|
-
|
21
|
+
@include transition(border .2s linear,color .2s linear,width .2s linear,background-color .2s linear);
|
22
|
+
}
|
23
|
+
|
24
|
+
@mixin box-shadow($args...) {
|
25
|
+
-webkit-box-shadow: $args;
|
26
|
+
-moz-box-shadow: $args;
|
27
|
+
box-shadow: $args;
|
12
28
|
}
|
13
29
|
|
14
30
|
@mixin disable-user-select() {
|
@@ -28,8 +28,8 @@ body.index {
|
|
28
28
|
.dropdown_menu_list {
|
29
29
|
background-color: #fff;
|
30
30
|
padding: 10px 15px;
|
31
|
-
border-radius:
|
32
|
-
box-shadow
|
31
|
+
border-radius: $border-radius;
|
32
|
+
@include box-shadow(0 0 4px 0 rgba(0, 0, 0, 0.1));
|
33
33
|
display: inline-block;
|
34
34
|
position: absolute;
|
35
35
|
z-index: 1;
|
@@ -99,9 +99,9 @@ body.index {
|
|
99
99
|
width: 40px;
|
100
100
|
height: 50px;
|
101
101
|
background-color: #fff;
|
102
|
-
box-shadow
|
103
|
-
border-top-left-radius:
|
104
|
-
border-bottom-left-radius:
|
102
|
+
@include box-shadow(-1px 0 4px 0 rgba(0,0,0,.04));
|
103
|
+
border-top-left-radius: $border-radius;
|
104
|
+
border-bottom-left-radius: $border-radius;
|
105
105
|
@include icon("\f0b0");
|
106
106
|
font-size: 20px;
|
107
107
|
padding: 15px 10px;
|
@@ -14,13 +14,13 @@ body.logged_out {
|
|
14
14
|
width: 100%;
|
15
15
|
margin: auto;
|
16
16
|
background-color: white;
|
17
|
-
border-top:
|
17
|
+
border-top: $border-radius solid $primary-color;
|
18
18
|
box-shadow: 0 0 4px 0 rgba(0,0,0,.04);
|
19
19
|
color: $text-color;
|
20
20
|
padding: 20px;
|
21
21
|
|
22
22
|
@media screen and (min-width: 400px) {
|
23
|
-
border-radius:
|
23
|
+
border-radius: $border-radius;
|
24
24
|
width: 400px;
|
25
25
|
padding: 30px;
|
26
26
|
}
|
data/lib/arctic_admin/version.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.9
|
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-
|
11
|
+
date: 2017-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|