sass-zero 1.0.10 → 1.0.11
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 +4 -4
- data/Example.html +18 -11
- data/README.md +1 -1
- data/app/assets/stylesheets/sass-zero/breadboard.scss +23 -14
- data/lib/sass/zero/version.rb +1 -1
- data/package.json +1 -1
- 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: 434617b953cb4c1b51ac562df8b612995eac6531e07bd07a4a0adb1f32e64a07
|
4
|
+
data.tar.gz: 5b50f9c8733265c4a6c81bfcb5c4bafa21174fddf667e4038fe81b498d2b8543
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ac370cd59f72392d1dd2979ddf2b0a1937ce21305d5968c492b456972fc3cdf0a74f30ac88af0f9c158794b059867c866f53b57bbfa3340a745518eb4d914f0
|
7
|
+
data.tar.gz: 17c4474dd4640aded41b8fa7a5d0db428c5597b5e03e46eb9eb9d8464b1ce633e7ed9d459a3b6d76e0f5d09551b6a60a72efc263c469ae30927d28e9a9a0367c
|
data/Example.html
CHANGED
@@ -19,9 +19,21 @@
|
|
19
19
|
<button class="btn btn--tertiary">Button Tertiary</button>
|
20
20
|
|
21
21
|
<a href="#" class="btn btn--secondary">Link Button</a>
|
22
|
+
|
22
23
|
<input type="submit" value="Submit Button" class="btn btn--secondary" />
|
23
24
|
|
24
|
-
<
|
25
|
+
<details>
|
26
|
+
<summary class="btn btn--secondary">Popup Button</summary>
|
27
|
+
<div class="popup-menu push-xs--top u-position--right">
|
28
|
+
<ul class="list--unindented u-nowrap flush">
|
29
|
+
<li>Unordered list item 1</li>
|
30
|
+
<li>Unordered list item 2</li>
|
31
|
+
<li>Unordered list item 3</li>
|
32
|
+
</ul>
|
33
|
+
</div>
|
34
|
+
</details>
|
35
|
+
|
36
|
+
<button class="btn btn--secondary"><span class="btn__icon bx bx-plus"></span> Icon Button</button>
|
25
37
|
<button class="btn btn--secondary btn--small">Small Button</button>
|
26
38
|
|
27
39
|
<hr>
|
@@ -115,11 +127,6 @@
|
|
115
127
|
</tbody>
|
116
128
|
</table>
|
117
129
|
|
118
|
-
<details>
|
119
|
-
<summary>Some details</summary>
|
120
|
-
<p>More info about the details.</p>
|
121
|
-
</details>
|
122
|
-
|
123
130
|
<blockquote>
|
124
131
|
<p class="flush--bottom">Friends don’t spy; true friendship is about privacy, too.</p>
|
125
132
|
<cite class="txt--sm">– Stephen King</cite>
|
@@ -137,11 +144,6 @@
|
|
137
144
|
</code>
|
138
145
|
</div>
|
139
146
|
|
140
|
-
<div class="push-md--bottom">
|
141
|
-
<label for="progres" class="u-display-b txt--bold">Progress</label>
|
142
|
-
<progress id="progres" max="100" value="70">70%</progress>
|
143
|
-
</div>
|
144
|
-
|
145
147
|
<div class="push-3xl--bottom">
|
146
148
|
<dialog open>
|
147
149
|
<form method="dialog">
|
@@ -151,6 +153,11 @@
|
|
151
153
|
</dialog>
|
152
154
|
</div>
|
153
155
|
|
156
|
+
<div class="push-md--bottom">
|
157
|
+
<label for="progres" class="u-display-b txt--bold">Progress</label>
|
158
|
+
<progress id="progres" max="100" value="70">70%</progress>
|
159
|
+
</div>
|
160
|
+
|
154
161
|
<hr>
|
155
162
|
|
156
163
|
<ul class="list--unindented">
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
SASS-ZERO is a css framework that brings concepts from [tailwindcss](https://tailwindcss.com) and [milligram](https://milligram.io) but with ideas from [BEM](http://getbem.com/naming), [Refactoring UI](https://refactoringui.com/book) and [Shape UP](https://basecamp.com/shapeup).
|
4
4
|
|
5
|
-

|
6
6
|
|
7
7
|
### Milligram
|
8
8
|
|
@@ -3,8 +3,8 @@
|
|
3
3
|
|
4
4
|
$font-family: $font-sans;
|
5
5
|
|
6
|
-
$radius-
|
7
|
-
$radius-
|
6
|
+
$radius-primary: $rounded;
|
7
|
+
$radius-secondary: $rounded;
|
8
8
|
|
9
9
|
:root {
|
10
10
|
--color-bg--main: #{$white};
|
@@ -32,7 +32,7 @@ html {
|
|
32
32
|
}
|
33
33
|
|
34
34
|
.btn {
|
35
|
-
border-radius: $radius-
|
35
|
+
border-radius: $radius-primary;
|
36
36
|
border-width: $border;
|
37
37
|
display: inline-block;
|
38
38
|
font-weight: $font-bold;
|
@@ -59,7 +59,7 @@ html {
|
|
59
59
|
font-size: $text-sm;
|
60
60
|
}
|
61
61
|
|
62
|
-
&
|
62
|
+
&__icon {
|
63
63
|
vertical-align: sub;
|
64
64
|
font-size: 1.25em;
|
65
65
|
}
|
@@ -74,7 +74,7 @@ html {
|
|
74
74
|
@include appearance-none;
|
75
75
|
resize: none;
|
76
76
|
background-color: var(--color-bg--main);
|
77
|
-
border-radius: $radius-
|
77
|
+
border-radius: $radius-secondary;
|
78
78
|
border-width: $border;
|
79
79
|
padding: $size-2 $size-3;
|
80
80
|
width: $w-full;
|
@@ -94,6 +94,14 @@ html {
|
|
94
94
|
}
|
95
95
|
}
|
96
96
|
|
97
|
+
.popup-menu {
|
98
|
+
background-color: var(--color-bg--surface);
|
99
|
+
border-radius: $radius-secondary;
|
100
|
+
padding: $size-2 $size-3;
|
101
|
+
box-shadow: $shadow-md;
|
102
|
+
position: absolute;
|
103
|
+
}
|
104
|
+
|
97
105
|
input[type="checkbox"], input[type="radio"] {
|
98
106
|
transform: scale(1.2, 1.2);
|
99
107
|
margin: $size-1;
|
@@ -176,15 +184,15 @@ fieldset, .input {
|
|
176
184
|
margin-bottom: $size-6;
|
177
185
|
}
|
178
186
|
|
179
|
-
table, progress,
|
187
|
+
table, progress, blockquote, figure, pre, menu, ul, ol, dl, p {
|
180
188
|
margin-bottom: $size-6;
|
181
189
|
}
|
182
190
|
|
183
191
|
dialog {
|
184
192
|
background-color: var(--color-bg--surface);
|
185
|
-
border-radius: $radius-
|
193
|
+
border-radius: $radius-primary;
|
186
194
|
padding: $size-3 $size-4;
|
187
|
-
box-shadow: $shadow-
|
195
|
+
box-shadow: $shadow-lg;
|
188
196
|
color: inherit;
|
189
197
|
}
|
190
198
|
|
@@ -201,15 +209,16 @@ progress {
|
|
201
209
|
}
|
202
210
|
|
203
211
|
details {
|
204
|
-
|
205
|
-
|
206
|
-
padding: $size-2 $size-3;
|
212
|
+
position: relative;
|
213
|
+
display: inline-block;
|
207
214
|
}
|
208
215
|
|
209
216
|
summary {
|
210
|
-
|
211
|
-
|
212
|
-
|
217
|
+
list-style: none;
|
218
|
+
}
|
219
|
+
|
220
|
+
summary::-webkit-details-marker {
|
221
|
+
display: none;
|
213
222
|
}
|
214
223
|
|
215
224
|
table, progress {
|
data/lib/sass/zero/version.rb
CHANGED
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "sass-zero",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.11",
|
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,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-zero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lazaronixon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-10 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|