arctic_admin 4.2.2 → 4.2.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4058e330b0d982090907cdcac69921f6a0b38b96e27ff0474449fa35c8ec0937
4
- data.tar.gz: dd017e3fdec9fd166032e8ca275df8305bc529fa8aa02bf5c4316f5d6f3f93bb
3
+ metadata.gz: 2a746612b0e01e0e601cd1db54b7c74080558bde92142f757fdabb7f126fc93a
4
+ data.tar.gz: d48579407d4b36559ddfb52ddc00eba3d5f8af03d826a63a30a36c099f00dcf7
5
5
  SHA512:
6
- metadata.gz: 6cc167638a153abad15461cb8f44d34306decf2db4381b5d88e76b3524dc6cc3a4c1ac32d7f093932563a00ece183127ff91a6352cf255d7c2d3729cc5c520f9
7
- data.tar.gz: 8258dd369682af5d610d8b0d87a398de3c063fd96bc6a4dcd66f24197dbb8f0afdeee092243b2f214ad20e02c4e8c39de01f7d76c088d571037f6f63ac01c924
6
+ metadata.gz: 1aa6be26cacf2c287da3ab039326d0fa84df8ca57a6cec899dccaffcd8de8a9d6a588780f3f2c485f0d82e0903d6853f1c5c062b5cc47359e5e676dff6b4e7fa
7
+ data.tar.gz: 163ea4784e203dd19046b27d2aadacc3842561386675109909325c1de7d3c4b6003699496e4c51b7c5110d230566549e7d7516cb77a5222fd7b3ab0e3d9a996d
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Simple theme for ActiveAdmin :ok_hand:
8
8
 
9
- >**Complete demo here : https://arctic-admin.herokuapp.com/**
9
+ >**Complete demo here : https://arcticadmin.osc-fr1.scalingo.io**
10
10
  >
11
11
  >*admin user : admin@example.com / password*
12
12
 
@@ -25,6 +25,6 @@ h1, h2, h3, h4, h5, h6 {
25
25
  }
26
26
 
27
27
  a {
28
- color: $primary-color;
28
+ color: $link-primary-color;
29
29
  text-decoration: none;
30
30
  }
@@ -49,6 +49,6 @@ h6 {
49
49
  }
50
50
 
51
51
  a {
52
- color: $primary-color;
52
+ color: $link-primary-color;
53
53
  text-decoration: none;
54
54
  }
@@ -11,7 +11,7 @@
11
11
  margin-bottom: 10px;
12
12
 
