css-zero 0.0.25 → 0.0.26

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: b904762be7cdca0956aa0340d32bdaf524ce2f10b106e30f2487104904ce23cf
4
- data.tar.gz: cd968a19dfbd06001ba9b009c73cc513d2a5440c0d53146b062e4561e4c5c187
3
+ metadata.gz: 2a4abc591fd494e591052a0bc63cb46af6d9a0cbae7c126c07b914a15a097175
4
+ data.tar.gz: d5ed800b2b6a0ef53ccb8f41a6a8706f63dbe0b92e266b3c606afbf21d143aef
5
5
  SHA512:
6
- metadata.gz: e2c9fbae5418104337666b1302c9ae824f72adcce8009cde01ed5df1a12e770726598d16d3cf1dd885a0d318328e0889922dc4230975b06129a7f72f8a7ee45d
7
- data.tar.gz: 1a65d184ce40cce70efcb94afc23100e0c2019668a4aba36eee69b1abae86fd7beb966f061ec15d71c6acf8ecf18e3eef3587535da320497e1d8d086aee17ff9
6
+ metadata.gz: fdf03752432fe469809a8299338cd0726022514b462cb0ab7523bfe533169cd47a6edc97fc7fb34e9ef31432f9c1470a257bcf15bca53eb40e905030f47dff3f
7
+ data.tar.gz: 79397cb9785170dc47b34669592e67478159b2a75585155177174dd19951fc2325837af549a188d97e3e6dff26fcef87855f877e4889863f2a88e63fd1a673f3
data/README.md CHANGED
@@ -54,6 +54,7 @@ If you are using [Sprockets](https://github.com/rails/sprockets) make sure to lo
54
54
  *= require typography
55
55
  *= require_tree .
56
56
  *= require_self
57
+ *= require zindex
57
58
  *= require zutilities
58
59
  */
59
60
  ```
@@ -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
+ }
@@ -1,3 +1,3 @@
1
1
  module CssZero
2
- VERSION = "0.0.25"
2
+ VERSION = "0.0.26"
3
3
  end
@@ -15,7 +15,6 @@
15
15
  color: var(--color-text);
16
16
  }
17
17
 
18
- /* Small screens and below */
19
18
  @media (width < 40rem) {
20
19
  gap: var(--size-1_5);
21
20
  }
@@ -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
  }
@@ -47,7 +47,6 @@
47
47
  }
48
48
  }
49
49
 
50
- /* Small screens and below */
51
50
  @media (width < 40rem) {
52
51
  max-inline-size: none;
53
52
  text-align: center;
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.25
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