bootswatch-sprockets 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +16 -0
- data/.gitmodules +3 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +54 -0
- data/Rakefile +2 -0
- data/assets/stylesheets/bootswatch/cerulean/_bootswatch.scss +125 -0
- data/assets/stylesheets/bootswatch/cerulean/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss +237 -0
- data/assets/stylesheets/bootswatch/cosmo/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/custom/_bootswatch.scss +22 -0
- data/assets/stylesheets/bootswatch/custom/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +210 -0
- data/assets/stylesheets/bootswatch/cyborg/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/darkly/_bootswatch.scss +328 -0
- data/assets/stylesheets/bootswatch/darkly/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/flatly/_bootswatch.scss +311 -0
- data/assets/stylesheets/bootswatch/flatly/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/global/build.scss +3 -0
- data/assets/stylesheets/bootswatch/journal/_bootswatch.scss +120 -0
- data/assets/stylesheets/bootswatch/journal/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/lumen/_bootswatch.scss +481 -0
- data/assets/stylesheets/bootswatch/lumen/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/paper/_bootswatch.scss +408 -0
- data/assets/stylesheets/bootswatch/paper/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/readable/_bootswatch.scss +187 -0
- data/assets/stylesheets/bootswatch/readable/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/sandstone/_bootswatch.scss +195 -0
- data/assets/stylesheets/bootswatch/sandstone/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/simplex/_bootswatch.scss +142 -0
- data/assets/stylesheets/bootswatch/simplex/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/slate/_bootswatch.scss +417 -0
- data/assets/stylesheets/bootswatch/slate/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss +137 -0
- data/assets/stylesheets/bootswatch/spacelab/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/superhero/_bootswatch.scss +332 -0
- data/assets/stylesheets/bootswatch/superhero/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/united/_bootswatch.scss +42 -0
- data/assets/stylesheets/bootswatch/united/_variables.scss +856 -0
- data/assets/stylesheets/bootswatch/yeti/_bootswatch.scss +437 -0
- data/assets/stylesheets/bootswatch/yeti/_variables.scss +856 -0
- data/bootswatch_sprockets.gemspec +32 -0
- data/lib/bootswatch_sprockets/version.rb +3 -0
- data/lib/bootswatch_sprockets.rb +5 -0
- metadata +144 -0
@@ -0,0 +1,408 @@
|
|
1
|
+
// Paper 3.3.1
|
2
|
+
// Bootswatch
|
3
|
+
// -----------------------------------------------------
|
4
|
+
|
5
|
+
@import url("//fonts.googleapis.com/css?family=Roboto:300,400,500");
|
6
|
+
|
7
|
+
// Navbar =====================================================================
|
8
|
+
|
9
|
+
.navbar {
|
10
|
+
border: none;
|
11
|
+
@include box-shadow(0 1px 2px rgba(0,0,0,.3));
|
12
|
+
|
13
|
+
&-brand {
|
14
|
+
font-size: 24px;
|
15
|
+
}
|
16
|
+
|
17
|
+
&-inverse {
|
18
|
+
.form-control {
|
19
|
+
color: #fff;
|
20
|
+
@include placeholder($navbar-inverse-link-color);
|
21
|
+
|
22
|
+
&[type=text] {
|
23
|
+
@include box-shadow(inset 0 -1px 0 $navbar-inverse-link-color);
|
24
|
+
|
25
|
+
&:focus {
|
26
|
+
@include box-shadow(inset 0 -2px 0 #fff);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
&-nav > li > .dropdown-menu {
|
33
|
+
margin-top: 2px;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
// Buttons ====================================================================
|
38
|
+
|
39
|
+
@mixin btn($class,$bg){
|
40
|
+
.btn-#{$class} {
|
41
|
+
@include gradient-radial($bg 80%, darken($bg, 6%) 81%);
|
42
|
+
background-size: 200%;
|
43
|
+
background-position: 50%;
|
44
|
+
transition: background-size 2s;
|
45
|
+
|
46
|
+
&:hover {
|
47
|
+
background-size: 100%;
|
48
|
+
border-color: darken($bg, 6%);
|
49
|
+
}
|
50
|
+
|
51
|
+
&:active {
|
52
|
+
background-color: darken($bg, 6%);
|
53
|
+
@include gradient-radial(darken($bg, 6%) 10%, $bg 11%);
|
54
|
+
background-size: 1000%;
|
55
|
+
@include box-shadow(2px 2px 2px rgba(0,0,0,.3));
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
|
60
|
+
@include btn(default,$btn-default-bg);
|
61
|
+
@include btn(primary,$btn-primary-bg);
|
62
|
+
@include btn(success,$btn-success-bg);
|
63
|
+
@include btn(info,$btn-info-bg);
|
64
|
+
@include btn(warning,$btn-warning-bg);
|
65
|
+
@include btn(danger,$btn-danger-bg);
|
66
|
+
|
67
|
+
.btn {
|
68
|
+
text-transform: uppercase;
|
69
|
+
border-right: none;
|
70
|
+
border-bottom: none;
|
71
|
+
@include box-shadow(1px 1px 2px rgba(0,0,0,.3));
|
72
|
+
@include transition(all 0.2s);
|
73
|
+
|
74
|
+
&-link {
|
75
|
+
@include box-shadow(none);
|
76
|
+
|
77
|
+
&:hover,
|
78
|
+
&:focus {
|
79
|
+
color: $brand-primary;
|
80
|
+
text-decoration: none;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
&-default.disabled {
|
85
|
+
border: 1px solid $btn-default-border;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
// Typography =================================================================
|
90
|
+
|
91
|
+
body {
|
92
|
+
-webkit-font-smoothing: antialiased;
|
93
|
+
letter-spacing: .1px;
|
94
|
+
text-rendering: optimizeLegibility;
|
95
|
+
}
|
96
|
+
|
97
|
+
p {
|
98
|
+
margin: 0 0 1em;
|
99
|
+
}
|
100
|
+
|
101
|
+
input,
|
102
|
+
button {
|
103
|
+
-webkit-font-smoothing: antialiased;
|
104
|
+
letter-spacing: .1px;
|
105
|
+
text-rendering: optimizeLegibility;
|
106
|
+
}
|
107
|
+
|
108
|
+
a {
|
109
|
+
@include transition(all 0.2s);
|
110
|
+
}
|
111
|
+
|
112
|
+
// Tables =====================================================================
|
113
|
+
|
114
|
+
// Forms ======================================================================
|
115
|
+
|
116
|
+
textarea,
|
117
|
+
textarea.form-control,
|
118
|
+
input.form-control,
|
119
|
+
input[type=text],
|
120
|
+
input[type=password],
|
121
|
+
input[type=email],
|
122
|
+
input[type=number],
|
123
|
+
[type=text].form-control,
|
124
|
+
[type=password].form-control,
|
125
|
+
[type=email].form-control,
|
126
|
+
[type=tel].form-control {
|
127
|
+
padding: 0;
|
128
|
+
border: none;
|
129
|
+
border-radius: 0;
|
130
|
+
@include box-shadow(inset 0 -1px 0 #ddd);
|
131
|
+
font-size: 16px;
|
132
|
+
|
133
|
+
&:focus {
|
134
|
+
@include box-shadow(inset 0 -2px 0 $brand-primary);
|
135
|
+
}
|
136
|
+
|
137
|
+
&[disabled],
|
138
|
+
&[readonly] {
|
139
|
+
@include box-shadow(none);
|
140
|
+
border-bottom: 1px dotted #ddd;
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
select,
|
145
|
+
select.form-control {
|
146
|
+
border: 0;
|
147
|
+
border-radius: 0;
|
148
|
+
-webkit-appearance: none;
|
149
|
+
@include box-shadow(inset 0 -1px 0 #ddd);
|
150
|
+
font-size: 16px;
|
151
|
+
padding-left: 0px;
|
152
|
+
|
153
|
+
&:focus {
|
154
|
+
@include box-shadow(inset 0 -2px 0 $brand-primary);
|
155
|
+
}
|
156
|
+
}
|
157
|
+
|
158
|
+
.has-warning {
|
159
|
+
input,
|
160
|
+
.form-control,
|
161
|
+
input:focus,
|
162
|
+
.form-control:focus {
|
163
|
+
@include box-shadow(inset 0 -2px 0 $brand-warning);
|
164
|
+
}
|
165
|
+
}
|
166
|
+
|
167
|
+
.has-error {
|
168
|
+
input,
|
169
|
+
.form-control,
|
170
|
+
input:focus,
|
171
|
+
.form-control:focus {
|
172
|
+
@include box-shadow(inset 0 -2px 0 $brand-danger);
|
173
|
+
}
|
174
|
+
}
|
175
|
+
|
176
|
+
.has-success {
|
177
|
+
input,
|
178
|
+
.form-control,
|
179
|
+
input:focus,
|
180
|
+
.form-control:focus {
|
181
|
+
@include box-shadow(inset 0 -2px 0 $brand-success);
|
182
|
+
}
|
183
|
+
}
|
184
|
+
|
185
|
+
// Navs =======================================================================
|
186
|
+
|
187
|
+
.nav-tabs {
|
188
|
+
& > li > a {
|
189
|
+
border: none;
|
190
|
+
margin-right: 0;
|
191
|
+
color: $navbar-default-link-color;
|
192
|
+
@include box-shadow(inset 0 -1px 0 #ddd);
|
193
|
+
@include transition(all 0.2s);
|
194
|
+
|
195
|
+
&:hover {
|
196
|
+
background-color: transparent;
|
197
|
+
@include box-shadow(inset 0 -2px 0 $brand-primary);
|
198
|
+
color: $brand-primary;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
& > li.active > a {
|
203
|
+
border: none;
|
204
|
+
@include box-shadow(inset 0 -2px 0 $brand-primary);
|
205
|
+
color: $brand-primary;
|
206
|
+
|
207
|
+
&:hover {
|
208
|
+
border: none;
|
209
|
+
color: $brand-primary;
|
210
|
+
}
|
211
|
+
}
|
212
|
+
|
213
|
+
& > li.disabled > a {
|
214
|
+
@include box-shadow(inset 0 -1px 0 #ddd);
|
215
|
+
}
|
216
|
+
|
217
|
+
&.nav-justified {
|
218
|
+
|
219
|
+
& > li > a,
|
220
|
+
& > li > a:hover,
|
221
|
+
& > .active > a,
|
222
|
+
& > .active > a:hover {
|
223
|
+
border: none;
|
224
|
+
}
|
225
|
+
}
|
226
|
+
|
227
|
+
.dropdown-menu {
|
228
|
+
margin-top: 0;
|
229
|
+
}
|
230
|
+
}
|
231
|
+
|
232
|
+
.dropdown-menu {
|
233
|
+
border: none;
|
234
|
+
@include box-shadow(0 1px 4px rgba(0,0,0,.3));
|
235
|
+
}
|
236
|
+
|
237
|
+
// Indicators =================================================================
|
238
|
+
|
239
|
+
.alert {
|
240
|
+
border: none;
|
241
|
+
color: #fff;
|
242
|
+
|
243
|
+
&-success {
|
244
|
+
background-color: $brand-success;
|
245
|
+
}
|
246
|
+
|
247
|
+
&-info {
|
248
|
+
background-color: $brand-info;
|
249
|
+
}
|
250
|
+
|
251
|
+
&-warning {
|
252
|
+
background-color: $brand-warning;
|
253
|
+
}
|
254
|
+
|
255
|
+
&-danger {
|
256
|
+
background-color: $brand-danger;
|
257
|
+
}
|
258
|
+
|
259
|
+
a:not(.close),
|
260
|
+
.alert-link {
|
261
|
+
color: #fff;
|
262
|
+
font-weight: bold;
|
263
|
+
}
|
264
|
+
|
265
|
+
.close {
|
266
|
+
color: #fff;
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
.badge {
|
271
|
+
padding: 3px 6px 5px;
|
272
|
+
}
|
273
|
+
|
274
|
+
.progress {
|
275
|
+
position: relative;
|
276
|
+
z-index: 1;
|
277
|
+
height: 6px;
|
278
|
+
border-radius: 0;
|
279
|
+
|
280
|
+
@include box-shadow(none);
|
281
|
+
|
282
|
+
&-bar {
|
283
|
+
@include box-shadow(none);
|
284
|
+
|
285
|
+
&:last-child {
|
286
|
+
border-radius: 0 3px 3px 0;
|
287
|
+
}
|
288
|
+
|
289
|
+
&:last-child {
|
290
|
+
&:before {
|
291
|
+
display: block;
|
292
|
+
content: 'div::before';
|
293
|
+
position: absolute;
|
294
|
+
width: 100%;
|
295
|
+
height: 100%;
|
296
|
+
left: 0;
|
297
|
+
right: 0;
|
298
|
+
z-index: -1;
|
299
|
+
background-color: lighten($progress-bar-bg, 35%);
|
300
|
+
}
|
301
|
+
}
|
302
|
+
|
303
|
+
&-success:last-child.progress-bar:before {
|
304
|
+
background-color: lighten($brand-success, 35%);
|
305
|
+
}
|
306
|
+
|
307
|
+
&-info:last-child.progress-bar:before {
|
308
|
+
background-color: lighten($brand-info, 45%);
|
309
|
+
}
|
310
|
+
&-warning:last-child.progress-bar:before {
|
311
|
+
background-color: lighten($brand-warning, 35%);
|
312
|
+
}
|
313
|
+
|
314
|
+
&-danger:last-child.progress-bar:before {
|
315
|
+
background-color: lighten($brand-danger, 25%);
|
316
|
+
}
|
317
|
+
}
|
318
|
+
}
|
319
|
+
|
320
|
+
// Progress bars ==============================================================
|
321
|
+
|
322
|
+
// Containers =================================================================
|
323
|
+
|
324
|
+
.close {
|
325
|
+
font-size: 34px;
|
326
|
+
font-weight: 300;
|
327
|
+
line-height: 24px;
|
328
|
+
opacity: 0.6;
|
329
|
+
|
330
|
+
&:hover {
|
331
|
+
opacity: 1;
|
332
|
+
}
|
333
|
+
}
|
334
|
+
|
335
|
+
.list-group {
|
336
|
+
|
337
|
+
&-item {
|
338
|
+
padding: 15px;
|
339
|
+
}
|
340
|
+
|
341
|
+
&-item-text {
|
342
|
+
color: $gray-light;
|
343
|
+
}
|
344
|
+
}
|
345
|
+
|
346
|
+
.well {
|
347
|
+
border-radius: 0;
|
348
|
+
@include box-shadow(none);
|
349
|
+
}
|
350
|
+
|
351
|
+
.panel {
|
352
|
+
border: none;
|
353
|
+
border-radius: 2px;
|
354
|
+
@include box-shadow(0 1px 4px rgba(0,0,0,.3));
|
355
|
+
|
356
|
+
&-heading {
|
357
|
+
border-bottom: none;
|
358
|
+
}
|
359
|
+
|
360
|
+
&-footer {
|
361
|
+
border-top: none;
|
362
|
+
}
|
363
|
+
|
364
|
+
&-success {
|
365
|
+
.panel-heading {
|
366
|
+
background-color: $brand-success;
|
367
|
+
}
|
368
|
+
|
369
|
+
.panel-title {
|
370
|
+
color: #fff;
|
371
|
+
}
|
372
|
+
}
|
373
|
+
|
374
|
+
&-info {
|
375
|
+
.panel-heading {
|
376
|
+
background-color: $brand-info;
|
377
|
+
}
|
378
|
+
|
379
|
+
.panel-title {
|
380
|
+
color: #fff;
|
381
|
+
}
|
382
|
+
}
|
383
|
+
|
384
|
+
&-warning {
|
385
|
+
.panel-heading {
|
386
|
+
background-color: $brand-warning;
|
387
|
+
}
|
388
|
+
|
389
|
+
.panel-title {
|
390
|
+
color: #fff;
|
391
|
+
}
|
392
|
+
}
|
393
|
+
|
394
|
+
&-danger {
|
395
|
+
.panel-heading {
|
396
|
+
background-color: $brand-danger;
|
397
|
+
}
|
398
|
+
|
399
|
+
.panel-title {
|
400
|
+
color: #fff;
|
401
|
+
}
|
402
|
+
}
|
403
|
+
}
|
404
|
+
|
405
|
+
.popover {
|
406
|
+
border: none;
|
407
|
+
@include box-shadow(0 1px 4px rgba(0,0,0,.3));
|
408
|
+
}
|