active_admin_theme 3.2.1 → 3.3.0
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 +4 -4
- data/README.md +2 -0
- data/app/assets/stylesheets/wigu/active_admin_theme.scss +23 -2
- data/lib/active_admin_theme/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f064b62bf09116c3ab9bbeccd26447ec0a25ef31eca78e346c88ba51bab4d8c2
|
|
4
|
+
data.tar.gz: 2a23a28eb47df4ef79ee2f28f8040567364784f32314cf3d26b2d176a3500346
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 70fcb6c8499b7a1b897e83d54b574cee37a0553b814ba6675ed76a84c69af55cd43a8a5171c33310a2d30168ba218227932249dc3dc1f0209b29a7ce934173e3
|
|
7
|
+
data.tar.gz: a60b8571416d33ae2a41dcb7003b898eba92a6505a74231ff5e02fe987d826f8bed7584b3685ea299ccca7d4a1708fd2cca0e6c07129a4b7cc4805b13611787d
|
data/README.md
CHANGED
|
@@ -382,6 +382,8 @@ Three things changed shape and are worth knowing if you already set variables:
|
|
|
382
382
|
| `$skinBorderColor` / `$skinBorderColorDark` |  `#e0e4e9` /  `#404750` | borders / grid lines |
|
|
383
383
|
| `$skinInputBgColor` / `$skinInputBgColorDark` |  `#ffffff` /  `#1e2227` | form control background |
|
|
384
384
|
| `$skinInputBorderColor` / `$skinInputBorderColorDark` |  `#c9ced4` /  `#4d555f` | form control border |
|
|
385
|
+
| `$skinErrorTextColor` / `$skinErrorTextColorDark` |  `#932419` /  `#f49b9b` | validation messages |
|
|
386
|
+
| `$skinErrorBgColor` / `$skinErrorBgColorDark` |  `#fae6e4` /  `#3a2224` | error summary above a form |
|
|
385
387
|
|
|
386
388
|
#### Header menu
|
|
387
389
|
|
|
@@ -123,6 +123,11 @@ $skinLinkColorDark: #7cc0ec!default;
|
|
|
123
123
|
// match); dark uses a lightened red, since the default red is too dark there.
|
|
124
124
|
$skinDeleteLinkColor: $skinLinkColor!default;
|
|
125
125
|
$skinDeleteLinkColorDark: #f49b9b!default;
|
|
126
|
+
// Validation errors: message text and summary block fill.
|
|
127
|
+
$skinErrorTextColor: #932419!default;
|
|
128
|
+
$skinErrorTextColorDark: #f49b9b!default;
|
|
129
|
+
$skinErrorBgColor: #fae6e4!default;
|
|
130
|
+
$skinErrorBgColorDark: #3a2224!default;
|
|
126
131
|
// Tabs: fill and label colours per mode. yeti-web sets all four to make the
|
|
127
132
|
// inactive tabs recede to the page background and the active one read as raised.
|
|
128
133
|
$skinTabInactiveColor: #f7f9fb!default;
|
|
@@ -186,6 +191,8 @@ $skinStatusTagErrorColor: #ce483b!default; // error / errored / red
|
|
|
186
191
|
--aa-active-tab-text: #{$skinActiveTabTextColorDark};
|
|
187
192
|
--aa-inactive-tab-text: #{$skinInactiveTabTextColorDark};
|
|
188
193
|
--aa-delete-link: #{$skinDeleteLinkColorDark};
|
|
194
|
+
--aa-error: #{$skinErrorTextColorDark};
|
|
195
|
+
--aa-error-bg: #{$skinErrorBgColorDark};
|
|
189
196
|
}
|
|
190
197
|
:root {
|
|
191
198
|
color-scheme: light;
|
|
@@ -217,6 +224,8 @@ $skinStatusTagErrorColor: #ce483b!default; // error / errored / red
|
|
|
217
224
|
--aa-active-tab-text: #{$skinActiveTabTextColor};
|
|
218
225
|
--aa-inactive-tab-text: #{$skinInactiveTabTextColor};
|
|
219
226
|
--aa-delete-link: #{$skinDeleteLinkColor};
|
|
227
|
+
--aa-error: #{$skinErrorTextColor};
|
|
228
|
+
--aa-error-bg: #{$skinErrorBgColor};
|
|
220
229
|
|
|
221
230
|
// Bridge for the companion active_admin_datetimepicker plugin: feed its
|
|
222
231
|
// --aa-datetimepicker-* inputs from this theme's palette, so the xdsoft picker
|
|
@@ -337,6 +346,10 @@ $logout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'
|
|
|
337
346
|
skinLinkColorDark: $skinLinkColorDark,
|
|
338
347
|
skinDeleteLinkColor: $skinDeleteLinkColor,
|
|
339
348
|
skinDeleteLinkColorDark: $skinDeleteLinkColorDark,
|
|
349
|
+
skinErrorTextColor: $skinErrorTextColor,
|
|
350
|
+
skinErrorTextColorDark: $skinErrorTextColorDark,
|
|
351
|
+
skinErrorBgColor: $skinErrorBgColor,
|
|
352
|
+
skinErrorBgColorDark: $skinErrorBgColorDark,
|
|
340
353
|
skinTabInactiveColor: $skinTabInactiveColor,
|
|
341
354
|
skinTabInactiveColorDark: $skinTabInactiveColorDark,
|
|
342
355
|
skinActiveTabTextColor: $skinActiveTabTextColor,
|
|
@@ -1242,8 +1255,16 @@ body.active_admin {
|
|
|
1242
1255
|
form fieldset > ol > li fieldset.fragments ol {
|
|
1243
1256
|
margin-left: 20%;
|
|
1244
1257
|
}
|
|
1245
|
-
form
|
|
1246
|
-
color:
|
|
1258
|
+
form .has_many_container h3 {
|
|
1259
|
+
color: var(--aa-text-muted);
|
|
1260
|
+
}
|
|
1261
|
+
form fieldset > ol > li p.inline-errors,
|
|
1262
|
+
form fieldset > ol > li ul.errors,
|
|
1263
|
+
form ul.errors {
|
|
1264
|
+
color: var(--aa-error);
|
|
1265
|
+
}
|
|
1266
|
+
form ul.errors {
|
|
1267
|
+
background: var(--aa-error-bg);
|
|
1247
1268
|
}
|
|
1248
1269
|
form input[type=submit], form input[type=button], form button, a.button, a:link.button, a:visited.button {
|
|
1249
1270
|
background-image: none;
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_admin_theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Igor Fedoronchuk
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '3.0'
|
|
20
20
|
- - "<"
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version:
|
|
22
|
+
version: 4.0.0.a
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '3.0'
|
|
30
30
|
- - "<"
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version:
|
|
32
|
+
version: 4.0.0.a
|
|
33
33
|
description: 'Flat design for activeadmin gem '
|
|
34
34
|
email:
|
|
35
35
|
- igor.f@didww.com
|
|
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
- !ruby/object:Gem::Version
|
|
67
67
|
version: '0'
|
|
68
68
|
requirements: []
|
|
69
|
-
rubygems_version: 3.
|
|
69
|
+
rubygems_version: 3.6.9
|
|
70
70
|
specification_version: 4
|
|
71
71
|
summary: Flat design for ActiveAdmin
|
|
72
72
|
test_files: []
|