css-zero 1.1.3 → 1.1.4

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: a7ddc50aab19848a4bdb9acb911f6a8d8bee95348207894e10b2399bc3d19055
4
- data.tar.gz: 73d6fe5bf3dff09e2d4491dc8c303e66730c55d79138b99600ed481dc9347840
3
+ metadata.gz: c86bfdeb4e38ab70df079522e96dcc3d379e6a7be49e7202e147e62dabf61f98
4
+ data.tar.gz: 0d19e4cc264a8af15bd0c2f0874348d741d4197b251f18dac296a55e73299709
5
5
  SHA512:
6
- metadata.gz: 0a05ad6bd058a7f38cb1eb3b55b93aca545b8b50ae59eaa845d955b540df1236e993b8e804df936f285862b696362fabb09384815608f2b5199e7f760763ea86
7
- data.tar.gz: e12e6dbb8f15a6a843db6b443e35a1e70802c6935bfe5e07b16baf2cbf237abeb42260e4b19fdf0407daecbf2db7ee8767cc38225751d44b27aedd21f9078d64
6
+ metadata.gz: 11660a37aa16e39775a93744dfdaf830306dbdae156ef977348465798c48c10e723117e689d73f118ab0bcf352a31bdc2d1ef19a2e92c20d4355cc25dd64e60a
7
+ data.tar.gz: 6637a3dd284e19f97e05bd70c2a8314a5f4d799d6f3ce341a4a27542ac4877991643a51ca78599418896f40eb77e37a28754ecbfc099254907eff243daff6055
@@ -1,3 +1,3 @@
1
1
  module CssZero
2
- VERSION = "1.1.3"
2
+ VERSION = "1.1.4"
3
3
  end
@@ -18,7 +18,7 @@
18
18
  justify-content: var(--btn-justify-content, center);
19
19
  padding: var(--btn-padding, .375rem 1rem);
20
20
  position: relative;
21
- text-align: center;
21
+ text-align: var(--btn-text-align, center);
22
22
  white-space: nowrap;
23
23
 
24
24
  img:not([class]) {
@@ -51,6 +51,7 @@
51
51
  --btn-justify-content: start;
52
52
  --btn-outline-size: 0;
53
53
  --btn-padding: var(--size-1_5) var(--size-2);
54
+ --btn-text-align: start;
54
55
 
55
56
  &[aria-selected=true] {
56
57
  --btn-background: var(--color-secondary);
@@ -70,6 +70,10 @@
70
70
  outline: var(--input-outline-size, 2px) solid var(--color-selected-dark);
71
71
  }
72
72
 
73
+ &:focus-visible:user-invalid {
74
+ outline: var(--input-outline-size, 2px) solid rgb(from var(--color-negative) r g b / .2);
75
+ }
76
+
73
77
  .field_with_errors & {
74
78
  border-color: var(--color-negative);
75
79
  }
@@ -6,7 +6,7 @@
6
6
  }
7
7
 
8
8
  .menu__header {
9
- font-size: var(--text-xs);
9
+ font-size: var(--text-sm);
10
10
  font-weight: var(--font-semibold);
11
11
  padding: var(--size-1_5) var(--size-2);
12
12
  }
@@ -29,6 +29,7 @@
29
29
  --btn-justify-content: start;
30
30
  --btn-outline-size: 0;
31
31
  --btn-padding: var(--size-1_5) var(--size-2);
32
+ --btn-text-align: start;
32
33
 
33
34
  &:focus-visible {
34
35
  --btn-background: var(--color-secondary);
@@ -15,6 +15,7 @@
15
15
  --btn-outline-size: 0;
16
16
  --btn-inline-size: var(--size-full);
17
17
  --btn-padding: var(--size-1) var(--size-2);
18
+ --btn-text-align: start;
18
19
 
19
20
  &:focus-visible {
20
21
  --btn-background: var(--color-secondary);
@@ -14,7 +14,7 @@
14
14
  padding: var(--size-1);
15
15
  }
16
16
 
17
- .btn--tab {
17
+ .tabs__button {
18
18
  --btn-background: transparent;
19
19
  --btn-border-color: transparent;
20
20
  --btn-box-shadow: none;
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.3
4
+ version: 1.1.4
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-17 00:00:00.000000000 Z
11
+ date: 2025-02-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: lazaronixon@hotmail.com