bootswatch-rails 0.5.0 → 3.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +6 -14
  2. data/CONTRIBUTING.md +52 -0
  3. data/CONVERSION.md +6 -8
  4. data/HISTORY.md +9 -1
  5. data/README.md +6 -1
  6. data/Rakefile +3 -0
  7. data/lib/bootswatch-rails/version.rb +1 -1
  8. data/rearranges +12 -10
  9. data/vendor/assets/stylesheets/bootswatch/amelia/_bootswatch.scss +109 -718
  10. data/vendor/assets/stylesheets/bootswatch/amelia/_variables.scss +743 -217
  11. data/vendor/assets/stylesheets/bootswatch/cerulean/_bootswatch.scss +78 -133
  12. data/vendor/assets/stylesheets/bootswatch/cerulean/_variables.scss +745 -217
  13. data/vendor/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss +113 -552
  14. data/vendor/assets/stylesheets/bootswatch/cosmo/_variables.scss +745 -217
  15. data/vendor/assets/stylesheets/bootswatch/custom/_bootswatch.scss +22 -0
  16. data/vendor/assets/stylesheets/bootswatch/custom/_variables.scss +620 -0
  17. data/vendor/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +105 -525
  18. data/vendor/assets/stylesheets/bootswatch/cyborg/_variables.scss +745 -217
  19. data/vendor/assets/stylesheets/bootswatch/darkly/_bootswatch.scss +273 -0
  20. data/vendor/assets/stylesheets/bootswatch/darkly/_variables.scss +829 -0
  21. data/vendor/assets/stylesheets/bootswatch/flatly/_bootswatch.scss +183 -452
  22. data/vendor/assets/stylesheets/bootswatch/flatly/_variables.scss +747 -218
  23. data/vendor/assets/stylesheets/bootswatch/journal/_bootswatch.scss +77 -295
  24. data/vendor/assets/stylesheets/bootswatch/journal/_variables.scss +745 -217
  25. data/vendor/assets/stylesheets/bootswatch/lumen/_bootswatch.scss +408 -0
  26. data/vendor/assets/stylesheets/bootswatch/lumen/_variables.scss +827 -0
  27. data/vendor/assets/stylesheets/bootswatch/readable/_bootswatch.scss +149 -37
  28. data/vendor/assets/stylesheets/bootswatch/readable/_variables.scss +745 -217
  29. data/vendor/assets/stylesheets/bootswatch/simplex/_bootswatch.scss +84 -413
  30. data/vendor/assets/stylesheets/bootswatch/simplex/_variables.scss +745 -217
  31. data/vendor/assets/stylesheets/bootswatch/slate/_bootswatch.scss +251 -481
  32. data/vendor/assets/stylesheets/bootswatch/slate/_variables.scss +749 -217
  33. data/vendor/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss +87 -231
  34. data/vendor/assets/stylesheets/bootswatch/spacelab/_variables.scss +745 -216
  35. data/vendor/assets/stylesheets/bootswatch/superhero/_bootswatch.scss +168 -569
  36. data/vendor/assets/stylesheets/bootswatch/superhero/_variables.scss +746 -217
  37. data/vendor/assets/stylesheets/bootswatch/united/_bootswatch.scss +21 -110
  38. data/vendor/assets/stylesheets/bootswatch/united/_variables.scss +745 -217
  39. data/vendor/assets/stylesheets/bootswatch/yeti/_bootswatch.scss +418 -0
  40. data/vendor/assets/stylesheets/bootswatch/yeti/_variables.scss +827 -0
  41. metadata +17 -9
  42. data/vendor/assets/stylesheets/bootswatch/spruce/_bootswatch.scss +0 -650
  43. data/vendor/assets/stylesheets/bootswatch/spruce/_variables.scss +0 -301
@@ -1,462 +1,133 @@
1
- // Simplex 2.3.2
2
- // Bootswatch.less
1
+ // Simplex 3.1.1
2
+ // Bootswatch
3
3
  // -----------------------------------------------------
4
4
 
