sass-zero 1.4.0 → 1.4.1
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/Gemfile.lock +1 -1
- data/app/assets/stylesheets/sass-zero/breadboard.scss +24 -25
- data/app/assets/stylesheets/sass-zero/utilities/_text.scss +0 -4
- data/app/assets/stylesheets/sass-zero/variables/_sizing.scss +4 -4
- data/example.html +13 -13
- data/lib/sass_zero/version.rb +1 -1
- data/screenshot.png +0 -0
- 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: 43fba23c8010823b3278387a11cfc2db218044e4cc61cf6219beeaaf060a6940
|
4
|
+
data.tar.gz: 03e0c3a1c4fbc02616943b771985c7ed27c56fcceaa80fdd83d1e970304477b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a586b446208ff8e53a49b7672d5b4200307e62bbd535de22f4ea420c76232f8b958f17f177c923fa616cfd1d4319528951cbc936bced755e414c35668f5d4884
|
7
|
+
data.tar.gz: cbaadf48fc3f0d2a2dd1044c58d57da8304faf0662c435aa9cc356ecaf9776b6086455fee9b486c1d779d8466eb25a44249614d8e856a74be2b698fd6f2e5e42
|
data/Gemfile.lock
CHANGED
@@ -30,22 +30,22 @@ $radius-secondary: $rounded;
|
|
30
30
|
border-color: var(--color-border);
|
31
31
|
}
|
32
32
|
|
33
|
-
|
33
|
+
html {
|
34
34
|
accent-color: var(--color-primary);
|
35
35
|
background: var(--color-bg--main);
|
36
36
|
color: var(--color-text);
|
37
37
|
font-family: $font-family;
|
38
38
|
}
|
39
39
|
|
40
|
-
@media (
|
41
|
-
|
40
|
+
@media (min-width: $breakpoint-md) {
|
41
|
+
html { font-size: $text-xl; }
|
42
42
|
}
|
43
43
|
|
44
44
|
.btn {
|
45
45
|
border-radius: $radius-primary;
|
46
46
|
border-width: $border;
|
47
47
|
display: inline-block;
|
48
|
-
padding: $size-1
|
48
|
+
padding: $size-1 $size-3;
|
49
49
|
font-weight: $font-medium;
|
50
50
|
cursor: pointer;
|
51
51
|
|
@@ -86,7 +86,7 @@ body {
|
|
86
86
|
background-color: var(--color-bg--surface);
|
87
87
|
border-radius: $radius-secondary;
|
88
88
|
border-width: $border;
|
89
|
-
padding: $size-2
|
89
|
+
padding: $size-2;
|
90
90
|
width: $w-full;
|
91
91
|
|
92
92
|
&--select {
|
@@ -107,19 +107,18 @@ body {
|
|
107
107
|
.dropdown {
|
108
108
|
background-color: var(--color-bg--surface);
|
109
109
|
border-width: $border; border-radius: $radius-primary;
|
110
|
-
padding: $size-
|
111
|
-
box-shadow: $shadow-lg;
|
110
|
+
padding: $size-4;
|
112
111
|
position: absolute;
|
113
112
|
z-index: $z-10;
|
114
113
|
}
|
115
114
|
|
116
115
|
[type="checkbox"], [type="radio"] {
|
117
|
-
transform: scale(1.
|
116
|
+
transform: scale(1.35); margin: $size-1;
|
118
117
|
}
|
119
118
|
|
120
119
|
blockquote {
|
121
120
|
border-left-width: $border-4;
|
122
|
-
padding: $size-
|
121
|
+
padding: $size-2-5;
|
123
122
|
}
|
124
123
|
|
125
124
|
code {
|
@@ -138,7 +137,7 @@ pre {
|
|
138
137
|
> code {
|
139
138
|
border-radius: $rounded-none;
|
140
139
|
display: block;
|
141
|
-
padding: $size-
|
140
|
+
padding: $size-2-5;
|
142
141
|
white-space: pre;
|
143
142
|
}
|
144
143
|
}
|
@@ -159,11 +158,12 @@ mark {
|
|
159
158
|
}
|
160
159
|
|
161
160
|
hr {
|
162
|
-
|
161
|
+
border-color: var(--color-primary);
|
162
|
+
margin: $size-5 $size-0;
|
163
163
|
}
|
164
164
|
|
165
165
|
menu, ul, ol {
|
166
|
-
padding-left: $size-
|
166
|
+
padding-left: $size-10;
|
167
167
|
}
|
168
168
|
|
169
169
|
menu, ul {
|
@@ -179,21 +179,21 @@ dt {
|
|
179
179
|
}
|
180
180
|
|
181
181
|
fieldset, .input {
|
182
|
-
margin-bottom: $size-
|
182
|
+
margin-bottom: $size-5;
|
183
183
|
}
|
184
184
|
|
185
185
|
h1, h2, h3, h4, h5, h6, .hdg {
|
186
|
-
margin-bottom: $size-
|
186
|
+
margin-bottom: $size-5;
|
187
187
|
}
|
188
188
|
|
189
189
|
table, progress, blockquote, pre, menu, ul, ol, dl, p {
|
190
|
-
margin-bottom: $size-
|
190
|
+
margin-bottom: $size-5;
|
191
191
|
}
|
192
192
|
|
193
193
|
dialog {
|
194
194
|
background-color: var(--color-bg--surface);
|
195
195
|
border-width: $border; border-radius: $radius-primary;
|
196
|
-
padding: $size-
|
196
|
+
padding: $size-4;
|
197
197
|
box-shadow: $shadow-lg;
|
198
198
|
color: inherit;
|
199
199
|
}
|
@@ -220,35 +220,34 @@ table {
|
|
220
220
|
|
221
221
|
td, th {
|
222
222
|
border-bottom-width: $border;
|
223
|
-
padding: $size-
|
223
|
+
padding: $size-2-5;
|
224
224
|
text-align: left;
|
225
225
|
}
|
226
226
|
|
227
227
|
h1, h2, h3, h4, h5, h6, .hdg {
|
228
|
-
font-weight: $font-bold;
|
229
|
-
line-height: $leading-tight;
|
228
|
+
font-weight: $font-bold; line-height: $leading-none;
|
230
229
|
}
|
231
230
|
|
232
231
|
h1, .hdg--xx-large {
|
233
|
-
font-size: $text-
|
232
|
+
font-size: $text-4xl;
|
234
233
|
}
|
235
234
|
|
236
235
|
h2, .hdg--x-large {
|
237
|
-
font-size: $text-
|
236
|
+
font-size: $text-3xl;
|
238
237
|
}
|
239
238
|
|
240
239
|
h3, .hdg--large {
|
241
|
-
font-size: $text-
|
240
|
+
font-size: $text-2xl;
|
242
241
|
}
|
243
242
|
|
244
243
|
h4, .hdg--medium {
|
245
|
-
font-size: $text-
|
244
|
+
font-size: $text-xl;
|
246
245
|
}
|
247
246
|
|
248
247
|
h5, .hdg--small {
|
249
|
-
font-size: $text-
|
248
|
+
font-size: $text-lg;
|
250
249
|
}
|
251
250
|
|
252
251
|
h6, .hdg--x-small {
|
253
|
-
font-size: $text-
|
252
|
+
font-size: $text-base;
|
254
253
|
}
|
data/example.html
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
<main class="container container--lg" style="background: var(--color-bg--surface);">
|
2
2
|
<div class="push-md--bottom">
|
3
3
|
<div class="push-sm--bottom">
|
4
|
-
<p>The base type is
|
4
|
+
<p>The base type is 1rem (16px) over 1.5 line height (24px)</p>
|
5
5
|
<a href="#" class="txt--underline">Anchor</a>
|
6
6
|
<em>Emphasis</em>
|
7
7
|
<small>Small</small>
|
@@ -73,34 +73,34 @@
|
|
73
73
|
<fieldset>
|
74
74
|
<legend class="txt--bold push-xs--bottom">Choose your options</legend>
|
75
75
|
|
76
|
-
<div class="push-xs--bottom">
|
76
|
+
<div class="flex flex--align-center push-xs--bottom">
|
77
77
|
<input type="checkbox" id="option1" name="option1" value="1" checked>
|
78
|
-
<label for="option1" class="
|
78
|
+
<label for="option1" class="flush push-xs--left">Option 1</label>
|
79
79
|
</div>
|
80
|
-
<div class="push-xs--bottom">
|
80
|
+
<div class="flex flex--align-center push-xs--bottom">
|
81
81
|
<input type="checkbox" id="option2" name="option2" value="2">
|
82
|
-
<label for="option2" class="
|
82
|
+
<label for="option2" class="flush push-xs--left">Option 2</label>
|
83
83
|
</div>
|
84
|
-
<div>
|
84
|
+
<div class="flex flex--align-center">
|
85
85
|
<input type="checkbox" id="option3" name="option3" value="3">
|
86
|
-
<label for="option3" class="
|
86
|
+
<label for="option3" class="flush push-xs--left">Option 3</label>
|
87
87
|
</div>
|
88
88
|
</fieldset>
|
89
89
|
|
90
90
|
<fieldset>
|
91
91
|
<legend class="txt--bold push-xs--bottom">Choose your option</legend>
|
92
92
|
|
93
|
-
<div class="push-xs--bottom">
|
93
|
+
<div class="flex flex--align-center push-xs--bottom">
|
94
94
|
<input type="radio" id="radio1" name="radio" value="1" checked>
|
95
|
-
<label for="radio1" class="
|
95
|
+
<label for="radio1" class="flush push-xs--left">Option 1</label>
|
96
96
|
</div>
|
97
|
-
<div class="push-xs--bottom">
|
97
|
+
<div class="flex flex--align-center push-xs--bottom">
|
98
98
|
<input type="radio" id="radio2" name="radio" value="2">
|
99
|
-
<label for="radio2" class="
|
99
|
+
<label for="radio2" class="flush push-xs--left">Option 2</label>
|
100
100
|
</div>
|
101
|
-
<div>
|
101
|
+
<div class="flex flex--align-center">
|
102
102
|
<input type="radio" id="radio3" name="radio" value="3">
|
103
|
-
<label for="radio3" class="
|
103
|
+
<label for="radio3" class="flush push-xs--left">Option 3</label>
|
104
104
|
</div>
|
105
105
|
</fieldset>
|
106
106
|
|
data/lib/sass_zero/version.rb
CHANGED
data/screenshot.png
CHANGED
Binary file
|
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.4.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lazaronixon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|