arctic_admin 4.2.8 → 4.3.0

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: e3a24659ed66849d6ef21978d409c4f5fdb5eac6684baeb1f613e5fe7a621f2f
4
- data.tar.gz: f9cf54bf6e5efe6560231b33ecde324832311fa7852f3a77a3d0a6f56bb59b07
3
+ metadata.gz: 533f15060154f60182d53c7b121f1b89b57a65384b91bf75e49152017b066016
4
+ data.tar.gz: 6260a9c64384754db3266da212852fd9578a0d46a4e0fd2491bb8f1e9e2e5541
5
5
  SHA512:
6
- metadata.gz: db7433701b916019e36736a876a6aa1fae31ba90ae554c99d5b8c8a211eefd630f8f7461b5c2261d2e8a75c6739efe761a6b4396438247151f0a405a1b720259
7
- data.tar.gz: 9e55e21e16688ca71ca76c2d4dfd3aab657183ea9025e4aff40365b0835d91546ee02040813d3459975cda622c49e2edc959701dd64174fc18a625cba28875b7
6
+ metadata.gz: 2943abb081bd1f102bfc01d19e5eff4515ddf3cc26affb404daad5659b1c21d74cb3e8f1bc0a314f1d3572707439a2fa5dc8cc6d079cf9caf709d2dccc266c89
7
+ data.tar.gz: d483e536c950ffc829ea0767324cd2358e3dc66e65fe7c7020fa35b19bc9ceee47cadfd454f0ac2f3bd36247e2b1fefaa227d06694c36323f158417727732989
@@ -70,5 +70,13 @@
70
70
  display: inline-block;
71
71
  }
72
72
  }
73
+
74
+ .button.has_many_remove {
75
+ @include tertiary-button($red);
76
+ }
77
+
78
+ .button.has_many_add {
79
+ @include secondary-button($primary-color);
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.8"
2
+ VERSION = "4.3.0"
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.8
4
+ version: 4.3.0
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: 2024-03-18 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