arctic_admin 4.2.6 → 4.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/arctic_admin/main.js +1 -1
- data/app/assets/stylesheets/arctic_admin/components/_form.scss +18 -10
- data/app/assets/stylesheets/arctic_admin/mixins/_buttons_mixins.scss +21 -0
- data/app/assets/stylesheets/arctic_admin/mixins/_prefix_mixins.scss +1 -1
- data/lib/arctic_admin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7eee23937098b6901af3e55df7a782d6fb0b73c945be65397a34c3681768dfe
|
4
|
+
data.tar.gz: c127f4e7528e70ae03e8beccf7d32444836b36670d10dcdf0456b38d5a3ebc10
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d590257eeff205a17f468ad012da2c2504e8c3af138b0e211d185e5da4af528b6add1a16eaa30c12bf38db45eb75cae5a4b4747d25eae510bd7c9ae1f37a6518
|
7
|
+
data.tar.gz: e876bf646d196102bbaa98e0e626ec092ef25f7bba3a7eb49cbfc21615973ade4b5c34bf4630bcd878a99e7614194a2e1eb9a45ea11d0220e495d51df15f9fd4
|
@@ -23,7 +23,7 @@ function menuToggle(event) {
|
|
23
23
|
const forbiddenLinks = event.target === logout ||
|
24
24
|
logout.contains(event.target) ||
|
25
25
|
event.target === currentUser ||
|
26
|
-
currentUser.contains(event.target)
|
26
|
+
(currentUser && currentUser.contains(event.target))
|
27
27
|
if (!forbiddenLinks) {
|
28
28
|
menu().classList.toggle('tabs_open')
|
29
29
|
}
|
@@ -55,20 +55,28 @@
|
|
55
55
|
display: block;
|
56
56
|
margin-left: 25%;
|
57
57
|
}
|
58
|
+
|
59
|
+
.button.has_many_remove {
|
60
|
+
@include tertiary-button($red);
|
61
|
+
}
|
62
|
+
|
63
|
+
.button.has_many_add {
|
64
|
+
@include secondary-button($primary-color);
|
65
|
+
}
|
66
|
+
}
|
58
67
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
68
|
+
.actions {
|
69
|
+
.action {
|
70
|
+
display: inline-block;
|
71
|
+
margin-right: 10px;
|
63
72
|
|
64
|
-
|
65
|
-
|
66
|
-
}
|
73
|
+
input[type="submit"] {
|
74
|
+
line-height: 43px;
|
67
75
|
}
|
76
|
+
}
|
68
77
|
|
69
|
-
|
70
|
-
|
71
|
-
}
|
78
|
+
.cancel {
|
79
|
+
display: inline-block;
|
72
80
|
}
|
73
81
|
}
|
74
82
|
}
|
@@ -1,3 +1,6 @@
|
|
1
|
+
$bg-tertiary-button: transparent;
|
2
|
+
$bg-tertiary-button-hover: rgba($border-color, .3);;
|
3
|
+
|
1
4
|
@mixin button() {
|
2
5
|
border-radius: $border-radius;
|
3
6
|
display: inline-block;
|
@@ -51,6 +54,24 @@
|
|
51
54
|
}
|
52
55
|
}
|
53
56
|
|
57
|
+
@mixin tertiary-button($color) {
|
58
|
+
background-color: $bg-tertiary-button;
|
59
|
+
color: $color;
|
60
|
+
border: 1px solid $bg-tertiary-button;
|
61
|
+
padding: 4px 8px;
|
62
|
+
@include button();
|
63
|
+
|
64
|
+
&:hover {
|
65
|
+
color: $color;
|
66
|
+
background-color: $bg-tertiary-button-hover;
|
67
|
+
}
|
68
|
+
|
69
|
+
&:active, &:focus {
|
70
|
+
background-color: $bg-tertiary-button-hover;
|
71
|
+
color: $color;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
54
75
|
@mixin secondary-dropdown($color) {
|
55
76
|
@include secondary-button($color);
|
56
77
|
padding: 6px 25px 6px 10px;
|
@@ -21,7 +21,7 @@
|
|
21
21
|
}
|
22
22
|
|
23
23
|
@mixin transition-button() {
|
24
|
-
@include transition(border .
|
24
|
+
@include transition(border .15s linear,color .15s linear,width .15s linear,background-color .15s linear);
|
25
25
|
}
|
26
26
|
|
27
27
|
@mixin box-shadow($args...) {
|
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: 4.
|
4
|
+
version: 4.3.1
|
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:
|
11
|
+
date: 2024-04-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|