css-zero 0.0.95 → 0.0.97
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/_reset.css +8 -0
- data/lib/css_zero/version.rb +1 -1
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/accordion.css +1 -2
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/autoanimate.css +4 -4
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/button.css +0 -1
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/input.css +11 -20
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/switch.css +0 -1
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/tabs.css +1 -0
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/toggle.css +0 -1
- data/lib/generators/css_zero/install/templates/app/assets/stylesheets/base.css +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f1aa4a29c591641e6f403f3734973ea9e19d7101929bec1725d129f88e481547
|
4
|
+
data.tar.gz: a623908e1732085a70b192792f37278f7ed70d298220efa0a730108d04c9179a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b8d9254eff979184f3204d87f4e300eab4c58d19aa131674c00e64b35f22207b36ea98fad796520afcff2725231a790d4264e90b252bbc111104262a49380cb
|
7
|
+
data.tar.gz: d2bf82ef13a9718285b86fb5061791428cb6e896bfddcb786af13f1ab1f0dd42cee2a2dd3a09bb3cc7d50b164d872a0cab5454441ceeebf83c1e1c22a68e0f07
|
data/lib/css_zero/version.rb
CHANGED
@@ -3,13 +3,13 @@
|
|
3
3
|
}
|
4
4
|
|
5
5
|
::view-transition-old(.auto-animation):only-child {
|
6
|
-
animation: var(--animate-fade-out)
|
7
|
-
animation-duration:
|
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)
|
13
|
-
animation-duration:
|
12
|
+
animation: var(--animate-fade-in);
|
13
|
+
animation-duration: 250ms;
|
14
14
|
opacity: 0;
|
15
15
|
}
|
@@ -9,14 +9,10 @@
|
|
9
9
|
min-block-size: var(--input-block-size, var(--size-9));
|
10
10
|
padding: var(--input-padding, 0.375rem 0.75rem);
|
11
11
|
|
12
|
-
option {
|
13
|
-
padding-block: 2px;
|
14
|
-
}
|
15
|
-
|
16
12
|
&:is(textarea[rows=auto]) {
|
17
13
|
field-sizing: content;
|
18
|
-
max-block-size: calc(10lh + var(--size-
|
19
|
-
min-block-size: calc(3lh + var(--size-
|
14
|
+
max-block-size: calc(10lh + var(--size-4));
|
15
|
+
min-block-size: calc(3lh + var(--size-4));
|
20
16
|
}
|
21
17
|
|
22
18
|
&:is(select):not([multiple], [size]) {
|
@@ -44,12 +40,6 @@
|
|
44
40
|
}
|
45
41
|
}
|
46
42
|
|
47
|
-
/* Hide invalid feedback by default */
|
48
|
-
.invalid-feedback {
|
49
|
-
display: none;
|
50
|
-
}
|
51
|
-
|
52
|
-
/* Containers that act like (and contain) inputs */
|
53
43
|
.input--actor {
|
54
44
|
input {
|
55
45
|
border: 0; inline-size: 100%; outline: 0;
|
@@ -61,24 +51,25 @@
|
|
61
51
|
|
62
52
|
&:focus-within {
|
63
53
|
outline: var(--input-outline-size, 2px) solid var(--color-selected-dark);
|
64
|
-
outline-offset: var(--border-2);
|
65
54
|
}
|
66
55
|
}
|
67
56
|
|
68
|
-
|
69
|
-
|
70
|
-
accent-color: var(--color-primary); transform: scale(1.15);
|
57
|
+
:is(.checkbox, .radio, .range) {
|
58
|
+
accent-color: var(--color-primary);
|
71
59
|
}
|
72
60
|
|
73
|
-
.
|
74
|
-
|
61
|
+
:is(.checkbox, .radio) {
|
62
|
+
transform: scale(1.2);
|
63
|
+
}
|
64
|
+
|
65
|
+
.invalid-feedback {
|
66
|
+
display: none;
|
75
67
|
}
|
76
68
|
|
77
|
-
/* Styles
|
69
|
+
/* Styles shared between components */
|
78
70
|
:is(.input, .checkbox, .radio, .range) {
|
79
71
|
&:focus-visible {
|
80
72
|
outline: var(--input-outline-size, 2px) solid var(--color-selected-dark);
|
81
|
-
outline-offset: var(--border-2);
|
82
73
|
}
|
83
74
|
|
84
75
|
.field_with_errors & {
|
@@ -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.
|
4
|
+
version: 0.0.97
|
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-
|
11
|
+
date: 2025-01-23 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email: lazaronixon@hotmail.com
|