13
13
  .ui-datepicker-prev, .ui-datepicker-next {
14
- @include primary-button($primary-color, #fff);
14
+ @include primary-button($button-primary-color, #fff);
15
15
  padding: 2px 5px;
16
16
  font-size: 14px;
17
17
  }
@@ -38,7 +38,7 @@ input[type="number"], textarea {
38
38
 
39
39
  input[type="submit"] {
40
40
  @include appearance();
41
- @include primary-button($primary-color, white);
41
+ @include primary-button($button-primary-color, white);
42
42
  width: 100%;
43
43
  padding: 0 12px;
44
44
  font-size: 15px;
@@ -12,11 +12,11 @@
12
12
  @include transition-button();
13
13
 
14
14
  &:hover {
15
- color: $primary-color;
15
+ color: $link-primary-color;
16
16
  }
17
17
  }
18
18
  .page.current {
19
- background-color: $primary-color;
19
+ background-color: $link-primary-color;
20
20
  color: #fff;
21
21
  border-radius: $border-radius;
22
22
  padding: .3rem .4rem;
@@ -18,10 +18,10 @@
18
18
  }
19
19
 
20
20
  &.ui-tabs-active {
21
- border-bottom: 2px solid $primary-color;
21
+ border-bottom: 2px solid $link-primary-color;
22
22
 
23
23
  a {
24
- color: $primary-color;
24
+ color: $link-primary-color;
25
25
  }
26
26
  }
27
27
  }
@@ -3,16 +3,20 @@ $toggle-height: 20px !default;
3
3
  $toggle-offset: 3px !default;
4
4
 
5
5
  $toggle-outer-default: #ddd !default;
6
- $toggle-outer-active: $primary-color !default;
6
+ $toggle-outer-active: $link-primary-color !default;
7
7
  $toggle-inner-default: #fff !default;
8
8
  $toggle-inner-active: #fff !default;
9
9
 
10
10
  $toggle-transition: 200ms ease-out !default;
11
11
 
12
12
  .toggle-bool-switches-container {
13
-
13
+ display: flex;
14
14
  text-align: left;
15
15
 
16
+ span {
17
+ line-height: 0;
18
+ }
19
+
16
20
  .toggle-bool-switch {
17
21
  // reset style
18
22
  background-image: none;
@@ -57,7 +61,7 @@ $toggle-transition: 200ms ease-out !default;
57
61
  // reset style
58
62
  background-image: none;
59
63
  //
60
- background: $primary-color;
64
+ background: $link-primary-color;
61
65
 
62
66
  &::before {
63
67
  // reset style
@@ -11,6 +11,8 @@
11
11
 
12
12
  .sidebar_section {
13
13
  padding: 15px 20px;
14
+ overflow-y: scroll;
15
+ max-height: 80vh;
14
16
 
15
17
  h3 {
16
18
  margin: 0 0 10px 0;
@@ -25,15 +27,15 @@
25
27
  margin-bottom: 10px;
26
28
 
27
29
  input, select {
28
- height: 30px;
30
+ height: 36px;
29
31
  padding: 3px 5px;
30
- font-size: 12px;
32
+ font-size: 14px;
31
33
  }
32
34
  }
33
35
 
34
36
  .select_and_search {
35
37
  input, select {
36
- width: 45%;
38
+ width: 50%;
37
39
  display: inline-block;
38
40
  }
39
41
 
@@ -47,12 +49,12 @@
47
49
  }
48
50
 
49
51
  .filter_date_range input {
50
- width: 45%;
52
+ width: 50%;
51
53
  display: inline-block;
52
54
 
53
55
  // consistent look of all filters
54
56
  &:nth-child(2) {
55
- float: right;
57
+ float: left;
56
58
  }
57
59
  }
58
60
 
@@ -79,3 +81,10 @@
79
81
  margin-top: 1rem;
80
82
  }
81
83
  }
84
+
85
+ // fix pour search select filter de ActiveAdmin_Addons
86
+ .search_select_filter, .filter_boolean {
87
+ .select2.select2-container {
88
+ width: 100% !important;
89
+ }
90
+ }
@@ -228,7 +228,7 @@ body.active_admin.logged_in {
228
228
  float: right;
229
229
 
230
230
  .action_item a {
231
- @include primary-button($primary-color, #fff);
231
+ @include primary-button($button-primary-color, #fff);
232
232
  padding: 5px 8px;
233
233
  }
234
234
  }
@@ -47,7 +47,7 @@
47
47
 
48
48
  &.current {
49
49
  a {
50
- color: $primary-color;
50
+ color: $link-primary-color;
51
51
  }
52
52
  }
53
53
 
@@ -88,7 +88,7 @@
88
88
  }
89
89
 
90
90
  .current a {
91
- color: $primary-color;
91
+ color: $link-primary-color;
92
92
  }
93
93
  }
94
94
 
@@ -29,7 +29,7 @@ body.index {
29
29
  }
30
30
 
31
31
  .dropdown_menu_button{
32
- @include secondary-dropdown($primary-color);
32
+ @include secondary-dropdown($button-primary-color);
33
33
  }
34
34
 
35
35
  .dropdown_menu_list {
@@ -47,7 +47,7 @@ body.index {
47
47
  justify-content: right;
48
48
 
49
49
  a {
50
- @include secondary-button($primary-color);
50
+ @include secondary-button($button-primary-color);
51
51
  }
52
52
 
53
53
  .index {
@@ -97,7 +97,7 @@ body.index {
97
97
  margin-bottom: -4px;
98
98
 
99
99
  .member_link {
100
- @include primary-button($primary-color, white);
100
+ @include primary-button($button-primary-color, white);
101
101
  padding: 4px 8px;
102
102
  margin-right: 4px;
103
103
  margin-bottom: 4px;
@@ -106,7 +106,7 @@ body.index {
106
106
 
107
107
  .scopes {
108
108
  .scope {
109
- @include group-button($primary-color);
109
+ @include group-button($button-primary-color);
110
110
 
111
111
  a {
112
112
  margin-right: .25rem;
@@ -46,3 +46,5 @@ $text-color-important: #526069 !default;
46
46
  $box-shadow: 0 0 4px 0 rgba(0,0,0,0.1) !default;
47
47
 
48
48
  $primary-color: $blue !default;
49
+ $link-primary-color: $primary-color !default;
50
+ $button-primary-color: $primary-color !default;
@@ -1,3 +1,3 @@
1
1
  module ArcticAdmin
2
- VERSION = "4.2.2"
2
+ VERSION = "4.2.6"
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.2
4
+ version: 4.2.6
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-04-14 00:00:00.000000000 Z
11
+ date: 2023-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -47,7 +47,7 @@ dependencies:
47
47
  version: 1.1.0
48
48
  - - "<"
49
49
  - !ruby/object:Gem::Version
50
- version: '3.0'
50
+ version: '4.0'
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
@@ -57,7 +57,7 @@ dependencies:
57
57
  version: 1.1.0
58
58
  - - "<"
59
59
  - !ruby/object:Gem::Version
60
- version: '3.0'
60
+ version: '4.0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: font-awesome-sass
63
63
  requirement: !ruby/object:Gem::Requirement