sass-zero 0.0.47 → 0.0.51

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: 2a31299ba5a18323b097072ca19ed18e074a33cceae5d52d8dcb7defdba8ac31
4
- data.tar.gz: d21a8567351022034bbcf179130c9dd23a848e42a134419758dc5a902417b129
3
+ metadata.gz: 1a755dda04ae3abd81d14fc0701f7153396e158f1aa1f565fa746c377ee88f60
4
+ data.tar.gz: dab9743199cf481603ea42f411bd0bf1c4659a769feebbb5add11ba5774aca4b
5
5
  SHA512:
6
- metadata.gz: 99218a1afd73ea6f469085ba8ce0540010fcc50a47b36baa03f1e9a59c5f2414077e0d99871ae15165f409306636ea49236209d82b72c7c8330f80c23869c9fa
7
- data.tar.gz: a93203f808882fdc36b682499cbfd7792e7c40c7d501b966b91dee5a0387b18404d8cf9c92b9f748ac570b7551a87639e61a94411eecabddfd48bc33b263c846
6
+ metadata.gz: 0afe3f2dca9b2bdfae8acdee0522f54d6e5c79fe9016440aaad843823459fa55fc903f6f7baad90807c7a7dd50f9073d581ecc8b3a1a14db42eadcf91642e1f4
7
+ data.tar.gz: 4627eb5f8f78f57c15d05830b41168a59913b952cacff08d7f16a6a95beaa94df7226e632f5bebda07c17837d938cc536187ad58d737f347048efb83fc86479c
data/README.md CHANGED
@@ -71,7 +71,6 @@ Add this to your application's Gemfile:
71
71
 
72
72
  ```ruby
73
73
  gem 'sass-zero'
74
- gem 'autoprefixer-rails'
75
74
  ```
76
75
 
77
76
  ## Usage
