furatto 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/furatto.gemspec +21 -0
- data/lib/furatto.rb +16 -0
- data/lib/furatto/engine.rb +6 -0
- data/lib/furatto/version.rb +3 -0
- data/vendor/assets/fonts/fontawesome/FontAwesome.otf +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.svg +399 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome/fontawesome-webfont.woff +0 -0
- data/vendor/assets/fonts/meteocons-webfont.eot +0 -0
- data/vendor/assets/fonts/meteocons-webfont.svg +81 -0
- data/vendor/assets/fonts/meteocons-webfont.ttf +0 -0
- data/vendor/assets/fonts/meteocons-webfont.woff +0 -0
- data/vendor/assets/images/icheck/aero.png +0 -0
- data/vendor/assets/images/icheck/aero@2x.png +0 -0
- data/vendor/assets/images/icheck/blue.png +0 -0
- data/vendor/assets/images/icheck/blue@2x.png +0 -0
- data/vendor/assets/images/icheck/flat.png +0 -0
- data/vendor/assets/images/icheck/flat@2x.png +0 -0
- data/vendor/assets/images/icheck/green.png +0 -0
- data/vendor/assets/images/icheck/green@2x.png +0 -0
- data/vendor/assets/images/icheck/grey.png +0 -0
- data/vendor/assets/images/icheck/grey@2x.png +0 -0
- data/vendor/assets/images/icheck/orange.png +0 -0
- data/vendor/assets/images/icheck/orange@2x.png +0 -0
- data/vendor/assets/images/icheck/pink.png +0 -0
- data/vendor/assets/images/icheck/pink@2x.png +0 -0
- data/vendor/assets/images/icheck/purple.png +0 -0
- data/vendor/assets/images/icheck/purple@2x.png +0 -0
- data/vendor/assets/images/icheck/red.png +0 -0
- data/vendor/assets/images/icheck/red@2x.png +0 -0
- data/vendor/assets/images/icheck/yellow.png +0 -0
- data/vendor/assets/images/icheck/yellow@2x.png +0 -0
- data/vendor/assets/images/icons/customize-icon150.png +0 -0
- data/vendor/assets/images/icons/flexible-icon.png +0 -0
- data/vendor/assets/images/icons/github-128-black.png +0 -0
- data/vendor/assets/images/icons/iphone-icon150.png +0 -0
- data/vendor/assets/images/icons/lock-icon128.png +0 -0
- data/vendor/assets/images/icons/rocket-icon128.png +0 -0
- data/vendor/assets/images/icons/rocket-icon150.png +0 -0
- data/vendor/assets/images/icons/screen-icon.png +0 -0
- data/vendor/assets/images/icons/screens-icon.png +0 -0
- data/vendor/assets/images/icons/screens2-icon.png +0 -0
- data/vendor/assets/images/next.png +0 -0
- data/vendor/assets/images/previous.png +0 -0
- data/vendor/assets/images/themes.gif +0 -0
- data/vendor/assets/images/toggle.png +0 -0
- data/vendor/assets/javascripts/dropdown.js +169 -0
- data/vendor/assets/javascripts/furatto.js +15 -0
- data/vendor/assets/javascripts/jpanel.js +547 -0
- data/vendor/assets/javascripts/jquery.avgrund.js +127 -0
- data/vendor/assets/javascripts/jquery.dropkick-1.0.0.js +400 -0
- data/vendor/assets/javascripts/jquery.icheck.js +462 -0
- data/vendor/assets/javascripts/jquery.tagsinput.js +354 -0
- data/vendor/assets/javascripts/jquery.toolbar.js +242 -0
- data/vendor/assets/javascripts/legacy.js +140 -0
- data/vendor/assets/javascripts/picker.date.js +957 -0
- data/vendor/assets/javascripts/picker.js +785 -0
- data/vendor/assets/javascripts/picker.time.js +651 -0
- data/vendor/assets/javascripts/rainbow-custom.min.js +13 -0
- data/vendor/assets/javascripts/responsive-tables.js +67 -0
- data/vendor/assets/javascripts/responsiveslides.js +391 -0
- data/vendor/assets/javascripts/tooltip.js +353 -0
- data/vendor/assets/stylesheets/furatto.scss +101 -0
- data/vendor/assets/stylesheets/furatto/_alerts.scss +81 -0
- data/vendor/assets/stylesheets/furatto/_base.scss +187 -0
- data/vendor/assets/stylesheets/furatto/_buttons.scss +100 -0
- data/vendor/assets/stylesheets/furatto/_code.scss +66 -0
- data/vendor/assets/stylesheets/furatto/_date_picker.date.scss +266 -0
- data/vendor/assets/stylesheets/furatto/_date_picker.scss +158 -0
- data/vendor/assets/stylesheets/furatto/_date_picker.time.scss +122 -0
- data/vendor/assets/stylesheets/furatto/_dropdown.scss +261 -0
- data/vendor/assets/stylesheets/furatto/_font-awesome-ie7.scss +1953 -0
- data/vendor/assets/stylesheets/furatto/_fonts.scss +614 -0
- data/vendor/assets/stylesheets/furatto/_footer.scss +44 -0
- data/vendor/assets/stylesheets/furatto/_forms.scss +290 -0
- data/vendor/assets/stylesheets/furatto/_grid.scss +56 -0
- data/vendor/assets/stylesheets/furatto/_images.scss +44 -0
- data/vendor/assets/stylesheets/furatto/_labels.scss +43 -0
- data/vendor/assets/stylesheets/furatto/_layout.scss +0 -0
- data/vendor/assets/stylesheets/furatto/_left_navbar.scss +100 -0
- data/vendor/assets/stylesheets/furatto/_mixins.scss +283 -0
- data/vendor/assets/stylesheets/furatto/_modal.scss +103 -0
- data/vendor/assets/stylesheets/furatto/_nav.scss +106 -0
- data/vendor/assets/stylesheets/furatto/_navbar.scss +187 -0
- data/vendor/assets/stylesheets/furatto/_pagination.scss +158 -0
- data/vendor/assets/stylesheets/furatto/_responsive-1200px-min.scss +21 -0
- data/vendor/assets/stylesheets/furatto/_responsive-767px-max.scss +82 -0
- data/vendor/assets/stylesheets/furatto/_responsive-768px-979px.scss +23 -0
- data/vendor/assets/stylesheets/furatto/_responsive_navbar.scss +184 -0
- data/vendor/assets/stylesheets/furatto/_responsive_tables.scss +28 -0
- data/vendor/assets/stylesheets/furatto/_responsiveslides.scss +202 -0
- data/vendor/assets/stylesheets/furatto/_select.scss +191 -0
- data/vendor/assets/stylesheets/furatto/_tables.scss +90 -0
- data/vendor/assets/stylesheets/furatto/_tags.scss +107 -0
- data/vendor/assets/stylesheets/furatto/_toolbars.scss +116 -0
- data/vendor/assets/stylesheets/furatto/_tooltips.scss +143 -0
- data/vendor/assets/stylesheets/furatto/_typography.scss +266 -0
- data/vendor/assets/stylesheets/furatto/_variables.scss +628 -0
- data/vendor/assets/stylesheets/furatto/_vrt_navbar.scss +61 -0
- data/vendor/assets/stylesheets/furatto/icheck/_aero.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_all.scss +20 -0
- data/vendor/assets/stylesheets/furatto/icheck/_blue.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_flat.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_green.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_grey.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_orange.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_pink.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_purple.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_red.scss +64 -0
- data/vendor/assets/stylesheets/furatto/icheck/_yellow.scss +64 -0
- data/vendor/assets/stylesheets/normalize.scss +403 -0
- metadata +162 -0
@@ -0,0 +1,44 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$FOOTER
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Basic footer structural styling.
|
6
|
+
*
|
7
|
+
* Designed and built @kurenn
|
8
|
+
*/
|
9
|
+
|
10
|
+
.footer {
|
11
|
+
background: $footer-bg;
|
12
|
+
color: $footer-text-color;
|
13
|
+
font-size: $base-font-size;
|
14
|
+
font-weight: lighter;
|
15
|
+
line-height: $base-line-height;
|
16
|
+
margin-top: 50px;
|
17
|
+
height: $footer-height;
|
18
|
+
|
19
|
+
.copyright {
|
20
|
+
margin: 0;
|
21
|
+
padding: (($footer-height - $base-line-height) / 2) 20px (($footer-height - $base-line-height) / 2);
|
22
|
+
}
|
23
|
+
|
24
|
+
a {
|
25
|
+
color: $footer-text-color;
|
26
|
+
}
|
27
|
+
|
28
|
+
.footer-wrapper {
|
29
|
+
width: 80%;
|
30
|
+
margin: 0 auto;
|
31
|
+
|
32
|
+
.hrz-nav {
|
33
|
+
margin: 0;
|
34
|
+
|
35
|
+
li {
|
36
|
+
display: inline-block;
|
37
|
+
padding: (($footer-height - $base-line-height) / 2) 10px (($footer-height - $base-line-height) / 2);
|
38
|
+
a {
|
39
|
+
color: $footer-text-color;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
}
|
@@ -0,0 +1,290 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$FORMS
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Basic textfield structural styling.
|
6
|
+
*
|
7
|
+
* Designed and built @kurenn
|
8
|
+
*/
|
9
|
+
|
10
|
+
form {
|
11
|
+
margin: 0 0 $base-line-height;
|
12
|
+
}
|
13
|
+
|
14
|
+
//Labels
|
15
|
+
label {
|
16
|
+
display: block;
|
17
|
+
margin-bottom: 5px;
|
18
|
+
cursor: pointer;
|
19
|
+
}
|
20
|
+
|
21
|
+
//Inputs
|
22
|
+
textarea,
|
23
|
+
input[type="text"],
|
24
|
+
input[type="password"],
|
25
|
+
input[type="datetime"],
|
26
|
+
input[type="datetime-local"],
|
27
|
+
input[type="date"],
|
28
|
+
input[type="month"],
|
29
|
+
input[type="time"],
|
30
|
+
input[type="week"],
|
31
|
+
input[type="number"],
|
32
|
+
input[type="email"],
|
33
|
+
input[type="url"],
|
34
|
+
input[type="search"],
|
35
|
+
input[type="tel"],
|
36
|
+
input[type="color"],
|
37
|
+
.uneditable-input {
|
38
|
+
display: inline-block;
|
39
|
+
height: $base-line-height;
|
40
|
+
padding: 4px 6px;
|
41
|
+
margin-bottom: $base-line-height / 2;
|
42
|
+
font-size: $base-font-size;
|
43
|
+
line-height: $base-line-height;
|
44
|
+
color: $input-color;
|
45
|
+
@include border-radius($input-border-radius);
|
46
|
+
vertical-align: middle;
|
47
|
+
}
|
48
|
+
|
49
|
+
//Reset textarea height because of the rows
|
50
|
+
textarea {
|
51
|
+
height: auto;
|
52
|
+
}
|
53
|
+
|
54
|
+
//Text inputs
|
55
|
+
textarea,
|
56
|
+
input[type="text"],
|
57
|
+
input[type="password"],
|
58
|
+
input[type="datetime"],
|
59
|
+
input[type="datetime-local"],
|
60
|
+
input[type="date"],
|
61
|
+
input[type="month"],
|
62
|
+
input[type="time"],
|
63
|
+
input[type="week"],
|
64
|
+
input[type="number"],
|
65
|
+
input[type="email"],
|
66
|
+
input[type="url"],
|
67
|
+
input[type="search"],
|
68
|
+
input[type="tel"],
|
69
|
+
input[type="color"],
|
70
|
+
.uneditable-input {
|
71
|
+
background-color: $input-bg;
|
72
|
+
border: 1px solid $input-border-color;
|
73
|
+
|
74
|
+
/*Focus state*/
|
75
|
+
&:focus {
|
76
|
+
border-color: rgba($input-focus-color,.8);
|
77
|
+
outline: 0;
|
78
|
+
outline: thin dotted \9; /* IE6-9 */
|
79
|
+
@include single-transition(border, 0.2s, linear)
|
80
|
+
}
|
81
|
+
}
|
82
|
+
|
83
|
+
//Input sizes
|
84
|
+
.input-mini {
|
85
|
+
width: 60px;
|
86
|
+
}
|
87
|
+
|
88
|
+
.input-small {
|
89
|
+
width: 90px;
|
90
|
+
}
|
91
|
+
|
92
|
+
.input-medium {
|
93
|
+
width: 150px;
|
94
|
+
}
|
95
|
+
|
96
|
+
.input-large {
|
97
|
+
width: 210px;
|
98
|
+
}
|
99
|
+
|
100
|
+
.input-xlarge {
|
101
|
+
width: 270px;
|
102
|
+
}
|
103
|
+
|
104
|
+
.input-xxlarge {
|
105
|
+
width: 350px;
|
106
|
+
}
|
107
|
+
|
108
|
+
/* Inline Forms */
|
109
|
+
/* ------------ */
|
110
|
+
.inline-form,
|
111
|
+
.horizontal-form {
|
112
|
+
input,
|
113
|
+
textarea,
|
114
|
+
select {
|
115
|
+
display: inline-block;
|
116
|
+
margin-bottom: 0;
|
117
|
+
vertical-align: middle;
|
118
|
+
}
|
119
|
+
|
120
|
+
label {
|
121
|
+
display: inline-block;
|
122
|
+
}
|
123
|
+
|
124
|
+
// Re-hide hidden elements due to specifity
|
125
|
+
.hide {
|
126
|
+
display: none;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
|
130
|
+
/* Horizontal form */
|
131
|
+
/* --------------- */
|
132
|
+
.horizontal-form {
|
133
|
+
.furatto-controls {
|
134
|
+
display: block;
|
135
|
+
margin-bottom: 10px;
|
136
|
+
|
137
|
+
label {
|
138
|
+
width: 160px;
|
139
|
+
margin-right: 20px;
|
140
|
+
text-align: right;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
.furatto-actions {
|
145
|
+
margin-left: 184px;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
/* Login Form */
|
150
|
+
/* ------------ */
|
151
|
+
.login-form {
|
152
|
+
width: 30%;
|
153
|
+
text-align: center;
|
154
|
+
|
155
|
+
input[type="text"],
|
156
|
+
input[type="password"],
|
157
|
+
input[type="email"] {
|
158
|
+
display: block;
|
159
|
+
width: 96%;
|
160
|
+
height: 35px;
|
161
|
+
padding: 0px 0px 0px 10px;
|
162
|
+
height: 42px;
|
163
|
+
background: #fcfcfc;
|
164
|
+
}
|
165
|
+
|
166
|
+
.furatto-login-icon {
|
167
|
+
margin-bottom: 20px;
|
168
|
+
}
|
169
|
+
|
170
|
+
.login-header {
|
171
|
+
font-size: $base-font-size + 10;
|
172
|
+
margin: 0;
|
173
|
+
color: $dark-gray;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
/* Centered forms */
|
178
|
+
/* -------------- */
|
179
|
+
.centered-form {
|
180
|
+
margin: 0 auto;
|
181
|
+
}
|
182
|
+
|
183
|
+
/* Level up the label on for checkboxes */
|
184
|
+
/* ------------------------------------ */
|
185
|
+
label.checkbox {
|
186
|
+
position: relative;
|
187
|
+
top: -4px;
|
188
|
+
margin-left: 5px;
|
189
|
+
margin-right: 5px;
|
190
|
+
}
|
191
|
+
|
192
|
+
label {
|
193
|
+
@include touch-callout;
|
194
|
+
}
|
195
|
+
|
196
|
+
/* Uneditable inputs */
|
197
|
+
/* ----------------- */
|
198
|
+
|
199
|
+
input[disabled],
|
200
|
+
textarea[disabled] {
|
201
|
+
color: $light-gray;
|
202
|
+
cursor: not-allowed;
|
203
|
+
overflow: hidden;
|
204
|
+
white-space: nowrap;
|
205
|
+
background: #EEE;
|
206
|
+
}
|
207
|
+
|
208
|
+
/* Input states */
|
209
|
+
/* ------------ */
|
210
|
+
.info {
|
211
|
+
textarea,
|
212
|
+
input[type="text"],
|
213
|
+
input[type="password"],
|
214
|
+
input[type="datetime"],
|
215
|
+
input[type="datetime-local"],
|
216
|
+
input[type="date"],
|
217
|
+
input[type="month"],
|
218
|
+
input[type="time"],
|
219
|
+
input[type="week"],
|
220
|
+
input[type="number"],
|
221
|
+
input[type="email"],
|
222
|
+
input[type="url"],
|
223
|
+
input[type="search"],
|
224
|
+
input[type="tel"],
|
225
|
+
input[type="color"] {
|
226
|
+
color: $dark-blue;
|
227
|
+
border: 1px solid $dark-blue;
|
228
|
+
}
|
229
|
+
}
|
230
|
+
.success{
|
231
|
+
textarea,
|
232
|
+
input[type="text"],
|
233
|
+
input[type="password"],
|
234
|
+
input[type="datetime"],
|
235
|
+
input[type="datetime-local"],
|
236
|
+
input[type="date"],
|
237
|
+
input[type="month"],
|
238
|
+
input[type="time"],
|
239
|
+
input[type="week"],
|
240
|
+
input[type="number"],
|
241
|
+
input[type="email"],
|
242
|
+
input[type="url"],
|
243
|
+
input[type="search"],
|
244
|
+
input[type="tel"],
|
245
|
+
input[type="color"] {
|
246
|
+
color: $dark-green;
|
247
|
+
border: 1px solid $dark-green;
|
248
|
+
}
|
249
|
+
}
|
250
|
+
.warning{
|
251
|
+
textarea,
|
252
|
+
input[type="text"],
|
253
|
+
input[type="password"],
|
254
|
+
input[type="datetime"],
|
255
|
+
input[type="datetime-local"],
|
256
|
+
input[type="date"],
|
257
|
+
input[type="month"],
|
258
|
+
input[type="time"],
|
259
|
+
input[type="week"],
|
260
|
+
input[type="number"],
|
261
|
+
input[type="email"],
|
262
|
+
input[type="url"],
|
263
|
+
input[type="search"],
|
264
|
+
input[type="tel"],
|
265
|
+
input[type="color"] {
|
266
|
+
color: $dark-orange;
|
267
|
+
border: 1px solid $dark-orange;
|
268
|
+
}
|
269
|
+
}
|
270
|
+
.error{
|
271
|
+
textarea,
|
272
|
+
input[type="text"],
|
273
|
+
input[type="password"],
|
274
|
+
input[type="datetime"],
|
275
|
+
input[type="datetime-local"],
|
276
|
+
input[type="date"],
|
277
|
+
input[type="month"],
|
278
|
+
input[type="time"],
|
279
|
+
input[type="week"],
|
280
|
+
input[type="number"],
|
281
|
+
input[type="email"],
|
282
|
+
input[type="url"],
|
283
|
+
input[type="search"],
|
284
|
+
input[type="tel"],
|
285
|
+
input[type="color"] {
|
286
|
+
color: $dark-red;
|
287
|
+
border: 1px solid $dark-red;
|
288
|
+
}
|
289
|
+
}
|
290
|
+
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$GRID
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Grid definition based on the bootstrap grid.
|
6
|
+
* http://twitter.github.io/bootstrap/scaffolding.html#gridSystem
|
7
|
+
*
|
8
|
+
* Designed and built @kurenn based
|
9
|
+
*/
|
10
|
+
|
11
|
+
|
12
|
+
// Fixed (940px)
|
13
|
+
@include grid-core($gridColumnWidth, $gridGutterWidth);
|
14
|
+
|
15
|
+
// Fluid (940px)
|
16
|
+
@include grid-fluid($fluidGridColumnWidth, $fluidGridGutterWidth);
|
17
|
+
|
18
|
+
// Reset utility classes due to specificity
|
19
|
+
[class*="span"].hide,
|
20
|
+
.row-fluid [class*="span"].hide {
|
21
|
+
display: none;
|
22
|
+
}
|
23
|
+
|
24
|
+
[class*="span"].pull-right,
|
25
|
+
.row-fluid [class*="span"].pull-right {
|
26
|
+
float: right;
|
27
|
+
}
|
28
|
+
|
29
|
+
//Adds a background to the columns for demo purposes
|
30
|
+
.grid-demo {
|
31
|
+
margin-bottom: 10px;
|
32
|
+
|
33
|
+
[class*="span"] {
|
34
|
+
background: $light-gray;
|
35
|
+
@include border-radius(3px);
|
36
|
+
text-align: center;
|
37
|
+
line-height: $base-line-height;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.nested-grid-demo {
|
42
|
+
background: $light-gray;
|
43
|
+
[class*="span"] {
|
44
|
+
padding-bottom: 10px;
|
45
|
+
text-align: center;
|
46
|
+
}
|
47
|
+
|
48
|
+
.row-fluid {
|
49
|
+
.row-fluid {
|
50
|
+
[class*="span"] {
|
51
|
+
background: darken($light-gray, 15%);
|
52
|
+
@include border-radius(3px);
|
53
|
+
}
|
54
|
+
}
|
55
|
+
}
|
56
|
+
}
|
@@ -0,0 +1,44 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$IMAGES
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Images definition.
|
6
|
+
*
|
7
|
+
* Designed and built @kurenn
|
8
|
+
*/
|
9
|
+
|
10
|
+
|
11
|
+
.img {
|
12
|
+
width: auto;
|
13
|
+
max-width: 100%;
|
14
|
+
height: auto;
|
15
|
+
vertical-align: middle;
|
16
|
+
@include box-sizing(border-box);
|
17
|
+
margin: 10px;
|
18
|
+
}
|
19
|
+
|
20
|
+
.img-hover {
|
21
|
+
@include transition(all .4s ease);
|
22
|
+
&:hover {
|
23
|
+
border: 1px solid rgba($img-border, 1);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.img-circular {
|
28
|
+
@include border-radius(50%);
|
29
|
+
}
|
30
|
+
|
31
|
+
.img-well {
|
32
|
+
@include border-radius(2%);
|
33
|
+
}
|
34
|
+
|
35
|
+
.img-selected {
|
36
|
+
border: 3px solid rgba($img-border, 0.8);
|
37
|
+
opacity: .9;
|
38
|
+
}
|
39
|
+
|
40
|
+
.img-polaroid {
|
41
|
+
padding: 4px;
|
42
|
+
border: 1px solid rgba(#000, 0.2);
|
43
|
+
background: #FFF;
|
44
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/*------------------------------------*\
|
2
|
+
$LABELS
|
3
|
+
\*------------------------------------*/
|
4
|
+
/**
|
5
|
+
* Basic button structural styling.
|
6
|
+
*
|
7
|
+
* Designed and built @kurenn
|
8
|
+
*/
|
9
|
+
|
10
|
+
.label, .badge {
|
11
|
+
display: inline-block;
|
12
|
+
padding: 2px 4px;
|
13
|
+
font-size: $base-font-size * .846;
|
14
|
+
font-weight: bold;
|
15
|
+
line-height: 14px;
|
16
|
+
color: #FFF;
|
17
|
+
vertical-align: baseline;
|
18
|
+
white-space: nowrap;
|
19
|
+
text-shadow: 0 -1px 0 rgba(0,0,0,.20);
|
20
|
+
background: $gray;
|
21
|
+
}
|
22
|
+
|
23
|
+
//Badges border radius
|
24
|
+
.badge {
|
25
|
+
@include border-radius(50%);
|
26
|
+
padding: 5px 8px;
|
27
|
+
}
|
28
|
+
|
29
|
+
//Labels and badges colors definitions
|
30
|
+
@each $color in $colors {
|
31
|
+
.label-#{nth($color, 1)}, .badge-#{nth($color, 1)} {
|
32
|
+
background-color: nth($color, 2);
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
a {
|
37
|
+
&.label:hover,
|
38
|
+
&.label:focus {
|
39
|
+
color: #FFF;
|
40
|
+
text-decoration: none;
|
41
|
+
cursor: pointer;
|
42
|
+
}
|
43
|
+
}
|