css-zero 0.0.95 → 0.0.96

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: 7c56f270130722e9912c5271b2700f89b19f1debe15c19a2c2394c9bba4d169c
4
- data.tar.gz: '0803ceaa8816e61105de7e64b9c31df4063c1b7defde89fffb3162052dd1a5db'
3
+ metadata.gz: d9b81bb86bdc87a173041a76efe7b8e307b1d9d5f5d443a890480a7d3b0609cf
4
+ data.tar.gz: db815c1c6d4b88c1d931b5c2f742659da498447d8673aeedc15c1e384864c009
5
5
  SHA512:
6
- metadata.gz: 0c2d8bf42bb152ae84264e48a190734f9d06d9cc065cb22432c1f0a9c48256d207b06859c6947f820e2c0979443af5e8b71ea0c9746dbd5c9ee08b04ee5ff63f
7
- data.tar.gz: 0baceaccc306e73770beb3a8bfaff1f2564ef9a3e7b1688e5060654886883ba235f4fb93a2327b869177139ed86ba7203da07fb72e9195a00df07fb8cc86bb4a
6
+ metadata.gz: 0a55c81d60e21c2fa6e8bf4ed0d0ad0235a18693c26c6e8e767593c2a5c8bb7805ed1a1fbf567ea749c2ae6e4ba4c648f00b270df6f7ac57e830f7ed34e32eef
7
+ data.tar.gz: 3244fa7e0f3c9e068510a513ebbde18971dc2c852f2c80210c083a2dec97864bac32b6d6a74e6784e7c3320443412cae289290b18b8bb6e2ccc17699cc928360
@@ -1,3 +1,3 @@
1
1
  module CssZero
2
- VERSION = "0.0.95"
2
+ VERSION = "0.0.96"
3
3
  end
@@ -3,13 +3,13 @@
3
3
  }
4
4
 
5
5
  ::view-transition-old(.auto-animation):only-child {
6
- animation: var(--animate-fade-out) forwards;
7
- animation-duration: var(--time-200);
6
+ animation: var(--animate-fade-out);
7
+ animation-duration: 250ms;
8
8
  opacity: 1;
9
9
  }
10
10
 
11
11
  ::view-transition-new(.auto-animation):only-child {
12
- animation: var(--animate-fade-in) forwards;
13
- animation-duration: var(--time-200);
12
+ animation: var(--animate-fade-in);
13
+ animation-duration: 250ms;
14
14
  opacity: 0;
15
15
  }
@@ -15,8 +15,8 @@
15
15
 
16
16
  &:is(textarea[rows=auto]) {
17
17
  field-sizing: content;
18
- max-block-size: calc(10lh + var(--size-6));
19
- min-block-size: calc(3lh + var(--size-6));
18
+ max-block-size: calc(10lh + var(--size-4));
19
+ min-block-size: calc(3lh + var(--size-4));
20
20
  }
21
21
 
22
22
  &:is(select):not([multiple], [size]) {
@@ -44,12 +44,6 @@
44
44
  }
45
45
  }
46
46
 
47
- /* Hide invalid feedback by default */
48
- .invalid-feedback {
49
- display: none;
50
- }
51
-
52
- /* Containers that act like (and contain) inputs */
53
47
  .input--actor {
54
48
  input {
55
49
  border: 0; inline-size: 100%; outline: 0;
@@ -58,25 +52,19 @@
58
52
  img:not([class]) {
59
53
  filter: var(--input-icon-color, var(--color-filter-text));
60
54
  }
61
-
62
- &:focus-within {
63
- outline: var(--input-outline-size, 2px) solid var(--color-selected-dark);
64
- outline-offset: var(--border-2);
65
- }
66
55
  }
67
56
 
68
- /* Checkbox, radio, and range */
69
- .checkbox, .radio {
70
- accent-color: var(--color-primary); transform: scale(1.15);
57
+ :is(.checkbox, .radio) {
58
+ transform: scale(1.2);
71
59
  }
72
60
 
73
- .range {
61
+ :is(.checkbox, .radio, .range) {
74
62
  accent-color: var(--color-primary);
75
63
  }
76
64
 
77
65
  /* Styles that are shared between components */
78
66
  :is(.input, .checkbox, .radio, .range) {
79
- &:focus-visible {
67
+ :is(&:focus-visible, &.input--actor:focus-within) {
80
68
  outline: var(--input-outline-size, 2px) solid var(--color-selected-dark);
81
69
  outline-offset: var(--border-2);
82
70
  }
@@ -85,3 +73,8 @@
85
73
  border-color: var(--color-negative);
86
74
  }
87
75
  }
76
+
77
+ /* Hide invalid-feedback by default */
78
+ .invalid-feedback {
79
+ display: none;
80
+ }
@@ -18,6 +18,7 @@
18
18
 
19
19
  &[aria-selected=true] {
20
20
  --btn-background: var(--color-bg);
21
+ --btn-box-shadow: var(--shadow);
21
22
  --btn-hover-color: var(--color-bg);
22
23
  }
23
24
  }
@@ -54,6 +54,8 @@
54
54
 
55
55
  * {
56
56
  border-color: var(--color-border);
57
+ scrollbar-color: #C1C1C1 transparent;
58
+ scrollbar-width: thin;
57
59
  }
58
60
 
59
61
  html {
@@ -64,6 +66,7 @@ body {
64
66
  background-color: var(--color-bg);
65
67
  color: var(--color-text);
66
68
  font-synthesis-weight: none;
69
+ overscroll-behavior: none;
67
70
  text-rendering: optimizeLegibility;
68
71
  }
69
72
 
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: 0.0.95
4
+ version: 0.0.96
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-01-21 00:00:00.000000000 Z
11
+ date: 2025-01-22 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: lazaronixon@hotmail.com