@@ -63,7 +63,7 @@ html {
63
63
  border-radius: $radius-input;
64
64
  border-width: $border;
65
65
  padding: $size-2 $size-3;
66
- width: $size-full;
66
+ width: $w-full;
67
67
 
68
68
  &--select {
69
69
  background-image: var(--image-bg-select);
@@ -173,7 +173,7 @@ blockquote, figure, p, pre, table, ul, ol, dl {
173
173
  }
174
174
 
175
175
  table {
176
- width: $size-full;
176
+ width: $w-full;
177
177
  }
178
178
 
179
179
  td, th {
@@ -62,6 +62,6 @@
62
62
  width: 100%;
63
63
  padding-right: $padding-x;
64
64
  padding-left: $padding-x;
65
- margin-right: $size-auto;
66
- margin-left: $size-auto;
65
+ margin-right: auto;
66
+ margin-left: auto;
67
67
  }
@@ -1,23 +1,29 @@
1
1
  // *******************************************************************
2
2
  // Height
3
3
  // Variables for setting the height of an element
4
- // height: $h-per-1-2;
4
+ // height: $h-1-2;
5
5
  // *******************************************************************
6
- $h-per-1-2: 50%;
7
- $h-per-1-3: 33.333333%;
8
- $h-per-2-3: 66.666667%;
9
- $h-per-1-4: 25%;
10
- $h-per-2-4: 50%;
11
- $h-per-3-4: 75%;
12
- $h-per-1-5: 20%;
13
- $h-per-2-5: 40%;
14
- $h-per-3-5: 60%;
15
- $h-per-4-5: 80%;
16
- $h-per-1-6: 16.666667%;
17
- $h-per-2-6: 33.333333%;
18
- $h-per-3-6: 50%;
19
- $h-per-4-6: 66.666667%;
20
- $h-per-5-6: 83.333333%;
6
+ $h-auto: auto;
7
+ $h-1-2: 50%;
8
+ $h-1-3: 33.333333%;
9
+ $h-2-3: 66.666667%;
10
+ $h-1-4: 25%;
11
+ $h-2-4: 50%;
12
+ $h-3-4: 75%;
13
+ $h-1-5: 20%;
14
+ $h-2-5: 40%;
15
+ $h-3-5: 60%;
16
+ $h-4-5: 80%;
17
+ $h-1-6: 16.666667%;
18
+ $h-2-6: 33.333333%;
19
+ $h-3-6: 50%;
20
+ $h-4-6: 66.666667%;
21
+ $h-5-6: 83.333333%;
22
+ $h-full: 100%;
23
+ $h-screen: 100vw;
24
+ $h-min: min-content;
25
+ $h-max: max-content;
26
+ $h-fit: fit-content;
21
27
 
22
28
  // *******************************************************************
23
29
  // Min-Height
@@ -27,6 +33,9 @@ $h-per-5-6: 83.333333%;
27
33
  $min-h-0: 0px;
28
34
  $min-h-full: 100%;
29
35
  $min-h-screen: 100vh;
36
+ $min-h-min: min-content;
37
+ $min-h-max: max-content;
38
+ $min-h-fit: fit-content;
30
39
 
31
40
  // *******************************************************************
32
41
  // Max-Height
@@ -35,3 +44,6 @@ $min-h-screen: 100vh;
35
44
  // *******************************************************************
36
45
  $max-h-full: 100%;
37
46
  $max-h-screen: 100vh;
47
+ $max-h-min: min-content;
48
+ $max-h-max: max-content;
49
+ $max-h-fit: fit-content;
@@ -39,10 +39,4 @@ $size-72: 18rem;
39
39
  $size-80: 20rem;
40
40
  $size-96: 24rem;
41
41
 
42
- $size-auto: auto;
43
- $size-full: 100%;
44
- $size-screen: 100vw;
45
- $size-min: min-content;
46
- $size-max: max-content;
47
-
48
42
  $size-map: ("xs": $size-1, "sm": $size-2, "md": $size-4, "lg": $size-6, "xl": $size-8, "2xl": $size-10, "3xl": $size-12);
@@ -29,6 +29,19 @@ $rotate-45: 45deg;
29
29
  $rotate-90: 90deg;
30
30
  $rotate-180: 180deg;
31
31
 
32
+ // *******************************************************************
33
+ // Translate
34
+ // Variables for translating elements with transform.
35
+ // transform: translate($translate-1-2);
36
+ // *******************************************************************
37
+ $translate-1-2: 50%;
38
+ $translate-1-3: 33.333333%;
39
+ $translate-2-3: 66.666667%;
40
+ $translate-1-4: 25%;
41
+ $translate-2-4: 50%;
42
+ $translate-3-4: 75%;
43
+ $translate-full: 100%;
44
+
32
45
  // *******************************************************************
33
46
  // Skew
34
47
  // Variables for skewing elements with transform.
@@ -1,34 +1,40 @@
1
1
  // *******************************************************************
2
2
  // Width
3
3
  // Variables for setting the width of an element
4
- // width: $w-per-1-2;
4
+ // width: $w-1-2;
5
5
  // *******************************************************************
6
- $w-per-1-2: 50%;
7
- $w-per-1-3: 33.333333%;
8
- $w-per-2-3: 66.666667%;
9
- $w-per-1-4: 25%;
10
- $w-per-2-4: 50%;
11
- $w-per-3-4: 75%;
12
- $w-per-1-5: 20%;
13
- $w-per-2-5: 40%;
14
- $w-per-3-5: 60%;
15
- $w-per-4-5: 80%;
16
- $w-per-1-6: 16.666667%;
17
- $w-per-2-6: 33.333333%;
18
- $w-per-3-6: 50%;
19
- $w-per-4-6: 66.666667%;
20
- $w-per-5-6: 83.333333%;
21
- $w-per-1-12: 8.333333%;
22
- $w-per-2-12: 16.666667%;
23
- $w-per-3-12: 25%;
24
- $w-per-4-12: 33.333333%;
25
- $w-per-5-12: 41.666667%;
26
- $w-per-6-12: 50%;
27
- $w-per-7-12: 58.333333%;
28
- $w-per-8-12: 66.666667%;
29
- $w-per-9-12: 75%;
30
- $w-per-10-12: 83.333333%;
31
- $w-per-11-12: 91.666667%;
6
+ $w-auto: auto;
7
+ $w-1-2: 50%;
8
+ $w-1-3: 33.333333%;
9
+ $w-2-3: 66.666667%;
10
+ $w-1-4: 25%;
11
+ $w-2-4: 50%;
12
+ $w-3-4: 75%;
13
+ $w-1-5: 20%;
14
+ $w-2-5: 40%;
15
+ $w-3-5: 60%;
16
+ $w-4-5: 80%;
17
+ $w-1-6: 16.666667%;
18
+ $w-2-6: 33.333333%;
19
+ $w-3-6: 50%;
20
+ $w-4-6: 66.666667%;
21
+ $w-5-6: 83.333333%;
22
+ $w-1-12: 8.333333%;
23
+ $w-2-12: 16.666667%;
24
+ $w-3-12: 25%;
25
+ $w-4-12: 33.333333%;
26
+ $w-5-12: 41.666667%;
27
+ $w-6-12: 50%;
28
+ $w-7-12: 58.333333%;
29
+ $w-8-12: 66.666667%;
30
+ $w-9-12: 75%;
31
+ $w-10-12: 83.333333%;
32
+ $w-11-12: 91.666667%;
33
+ $w-full: 100%;
34
+ $w-screen: 100vw;
35
+ $w-min: min-content;
36
+ $w-max: max-content;
37
+ $w-fit: fit-content;
32
38
 
33
39
  // *******************************************************************
34
40
  // Min-Width
@@ -39,6 +45,7 @@ $min-w-0: 0px;
39
45
  $min-w-full: 100%;
40
46
  $min-w-min: min-content;
41
47
  $min-w-max: max-content;
48
+ $min-w-fit: fit-content;
42
49
 
43
50
  // *******************************************************************
44
51
  // Max-Width
@@ -61,3 +68,4 @@ $max-w-7xl: 80rem;
61
68
  $max-w-full: 100%;
62
69
  $max-w-min: min-content;
63
70
  $max-w-max: max-content;
71
+ $max-w-fit: fit-content;
@@ -1,5 +1,5 @@
1
1
  module Sass
2
2
  module Zero
3
- VERSION = "0.0.47"
3
+ VERSION = "0.0.51"
4
4
  end
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sass-zero",
3
- "version": "0.0.47",
3
+ "version": "0.0.51",
4
4
  "description": "A CSS framework for rapid UI development based on tailwindcss, miligram and BEM.",
5
5
  "homepage": "https://github.com/lazaronixon/sass-zero",
6
6
  "repository": "lazaronixon/sass-zero",
data/sass-zero.gemspec CHANGED
@@ -12,7 +12,5 @@ Gem::Specification.new do |spec|
12
12
  spec.homepage = "http://github.com/lazaronixon/sass-zero"
13
13
  spec.license = "MIT"
14
14
 
15
- spec.add_runtime_dependency "autoprefixer-rails", "~> 10.3"
16
-
17
15
  spec.files = `git ls-files -z`.split("\x0")
18
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.47
4
+ version: 0.0.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - lazaronixon
@@ -9,21 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
  date: 2021-11-16 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: autoprefixer-rails
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '10.3'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '10.3'
12
+ dependencies: []
27
13
  description:
28
14
  email:
29
15
  - lazaronixon@hotmail.com