css-zero 0.0.25 → 0.0.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/app/assets/stylesheets/_reset.css +8 -0
- data/app/assets/stylesheets/zindex.css +13 -0
- data/lib/css_zero/version.rb +1 -1
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/breadcrumb.css +0 -1
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/dialog.css +0 -2
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/input.css +0 -6
- data/lib/generators/css_zero/add/templates/app/assets/stylesheets/sheet.css +0 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a4abc591fd494e591052a0bc63cb46af6d9a0cbae7c126c07b914a15a097175
|
4
|
+
data.tar.gz: d5ed800b2b6a0ef53ccb8f41a6a8706f63dbe0b92e266b3c606afbf21d143aef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdf03752432fe469809a8299338cd0726022514b462cb0ab7523bfe533169cd47a6edc97fc7fb34e9ef31432f9c1470a257bcf15bca53eb40e905030f47dff3f
|
7
|
+
data.tar.gz: 79397cb9785170dc47b34669592e67478159b2a75585155177174dd19951fc2325837af549a188d97e3e6dff26fcef87855f877e4889863f2a88e63fd1a673f3
|
data/README.md
CHANGED
@@ -193,6 +193,14 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
193
193
|
appearance: button;
|
194
194
|
}
|
195
195
|
|
196
|
+
/*
|
197
|
+
Revert padding block, it can be noticed in select with multiple.
|
198
|
+
*/
|
199
|
+
|
200
|
+
option {
|
201
|
+
padding-block: revert;
|
202
|
+
}
|
203
|
+
|
196
204
|
/*
|
197
205
|
Use the modern Firefox focus style for all focusable elements.
|
198
206
|
*/
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/****************************************************************
|
2
|
+
* Z-Index
|
3
|
+
* Utilities for controlling the stack order of an element.
|
4
|
+
* z-index: var(--z-10);
|
5
|
+
*****************************************************************/
|
6
|
+
|
7
|
+
:root {
|
8
|
+
--z-10: 10;
|
9
|
+
--z-20: 20;
|
10
|
+
--z-30: 30;
|
11
|
+
--z-40: 40;
|
12
|
+
--z-50: 50;
|
13
|
+
}
|
data/lib/css_zero/version.rb
CHANGED
@@ -47,7 +47,6 @@
|
|
47
47
|
}
|
48
48
|
}
|
49
49
|
|
50
|
-
/* Small screens and below */
|
51
50
|
@media (width < 40rem) {
|
52
51
|
border-end-end-radius: 0;
|
53
52
|
border-end-start-radius: 0;
|
@@ -61,7 +60,6 @@
|
|
61
60
|
inset-inline-end: var(--size-4);
|
62
61
|
position: absolute;
|
63
62
|
|
64
|
-
/* Small screens and below */
|
65
63
|
@media (width < 40rem) {
|
66
64
|
display: none;
|
67
65
|
}
|
@@ -8,10 +8,6 @@
|
|
8
8
|
inline-size: var(--size-full);
|
9
9
|
padding: var(--size-2) var(--size-3);
|
10
10
|
|
11
|
-
option {
|
12
|
-
padding-block: var(--size-1);
|
13
|
-
}
|
14
|
-
|
15
11
|
&:is(textarea):not([rows]) {
|
16
12
|
field-sizing: content;
|
17
13
|
max-block-size: calc(10lh + var(--size-6));
|
@@ -64,13 +60,11 @@
|
|
64
60
|
}
|
65
61
|
|
66
62
|
:is(.input, .range, .checkbox, .radio) {
|
67
|
-
/* Keyboard navigation */
|
68
63
|
&:focus-visible {
|
69
64
|
outline: var(--border-2) solid var(--color-selected-dark);
|
70
65
|
outline-offset: var(--border-2);
|
71
66
|
}
|
72
67
|
|
73
|
-
/* Server side validation */
|
74
68
|
.field_with_errors & {
|
75
69
|
border-color: var(--color-negative);
|
76
70
|
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lázaro Nixon
|
@@ -29,6 +29,7 @@ files:
|
|
29
29
|
- app/assets/stylesheets/transform.css
|
30
30
|
- app/assets/stylesheets/transition.css
|
31
31
|
- app/assets/stylesheets/typography.css
|
32
|
+
- app/assets/stylesheets/zindex.css
|
32
33
|
- app/assets/stylesheets/zutilities.css
|
33
34
|
- app/helpers/dialog_helper.rb
|
34
35
|
- lib/css-zero.rb
|