uniform-ui 0.5 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -1
- data/Gemfile +2 -1
- data/Gemfile.lock +12 -0
- data/Rakefile +34 -8
- data/index.html +587 -406
- data/preview/index.html.erb +423 -433
- data/preview/preview.scss +42 -0
- data/site/index.html +660 -0
- data/site/logo.png +0 -0
- data/site/preview.css +1 -0
- data/site/site/logo.png +0 -0
- data/site/site/preview.css +1 -0
- data/site/site/uniform.css +1 -0
- data/site/uniform.css +1 -0
- data/uniform.gemspec +3 -2
- data/vendor/assets/stylesheets/uniform/components/{buttons.css.scss → buttons.scss} +66 -33
- data/vendor/assets/stylesheets/uniform/components/card.scss +83 -0
- data/vendor/assets/stylesheets/uniform/components/form.scss +221 -0
- data/vendor/assets/stylesheets/uniform/components/grid.scss +83 -0
- data/vendor/assets/stylesheets/uniform/components/{inputs.css.scss → inputs.scss} +57 -29
- data/vendor/assets/stylesheets/uniform/components/lists.scss +62 -0
- data/vendor/assets/stylesheets/uniform/components/loaders.scss +62 -0
- data/vendor/assets/stylesheets/uniform/components/nav.scss +44 -0
- data/vendor/assets/stylesheets/uniform/components/row.scss +165 -0
- data/vendor/assets/stylesheets/uniform/components/table-container.scss +44 -0
- data/vendor/assets/stylesheets/uniform/components/table-form.scss +264 -0
- data/vendor/assets/stylesheets/uniform/components/tabs.scss +32 -0
- data/vendor/assets/stylesheets/uniform/components/tile.scss +32 -0
- data/vendor/assets/stylesheets/uniform/defaults.scss +30 -0
- data/vendor/assets/stylesheets/uniform/helpers.scss +128 -0
- data/vendor/assets/stylesheets/uniform/mixins/grid-framework.scss +142 -0
- data/vendor/assets/stylesheets/uniform/{mixins.css.scss → mixins.scss} +16 -32
- data/vendor/assets/stylesheets/uniform/variables.scss +54 -0
- data/vendor/assets/stylesheets/{uniform.css.scss → uniform.scss} +4 -1
- metadata +44 -13
- data/preview/preview.css +0 -1
- data/preview/preview.css.scss +0 -3
- data/preview/uniform.css +0 -0
- data/vendor/assets/stylesheets/uniform/components/loaders.css.scss +0 -149
- data/vendor/assets/stylesheets/uniform/helpers.css.scss +0 -31
- data/vendor/assets/stylesheets/uniform/variables.css.scss +0 -44
@@ -0,0 +1,165 @@
|
|
1
|
+
.uniformRow{
|
2
|
+
line-height:1.3;
|
3
|
+
font-size: 13px;
|
4
|
+
border-bottom:1px solid $gray-light;
|
5
|
+
min-height: 49px; // two text lines with padding
|
6
|
+
position:relative;
|
7
|
+
overflow:hidden;
|
8
|
+
&:hover{
|
9
|
+
background-color: lighten($blue-light, 15);
|
10
|
+
}
|
11
|
+
&.archived{
|
12
|
+
color:lighten($gray, 30);
|
13
|
+
a{
|
14
|
+
color:lighten($gray, 30);
|
15
|
+
}
|
16
|
+
}
|
17
|
+
a:visited{
|
18
|
+
color:#6738e4;
|
19
|
+
}
|
20
|
+
.btn.outline{
|
21
|
+
background:white !important;
|
22
|
+
}
|
23
|
+
time{
|
24
|
+
display:none;
|
25
|
+
}
|
26
|
+
.highlight{
|
27
|
+
position:absolute;
|
28
|
+
right:0;
|
29
|
+
top: 0;
|
30
|
+
bottom:0;
|
31
|
+
width:10px;
|
32
|
+
background:$green;
|
33
|
+
}
|
34
|
+
.details{
|
35
|
+
overflow:hidden;
|
36
|
+
& > div{
|
37
|
+
padding:0;
|
38
|
+
overflow:hidden;
|
39
|
+
& > .pad {
|
40
|
+
display:block;
|
41
|
+
padding:8px 0;
|
42
|
+
}
|
43
|
+
& > a:not(.btn){
|
44
|
+
display:block;
|
45
|
+
padding:8px 12px;
|
46
|
+
text-decoration:none;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
.secondary{
|
51
|
+
font-weight:normal;
|
52
|
+
display:block;
|
53
|
+
font-size:0.9em;
|
54
|
+
color:lighten($gray, 30);
|
55
|
+
}
|
56
|
+
.actions{
|
57
|
+
padding-right:10px;
|
58
|
+
a:visited{
|
59
|
+
color:inherit;
|
60
|
+
}
|
61
|
+
}
|
62
|
+
.title{
|
63
|
+
font-weight:bold;
|
64
|
+
}
|
65
|
+
.avatar{
|
66
|
+
vertical-align:top;
|
67
|
+
text-align:center;
|
68
|
+
position:relative;
|
69
|
+
color:darken($background, 30);
|
70
|
+
background-color:darken($background, 30);
|
71
|
+
a{
|
72
|
+
padding:0;
|
73
|
+
}
|
74
|
+
img{
|
75
|
+
min-width:70px;
|
76
|
+
background-color: $gray;
|
77
|
+
display: inline-block;
|
78
|
+
}
|
79
|
+
.label{
|
80
|
+
min-width:70px;
|
81
|
+
min-height:63px;
|
82
|
+
display:block;
|
83
|
+
padding-top: 26px;
|
84
|
+
color:white !important;
|
85
|
+
font-size:10px;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
@include media($xs){
|
89
|
+
.details{
|
90
|
+
& > div > a {
|
91
|
+
padding-top:0;
|
92
|
+
padding-bottom:8px;
|
93
|
+
}
|
94
|
+
.title a{
|
95
|
+
padding-top:8px;
|
96
|
+
}
|
97
|
+
.address .unit {
|
98
|
+
display:block;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
.avatar{
|
102
|
+
width:33%;
|
103
|
+
img {
|
104
|
+
width: 100%;
|
105
|
+
height: auto;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
.uniformRow-header{
|
112
|
+
position:relative;
|
113
|
+
overflow:visible !important;
|
114
|
+
line-height:1em;
|
115
|
+
font-size:0.85em;
|
116
|
+
padding:3px !important;
|
117
|
+
font-weight:normal;
|
118
|
+
border-bottom:2px solid $gray-light;
|
119
|
+
.sort-label{
|
120
|
+
text-align:right;
|
121
|
+
padding:7px 10px;
|
122
|
+
padding-bottom:3px;
|
123
|
+
text-transform:uppercase;
|
124
|
+
color:lighten($gray, 30);
|
125
|
+
vertical-align:bottom;
|
126
|
+
white-space:nowrap;
|
127
|
+
}
|
128
|
+
.col-label {
|
129
|
+
font-weight:bold;
|
130
|
+
text-transform:uppercase;
|
131
|
+
color:$gray;
|
132
|
+
}
|
133
|
+
.fortycon {
|
134
|
+
margin-top:-2px;
|
135
|
+
margin-right:2px;
|
136
|
+
color:darken($background, 20);
|
137
|
+
font-size:1.2em;
|
138
|
+
}
|
139
|
+
.details {
|
140
|
+
overflow:hidden;
|
141
|
+
& > div{
|
142
|
+
padding:0;
|
143
|
+
& > * {
|
144
|
+
text-decoration:none;
|
145
|
+
display:block;
|
146
|
+
padding:7px 6px;
|
147
|
+
white-space:nowrap;
|
148
|
+
border-radius:3px;
|
149
|
+
}
|
150
|
+
& > a:hover {
|
151
|
+
background:lighten($blue-light, 10);
|
152
|
+
}
|
153
|
+
}
|
154
|
+
& > .active {
|
155
|
+
background:none !important;
|
156
|
+
.fortycon{
|
157
|
+
color:black;
|
158
|
+
}
|
159
|
+
& > * {
|
160
|
+
color:black;
|
161
|
+
background:darken(white, 10);
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
.table-container{
|
2
|
+
display:table;
|
3
|
+
width:100%;
|
4
|
+
& > *,
|
5
|
+
.table-row > *{
|
6
|
+
display:table-cell;
|
7
|
+
float:none;
|
8
|
+
&.top{
|
9
|
+
vertical-align:top;
|
10
|
+
}
|
11
|
+
&.middle > *{
|
12
|
+
vertical-align:middle;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
.table-row{
|
16
|
+
display:table-row;
|
17
|
+
}
|
18
|
+
&.middle > *,
|
19
|
+
.middle{
|
20
|
+
vertical-align:middle;
|
21
|
+
}
|
22
|
+
&.top > *,
|
23
|
+
.top{
|
24
|
+
vertical-align:top;
|
25
|
+
}
|
26
|
+
@include media($xs){
|
27
|
+
&.break-xs{
|
28
|
+
& > *,
|
29
|
+
.table-row > *{
|
30
|
+
display:block;
|
31
|
+
float:inherit;
|
32
|
+
}
|
33
|
+
.table-row{
|
34
|
+
display:block;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
}
|
40
|
+
@include media($xs){
|
41
|
+
.block-xs{
|
42
|
+
display:block;
|
43
|
+
}
|
44
|
+
}
|
@@ -0,0 +1,264 @@
|
|
1
|
+
.table-form #{$text-inputs},
|
2
|
+
.table-form .textbox,
|
3
|
+
.table-form textarea{
|
4
|
+
@include appearance(none);
|
5
|
+
outline:none;
|
6
|
+
font-size:1.3em;
|
7
|
+
font-weight:300;
|
8
|
+
border:1px solid darken($background, 10);
|
9
|
+
display:inline-block;
|
10
|
+
width:100%;
|
11
|
+
padding:10px;
|
12
|
+
@include transition(box-shadow 0.2s ease-in);
|
13
|
+
&:focus{
|
14
|
+
box-shadow:inset 0 -3px 0 $green;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
.table-form select{
|
18
|
+
&:focus{
|
19
|
+
box-shadow:inset 0 -3px 0 $green;
|
20
|
+
}
|
21
|
+
}
|
22
|
+
.table-form .inline-input{
|
23
|
+
.split{
|
24
|
+
font-size:1.6em;
|
25
|
+
text-align:center;
|
26
|
+
font-weight:300;
|
27
|
+
}
|
28
|
+
select{
|
29
|
+
font-size:1.3em;
|
30
|
+
font-weight:300;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
.table-form .select2-container{
|
34
|
+
font-weight:300;
|
35
|
+
font-size:1.3em;
|
36
|
+
}
|
37
|
+
.table-form select{
|
38
|
+
font-size: 17px;
|
39
|
+
font-weight:300;
|
40
|
+
background:none;
|
41
|
+
color:$gray;
|
42
|
+
}
|
43
|
+
.table-form .dropzone{
|
44
|
+
border:dashed 2px lighten($gray, 20);
|
45
|
+
margin: 5px;
|
46
|
+
.dz-message{
|
47
|
+
font-size:17px;
|
48
|
+
font-weight:300;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
.table-form{
|
52
|
+
position:relative;
|
53
|
+
display:block;
|
54
|
+
&.bordered{
|
55
|
+
border:1px solid darken(white, 20);
|
56
|
+
}
|
57
|
+
.table-form-container {
|
58
|
+
display:table;
|
59
|
+
width:100%;
|
60
|
+
border-radius:3px;
|
61
|
+
border:1px solid darken(white, 20);
|
62
|
+
background:white;
|
63
|
+
overflow:hidden;
|
64
|
+
.form-group{
|
65
|
+
display:table-row;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
label{
|
69
|
+
font-weight:bold;
|
70
|
+
display:block;
|
71
|
+
padding:10px;
|
72
|
+
width:100%;
|
73
|
+
text-transform:uppercase;
|
74
|
+
color:lighten($gray, 30);
|
75
|
+
.hint {
|
76
|
+
text-transform: none;
|
77
|
+
font-weight:normal;
|
78
|
+
}
|
79
|
+
&.no-pad{
|
80
|
+
padding:0;
|
81
|
+
}
|
82
|
+
&.input{
|
83
|
+
padding: 5px !important;
|
84
|
+
font-size:1em;
|
85
|
+
font-weight:normal;
|
86
|
+
padding-left:25px !important;
|
87
|
+
text-indent:-20px;
|
88
|
+
input[type="checkbox"]{
|
89
|
+
margin-right:5px;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
93
|
+
[class^=select2]{
|
94
|
+
border:none !important;
|
95
|
+
border-radius:0;
|
96
|
+
}
|
97
|
+
#{$text-inputs},
|
98
|
+
textarea{
|
99
|
+
border:none !important;
|
100
|
+
display:block !important;
|
101
|
+
}
|
102
|
+
textarea{
|
103
|
+
width:100%;
|
104
|
+
max-width:100%;
|
105
|
+
min-width:100%;
|
106
|
+
}
|
107
|
+
.inline-input{
|
108
|
+
display:table;
|
109
|
+
width:100%;
|
110
|
+
margin:0;
|
111
|
+
border:none;
|
112
|
+
& > * {
|
113
|
+
border:none !important;
|
114
|
+
padding: 0 !important;
|
115
|
+
}
|
116
|
+
label{
|
117
|
+
font-size: 1em;
|
118
|
+
font-weight:normal;
|
119
|
+
}
|
120
|
+
select{
|
121
|
+
padding-left:5px;
|
122
|
+
font-size:13px;
|
123
|
+
font-weight:normal;
|
124
|
+
}
|
125
|
+
}
|
126
|
+
.form-group{
|
127
|
+
display:table;
|
128
|
+
width:100%;
|
129
|
+
margin:0;
|
130
|
+
border:none;
|
131
|
+
label{
|
132
|
+
padding-bottom:0;
|
133
|
+
}
|
134
|
+
&>div:not([class ^= "col-"]){
|
135
|
+
width:auto;
|
136
|
+
}
|
137
|
+
&>*{
|
138
|
+
background:none;
|
139
|
+
border-left:none !important;
|
140
|
+
border-bottom:1px solid darken(white, 20);
|
141
|
+
&:not(:last-of-type){
|
142
|
+
border-right:1px solid darken(white, 20);
|
143
|
+
}
|
144
|
+
}
|
145
|
+
&:last-of-type{
|
146
|
+
&>div{
|
147
|
+
border-bottom-style:none;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
&.bordered{
|
151
|
+
&>div{
|
152
|
+
border-bottom-style:solid;
|
153
|
+
}
|
154
|
+
}
|
155
|
+
&.has-error,
|
156
|
+
.has-error{
|
157
|
+
label{
|
158
|
+
color: $red;
|
159
|
+
}
|
160
|
+
input,
|
161
|
+
textarea,
|
162
|
+
select{
|
163
|
+
box-shadow:inset 0 -3px 0 $red !important;
|
164
|
+
}
|
165
|
+
}
|
166
|
+
input[type="checkbox"]{
|
167
|
+
font-size:14px;
|
168
|
+
}
|
169
|
+
a.action{
|
170
|
+
display:block;
|
171
|
+
width:100%;
|
172
|
+
padding: 10px 0;
|
173
|
+
text-decoration:none;
|
174
|
+
&.red{
|
175
|
+
color:$red;
|
176
|
+
}
|
177
|
+
&.disabled{
|
178
|
+
color:$gray-light;
|
179
|
+
cursor:help;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
}
|
183
|
+
&.no-align{
|
184
|
+
display:block;
|
185
|
+
.form-group{
|
186
|
+
display:table;
|
187
|
+
width:100%;
|
188
|
+
}
|
189
|
+
}
|
190
|
+
.error{
|
191
|
+
white-space:nowrap;
|
192
|
+
}
|
193
|
+
.submit{
|
194
|
+
text-align:center;
|
195
|
+
margin-top:10px;
|
196
|
+
}
|
197
|
+
.submit2{
|
198
|
+
text-align:center;
|
199
|
+
padding:5px;
|
200
|
+
}
|
201
|
+
|
202
|
+
.footer{
|
203
|
+
border-top:1px solid darken(white, 20);
|
204
|
+
background:white;
|
205
|
+
padding:10px;
|
206
|
+
text-align:center;
|
207
|
+
}
|
208
|
+
|
209
|
+
.control-label{
|
210
|
+
white-space:normal;
|
211
|
+
text-align:center;
|
212
|
+
}
|
213
|
+
input.has-error{
|
214
|
+
box-shadow:inset 0 -3px 0 $red !important;
|
215
|
+
}
|
216
|
+
.section-head{
|
217
|
+
background:darken(white, 3);
|
218
|
+
padding:5px 7px;
|
219
|
+
font-size:1.4em;
|
220
|
+
font-weight:300;
|
221
|
+
}
|
222
|
+
.form-group{
|
223
|
+
.section-head{
|
224
|
+
.action{
|
225
|
+
display:inline-block;
|
226
|
+
width:auto;
|
227
|
+
padding: 0;
|
228
|
+
font-size:12px;
|
229
|
+
color:$green;
|
230
|
+
}
|
231
|
+
}
|
232
|
+
}
|
233
|
+
.radio-table{
|
234
|
+
width:100%;
|
235
|
+
.label{
|
236
|
+
background:none;
|
237
|
+
font-weight:normal;
|
238
|
+
color:$gray;
|
239
|
+
border:none;
|
240
|
+
text-align:left;
|
241
|
+
}
|
242
|
+
td, th{
|
243
|
+
padding:0 3px;
|
244
|
+
text-align:center;
|
245
|
+
vertical-align:middle;
|
246
|
+
}
|
247
|
+
}
|
248
|
+
.alert{
|
249
|
+
border-left:0;
|
250
|
+
border-right:0;
|
251
|
+
border-radius:0;
|
252
|
+
margin:0;
|
253
|
+
&.alert-danger{
|
254
|
+
border-color:$red;
|
255
|
+
color:$red;
|
256
|
+
background-color:#FFEBEE;
|
257
|
+
}
|
258
|
+
}
|
259
|
+
}
|
260
|
+
.table-form{
|
261
|
+
.select2-container{
|
262
|
+
width:100% !important;
|
263
|
+
}
|
264
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
// override for .nav-tab
|
2
|
+
.uniformTabs{
|
3
|
+
border:none;
|
4
|
+
& > li {
|
5
|
+
margin-left:10px;
|
6
|
+
margin-right:10px;
|
7
|
+
& > a{
|
8
|
+
border:none;
|
9
|
+
padding-left:0;
|
10
|
+
padding-right:0;
|
11
|
+
border-bottom: 3px solid transparent;
|
12
|
+
color: lighten($gray, 20);
|
13
|
+
&:hover{
|
14
|
+
background:none;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
&:first-of-type{
|
18
|
+
margin-left:0;
|
19
|
+
}
|
20
|
+
&:last-of-type{
|
21
|
+
margin-right:0;
|
22
|
+
}
|
23
|
+
&.active > a,
|
24
|
+
&.active > a:hover,
|
25
|
+
&.active > a:focus{
|
26
|
+
color:$green-dark;
|
27
|
+
border:none;
|
28
|
+
background:none;
|
29
|
+
border-bottom: 3px solid $green;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
.uniformTile{
|
2
|
+
border:1px solid darken($background, 15);
|
3
|
+
border-radius:3px;
|
4
|
+
margin-top:20px;
|
5
|
+
margin-bottom:20px;
|
6
|
+
overflow:hidden;
|
7
|
+
.avatar{
|
8
|
+
img{
|
9
|
+
width:100%;
|
10
|
+
height:auto;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
a{
|
14
|
+
color:$gray;
|
15
|
+
text-decoration:none;
|
16
|
+
}
|
17
|
+
.title{
|
18
|
+
vertical-align:middle;
|
19
|
+
font-size:12px;
|
20
|
+
padding-top:10px;
|
21
|
+
padding-bottom:10px;
|
22
|
+
.name{
|
23
|
+
font-size:16px;
|
24
|
+
margin-bottom:5px;
|
25
|
+
}
|
26
|
+
.company{
|
27
|
+
font-weight:bold;
|
28
|
+
}
|
29
|
+
.category{
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,30 @@
|
|
1
|
+
a{
|
2
|
+
color:$blue;
|
3
|
+
&:hover{
|
4
|
+
color:$blue-dark;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
blockquote{
|
8
|
+
border-left-color:lighten($green, 20);
|
9
|
+
}
|
10
|
+
mark{
|
11
|
+
background:lighten($green-light, 30);
|
12
|
+
}
|
13
|
+
code{
|
14
|
+
border-radius: 4px;
|
15
|
+
padding: 2px 4px;
|
16
|
+
font-size:90%;
|
17
|
+
background:lighten($green-light, 35);
|
18
|
+
color:$green-dark;
|
19
|
+
font-weight:normal;
|
20
|
+
}
|
21
|
+
pre{
|
22
|
+
display:block;
|
23
|
+
background: darken(white, 10);
|
24
|
+
border:1px solid darken(white, 13);
|
25
|
+
padding: 15px 10px;
|
26
|
+
overflow:auto;
|
27
|
+
xmp{
|
28
|
+
margin: 0;
|
29
|
+
}
|
30
|
+
}
|
@@ -0,0 +1,128 @@
|
|
1
|
+
// Vertical Rule
|
2
|
+
vr {
|
3
|
+
height:30px;
|
4
|
+
border-left:1px solid $gray-light;
|
5
|
+
margin:0 10px;
|
6
|
+
display: inline-block;
|
7
|
+
vertical-align:middle;
|
8
|
+
}
|
9
|
+
.rounded,
|
10
|
+
.round{
|
11
|
+
border-radius:50%;
|
12
|
+
}
|
13
|
+
.pointer{
|
14
|
+
cursor: pointer !important;
|
15
|
+
}
|
16
|
+
.handle{
|
17
|
+
cursor: hand;
|
18
|
+
}
|
19
|
+
.honeypot{
|
20
|
+
position:absolute !important;
|
21
|
+
left:-999999px !important;
|
22
|
+
width:1px !important;
|
23
|
+
display:block !important;
|
24
|
+
}
|
25
|
+
|
26
|
+
//----------------------------------------------------------------
|
27
|
+
// Layout
|
28
|
+
//----------------------------------------------------------------
|
29
|
+
.hide,
|
30
|
+
.hidden{
|
31
|
+
display:none;
|
32
|
+
}
|
33
|
+
.right{
|
34
|
+
float:right;
|
35
|
+
}
|
36
|
+
.text-right{
|
37
|
+
text-align: right;
|
38
|
+
}
|
39
|
+
.center{
|
40
|
+
text-align: center;
|
41
|
+
}
|
42
|
+
.clear{
|
43
|
+
clear:both;
|
44
|
+
}
|
45
|
+
.bleed-fix{
|
46
|
+
position:static;
|
47
|
+
overflow:hidden;
|
48
|
+
}
|
49
|
+
.no-gutter{
|
50
|
+
padding-left:0;
|
51
|
+
padding-right:0;
|
52
|
+
}
|
53
|
+
.no-pad{
|
54
|
+
padding-left:0;
|
55
|
+
padding-right:0;
|
56
|
+
}
|
57
|
+
.less-pad{
|
58
|
+
padding-left:5px;
|
59
|
+
padding-right:5px;
|
60
|
+
}
|
61
|
+
.pad{
|
62
|
+
padding:10px;
|
63
|
+
}
|
64
|
+
|
65
|
+
//----------------------------------------------------------------
|
66
|
+
// Text
|
67
|
+
//----------------------------------------------------------------
|
68
|
+
.text-overflow{
|
69
|
+
@include text-overflow;
|
70
|
+
}
|
71
|
+
.strong,
|
72
|
+
strong,
|
73
|
+
.bold{ font-weight: 700;}
|
74
|
+
.light,
|
75
|
+
.text-light{ font-weight: 300;}
|
76
|
+
.text-normal{ font-weight: normal;}
|
77
|
+
.italic{ font-style:italic;}
|
78
|
+
.required{ color:$red;}
|
79
|
+
.warn{
|
80
|
+
color:lighten($gray, 20);
|
81
|
+
&:hover{
|
82
|
+
color:$red;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
h1, h2, h3, h4, h5, h6{
|
86
|
+
&.no-margin{
|
87
|
+
margin: 0;
|
88
|
+
margin-top:10px;
|
89
|
+
}
|
90
|
+
&.no-margin-top{
|
91
|
+
margin-top:0;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
.green{ color:$green;}
|
96
|
+
.green-light{ color:$green-light;}
|
97
|
+
.blue{ color:$blue;}
|
98
|
+
.blue-light{ color:$blue-light;}
|
99
|
+
|
100
|
+
p.large{
|
101
|
+
font-size:1.5em;
|
102
|
+
font-weight:300;
|
103
|
+
margin-bottom:20px;
|
104
|
+
}
|
105
|
+
.nowrap{
|
106
|
+
white-space: nowrap;
|
107
|
+
overflow:hidden;
|
108
|
+
}
|
109
|
+
|
110
|
+
//----------------------------------------------------------------
|
111
|
+
// Colors
|
112
|
+
//----------------------------------------------------------------
|
113
|
+
@mixin generate-color($class){
|
114
|
+
.#{$class} { color: global-variable($class);}
|
115
|
+
.#{$class}-light { color: global-variable("#{$class}-light");}
|
116
|
+
.#{$class}-dark { color: global-variable("#{$class}-light");}
|
117
|
+
.#{$class}-bg { background-color: global-variable($class);}
|
118
|
+
.#{$class}-light-bg { background-color: global-variable("#{$class}-light");}
|
119
|
+
.#{$class}-dark-bg { background-color: global-variable("#{$class}-dark");}
|
120
|
+
}
|
121
|
+
|
122
|
+
@include generate-color('green');
|
123
|
+
@include generate-color('blue');
|
124
|
+
@include generate-color('red');
|
125
|
+
@include generate-color('gray');
|
126
|
+
@include generate-color('yellow');
|
127
|
+
|
128
|
+
|