arctic_admin 4.3.1 → 4.3.3

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: d7eee23937098b6901af3e55df7a782d6fb0b73c945be65397a34c3681768dfe
4
- data.tar.gz: c127f4e7528e70ae03e8beccf7d32444836b36670d10dcdf0456b38d5a3ebc10
3
+ metadata.gz: 4deafbaf44dc2235e64d9d2a17a68bc41fddc37998ff002a07ff4817ec686f28
4
+ data.tar.gz: 29975f0a32ca48db8aefbebd52711a63d75e38e65844062525dde165cae651ca
5
5
  SHA512:
6
- metadata.gz: d590257eeff205a17f468ad012da2c2504e8c3af138b0e211d185e5da4af528b6add1a16eaa30c12bf38db45eb75cae5a4b4747d25eae510bd7c9ae1f37a6518
7
- data.tar.gz: e876bf646d196102bbaa98e0e626ec092ef25f7bba3a7eb49cbfc21615973ade4b5c34bf4630bcd878a99e7614194a2e1eb9a45ea11d0220e495d51df15f9fd4
6
+ metadata.gz: 38da9fa6ee4fd515ceadbd65410a6d404a8dc322d0ca090e3482f4904d73b22744e40090f1404e7b85069fb487da8b993d667dc1f22c0568d67a0a3fcfb0c79e
7
+ data.tar.gz: 82bd50e2a9a76b837fa2b55fa291e452f25697b8112eaddc477a2a66e208a4e3a633f841a48995b1783813f5403567d70dcd0ee0dffd134ad03da9182a7ad619
@@ -39,7 +39,7 @@
39
39
  }
40
40
 
41
41
  .inline-hints {
42
- margin: 5px 0 20px 25%;
42
+ margin: 5px 0 20px $form-margin-left;
43
43
  font-size: $font-size;
44
44
  font-style: italic;
45
45
  }
@@ -53,7 +53,7 @@
53
53
 
54
54
  label.error {
55
55
  display: block;
56
- margin-left: 25%;
56
+ margin-left: $form-margin-left;
57
57
  }
58
58
 
