sass-zero 1.0.4 → 1.0.5

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: 639d2237bb436847c5d444782c9711f2d7a1266c9298dab7b00cdd4858bb86ce
4
- data.tar.gz: dc62528f5f7360aa95de46fe05d1e1e57262295128b22dd3609468a7cf02c9d0
3
+ metadata.gz: f32539e9c34c61f5d5be57df924b211662fbb61c8600b75e4d276a684976bb0b
4
+ data.tar.gz: c6cc588d93f8dd57bd6dcd91090b9bb3ef5f661f8c831e5b2a6af71e30461479
5
5
  SHA512:
6
- metadata.gz: fbb3e1d5d494a8f74d0e5d6a9c8746325204468aad8b55359e0b4481ab0519b5c385697902736f07240e68a797c356c53e7a0cfa3436ca402ba2782ca3abc950
7
- data.tar.gz: efee3e53a12963984a7d437663e90cd98409bd3bdfd68c0179e13bd54a30b1f98af02f8a44d16eb0af5933f76d2b003c6a9f0ef49954170aa2f877f81a246900
6
+ metadata.gz: 74014a811dff43c7348d850726619c924231fcb810e3c61fcc27444b4d6b8730f1acf7f9691486026b1c123970223ac52b76c1e0967dfa70e716bacac738d979
7
+ data.tar.gz: cc6eb9014294a9c7fe3c578d54d96a7fdd97c5466a332629d3e3ad77e47b065aec5572aba96fc0b93d987b0c9f8e54e4f444121607e0dbba245deb84f89b46cd
data/Example.html CHANGED
@@ -18,9 +18,11 @@
18
18
  <button class="btn btn--secondary">Button Secondary</button>
19
19
  <button class="btn btn--tertiary">Button Tertiary</button>
20
20
 
21
- <a href="#" class="btn btn--primary">Link Button</a>
21
+ <a href="#" class="btn btn--secondary">Link Button</a>
22
+ <input type="submit" value="Submit Button" class="btn btn--secondary" />
22
23
 
23
- <input type="submit" value="Submit Button" class="btn btn--primary" />
24
+ <button class="btn btn--secondary"><i class="bx bx-plus"></i> Icon Button</button>
25
+ <button class="btn btn--secondary btn--small">Small Button</button>
24
26
 
25
27
  <hr>
26
28
 
data/README.md CHANGED
@@ -116,6 +116,7 @@ Create some stylesheet using [BEM](http://getbem.com/naming) and [SASS-ZERO Vari
116
116
  - [BEM](http://getbem.com/naming)
117
117
  - [Refactoring UI](https://refactoringui.com/book)
118
118
  - [Shape UP](https://basecamp.com/shapeup)
119
+ - [Boxicons](https://boxicons.com)
119
120
 
120
121
  ## License
121
122
 
@@ -58,6 +58,15 @@ html {
58
58
  border-color: $transparent;
59
59
  }
60
60
 
61
+ &--small {
62
+ font-size: $text-sm;
63
+ }
64
+
65
+ & > i {
66
+ vertical-align: sub;
67
+ font-size: 1.25em;
68
+ }
69
+
61
70
  &:focus {
62
71
  box-shadow: ring($color: var(--color-focus-ring));
63
72
  @include outline-none;
@@ -93,6 +102,11 @@ html {
93
102
  box-shadow: ring($color: var(--color-focus-ring));
94
103
  @include outline-none;
95
104
  }
105
+
106
+ &:disabled {
107
+ pointer-events: none;
108
+ opacity: $opacity-50;
109
+ }
96
110
  }
97
111
 
98
112
  input[type="checkbox"], input[type="radio"] {
@@ -1,5 +1,5 @@
1
1
  module Sass
2
2
  module Zero
3
- VERSION = "1.0.4"
3
+ VERSION = "1.0.5"
4
4
  end
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sass-zero",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
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",
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: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - lazaronixon