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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a746612b0e01e0e601cd1db54b7c74080558bde92142f757fdabb7f126fc93a
4
- data.tar.gz: d48579407d4b36559ddfb52ddc00eba3d5f8af03d826a63a30a36c099f00dcf7
3
+ metadata.gz: d7eee23937098b6901af3e55df7a782d6fb0b73c945be65397a34c3681768dfe
4
+ data.tar.gz: c127f4e7528e70ae03e8beccf7d32444836b36670d10dcdf0456b38d5a3ebc10
5
5
  SHA512:
6
- metadata.gz: 1aa6be26cacf2c287da3ab039326d0fa84df8ca57a6cec899dccaffcd8de8a9d6a588780f3f2c485f0d82e0903d6853f1c5c062b5cc47359e5e676dff6b4e7fa
7
- data.tar.gz: 163ea4784e203dd19046b27d2aadacc3842561386675109909325c1de7d3c4b6003699496e4c51b7c5110d230566549e7d7516cb77a5222fd7b3ab0e3d9a996d
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
- .actions {
60
- .action {
61
- display: inline-block;
62
- margin-right: 10px;
68
+ .actions {
69
+ .action {
70
+ display: inline-block;
71
+ margin-right: 10px;
63
72
 
64
- input[type="submit"] {
65
- line-height: 43px;
66
- }
73
+ input[type="submit"] {
74
+ line-height: 43px;
67
75
  }
76
+ }
68
77
 
69
- .cancel {
70
- display: inline-block;
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 .2s linear,color .2s linear,width .2s linear,background-color .2s linear);
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...) {
@@ -1,3 +1,3 @@
1
1
  module ArcticAdmin
2
- VERSION = "4.2.6"
2
+ VERSION = "4.3.1"
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: 4.2.6
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: 2023-10-13 00:00:00.000000000 Z
11
+ date: 2024-04-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler