sass-zero 0.0.36 → 0.0.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Example.html +1 -1
- data/README.md +1 -1
- data/app/assets/stylesheets/sass-zero/base/breadboard.scss +16 -22
- data/app/assets/stylesheets/sass-zero/utilities/flush.scss +20 -20
- data/app/assets/stylesheets/sass-zero/utilities/list.scss +10 -12
- data/app/assets/stylesheets/sass-zero/utilities/position.scss +8 -16
- data/app/assets/stylesheets/sass-zero/utilities/pull.scss +20 -20
- data/app/assets/stylesheets/sass-zero/utilities/push.scss +20 -20
- data/app/assets/stylesheets/sass-zero/utilities/text.scss +67 -71
- data/app/assets/stylesheets/sass-zero/utilities/unpad.scss +12 -12
- 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: dd5b6776b53040e01a89fc9b525fab7e7aca4255e8da1cf4bdfa5f5cbb14dc14
|
4
|
+
data.tar.gz: cfe605b1284380d9a1accc30d01441d0893aaf17459029c2850e2ed945d702ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5bc018555c7c22d707fcc1338e33001a1faa51c21fabb88d655fd2160a0aab8d536d27bdb1c45fd866644000d3e0f63d941089b378f6526efdf7f5e1cddf3b5
|
7
|
+
data.tar.gz: fa56978fcf7b39e19f551e5fa21500991a9120e6dd2aad8885a1f0ec987a9f14ba3123f464c854c2a96a1afb8cfca5eea1cb688a8d1f742e991ef2640615106a
|
data/Example.html
CHANGED
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
|
-
![screenshot](https://nixo-etc.s3-sa-east-1.amazonaws.com/
|
5
|
+
![screenshot](https://nixo-etc.s3-sa-east-1.amazonaws.com/sass-zero-screenshot.png)
|
6
6
|
|
7
7
|
### Milligram
|
8
8
|
|
@@ -14,10 +14,6 @@ main {
|
|
14
14
|
blockquote {
|
15
15
|
border-left-width: $border-4;
|
16
16
|
padding: $size-3 $size-4;
|
17
|
-
|
18
|
-
*:last-child {
|
19
|
-
margin-bottom: $size-0;
|
20
|
-
}
|
21
17
|
}
|
22
18
|
|
23
19
|
.btn {
|
@@ -38,7 +34,6 @@ blockquote {
|
|
38
34
|
&--primary {
|
39
35
|
background-color: $breadboard-primary;
|
40
36
|
border-color: $breadboard-primary;
|
41
|
-
box-shadow: $shadow-md;
|
42
37
|
color: $white;
|
43
38
|
}
|
44
39
|
|
@@ -81,51 +76,45 @@ hr {
|
|
81
76
|
}
|
82
77
|
|
83
78
|
.input {
|
79
|
+
appearance: none;
|
84
80
|
border-radius: $rounded;
|
85
81
|
border-width: $border;
|
86
82
|
padding: $size-2 $size-3;
|
87
83
|
width: $size-full;
|
88
84
|
|
89
|
-
&:focus {
|
90
|
-
@include focus;
|
91
|
-
}
|
92
|
-
|
93
85
|
&--select {
|
94
|
-
|
95
|
-
background-image: url('data:image/svg+xml,<svg viewBox="0 0 24 24" fill="%23a0aec0" xmlns="http://www.w3.org/2000/svg"><path d="M15.3 9.3a1 1 0 0 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 1.4-1.4l3.3 3.29 3.3-3.3z"/></svg>');
|
86
|
+
background-image: url('data:image/svg+xml,<svg viewBox="0 0 20 20" fill="silver" xmlns="http://www.w3.org/2000/svg"><path d="M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z"></path></svg>');
|
96
87
|
background-position: right $size-2 center;
|
97
88
|
background-repeat: no-repeat;
|
98
|
-
background-size: auto $size-
|
99
|
-
padding-right: $size-
|
89
|
+
background-size: auto $size-5;
|
90
|
+
padding-right: $size-8;
|
100
91
|
}
|
92
|
+
|
93
|
+
&:focus { @include focus; }
|
101
94
|
}
|
102
95
|
|
103
96
|
.checkbox {
|
104
97
|
border-radius: $rounded;
|
105
98
|
@include selection;
|
106
99
|
|
107
|
-
&:focus {
|
108
|
-
@include focus;
|
109
|
-
}
|
110
|
-
|
111
100
|
&:checked {
|
112
101
|
background-image: url('data:image/svg+xml,<svg viewBox="0 0 20 20" fill="white" strokeWidth="2" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg>');
|
113
102
|
@include checked;
|
114
103
|
}
|
104
|
+
|
105
|
+
&:focus { @include focus; }
|
115
106
|
}
|
116
107
|
|
117
108
|
.radio {
|
118
109
|
border-radius: $rounded-full;
|
119
110
|
@include selection;
|
120
111
|
|
121
|
-
&:focus {
|
122
|
-
@include focus;
|
123
|
-
}
|
124
|
-
|
125
112
|
&:checked {
|
126
113
|
background-image: url('data:image/svg+xml,<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="3"/></svg>');
|
127
114
|
@include checked;
|
128
115
|
}
|
116
|
+
|
117
|
+
&:focus { @include focus; }
|
129
118
|
}
|
130
119
|
|
131
120
|
label, legend {
|
@@ -145,6 +134,11 @@ ol {
|
|
145
134
|
list-style: decimal inside;
|
146
135
|
}
|
147
136
|
|
137
|
+
td, th {
|
138
|
+
&:first-child { padding-left: $size-0; }
|
139
|
+
&:last-child { padding-right: $size-0; }
|
140
|
+
}
|
141
|
+
|
148
142
|
dt, dd, li {
|
149
143
|
&:last-child { margin-bottom: $size-0; }
|
150
144
|
}
|
@@ -162,7 +156,7 @@ fieldset, .input {
|
|
162
156
|
}
|
163
157
|
|
164
158
|
blockquote, figure, p, pre, table, ul, ol, dl {
|
165
|
-
margin-bottom: $size-
|
159
|
+
margin-bottom: $size-6;
|
166
160
|
}
|
167
161
|
|
168
162
|
table {
|
@@ -1,29 +1,29 @@
|
|
1
1
|
.flush {
|
2
2
|
margin: 0 !important;
|
3
|
+
}
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
|
5
|
+
.flush--top {
|
6
|
+
margin-top: 0 !important;
|
7
|
+
}
|
7
8
|
|
8
|
-
|
9
|
-
|
10
|
-
|
9
|
+
.flush--right {
|
10
|
+
margin-right: 0 !important;
|
11
|
+
}
|
11
12
|
|
12
|
-
|
13
|
-
|
14
|
-
|
13
|
+
.flush--bottom {
|
14
|
+
margin-bottom: 0 !important;
|
15
|
+
}
|
15
16
|
|
16
|
-
|
17
|
-
|
18
|
-
|
17
|
+
.flush--left {
|
18
|
+
margin-left: 0 !important;
|
19
|
+
}
|
19
20
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
.flush--ends {
|
22
|
+
margin-top: 0 !important;
|
23
|
+
margin-bottom: 0 !important;
|
24
|
+
}
|
24
25
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
}
|
26
|
+
.flush--sides {
|
27
|
+
margin-right: 0 !important;
|
28
|
+
margin-left: 0 !important;
|
29
29
|
}
|
@@ -1,17 +1,15 @@
|
|
1
1
|
@import "sass-zero/variables/spacing";
|
2
2
|
|
3
|
-
.list {
|
4
|
-
|
5
|
-
|
6
|
-
}
|
3
|
+
.list--unindented {
|
4
|
+
padding-left: $size-8;
|
5
|
+
}
|
7
6
|
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
.list--unbulleted {
|
8
|
+
list-style: none;
|
9
|
+
}
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
}
|
11
|
+
.list--inline li {
|
12
|
+
margin-bottom: $size-0;
|
13
|
+
margin-right: $size-2;
|
14
|
+
display: inline-block;
|
17
15
|
}
|
@@ -1,23 +1,15 @@
|
|
1
|
+
.position-context {
|
2
|
+
position: relative;
|
3
|
+
}
|
4
|
+
|
1
5
|
.position {
|
2
6
|
position: absolute;
|
3
7
|
|
4
|
-
&--right {
|
5
|
-
right: 0;
|
6
|
-
}
|
8
|
+
&--right { right: 0; }
|
7
9
|
|
8
|
-
&--left {
|
9
|
-
left: 0;
|
10
|
-
}
|
10
|
+
&--left { left: 0; }
|
11
11
|
|
12
|
-
&--top {
|
13
|
-
top: 0;
|
14
|
-
}
|
12
|
+
&--top { top: 0; }
|
15
13
|
|
16
|
-
&--bottom {
|
17
|
-
bottom: 0;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
|
-
.position-context {
|
22
|
-
position: relative;
|
14
|
+
&--bottom { bottom: 0; }
|
23
15
|
}
|
@@ -7,31 +7,31 @@
|
|
7
7
|
@each $scale, $size in $size-map {
|
8
8
|
.pull-#{$scale} {
|
9
9
|
margin: -$size !important;
|
10
|
+
}
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
12
|
+
.pull-#{$scale}--top {
|
13
|
+
margin-top: -$size !important;
|
14
|
+
}
|
14
15
|
|
15
|
-
|
16
|
-
|
17
|
-
|
16
|
+
.pull-#{$scale}--right {
|
17
|
+
margin-right: -$size !important;
|
18
|
+
}
|
18
19
|
|
19
|
-
|
20
|
-
|
21
|
-
|
20
|
+
.pull-#{$scale}--bottom {
|
21
|
+
margin-bottom: -$size !important;
|
22
|
+
}
|
22
23
|
|
23
|
-
|
24
|
-
|
25
|
-
|
24
|
+
.pull-#{$scale}--left {
|
25
|
+
margin-left: -$size !important;
|
26
|
+
}
|
26
27
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
28
|
+
.pull-#{$scale}--ends {
|
29
|
+
margin-top: -$size !important;
|
30
|
+
margin-bottom: -$size !important;
|
31
|
+
}
|
31
32
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
}
|
33
|
+
.pull-#{$scale}--sides {
|
34
|
+
margin-right: -$size !important;
|
35
|
+
margin-left: -$size !important;
|
36
36
|
}
|
37
37
|
}
|
@@ -7,31 +7,31 @@
|
|
7
7
|
@each $scale, $size in $size-map {
|
8
8
|
.push-#{$scale} {
|
9
9
|
margin: $size !important;
|
10
|
+
}
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
12
|
+
.push-#{$scale}--top {
|
13
|
+
margin-top: $size !important;
|
14
|
+
}
|
14
15
|
|
15
|
-
|
16
|
-
|
17
|
-
|
16
|
+
.push-#{$scale}--right {
|
17
|
+
margin-right: $size !important;
|
18
|
+
}
|
18
19
|
|
19
|
-
|
20
|
-
|
21
|
-
|
20
|
+
.push-#{$scale}--bottom {
|
21
|
+
margin-bottom: $size !important;
|
22
|
+
}
|
22
23
|
|
23
|
-
|
24
|
-
|
25
|
-
|
24
|
+
.push-#{$scale}--left {
|
25
|
+
margin-left: $size !important;
|
26
|
+
}
|
26
27
|
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
28
|
+
.push-#{$scale}--ends {
|
29
|
+
margin-top: $size !important;
|
30
|
+
margin-bottom: $size !important;
|
31
|
+
}
|
31
32
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
}
|
33
|
+
.push-#{$scale}--sides {
|
34
|
+
margin-right: $size !important;
|
35
|
+
margin-left: $size !important;
|
36
36
|
}
|
37
37
|
}
|
@@ -4,98 +4,94 @@
|
|
4
4
|
@import "sass-zero/variables/colors";
|
5
5
|
@import "sass-zero/mixins";
|
6
6
|
|
7
|
-
.txt {
|
8
|
-
|
9
|
-
|
10
|
-
}
|
7
|
+
.txt--xs {
|
8
|
+
font-size: $text-xs;
|
9
|
+
}
|
11
10
|
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
.txt--sm {
|
12
|
+
font-size: $text-sm;
|
13
|
+
}
|
15
14
|
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
.txt--md {
|
16
|
+
font-size: $text-base;
|
17
|
+
}
|
19
18
|
|
20
|
-
|
21
|
-
|
22
|
-
|
19
|
+
.txt--lg {
|
20
|
+
font-size: $text-lg;
|
21
|
+
}
|
23
22
|
|
24
|
-
|
25
|
-
|
26
|
-
|
23
|
+
.txt--xl {
|
24
|
+
font-size: $text-xl;
|
25
|
+
}
|
27
26
|
|
28
|
-
|
29
|
-
|
30
|
-
|
27
|
+
.txt--2xl {
|
28
|
+
font-size: $text-2xl;
|
29
|
+
}
|
31
30
|
|
32
|
-
|
33
|
-
|
34
|
-
|
31
|
+
.txt--3xl {
|
32
|
+
font-size: $text-3xl;
|
33
|
+
}
|
35
34
|
|
36
|
-
|
37
|
-
|
38
|
-
|
35
|
+
.txt--nowrap {
|
36
|
+
white-space: nowrap;
|
37
|
+
}
|
39
38
|
|
40
|
-
|
41
|
-
|
42
|
-
|
39
|
+
.txt--break-words {
|
40
|
+
word-wrap: break-word;
|
41
|
+
}
|
43
42
|
|
44
|
-
|
45
|
-
|
46
|
-
|
43
|
+
.txt--break-all {
|
44
|
+
word-break: break-all;
|
45
|
+
}
|
47
46
|
|
48
|
-
|
49
|
-
|
50
|
-
|
47
|
+
.txt--ellipsis {
|
48
|
+
@include ellipsis;
|
49
|
+
}
|
51
50
|
|
52
|
-
|
53
|
-
|
54
|
-
|
51
|
+
.txt--normal {
|
52
|
+
font-weight: $font-normal;
|
53
|
+
}
|
55
54
|
|
56
|
-
|
57
|
-
|
58
|
-
|
55
|
+
.txt--bold {
|
56
|
+
font-weight: $font-bold;
|
57
|
+
}
|
59
58
|
|
60
|
-
|
61
|
-
|
62
|
-
|
59
|
+
.txt--subtle {
|
60
|
+
color: $gray-700;
|
61
|
+
}
|
63
62
|
|
64
|
-
|
65
|
-
|
66
|
-
|
63
|
+
.txt--very-subtle {
|
64
|
+
color: $gray-600;
|
65
|
+
}
|
67
66
|
|
68
|
-
|
69
|
-
|
70
|
-
|
67
|
+
.txt--underline {
|
68
|
+
text-decoration: underline;
|
69
|
+
}
|
71
70
|
|
72
|
-
|
73
|
-
|
74
|
-
}
|
71
|
+
.txt--uppercase {
|
72
|
+
text-transform: uppercase;
|
75
73
|
}
|
76
74
|
|
77
|
-
.align {
|
78
|
-
|
79
|
-
|
80
|
-
}
|
75
|
+
.align--top {
|
76
|
+
vertical-align: top;
|
77
|
+
}
|
81
78
|
|
82
|
-
|
83
|
-
|
84
|
-
|
79
|
+
.align--middle {
|
80
|
+
vertical-align: middle;
|
81
|
+
}
|
85
82
|
|
86
|
-
|
87
|
-
|
88
|
-
|
83
|
+
.align--bottom {
|
84
|
+
vertical-align: bottom;
|
85
|
+
}
|
89
86
|
|
90
|
-
|
91
|
-
|
92
|
-
|
87
|
+
.align--left {
|
88
|
+
text-align: left;
|
89
|
+
}
|
93
90
|
|
94
|
-
|
95
|
-
|
96
|
-
|
91
|
+
.align--center {
|
92
|
+
text-align: center;
|
93
|
+
}
|
97
94
|
|
98
|
-
|
99
|
-
|
100
|
-
}
|
95
|
+
.align--right {
|
96
|
+
text-align: right;
|
101
97
|
}
|
@@ -1,19 +1,19 @@
|
|
1
1
|
.unpad {
|
2
2
|
padding: 0 !important;
|
3
|
+
}
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
|
5
|
+
.unpad--top {
|
6
|
+
padding-top: 0 !important;
|
7
|
+
}
|
7
8
|
|
8
|
-
|
9
|
-
|
10
|
-
|
9
|
+
.unpad--right {
|
10
|
+
padding-right: 0 !important;
|
11
|
+
}
|
11
12
|
|
12
|
-
|
13
|
-
|
14
|
-
|
13
|
+
.unpad--bottom {
|
14
|
+
padding-bottom: 0 !important;
|
15
|
+
}
|
15
16
|
|
16
|
-
|
17
|
-
|
18
|
-
}
|
17
|
+
.unpad--left {
|
18
|
+
padding-left: 0 !important;
|
19
19
|
}
|
data/lib/sass/zero/version.rb
CHANGED
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "sass-zero",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.37",
|
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: 0.0.
|
4
|
+
version: 0.0.37
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lazaronixon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: autoprefixer-rails
|