59
59
  .button.has_many_remove {
@@ -1,120 +1,124 @@
1
- body.logged_in {
2
- &.new, &.edit, &.create, &.update {
3
- @include sidebar-container();
4
-
5
- form legend {
6
- font-weight: normal;
7
- }
8
-
9
- fieldset.inputs {
10
- margin-bottom: 20px;
1
+ @mixin arctic-admin-form() {
2
+ @include sidebar-container();
3
+
4
+ form legend {
5
+ font-weight: normal;
6
+ }
7
+
8
+ fieldset.inputs {
9
+ margin-bottom: 20px;
10
+ }
11
+
12
+ .input {
13
+ .label {
14
+ padding-bottom: 5px;
15
+ text-align: left;
16
+ margin: auto 0;
17
+ padding-top: 8px;
18
+ text-align: right;
19
+ font-size: $font-size;
20
+
21
+ @media screen and (min-width: $sm-width) {
22
+ padding-bottom: 0;
23
+ height: 25px;
24
+ width: $form-margin-left;
25
+ float: left;
26
+ padding-right: 20px;
27
+ }
11
28
  }
12
-
13
- .input {
14
- .label {
15
- padding-bottom: 5px;
16
- text-align: left;
17
- margin: auto 0;
18
- padding-top: 8px;
19
- text-align: right;
20
- font-size: $font-size;
21
-
22
- @media screen and (min-width: $sm-width) {
23
- padding-bottom: 0;
24
- height: 25px;
25
- width: 25%;
26
- float: left;
27
- padding-right: 20px;
28
- }
29
+ input, textarea {
30
+ @media screen and (min-width: $sm-width) {
31
+ width: $form-input-width;
29
32
  }
30
- input, textarea {
31
- @media screen and (min-width: $sm-width) {
32
- width: 50%;
33
- }
34
-
35
- &[type='radio'] {
36
- width: 15px;
37
- float: left;
38
- margin-top: 3px;
39
- }
40
-
41
- &[type='checkbox'] {
42
- width: 15px;
43
- margin: 0 5px -2px 0;
44
- }
33
+
34
+ &[type='radio'] {
35
+ width: 15px;
36
+ float: left;
37
+ margin-top: 3px;
45
38
  }
46
-
47
- .select2-container {
48
- @media screen and (min-width: $sm-width) {
49
- width: 50% !important;
50
- }
51
-
52
- a {
53
- height: 30px;
54
- line-height: 30px;
55
- }
39
+
40
+ &[type='checkbox'] {
41
+ width: 15px;
42
+ margin: 0 5px -2px 0;
56
43
  }
57
-
58
- select {
59
- min-width: 50%;
44
+ }
45
+
46
+ .select2-container {
47
+ @media screen and (min-width: $sm-width) {
48
+ width: $form-input-width !important;
49
+ }
50
+
51
+ a {
60
52
  height: 30px;
53
+ line-height: 30px;
61
54
  }
62
-
63
- select[multiple] {
64
- height: 100px;
55
+ }
56
+
57
+ select {
58
+ min-width: $form-input-width;
59
+ height: 30px;
60
+ }
61
+
62
+ select[multiple] {
63
+ height: 100px;
64
+ }
65
+
66
+ .fragment {
67
+ margin-right: 10px;
68
+
69
+ label {
70
+ padding-right: 5px;
65
71
  }
66
-
67
- .fragment {
68
- margin-right: 10px;
69
-
70
- label {
71
- padding-right: 5px;
72
- }
73
-
74
- select {
75
- min-width: auto;
76
- }
72
+
73
+ select {
74
+ min-width: auto;
77
75
  }
78
-
79
- &.boolean {
80
- margin-left: 25%;
81
- @include disable-user-select();
82
-
83
- input {
84
- width: auto;
85
- }
86
-
87
- label {
88
- font-size: $font-size;
89
- cursor: pointer;
90
- padding: 5px 5px 5px 0;
91
- }
92
-
93
- input[type='checkbox'] {
94
- width: 15px;
95
- margin: 0 5px -2px 0;
96
- }
76
+ }
77
+
78
+ &.boolean {
79
+ margin-left: $form-margin-left;
80
+ @include disable-user-select();
81
+
82
+ input {
83
+ width: auto;
97
84
  }
98
-
99
- li.fragment {
100
- display: inline;
85
+
86
+ label {
87
+ font-size: $font-size;
88
+ cursor: pointer;
89
+ padding: 5px 5px 5px 0;
101
90
  }
102
-
103
- li.choice {
104
- margin-left: 25%;
105
-
106
- .field_with_errors {
107
- float: left;
108
- }
91
+
92
+ input[type='checkbox'] {
93
+ width: 15px;
94
+ margin: 0 5px -2px 0;
109
95
  }
110
-
111
- .inline-errors {
112
- padding-left: 25%;
96
+ }
97
+
98
+ li.fragment {
99
+ display: inline;
100
+ }
101
+
102
+ li.choice {
103
+ margin-left: $form-margin-left;
104
+
105
+ .field_with_errors {
106
+ float: left;
113
107
  }
114
108
  }
115
-
116
- .actions {
117
- padding-left: 25%;
109
+
110
+ .inline-errors {
111
+ padding-left: $form-margin-left;
118
112
  }
119
113
  }
114
+
115
+ .actions {
116
+ padding-left: $form-margin-left;
117
+ }
118
+ }
119
+
120
+ body.logged_in {
121
+ &.new, &.edit, &.create, &.update {
122
+ @include arctic-admin-form();
123
+ }
120
124
  }
@@ -10,3 +10,7 @@ $lg-screen-filter-width: calc(100% - 270px) !default;
10
10
 
11
11
  $font-size: 14px !default;
12
12
  $input-height: 36px !default;
13
+
14
+ // Forms
15
+ $form-margin-left: 25%;
16
+ $form-input-width: 50%;
@@ -1,3 +1,3 @@
1
1
  module ArcticAdmin
2
- VERSION = "4.3.1"
2
+ VERSION = "4.3.3"
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.3.1
4
+ version: 4.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Clément Prod'homme
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-09 00:00:00.000000000 Z
11
+ date: 2025-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -73,7 +73,7 @@ dependencies:
73
73
  - !ruby/object:Gem::Version
74
74
  version: '6.0'
75
75
  description: A responsive theme for Active Admin
76
- email:
76
+ email:
77
77
  executables: []
78
78
  extensions: []
79
79
  extra_rdoc_files: []
@@ -147,7 +147,7 @@ licenses:
147
147
  metadata:
148
148
  source_code_uri: https://github.com/cprodhomme/arctic_admin
149
149
  changelog_uri: https://github.com/cprodhomme/arctic_admin/releases
150
- post_install_message:
150
+ post_install_message:
151
151
  rdoc_options: []
152
152
  require_paths:
153
153
  - lib
@@ -162,8 +162,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  - !ruby/object:Gem::Version
163
163
  version: '0'
164
164
  requirements: []
165
- rubygems_version: 3.3.26
166
- signing_key:
165
+ rubygems_version: 3.5.23
166
+ signing_key:
167
167
  specification_version: 4
168
168
  summary: Arctic Admin theme for ActiveAdmin
169
169
  test_files: []