css-zero 1.1.4 → 1.1.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: c86bfdeb4e38ab70df079522e96dcc3d379e6a7be49e7202e147e62dabf61f98
4
- data.tar.gz: 0d19e4cc264a8af15bd0c2f0874348d741d4197b251f18dac296a55e73299709
3
+ metadata.gz: 86d44a9b0a08a24b229c2279c46538411dfb6c8d7dbe558cd7cc2e79e00cb84b
4
+ data.tar.gz: 2d01230d1e75513d0af8c3950fca237a270babbb652e489adc34b577f92bdbe4
5
5
  SHA512:
6
- metadata.gz: 11660a37aa16e39775a93744dfdaf830306dbdae156ef977348465798c48c10e723117e689d73f118ab0bcf352a31bdc2d1ef19a2e92c20d4355cc25dd64e60a
7
- data.tar.gz: 6637a3dd284e19f97e05bd70c2a8314a5f4d799d6f3ce341a4a27542ac4877991643a51ca78599418896f40eb77e37a28754ecbfc099254907eff243daff6055
6
+ metadata.gz: 15aff6b9c5dcd220cbbe5915091fbd699c9de056adad0cb46cec23910c52b9e432b65a1aa2aca8a5dcfe7d6f4deedb1a98de30d48044339fbe1768ab01dde6e0
7
+ data.tar.gz: 878cec1ead7b415177a8315218941971096934db71386e36facba14d11d2265c5e1cc715e0d9a010e05c15968d85cca4284a71df4f05bf037e4e99be209e74b3
@@ -379,14 +379,6 @@ turbo-frame {
379
379
  display: contents;
380
380
  }
381
381
 
382
- /*
383
- Make input validation wrapper become pseudo-box by default.
384
- */
385
-
386
- .field_with_errors {
387
- display: contents;
388
- }
389
-
390
382
  /*
391
383
  Enables size interpolation to allow animation.
392
384
  */
@@ -26,7 +26,7 @@
26
26
  .self-center { align-self: center; }
27
27
 
28
28
  .gap { column-gap: var(--column-gap, 0.5rem); row-gap: var(--row-gap, 1rem); }
29
- .gap-half { column-gap: 0.25rem; row-gap: 0.5rem; }
29
+ .gap-half { column-gap: 0.25rem; row-gap: 0.375rem; }
30
30
 
31
31
  /****************************************************************
32
32
  * Text
@@ -1,3 +1,3 @@
1
1
  module CssZero
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.6"
3
3
  end
@@ -34,7 +34,8 @@
34
34
  }
35
35
 
36
36
  &:is(:disabled, [aria-disabled]) {
37
- opacity: var(--opacity-50); pointer-events: none;
37
+ opacity: var(--opacity-50);
38
+ pointer-events: none;
38
39
  }
39
40
  }
40
41
 
@@ -24,6 +24,11 @@
24
24
  color: var(--color-text);
25
25
  }
26
26
 
27
+ span.cur-month {
28
+ font-size: var(--text-sm);
29
+ font-weight: var(--font-medium);
30
+ }
31
+
27
32
  svg {
28
33
  fill: var(--color-border-dark);
29
34
  }
@@ -35,7 +35,8 @@
35
35
  }
36
36
 
37
37
  &:disabled {
38
- cursor: not-allowed; opacity: var(--opacity-50);
38
+ cursor: not-allowed;
39
+ opacity: var(--opacity-50);
39
40
  }
40
41
  }
41
42
 
@@ -53,16 +54,16 @@
53
54
  }
54
55
  }
55
56
 
56
- :is(.checkbox, .radio) {
57
- accent-color: var(--color-primary); transform: scale(1.2);
57
+ .invalid-feedback {
58
+ display: none;
58
59
  }
59
60
 
60
- .range {
61
- accent-color: var(--color-primary);
61
+ :is(.checkbox, .radio) {
62
+ transform: scale(1.2);
62
63
  }
63
64
 
64
- .invalid-feedback {
65
- display: none;
65
+ :is(.checkbox, .radio, .range) {
66
+ accent-color: var(--color-primary);
66
67
  }
67
68
 
68
69
  :is(.input, .checkbox, .radio, .range) {
@@ -70,11 +71,12 @@
70
71
  outline: var(--input-outline-size, 2px) solid var(--color-selected-dark);
71
72
  }
72
73
 
73
- &:focus-visible:user-invalid {
74
- outline: var(--input-outline-size, 2px) solid rgb(from var(--color-negative) r g b / .2);
74
+ &:focus-visible:user-invalid {
75
+ outline: none;
75
76
  }
76
77
 
77
78
  .field_with_errors & {
78
79
  border-color: var(--color-negative);
80
+ display: contents;
79
81
  }
80
82
  }
@@ -17,6 +17,10 @@
17
17
  --btn-padding: var(--size-1) var(--size-2);
18
18
  --btn-text-align: start;
19
19
 
20
+ &[aria-current=page] {
21
+ --btn-background: var(--color-secondary);
22
+ }
23
+
20
24
  &:focus-visible {
21
25
  --btn-background: var(--color-secondary);
22
26
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: css-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lázaro Nixon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-02-18 00:00:00.000000000 Z
11
+ date: 2025-02-24 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: lazaronixon@hotmail.com