tier 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +22 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +67 -0
- data/Rakefile +2 -0
- data/app/assets/index.html +1 -0
- data/app/assets/stylesheets/index.html +1 -0
- data/app/assets/stylesheets/tier.scss +18 -0
- data/app/assets/stylesheets/tier/_buttons.scss +47 -0
- data/app/assets/stylesheets/tier/_forms.scss +176 -0
- data/app/assets/stylesheets/tier/_foundation.scss +45 -0
- data/app/assets/stylesheets/tier/_grid.scss +58 -0
- data/app/assets/stylesheets/tier/_mixins.scss +50 -0
- data/app/assets/stylesheets/tier/_normalize.scss +427 -0
- data/app/assets/stylesheets/tier/_tables.scss +49 -0
- data/app/assets/stylesheets/tier/_typography.scss +233 -0
- data/app/assets/stylesheets/tier/_variables.scss +151 -0
- data/app/assets/stylesheets/tier/_vendor.scss +15 -0
- data/app/assets/stylesheets/tier/index.html +1 -0
- data/lib/tier.rb +8 -0
- data/lib/tier/version.rb +3 -0
- data/tier.gemspec +25 -0
- metadata +129 -0
@@ -0,0 +1,49 @@
|
|
1
|
+
/**
|
2
|
+
* Tables
|
3
|
+
*
|
4
|
+
* @copyright Copyright (c) 2015, hugw.io
|
5
|
+
* @author Hugo W - hugo.wnt@gmail.com
|
6
|
+
* @license The MIT License (MIT)
|
7
|
+
*/
|
8
|
+
|
9
|
+
table {
|
10
|
+
max-width: 100%;
|
11
|
+
width: 100%;
|
12
|
+
empty-cells: show;
|
13
|
+
text-align: left;
|
14
|
+
margin: 0 0 $base-margin 0;
|
15
|
+
line-height: $body-line-height;
|
16
|
+
border: $table-border;
|
17
|
+
|
18
|
+
caption {
|
19
|
+
text-transform: uppercase;
|
20
|
+
text-align: center;
|
21
|
+
vertical-align: top;
|
22
|
+
padding: 0 0 $base-padding/2.5;
|
23
|
+
}
|
24
|
+
|
25
|
+
thead,
|
26
|
+
tfoot {
|
27
|
+
font-weight: bold;
|
28
|
+
background: $table-background;
|
29
|
+
}
|
30
|
+
|
31
|
+
thead {
|
32
|
+
font-size: $table-thead-font-size;
|
33
|
+
}
|
34
|
+
|
35
|
+
tbody {
|
36
|
+
font-size: $table-tbody-font-size;
|
37
|
+
}
|
38
|
+
|
39
|
+
tfoot {
|
40
|
+
font-size: $table-tfoot-font-size;
|
41
|
+
}
|
42
|
+
|
43
|
+
th,
|
44
|
+
td {
|
45
|
+
border-bottom: $table-border;
|
46
|
+
padding: $base-padding/2;
|
47
|
+
vertical-align: top;
|
48
|
+
}
|
49
|
+
}
|
@@ -0,0 +1,233 @@
|
|
1
|
+
/**
|
2
|
+
* Typography
|
3
|
+
*
|
4
|
+
* @copyright Copyright (c) 2015, hugw.io
|
5
|
+
* @author Hugo W - hugo.wnt@gmail.com
|
6
|
+
* @license The MIT License (MIT)
|
7
|
+
*/
|
8
|
+
|
9
|
+
/*** Links ***/
|
10
|
+
|
11
|
+
a {
|
12
|
+
text-decoration: none;
|
13
|
+
color: $link-color;
|
14
|
+
outline: none;
|
15
|
+
|
16
|
+
&:hover,
|
17
|
+
&:focus {
|
18
|
+
color: $link-hover-color;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
|
22
|
+
/*** Globals ***/
|
23
|
+
|
24
|
+
p,h1,h2,h3,h4,h5,h6,ul,ol,dl,address,blockquote,hr,hgroup,figure {
|
25
|
+
margin: 0 0 $base-margin 0;
|
26
|
+
line-height: $body-line-height;
|
27
|
+
}
|
28
|
+
|
29
|
+
/*** Inline ***/
|
30
|
+
|
31
|
+
small {
|
32
|
+
font-size: 0.7em;
|
33
|
+
line-height: 1;
|
34
|
+
}
|
35
|
+
|
36
|
+
del {
|
37
|
+
text-decoration: line-through;
|
38
|
+
}
|
39
|
+
|
40
|
+
abbr[title],
|
41
|
+
dfn[title] {
|
42
|
+
border-bottom: 1px solid $body-text-color;
|
43
|
+
cursor: help;
|
44
|
+
}
|
45
|
+
|
46
|
+
strong,
|
47
|
+
b {
|
48
|
+
font-weight: bold;
|
49
|
+
}
|
50
|
+
|
51
|
+
em,
|
52
|
+
i {
|
53
|
+
font-style: italic;
|
54
|
+
}
|
55
|
+
|
56
|
+
sub,
|
57
|
+
sup {
|
58
|
+
font-size: $body-font-size - 4;
|
59
|
+
line-height: 0;
|
60
|
+
position: relative;
|
61
|
+
}
|
62
|
+
|
63
|
+
sup {
|
64
|
+
top: -0.5em;
|
65
|
+
}
|
66
|
+
|
67
|
+
sub {
|
68
|
+
bottom: -0.25em;
|
69
|
+
}
|
70
|
+
|
71
|
+
ins,
|
72
|
+
mark {
|
73
|
+
color: $selection-color;
|
74
|
+
background: $selection-background-color !important;
|
75
|
+
text-decoration: none;
|
76
|
+
}
|
77
|
+
|
78
|
+
/*** HR ***/
|
79
|
+
|
80
|
+
hr {
|
81
|
+
margin: $base-margin 0;
|
82
|
+
border: 0;
|
83
|
+
border-top: $hr-border;
|
84
|
+
}
|
85
|
+
|
86
|
+
/*** Headings ***/
|
87
|
+
|
88
|
+
h1,h2,h3,h4,h5,h6 {
|
89
|
+
font-size: $body-font-size;
|
90
|
+
font-weight: bold;
|
91
|
+
text-rendering: optimizeLegibility;
|
92
|
+
display: block;
|
93
|
+
line-height: $heading-line-height;
|
94
|
+
|
95
|
+
small {
|
96
|
+
font-weight: normal;
|
97
|
+
line-height: 1;
|
98
|
+
font-size: 0.7em;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
h1 { font-size: $heading1-font-size; }
|
103
|
+
h2 { font-size: $heading2-font-size; }
|
104
|
+
h3 { font-size: $heading3-font-size; }
|
105
|
+
h4 { font-size: $heading4-font-size; }
|
106
|
+
h5 { font-size: $heading5-font-size; }
|
107
|
+
h6 { font-size: $heading6-font-size; }
|
108
|
+
|
109
|
+
/*** Address ***/
|
110
|
+
|
111
|
+
address {
|
112
|
+
font-style: normal;
|
113
|
+
}
|
114
|
+
|
115
|
+
/*** Lists ***/
|
116
|
+
|
117
|
+
ul,ol {
|
118
|
+
padding: 0;
|
119
|
+
list-style-position: inside;
|
120
|
+
}
|
121
|
+
|
122
|
+
ul ul,
|
123
|
+
ol ol,
|
124
|
+
ul ol,
|
125
|
+
ol ul {
|
126
|
+
margin: 0 0 0 $base-margin;
|
127
|
+
}
|
128
|
+
|
129
|
+
ol ol li {
|
130
|
+
list-style-type: lower-alpha;
|
131
|
+
}
|
132
|
+
|
133
|
+
ol ol ol li {
|
134
|
+
list-style-type: lower-roman;
|
135
|
+
}
|
136
|
+
|
137
|
+
dt {
|
138
|
+
font-weight: bold;
|
139
|
+
}
|
140
|
+
|
141
|
+
dd {
|
142
|
+
margin: 0 0 $base-margin/2 0;
|
143
|
+
}
|
144
|
+
|
145
|
+
/*** Quotes ***/
|
146
|
+
|
147
|
+
q:before,
|
148
|
+
q:after,
|
149
|
+
blockquote:before,
|
150
|
+
blockquote:after {
|
151
|
+
content: "";
|
152
|
+
}
|
153
|
+
|
154
|
+
blockquote {
|
155
|
+
font-size: $body-font-size + 2;
|
156
|
+
font-style: italic;
|
157
|
+
position: relative;
|
158
|
+
padding-left: $base-padding;
|
159
|
+
margin-left: 0;
|
160
|
+
border-left: $quote-border;
|
161
|
+
font-weight: 300;
|
162
|
+
}
|
163
|
+
|
164
|
+
blockquote small,
|
165
|
+
blockquote cite {
|
166
|
+
font-style: italic;
|
167
|
+
font-weight: normal;
|
168
|
+
font-size: $body-font-size;
|
169
|
+
}
|
170
|
+
|
171
|
+
/*** Code ***/
|
172
|
+
|
173
|
+
pre,
|
174
|
+
code,
|
175
|
+
kbd,
|
176
|
+
samp {
|
177
|
+
font-size: $body-font-size - 2;
|
178
|
+
font-family: $code-font-family;
|
179
|
+
}
|
180
|
+
|
181
|
+
pre {
|
182
|
+
background: $code-background;
|
183
|
+
padding: $base-padding / 2;
|
184
|
+
overflow: auto;
|
185
|
+
max-width: 100%;
|
186
|
+
margin: 0 0 $base-margin;
|
187
|
+
}
|
188
|
+
|
189
|
+
code {
|
190
|
+
padding: 3px 6px;
|
191
|
+
display: inline-block;
|
192
|
+
line-height: 1;
|
193
|
+
background: $code-background;
|
194
|
+
}
|
195
|
+
|
196
|
+
pre code {
|
197
|
+
font-size: 100%;
|
198
|
+
border: none;
|
199
|
+
padding: 0;
|
200
|
+
background: none;
|
201
|
+
line-height: $body-line-height;
|
202
|
+
display: block;
|
203
|
+
border-radius: none;
|
204
|
+
}
|
205
|
+
|
206
|
+
kbd {
|
207
|
+
padding: 3px 6px;
|
208
|
+
line-height: 1;
|
209
|
+
display: inline-block;
|
210
|
+
border: 1px solid rgba(0,0,0,0.1);
|
211
|
+
font-weight: normal;
|
212
|
+
white-space: nowrap;
|
213
|
+
}
|
214
|
+
|
215
|
+
/*** Images ***/
|
216
|
+
|
217
|
+
img {
|
218
|
+
max-width: 100%;
|
219
|
+
height: auto !important;
|
220
|
+
vertical-align: middle;
|
221
|
+
}
|
222
|
+
|
223
|
+
figure {
|
224
|
+
line-height: 1;
|
225
|
+
max-width: 100%;
|
226
|
+
}
|
227
|
+
|
228
|
+
figcaption {
|
229
|
+
font-size: $body-font-size - 1;
|
230
|
+
font-style: italic;
|
231
|
+
line-height: $body-line-height;
|
232
|
+
padding: $base-padding/3 0;
|
233
|
+
}
|
@@ -0,0 +1,151 @@
|
|
1
|
+
/**
|
2
|
+
* Variables
|
3
|
+
*
|
4
|
+
* @copyright Copyright (c) 2015, hugw.io
|
5
|
+
* @author Hugo W - hugo.wnt@gmail.com
|
6
|
+
* @license The MIT License (MIT)
|
7
|
+
*/
|
8
|
+
|
9
|
+
/** Colors
|
10
|
+
***********************/
|
11
|
+
|
12
|
+
$color-cyan-1: #3c989e !default;
|
13
|
+
$color-cyan-2: #209c83 !default;
|
14
|
+
$color-cyan-3: #68c39f !default;
|
15
|
+
|
16
|
+
$color-red-1: #eb5055 !default;
|
17
|
+
$color-red-2: #f56f6c !default;
|
18
|
+
$color-red-3: #f1a9a0 !default;
|
19
|
+
|
20
|
+
$color-blue-1: #2980b9 !default;
|
21
|
+
$color-blue-2: #3498db !default;
|
22
|
+
$color-blue-3: #00bff0 !default;
|
23
|
+
|
24
|
+
$color-green-1: #3f6a3c !default;
|
25
|
+
$color-green-2: #8fb258 !default;
|
26
|
+
$color-green-3: #add278 !default;
|
27
|
+
|
28
|
+
$color-yellow-1: #e1c336 !default;
|
29
|
+
$color-yellow-2: #f4d444 !default;
|
30
|
+
$color-yellow-3: #ede185 !default;
|
31
|
+
|
32
|
+
$color-edward: #ABB7B7 !default;
|
33
|
+
$color-silver: #BFBFBF !default;
|
34
|
+
$color-pumice: #D2D7D3 !default;
|
35
|
+
|
36
|
+
$color-black-1: #333 !default;
|
37
|
+
$color-darkgray-1: #777 !default;
|
38
|
+
$color-gray-1: #ddd !default;
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
/** Base
|
44
|
+
***********************/
|
45
|
+
|
46
|
+
$base-number: 14px !default;
|
47
|
+
$base-color: $color-cyan-1 !default;
|
48
|
+
$base-margin: 20px !default;
|
49
|
+
$base-padding: 20px !default;
|
50
|
+
$base-radius: 2px !default;
|
51
|
+
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
/** Foundation
|
56
|
+
***********************/
|
57
|
+
|
58
|
+
$body-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !default;
|
59
|
+
$body-font-size: $base-number !default;
|
60
|
+
$body-background-color: white !default;
|
61
|
+
$body-text-color: $color-black-1 !default;
|
62
|
+
$body-line-height: 1.44 !default;
|
63
|
+
|
64
|
+
$selection-background-color: $base-color !default;
|
65
|
+
$selection-color: rgba(white, 0.99) !default;
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
/** Typography
|
71
|
+
***********************/
|
72
|
+
|
73
|
+
$link-color: $color-darkgray-1 !default;
|
74
|
+
$link-hover-color: $base-color !default;
|
75
|
+
|
76
|
+
$hr-border: 1px solid rgba(black, 0.1) !default;
|
77
|
+
|
78
|
+
$quote-border: 1px solid rgba(black, 0.1) !default;
|
79
|
+
|
80
|
+
$heading-line-height: $body-line-height - 0.2 !default;
|
81
|
+
$heading1-font-size: $body-font-size + 6 !default;
|
82
|
+
$heading2-font-size: $body-font-size + 4 !default;
|
83
|
+
$heading3-font-size: $body-font-size + 2 !default;
|
84
|
+
$heading4-font-size: $body-font-size + 0 !default;
|
85
|
+
$heading5-font-size: $body-font-size - 2 !default;
|
86
|
+
$heading6-font-size: $body-font-size - 4 !default;
|
87
|
+
|
88
|
+
$code-font-family: Menlo, Monaco, Consolas, "Courier New", monospace !default;
|
89
|
+
$code-background: rgba(0,0,0,0.05) !default;
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
/** Tables
|
95
|
+
***********************/
|
96
|
+
|
97
|
+
$table-border: 1px solid $color-gray-1 !default;
|
98
|
+
$table-thead-font-size: $body-font-size !default;
|
99
|
+
$table-tbody-font-size: $body-font-size - 1 !default;
|
100
|
+
$table-tfoot-font-size: $body-font-size !default;
|
101
|
+
$table-background: rgba(0,0,0,0.02) !default;
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
/** Buttons
|
107
|
+
***********************/
|
108
|
+
|
109
|
+
$button-background: $body-text-color !default;
|
110
|
+
$button-font-size: $body-font-size - 1 !default;
|
111
|
+
$button-color: white !default;
|
112
|
+
$button-hover-background: rgba($button-background, 0.7) !default;
|
113
|
+
$button-hover-color: white !default;
|
114
|
+
$button-ghost-color: $body-text-color !default;
|
115
|
+
$button-ghost-border: 1px solid rgba($body-text-color, 0.7) !default;
|
116
|
+
$button-ghost-hover-color: rgba($body-text-color, 0.7) !default;
|
117
|
+
$button-ghost-hover-border: 1px solid rgba($body-text-color, 0.4) !default;
|
118
|
+
|
119
|
+
|
120
|
+
|
121
|
+
|
122
|
+
/** Forms
|
123
|
+
***********************/
|
124
|
+
|
125
|
+
$form-input-border: 1px solid $body-text-color !default;
|
126
|
+
$form-input-background: white !default;
|
127
|
+
$form-input-font-size: $body-font-size - 1 !default;
|
128
|
+
$form-input-placeholder: $color-darkgray-1 !default;
|
129
|
+
$form-required-color: $color-red-2 !default;
|
130
|
+
$form-description-font-size: $body-font-size - 2 !default;
|
131
|
+
|
132
|
+
|
133
|
+
|
134
|
+
|
135
|
+
/** Grid
|
136
|
+
***********************/
|
137
|
+
|
138
|
+
$breakpoint-max-xs: "max-width: 420px" !default;
|
139
|
+
$breakpoint-min-sm: "min-width: 421px" !default;
|
140
|
+
$breakpoint-max-sm: "max-width: 767px" !default;
|
141
|
+
$breakpoint-min-md: "min-width: 768px" !default;
|
142
|
+
$breakpoint-max-md: "max-width: 979px" !default;
|
143
|
+
$breakpoint-min-lg: "min-width: 980px" !default;
|
144
|
+
$breakpoint-max-lg: "max-width: 1279px" !default;
|
145
|
+
$breakpoint-min-xl: "min-width: 1280px" !default;
|
146
|
+
|
147
|
+
$container-xs: 320px !default;
|
148
|
+
$container-sm: 420px !default;
|
149
|
+
$container-md: 768px !default;
|
150
|
+
$container-lg: 960px !default;
|
151
|
+
$container-xl: 1280px !default;
|