5
-
6
- $boxShadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
7
-
8
- // TYPOGRAPHY
9
- // -----------------------------------------------------
10
-
11
- @import url('//fonts.googleapis.com/css?family=Josefin+Sans:300,400,700');
12
-
13
- // SCAFFOLDING
14
- // -----------------------------------------------------
15
-
16
- hr {
17
- border-bottom: none;
5
+ @mixin btn-shadow($color) {
6
+ @include gradient-vertical-three-colors(lighten($color, 3%), $color, 6%, darken($color, 3%));
7
+ filter: none;
8
+ border: 1px solid darken($color, 10%);
18
9
  }
19
10
 
20
- // NAVBAR
21
- // -----------------------------------------------------
22
-
23
- .navbar {
24
-
25
- .navbar-inner {
26
- @include box-shadow(none);
27
- }
28
-
29
- .brand {
30
- padding: 12px 20px 8px;
31
- font-family: $headingsFontFamily;
32
- font-weight: bold;
33
-
34
- &:hover {
35
- color: $linkColor;
36
- }
37
- }
11
+ // Navbar =====================================================================
38
12
 
39
- .nav > li > a {
40
- padding: 13px 15px 6px;
41
- font-family: $headingsFontFamily;
42
- font-weight: bold;
43
- text-shadow: none;
13
+ .navbar-inverse {
44
14
 
45
- &:hover {
46
- text-decoration: none;
47
- }
48
- }
49
-
50
- .nav .active > a,
51
- .nav .active > a:hover {
52
- background-color: transparent;
53
- }
54
-
55
- .navbar-text {
56
- padding: 13px 15px 7px;
57
- line-height: 19px;
58
- font-family: $headingsFontFamily;
59
- color: $grayLight;
60
- }
61
-
62
- .divider-vertical {
63
- height: $navbarHeight - 1;
64
- background-color: $hrBorder;
65
- }
66
-
67
- .navbar-search {
68
- margin-top: 5px;
69
-
70
- input[type="text"] {
71
- margin-bottom: 5px;
72
- }
73
- }
74
-
75
- .dropdown-menu a {
76
- font-family: $headingsFontFamily;
77
- }
78
-
79
- .navbar-inverse {
80
-
81
- .navbar-inner {
82
- @include box-shadow(none);
83
- }
84
-
85
- .brand:hover {
86
- color: $white;
87
- }
88
- }
15
+ .badge {
16
+ background-color: #fff;
17
+ color: $brand-primary;
18
+ }
89
19
  }
90
20
 
91
- @media (max-width: $navbarCollapseWidth) {
92
-
93
- .navbar .nav-collapse {
94
-
95
- .nav li > a {
96
- color: $textColor;
97
-
98
- &:hover {
99
- background-image: none;
100
- background-color: $dropdownLinkBackgroundHover;
101
- }
102
- }
21
+ // Buttons ====================================================================
103
22
 
104
- .nav .active > a {
105
- @include box-shadow(none);
106
- }
107
-
108
- .navbar-form,
109
- .navbar-search {
110
- border-top: 1px solid rgba(128, 128, 128, 0.3);
111
- border-bottom: 1px solid rgba(128, 128, 128, 0.3);
112
- }
113
- }
114
-
115
- .navbar-inverse .nav-collapse {
116
-
117
- .nav li > a {
118
- color: $white;
119
-
120
- &:hover {
121
- background-color: rgba(255, 255, 255, 0.1) !important;
122
- }
123
- }
124
-
125
- .nav-header {
126
- color: rgba(255, 255, 255, 0.7);
127
- }
128
- }
23
+ .btn {
24
+ font-family: $headings-font-family;
129
25
  }
130
26
 
131
- div.subnav {
132
-
133
- background-image: none;
134
- background-color: $navbarBackground;
135
- border-bottom: 1px solid transparent;
136
- @include box-shadow($boxShadow);
137
- font-family: $headingsFontFamily;
138
-
139
- &.subnav-fixed {
140
- top: $navbarHeight + 1;
141
- @include box-shadow(#{inset 0 5px #fff, $boxShadow});
142
- }
143
-
144
- .nav > li > a {
145
- padding: 14px 12px 10px;
146
- border-left-color: transparent;
147
- border-right-color: transparent;
148
- color: $navbarText;
149
- font-weight: bold;
150
-
151
- &:hover {
152
- background-color: transparent;
153
- color: $linkColor;
154
- }
155
- }
156
-
157
- .nav > li.active > a,
158
- .nav > li.active > a:hover {
159
- border-left-color: transparent;
160
- border-right-color: transparent;
161
- background-color: transparent;
162
- @include box-shadow(none);
163
- color: $linkColor;
164
- }
27
+ .btn-default,
28
+ .btn-default:hover {
29
+ @include btn-shadow($btn-default-bg);
165
30
  }
166
31
 
167
- // NAV
168
- // -----------------------------------------------------
169
-
170
- .nav .nav-header {
171
- font-size: 13px;
172
- font-weight: normal;
173
- text-transform: none;
32
+ .btn-primary,
33
+ .btn-primary:hover {
34
+ @include btn-shadow($btn-primary-bg);
174
35
  }
175
36
 
176
- .nav-tabs {
177
-
178
- & > li > a {
179
- background-color: darken($bodyBackground, 3%);
180
- border: 1px solid #ccc;
181
- color: $textColor;
182
-
183
- &:hover {
184
- border: 1px solid #ccc;
185
- background-color: $dropdownLinkBackgroundHover;
186
- color: $linkColor;
187
- }
188
- }
189
-
190
- & > li.active > a,
191
- & > li.active > a:hover {
192
- background-color: $bodyBackground;
193
- }
194
-
195
- & > li.disabled > a:hover {
196
- background-color: darken($bodyBackground, 3%);
197
- color: $grayLight;
198
- }
199
-
200
- .dropdown {
201
-
202
- .dropdown-toggle .caret {
203
- border-top-color: $textColor;
204
- border-bottom-color: $textColor;
205
- opacity: 1;
206
- }
207
-
208
- &:hover .dropdown-toggle .caret {
209
- border-top-color: $linkColor;
210
- border-bottom-color: $linkColor;
211
- }
212
- }
213
-
214
- .dropdown.open .dropdown-toggle {
215
-
216
- background-color: $dropdownLinkBackgroundHover;
217
- border-color: #ccc;
218
- color: $linkColor;
219
-
220
- .caret,
221
- &:hover .caret {
222
- border-top-color: $linkColor;
223
- border-bottom-color: $linkColor;
224
- opacity: 1;
225
- }
226
- }
227
-
228
- .dropdown-menu {
229
-
230
- @include border-radius(0);
231
-
232
- a {
233
- padding: 8px 15px 3px;
234
- }
235
- }
37
+ .btn-success,
38
+ .btn-success:hover {
39
+ @include btn-shadow($btn-success-bg);
236
40
  }
237
41
 
238
- .tabbable {
239
-
240
- .nav-tabs > li > a,
241
- .nav-tabs > li > a:hover {
242
- border: 1px solid #ccc;
243
- }
244
-
245
- .nav-tabs > li.active > a {
246
- border-bottom: 1px solid transparent;
247
- }
248
-
249
- &.tabs-below > .nav-tabs > li.active > a,
250
- &.tabs-left > .nav-tabs > li.active > a,
251
- &.tabs-right > .nav-tabs > li.active > a {
252
- border-bottom: 1px solid #ccc;
253
- }
42
+ .btn-info,
43
+ .btn-info:hover {
44
+ @include btn-shadow($btn-info-bg);
254
45
  }
255
46
 
256
- .nav-pills {
257
-
258
- li > a {
259
- color: $textColor;
260
-
261
- &:hover {
262
- background-color: $dropdownLinkBackgroundHover;
263
- color: $linkColor;
264
- }
265
- }
266
-
267
- li.active > a,
268
- li.active > a:hover {
269
- background-color: $dropdownLinkBackgroundHover;
270
- color: $linkColor;
271
- }
272
-
273
- & > li.disabled > a:hover {
274
- color: $grayLight;
275
- }
276
-
277
- .dropdown .dropdown-toggle .caret {
278
- border-top-color: $textColor;
279
- border-bottom-color: $textColor;
280
- opacity: 1;
281
- }
282
-
283
- .dropdown .dropdown-toggle:hover .caret {
284
- border-top-color: $linkColor;
285
- border-bottom-color: $linkColor;
286
- }
287
-
288
- .dropdown.open .dropdown-toggle,
289
- .dropdown.open:hover .dropdown-toggle {
290
- background-color: $dropdownLinkBackgroundHover;
291
- color: $linkColor;
292
-
293
- .caret {
294
- border-top-color: $linkColor;
295
- border-bottom-color: $linkColor;
296
- }
297
- }
47
+ .btn-warning,
48
+ .btn-warning:hover {
49
+ @include btn-shadow($btn-warning-bg);
298
50
  }
299
51
 
300
- .nav-list {
301
-
302
- li > a {
303
- color: $textColor;
304
-
305
- &:hover {
306
- background-color: $dropdownLinkBackgroundHover;
307
- color: $linkColor;
308
- }
309
- }
310
-
311
- li.active > a,
312
- li.active > a:hover {
313
- background-color: $dropdownLinkBackgroundHover;
314
- color: $linkColor;
315
- }
316
- }
317
-
318
- .breadcrumb {
319
- background-color: $white;
320
- border: 0px solid transparent;
321
- @include box-shadow(#{$boxShadow, -1px -1px 0 rgba(0, 0, 0, 0.1)});
322
-
323
- li {
324
- padding-top: 2px;
325
- text-shadow: none;
326
- }
327
-
328
- .active {
329
- color: $textColor;
330
- }
331
-
332
- a {
333
- text-shadow: none;
334
- }
335
-
336
- a:hover {
337
- text-decoration: none;
338
- }
52
+ .btn-danger,
53
+ .btn-danger:hover {
54
+ @include btn-shadow($btn-danger-bg);
339
55
  }
340
56
 
341
- .pagination {
57
+ // Typography =================================================================
342
58
 
343
- ul > li > a,
344
- ul > li > span {
345
- padding: 2px 14px 0;
346
- color: $textColor;
347
-
348
- &:hover {
349
- background-color: $dropdownLinkBackgroundHover;
350
- color: $linkColor;
351
- }
352
- }
353
-
354
- ul > .active > a,
355
- ul > .active > span {
356
- background-color: $dropdownLinkBackgroundHover;
357
- color: $linkColor;
358
- }
359
-
360
- ul > .disabled > a,
361
- ul > .disabled > a:hover,
362
- ul > .disabled > span,
363
- ul > .disabled > span:hover {
364
- background-color: transparent;
365
- color: $textColor;
366
- }
59
+ body {
60
+ font-weight: 200;
367
61
  }
368
62
 
63
+ // Tables =====================================================================
369
64
 
370
- // BUTTONS
371
- // -----------------------------------------------------
372
-
373
- .btn {
374
- padding-top: .6em;
375
- font-family: $headingsFontFamily;
376
- font-weight: bold;
65
+ th {
66
+ color: $headings-color;
377
67
  }
378
68
 
379
- // TABLES
380
- // -----------------------------------------------------
381
-
382
- // FORMS
383
- // -----------------------------------------------------
69
+ // Forms ======================================================================
384
70
 
385
71
  legend {
386
- border-bottom: 1px solid #ddd;
387
- font-family: $headingsFontFamily;
72
+ color: $headings-color;
388
73
  }
389
74
 
390
- .navbar-search .search-query {
391
- border: 1px solid #ddd;
392
- @include border-radius(0);
393
- background-color: $bodyBackground;
394
- color: $gray;
395
- }
75
+ .has-warning {
76
+ .help-block,
77
+ .control-label {
78
+ color: $brand-danger;
79
+ }
396
80
 
397
- .help-inline, .help-block {
398
- font-size: 13px;
81
+ .form-control,
82
+ .form-control:focus {
83
+ border-color: $brand-danger;
84
+ }
399
85
  }
400
86
 
401
- .input-append .btn,
402
- .input-prepend .btn {
403
- line-height: 16px;
404
- }
87
+ .has-error {
88
+ .help-block,
89
+ .control-label {
90
+ color: $brand-primary;
91
+ }
405
92
 
406
- // DROPDOWNS
407
- // -----------------------------------------------------
408
-
409
- // ALERTS, LABELS, BADGES
410
- // -----------------------------------------------------
411
-
412
- .label {
413
- padding: 6px 12px;
414
- margin-left: 1px;
415
- margin-right: 1px;
93
+ .form-control,
94
+ .form-control:focus {
95
+ border-color: $brand-primary;
96
+ }
416
97
  }
417
98
 
418
- // MISCELLANEOUS
419
- // -----------------------------------------------------
99
+ .has-success {
100
+ .help-block,
101
+ .control-label {
102
+ color: $brand-success;
103
+ }
420
104
 
421
- i[class^="icon-"]{
422
- opacity: 0.5;
423
- vertical-align: -2px;
105
+ .form-control,
106
+ .form-control:focus {
107
+ border-color: $brand-success;
108
+ }
424
109
  }
425
110
 
426
- .well {
427
- @include box-shadow(#{$boxShadow, -1px -1px 0 rgba(0, 0, 0, 0.1)});
428
- border: none;
429
- }
111
+ // Navs =======================================================================
430
112
 
431
- .hero-unit {
432
- background-color: $navbarBackground;
433
- @include box-shadow(#{$boxShadow, -1px -1px 0 rgba(0, 0, 0, 0.1)});
434
- }
113
+ .pager {
114
+ a {
115
+ color: $headings-color;
116
+ }
435
117
 
436
- .thumbnail {
437
- padding: 10px;
438
- background-color: $white;
439
- }
118
+ a:hover,
119
+ .active > a, {
120
+ border-color: $brand-primary;
121
+ color: #fff;
122
+ }
440
123
 
441
- .progress {
442
- @include gradient-vertical(#e0e0e0, #e8e8e8);
124
+ .disabled > a {
125
+ border-color: $pager-border;
126
+ }
443
127
  }
444
128
 
445
- .modal {
446
-
447
- .modal-header {
448
- border-bottom: none;
449
- }
129
+ // Indicators =================================================================
450
130
 
451
- .modal-header,
452
- .modal-body {
453
- background-color: $navbarBackground;
454
- }
131
+ // Progress bars ==============================================================
455
132
 
456
- .modal-footer {
457
- background-color: $bodyBackground;
458
- }
459
- }
460
-
461
- // MEDIA QUERIES
462
- // -----------------------------------------------------
133
+ // Containers =================================================================