flexa_lib 0.1.3 → 0.1.5
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.
- data/lib/flexa_lib/version.rb +1 -1
- data/vendor/assets/images/glyphicons-halflings-white.png +0 -0
- data/vendor/assets/images/glyphicons-halflings.png +0 -0
- data/vendor/assets/javascripts/bootstrap-alert.js +94 -0
- data/vendor/assets/javascripts/bootstrap-button.js +98 -0
- data/vendor/assets/javascripts/bootstrap-carousel.js +157 -0
- data/vendor/assets/javascripts/bootstrap-collapse.js +136 -0
- data/vendor/assets/javascripts/bootstrap-dropdown.js +92 -0
- data/vendor/assets/javascripts/bootstrap-modal.js +210 -0
- data/vendor/assets/javascripts/bootstrap-popover.js +95 -0
- data/vendor/assets/javascripts/bootstrap-scrollspy.js +125 -0
- data/vendor/assets/javascripts/bootstrap-tab.js +130 -0
- data/vendor/assets/javascripts/bootstrap-tooltip.js +270 -0
- data/vendor/assets/javascripts/bootstrap-transition.js +51 -0
- data/vendor/assets/javascripts/bootstrap-typeahead.js +271 -0
- data/vendor/assets/javascripts/bootstrap.js +12 -0
- data/vendor/assets/javascripts/flexa-themejs.js +94 -0
- data/vendor/assets/javascripts/jquery.cookie.js +96 -0
- data/vendor/assets/javascripts/jquery.pjax.js +460 -0
- data/vendor/assets/javascripts/populate.js +272 -0
- data/vendor/assets/stylesheets/_bootstrap-responsive.scss +318 -0
- data/vendor/assets/stylesheets/_bootstrap.scss +63 -0
- data/vendor/assets/stylesheets/bootstrap/_accordion.scss +28 -0
- data/vendor/assets/stylesheets/bootstrap/_alerts.scss +62 -0
- data/vendor/assets/stylesheets/bootstrap/_breadcrumbs.scss +22 -0
- data/vendor/assets/stylesheets/bootstrap/_button-groups.scss +136 -0
- data/vendor/assets/stylesheets/bootstrap/_buttons.scss +163 -0
- data/vendor/assets/stylesheets/bootstrap/_carousel.scss +116 -0
- data/vendor/assets/stylesheets/bootstrap/_close.scss +18 -0
- data/vendor/assets/stylesheets/bootstrap/_code.scss +56 -0
- data/vendor/assets/stylesheets/bootstrap/_component-animations.scss +18 -0
- data/vendor/assets/stylesheets/bootstrap/_dropdowns.scss +126 -0
- data/vendor/assets/stylesheets/bootstrap/_forms.scss +463 -0
- data/vendor/assets/stylesheets/bootstrap/_grid.scss +8 -0
- data/vendor/assets/stylesheets/bootstrap/_hero-unit.scss +20 -0
- data/vendor/assets/stylesheets/bootstrap/_labels.scss +32 -0
- data/vendor/assets/stylesheets/bootstrap/_layouts.scss +17 -0
- data/vendor/assets/stylesheets/bootstrap/_mixins.scss +530 -0
- data/vendor/assets/stylesheets/bootstrap/_modals.scss +83 -0
- data/vendor/assets/stylesheets/bootstrap/_navbar.scss +288 -0
- data/vendor/assets/stylesheets/bootstrap/_navs.scss +329 -0
- data/vendor/assets/stylesheets/bootstrap/_pager.scss +30 -0
- data/vendor/assets/stylesheets/bootstrap/_pagination.scss +53 -0
- data/vendor/assets/stylesheets/bootstrap/_popovers.scss +49 -0
- data/vendor/assets/stylesheets/bootstrap/_progress-bars.scss +95 -0
- data/vendor/assets/stylesheets/bootstrap/_reset.scss +105 -0
- data/vendor/assets/stylesheets/bootstrap/_scaffolding.scss +29 -0
- data/vendor/assets/stylesheets/bootstrap/_sprites.scss +157 -0
- data/vendor/assets/stylesheets/bootstrap/_tables.scss +126 -0
- data/vendor/assets/stylesheets/bootstrap/_thumbnails.scss +35 -0
- data/vendor/assets/stylesheets/bootstrap/_tooltip.scss +35 -0
- data/vendor/assets/stylesheets/bootstrap/_type.scss +209 -0
- data/vendor/assets/stylesheets/bootstrap/_utilities.scss +23 -0
- data/vendor/assets/stylesheets/bootstrap/_variables.scss +103 -0
- data/vendor/assets/stylesheets/bootstrap/_wells.scss +17 -0
- data/vendor/assets/stylesheets/docs.css.scss +790 -0
- data/vendor/assets/stylesheets/flexa-theme.css.scss +32 -0
- data/vendor/assets/stylesheets/override.css.scss +77 -0
- metadata +60 -3
@@ -0,0 +1,463 @@
|
|
1
|
+
// Forms.less
|
2
|
+
// Base styles for various input types, form layouts, and states
|
3
|
+
// -------------------------------------------------------------
|
4
|
+
|
5
|
+
|
6
|
+
// GENERAL STYLES
|
7
|
+
// --------------
|
8
|
+
|
9
|
+
// Make all forms have space below them
|
10
|
+
form {
|
11
|
+
margin: 0 0 $baseLineHeight;
|
12
|
+
}
|
13
|
+
|
14
|
+
fieldset {
|
15
|
+
padding: 0;
|
16
|
+
margin: 0;
|
17
|
+
border: 0;
|
18
|
+
}
|
19
|
+
|
20
|
+
// Groups of fields with labels on top (legends)
|
21
|
+
legend {
|
22
|
+
display: block;
|
23
|
+
width: 100%;
|
24
|
+
padding: 0;
|
25
|
+
margin-bottom: $baseLineHeight * 1.5;
|
26
|
+
font-size: $baseFontSize * 1.5;
|
27
|
+
line-height: $baseLineHeight * 2;
|
28
|
+
color: $grayDark;
|
29
|
+
border: 0;
|
30
|
+
border-bottom: 1px solid #eee;
|
31
|
+
|
32
|
+
// Small
|
33
|
+
small {
|
34
|
+
font-size: $baseLineHeight * .75;
|
35
|
+
color: $grayLight;
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
// Set font for forms
|
40
|
+
label, input, button, select, textarea {
|
41
|
+
@include font-shorthand($baseFontSize, normal, $baseLineHeight); // Set size, weight, line-height here
|
42
|
+
}
|
43
|
+
|
44
|
+
input, button, select, textarea {
|
45
|
+
@include font-family-sans-serif(); // And only set font-family here for those that need it (note the missing label element)
|
46
|
+
}
|
47
|
+
|
48
|
+
// Identify controls by their labels
|
49
|
+
label {
|
50
|
+
display: block;
|
51
|
+
margin-bottom: 5px;
|
52
|
+
color: $grayDark;
|
53
|
+
}
|
54
|
+
|
55
|
+
// Inputs, Textareas, Selects
|
56
|
+
input, textarea, select, .uneditable-input {
|
57
|
+
display: inline-block;
|
58
|
+
width: 210px;
|
59
|
+
height: $baseLineHeight;
|
60
|
+
padding: 4px;
|
61
|
+
margin-bottom: 9px;
|
62
|
+
font-size: $baseFontSize;
|
63
|
+
line-height: $baseLineHeight;
|
64
|
+
color: $gray;
|
65
|
+
border: 1px solid #ccc;
|
66
|
+
@include border-radius(3px);
|
67
|
+
}
|
68
|
+
.uneditable-textarea {
|
69
|
+
width: auto;
|
70
|
+
height: auto;
|
71
|
+
}
|
72
|
+
|
73
|
+
// Inputs within a label
|
74
|
+
label input, label textarea, label select {
|
75
|
+
display: block;
|
76
|
+
}
|
77
|
+
|
78
|
+
// Mini reset for unique input types
|
79
|
+
input[type="image"], input[type="checkbox"], input[type="radio"] {
|
80
|
+
width: auto;
|
81
|
+
height: auto;
|
82
|
+
padding: 0;
|
83
|
+
margin: 3px 0;
|
84
|
+
*margin-top: 0; /* IE7 */
|
85
|
+
line-height: normal;
|
86
|
+
cursor: pointer;
|
87
|
+
@include border-radius(0);
|
88
|
+
border: 0 \9; /* IE9 and down */
|
89
|
+
}
|
90
|
+
input[type="image"] {
|
91
|
+
border: 0;
|
92
|
+
}
|
93
|
+
|
94
|
+
// Reset the file input to browser defaults
|
95
|
+
input[type="file"] {
|
96
|
+
width: auto;
|
97
|
+
padding: initial;
|
98
|
+
line-height: initial;
|
99
|
+
border: initial;
|
100
|
+
background-color: $white;
|
101
|
+
background-color: initial;
|
102
|
+
@include box-shadow(none);
|
103
|
+
}
|
104
|
+
|
105
|
+
// Help out input buttons
|
106
|
+
input[type="button"], input[type="reset"], input[type="submit"] {
|
107
|
+
width: auto;
|
108
|
+
height: auto;
|
109
|
+
}
|
110
|
+
|
111
|
+
// Set the height of select and file controls to match text inputs
|
112
|
+
select, input[type="file"] {
|
113
|
+
height: 28px; /* In IE7, the height of the select element cannot be changed by height, only font-size */
|
114
|
+
*margin-top: 4px; /* For IE7, add top margin to align select with labels */
|
115
|
+
line-height: 28px;
|
116
|
+
}
|
117
|
+
|
118
|
+
// Reset line-height for IE
|
119
|
+
input[type="file"] {
|
120
|
+
line-height: 18px \9;
|
121
|
+
}
|
122
|
+
|
123
|
+
// Chrome on Linux and Mobile Safari need background-color
|
124
|
+
select {
|
125
|
+
width: 220px; // default input width + 10px of padding that doesn't get applied
|
126
|
+
background-color: $white;
|
127
|
+
}
|
128
|
+
|
129
|
+
// Make multiple select elements height not fixed
|
130
|
+
select[multiple], select[size] {
|
131
|
+
height: auto;
|
132
|
+
}
|
133
|
+
|
134
|
+
// Remove shadow from image inputs
|
135
|
+
input[type="image"] {
|
136
|
+
@include box-shadow(none);
|
137
|
+
}
|
138
|
+
|
139
|
+
// Make textarea height behave
|
140
|
+
textarea {
|
141
|
+
height: auto;
|
142
|
+
}
|
143
|
+
|
144
|
+
// Hidden inputs
|
145
|
+
input[type="hidden"] {
|
146
|
+
display: none;
|
147
|
+
}
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
// CHECKBOXES & RADIOS
|
152
|
+
// -------------------
|
153
|
+
|
154
|
+
// Indent the labels to position radios/checkboxes as hanging
|
155
|
+
.radio, .checkbox {
|
156
|
+
padding-left: 18px;
|
157
|
+
}
|
158
|
+
.radio input[type="radio"], .checkbox input[type="checkbox"] {
|
159
|
+
float: left;
|
160
|
+
margin-left: -18px;
|
161
|
+
}
|
162
|
+
|
163
|
+
// Move the options list down to align with labels
|
164
|
+
.controls > .radio:first-child, .controls > .checkbox:first-child {
|
165
|
+
padding-top: 5px; // has to be padding because margin collaspes
|
166
|
+
}
|
167
|
+
|
168
|
+
// Radios and checkboxes on same line
|
169
|
+
// TODO v3: Convert .inline to .control-inline
|
170
|
+
.radio.inline, .checkbox.inline {
|
171
|
+
display: inline-block;
|
172
|
+
padding-top: 5px;
|
173
|
+
margin-bottom: 0;
|
174
|
+
vertical-align: middle;
|
175
|
+
}
|
176
|
+
.radio.inline + .radio.inline, .checkbox.inline + .checkbox.inline {
|
177
|
+
margin-left: 10px; // space out consecutive inline controls
|
178
|
+
}
|
179
|
+
|
180
|
+
|
181
|
+
|
182
|
+
// FOCUS STATE
|
183
|
+
// -----------
|
184
|
+
|
185
|
+
input, textarea {
|
186
|
+
@include box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
|
187
|
+
$transition: border linear .2s, box-shadow linear .2s;
|
188
|
+
@include transition($transition);
|
189
|
+
}
|
190
|
+
input:focus, textarea:focus {
|
191
|
+
border-color: rgba(82,168,236,.8);
|
192
|
+
$shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6);
|
193
|
+
@include box-shadow($shadow);
|
194
|
+
outline: 0;
|
195
|
+
outline: thin dotted \9; /* IE6-9 */
|
196
|
+
}
|
197
|
+
input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus, select:focus {
|
198
|
+
@include box-shadow(none); // override for file inputs
|
199
|
+
@include tab-focus();
|
200
|
+
}
|
201
|
+
|
202
|
+
|
203
|
+
|
204
|
+
// INPUT SIZES
|
205
|
+
// -----------
|
206
|
+
|
207
|
+
// General classes for quick sizes
|
208
|
+
.input-mini { width: 60px; }
|
209
|
+
.input-small { width: 90px; }
|
210
|
+
.input-medium { width: 150px; }
|
211
|
+
.input-large { width: 210px; }
|
212
|
+
.input-xlarge { width: 270px; }
|
213
|
+
.input-xxlarge { width: 530px; }
|
214
|
+
|
215
|
+
// Grid style input sizes
|
216
|
+
input[class*="span"], select[class*="span"], textarea[class*="span"], .uneditable-input {
|
217
|
+
float: none;
|
218
|
+
margin-left: 0;
|
219
|
+
}
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
// GRID SIZING FOR INPUTS
|
224
|
+
// ----------------------
|
225
|
+
|
226
|
+
@include inputGridSystemGenerate($gridColumns, $gridColumnWidth, $gridGutterWidth);
|
227
|
+
|
228
|
+
|
229
|
+
|
230
|
+
|
231
|
+
// DISABLED STATE
|
232
|
+
// --------------
|
233
|
+
|
234
|
+
// Disabled and read-only inputs
|
235
|
+
input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] {
|
236
|
+
background-color: #f5f5f5;
|
237
|
+
border-color: #ddd;
|
238
|
+
cursor: not-allowed;
|
239
|
+
}
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
|
244
|
+
// FORM FIELD FEEDBACK STATES
|
245
|
+
// --------------------------
|
246
|
+
|
247
|
+
// Warning
|
248
|
+
.control-group.warning {
|
249
|
+
@include formFieldState($warningText, $warningText, $warningBackground);
|
250
|
+
}
|
251
|
+
// Error
|
252
|
+
.control-group.error {
|
253
|
+
@include formFieldState($errorText, $errorText, $errorBackground);
|
254
|
+
}
|
255
|
+
// Success
|
256
|
+
.control-group.success {
|
257
|
+
@include formFieldState($successText, $successText, $successBackground);
|
258
|
+
}
|
259
|
+
|
260
|
+
// HTML5 invalid states
|
261
|
+
// Shares styles with the .control-group.error above
|
262
|
+
input:focus:required:invalid, textarea:focus:required:invalid, select:focus:required:invalid {
|
263
|
+
color: #b94a48;
|
264
|
+
border-color: #ee5f5b;
|
265
|
+
&:focus {
|
266
|
+
border-color: darken(#ee5f5b, 10%);
|
267
|
+
@include box-shadow(0 0 6px lighten(#ee5f5b, 20%));
|
268
|
+
}
|
269
|
+
}
|
270
|
+
|
271
|
+
|
272
|
+
|
273
|
+
// FORM ACTIONS
|
274
|
+
// ------------
|
275
|
+
|
276
|
+
.form-actions {
|
277
|
+
padding: ($baseLineHeight - 1) 20px $baseLineHeight;
|
278
|
+
margin-top: $baseLineHeight;
|
279
|
+
margin-bottom: $baseLineHeight;
|
280
|
+
background-color: #f5f5f5;
|
281
|
+
border-top: 1px solid #ddd;
|
282
|
+
}
|
283
|
+
|
284
|
+
// For text that needs to appear as an input but should not be an input
|
285
|
+
.uneditable-input {
|
286
|
+
display: block;
|
287
|
+
background-color: $white;
|
288
|
+
border-color: #eee;
|
289
|
+
@include box-shadow(inset 0 1px 2px rgba(0,0,0,.025));
|
290
|
+
cursor: not-allowed;
|
291
|
+
}
|
292
|
+
|
293
|
+
// Placeholder text gets special styles; can't be bundled together though for some reason
|
294
|
+
@include placeholder($grayLight);
|
295
|
+
|
296
|
+
|
297
|
+
|
298
|
+
// HELP TEXT
|
299
|
+
// ---------
|
300
|
+
|
301
|
+
.help-block {
|
302
|
+
display: block; // account for any element using help-block
|
303
|
+
margin-top: 5px;
|
304
|
+
margin-bottom: 0;
|
305
|
+
color: $grayLight;
|
306
|
+
}
|
307
|
+
|
308
|
+
.help-inline {
|
309
|
+
display: inline-block;
|
310
|
+
@include ie7-inline-block();
|
311
|
+
margin-bottom: 9px;
|
312
|
+
vertical-align: middle;
|
313
|
+
padding-left: 5px;
|
314
|
+
}
|
315
|
+
|
316
|
+
|
317
|
+
|
318
|
+
// INPUT GROUPS
|
319
|
+
// ------------
|
320
|
+
|
321
|
+
// Allow us to put symbols and text within the input field for a cleaner look
|
322
|
+
.input-prepend, .input-append {
|
323
|
+
margin-bottom: 5px;
|
324
|
+
@include clearfix(); // Clear the float to prevent wrapping
|
325
|
+
input, .uneditable-input {
|
326
|
+
@include border-radius(0 3px 3px 0);
|
327
|
+
&:focus {
|
328
|
+
position: relative;
|
329
|
+
z-index: 2;
|
330
|
+
}
|
331
|
+
}
|
332
|
+
.uneditable-input {
|
333
|
+
border-left-color: #eee;
|
334
|
+
border-right-color: #ccc;
|
335
|
+
}
|
336
|
+
.add-on {
|
337
|
+
float: left;
|
338
|
+
display: block;
|
339
|
+
width: auto;
|
340
|
+
min-width: 16px;
|
341
|
+
height: $baseLineHeight;
|
342
|
+
margin-right: -1px;
|
343
|
+
padding: 4px 5px;
|
344
|
+
font-weight: normal;
|
345
|
+
line-height: $baseLineHeight;
|
346
|
+
color: $grayLight;
|
347
|
+
text-align: center;
|
348
|
+
text-shadow: 0 1px 0 $white;
|
349
|
+
background-color: #f5f5f5;
|
350
|
+
border: 1px solid #ccc;
|
351
|
+
@include border-radius(3px 0 0 3px);
|
352
|
+
}
|
353
|
+
.active {
|
354
|
+
background-color: lighten($green, 30);
|
355
|
+
border-color: $green;
|
356
|
+
}
|
357
|
+
}
|
358
|
+
.input-prepend {
|
359
|
+
.add-on {
|
360
|
+
*margin-top: 1px; /* IE6-7 */
|
361
|
+
}
|
362
|
+
}
|
363
|
+
.input-append {
|
364
|
+
input, .uneditable-input {
|
365
|
+
float: left;
|
366
|
+
@include border-radius(3px 0 0 3px);
|
367
|
+
}
|
368
|
+
.uneditable-input {
|
369
|
+
border-right-color: #ccc;
|
370
|
+
}
|
371
|
+
.add-on {
|
372
|
+
margin-right: 0;
|
373
|
+
margin-left: -1px;
|
374
|
+
@include border-radius(0 3px 3px 0);
|
375
|
+
}
|
376
|
+
input:first-child {
|
377
|
+
// In IE7, having a hasLayout container (from clearfix's zoom:1) can make the first input
|
378
|
+
// inherit the sum of its ancestors' margins.
|
379
|
+
*margin-left: -160px;
|
380
|
+
|
381
|
+
&+.add-on {
|
382
|
+
*margin-left: -21px;
|
383
|
+
}
|
384
|
+
}
|
385
|
+
}
|
386
|
+
|
387
|
+
|
388
|
+
|
389
|
+
// SEARCH FORM
|
390
|
+
// -----------
|
391
|
+
|
392
|
+
.search-query {
|
393
|
+
padding-left: 14px;
|
394
|
+
padding-right: 14px;
|
395
|
+
margin-bottom: 0; // remove the default margin on all inputs
|
396
|
+
@include border-radius(14px);
|
397
|
+
}
|
398
|
+
|
399
|
+
|
400
|
+
|
401
|
+
// HORIZONTAL & VERTICAL FORMS
|
402
|
+
// ---------------------------
|
403
|
+
|
404
|
+
// Common properties
|
405
|
+
// -----------------
|
406
|
+
|
407
|
+
.form-search, .form-inline, .form-horizontal {
|
408
|
+
input, textarea, select, .help-inline, .uneditable-input {
|
409
|
+
display: inline-block;
|
410
|
+
margin-bottom: 0;
|
411
|
+
}
|
412
|
+
// Re-hide elemnts due to specifity
|
413
|
+
.hide { display: none; }
|
414
|
+
}
|
415
|
+
.form-search label, .form-inline label, .form-search .input-append, .form-inline .input-append, .form-search .input-prepend, .form-inline .input-prepend {
|
416
|
+
display: inline-block;
|
417
|
+
}
|
418
|
+
// Make the prepend and append add-on vertical-align: middle;
|
419
|
+
.form-search .input-append .add-on, .form-inline .input-prepend .add-on, .form-search .input-append .add-on, .form-inline .input-prepend .add-on {
|
420
|
+
vertical-align: middle;
|
421
|
+
}
|
422
|
+
// Inline checkbox/radio labels
|
423
|
+
.form-search .radio, .form-inline .radio, .form-search .checkbox, .form-inline .checkbox {
|
424
|
+
margin-bottom: 0;
|
425
|
+
vertical-align: middle;
|
426
|
+
}
|
427
|
+
|
428
|
+
// Margin to space out fieldsets
|
429
|
+
.control-group {
|
430
|
+
margin-bottom: $baseLineHeight / 2;
|
431
|
+
}
|
432
|
+
|
433
|
+
// Legend collapses margin, so next elements is responsible for spacing
|
434
|
+
legend + .control-group {
|
435
|
+
margin-top: $baseLineHeight;
|
436
|
+
-webkit-margin-top-collapse: separate;
|
437
|
+
}
|
438
|
+
|
439
|
+
// Horizontal-specific styles
|
440
|
+
// --------------------------
|
441
|
+
|
442
|
+
.form-horizontal {
|
443
|
+
// Increase spacing between groups
|
444
|
+
.control-group {
|
445
|
+
margin-bottom: $baseLineHeight;
|
446
|
+
@include clearfix();
|
447
|
+
}
|
448
|
+
// Float the labels left
|
449
|
+
.control-label {
|
450
|
+
float: left;
|
451
|
+
width: 140px;
|
452
|
+
padding-top: 5px;
|
453
|
+
text-align: right;
|
454
|
+
}
|
455
|
+
// Move over all input controls and content
|
456
|
+
.controls {
|
457
|
+
margin-left: 160px;
|
458
|
+
}
|
459
|
+
// Move over buttons in .form-actions to align with .controls
|
460
|
+
.form-actions {
|
461
|
+
padding-left: 160px;
|
462
|
+
}
|
463
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
// HERO UNIT
|
2
|
+
// ---------
|
3
|
+
|
4
|
+
.hero-unit {
|
5
|
+
padding: 60px;
|
6
|
+
margin-bottom: 30px;
|
7
|
+
background-color: #f5f5f5;
|
8
|
+
@include border-radius(6px);
|
9
|
+
h1 {
|
10
|
+
margin-bottom: 0;
|
11
|
+
font-size: 60px;
|
12
|
+
line-height: 1;
|
13
|
+
letter-spacing: -1px;
|
14
|
+
}
|
15
|
+
p {
|
16
|
+
font-size: 18px;
|
17
|
+
font-weight: 200;
|
18
|
+
line-height: $baseLineHeight * 1.5;
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
// LABELS
|
2
|
+
// ------
|
3
|
+
|
4
|
+
// Base
|
5
|
+
.label {
|
6
|
+
padding: 2px 4px 3px;
|
7
|
+
font-size: $baseFontSize * .85;
|
8
|
+
font-weight: bold;
|
9
|
+
color: $white;
|
10
|
+
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
11
|
+
background-color: $grayLight;
|
12
|
+
@include border-radius(3px);
|
13
|
+
}
|
14
|
+
|
15
|
+
// Hover state
|
16
|
+
.label:hover {
|
17
|
+
color: $white;
|
18
|
+
text-decoration: none;
|
19
|
+
}
|
20
|
+
|
21
|
+
// Colors
|
22
|
+
.label-important { background-color: $errorText; }
|
23
|
+
.label-important:hover { background-color: darken($errorText, 10%); }
|
24
|
+
|
25
|
+
.label-warning { background-color: $orange; }
|
26
|
+
.label-warning:hover { background-color: darken($orange, 10%); }
|
27
|
+
|
28
|
+
.label-success { background-color: $successText; }
|
29
|
+
.label-success:hover { background-color: darken($successText, 10%); }
|
30
|
+
|
31
|
+
.label-info { background-color: $infoText; }
|
32
|
+
.label-info:hover { background-color: darken($infoText, 10%); }
|
@@ -0,0 +1,17 @@
|
|
1
|
+
//
|
2
|
+
// Layouts
|
3
|
+
// Fixed-width and fluid (with sidebar) layouts
|
4
|
+
// --------------------------------------------
|
5
|
+
|
6
|
+
|
7
|
+
// Container (centered, fixed-width layouts)
|
8
|
+
.container {
|
9
|
+
@include container-fixed();
|
10
|
+
}
|
11
|
+
|
12
|
+
// Fluid layouts (left aligned, with sidebar, min- & max-width content)
|
13
|
+
.container-fluid {
|
14
|
+
padding-left: $gridGutterWidth;
|
15
|
+
padding-right: $gridGutterWidth;
|
16
|
+
@include clearfix();
|
17
|
+
}
|