bootswatch-sprockets 0.1.1

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