bootswatch-rails 0.0.9 → 0.0.10

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/README.md CHANGED
@@ -50,6 +50,7 @@ I'm converting/updating them as time permits. Here's what's included at this poi
50
50
  * [Simplex](http://bootswatch.com/simplex/)
51
51
  * [Slate](http://bootswatch.com/slate/)
52
52
  * [Spacelab](http://bootswatch.com/spacelab/)
53
+ * [Spruce](http://bootswatch.com/spruce/)
53
54
  * [United](http://bootswatch.com/united/)
54
55
 
55
56
  ## Contributing
@@ -1,5 +1,5 @@
1
1
  module Bootswatch
2
2
  module Rails
3
- VERSION = "0.0.9"
3
+ VERSION = "0.0.10"
4
4
  end
5
5
  end
@@ -0,0 +1,483 @@
1
+ // Swatch: Spruce
2
+ // Version: 2.0.2
3
+ // -----------------------------------------------------
4
+
5
+ // TYPOGRAPHY
6
+ // --------------------------------------------------
7
+
8
+ @import url("https://fonts.googleapis.com/css?family=Josefin+Slab:400,700");
9
+
10
+ .navbar .brand, legend, .btn,
11
+ .navbar .nav > li > a,
12
+ div.subnav li > a {
13
+ font-family: $headingsFontFamily;
14
+ font-weight: $headingsFontWeight;
15
+ }
16
+
17
+ h3 { font-size: 20px; }
18
+ h4 { font-size: 16px; }
19
+ h5 { font-size: 14px; }
20
+
21
+ h1, h2, h3, h4, h5, h6 {
22
+ color: $yellow;
23
+ }
24
+
25
+ h1 > small, h2 > small, h3 > small, h4 > small, h5 > small, h6 > small, .muted {
26
+ color: $linkColor;
27
+ font-family: $baseFontFamily;
28
+ }
29
+
30
+ .alert-heading {
31
+ font-family: $baseFontFamily;
32
+ }
33
+
34
+ // SCAFFOLDING
35
+ // --------------------------------------------------
36
+
37
+ body {
38
+ @include gradient-vertical-three-colors (#90A38F, #AEAD8E, 60%, #90A38F);
39
+ background-size: 100% 1400px;
40
+ background-repeat: repeat-y !important;
41
+ }
42
+
43
+ blockquote {
44
+ border-left: 2px solid $linkColor;
45
+
46
+ &.pull-right {
47
+ border-right: 2px solid $linkColor;
48
+ }
49
+
50
+ small {
51
+ color: $blueDark;
52
+ }
53
+ }
54
+
55
+ code, pre {
56
+ color: lighten($blueDark, 10%);
57
+ background-color: $linkColor;
58
+ }
59
+
60
+ // NAVBAR
61
+ // --------------------------------------------------
62
+
63
+ .navbar-inner {
64
+ background-image: none;
65
+ @include box-shadow(none);
66
+ }
67
+
68
+ .navbar .brand {
69
+ font-size: 26px;
70
+ padding: 18px 20px 12px;
71
+ color: $linkColor;
72
+ }
73
+
74
+ .navbar .nav > li > a, {
75
+ font-size: 20px;
76
+ padding: 22px 10px 11px;
77
+ color: $linkColor;
78
+
79
+ &:hover {
80
+ color: $yellow;
81
+ }
82
+ }
83
+
84
+ .navbar .nav .active > a,
85
+ .navbar .nav .active > a:hover {
86
+ color: $yellow;
87
+ }
88
+
89
+ .navbar-search {
90
+ margin-top: 12px;
91
+ }
92
+
93
+ .navbar-search .search-query {
94
+ border-color: transparent;
95
+ padding: 6px 9px 2px 9px;
96
+ background-color: rgba(255, 255, 255, 0.4);
97
+ }
98
+
99
+ .navbar .nav > .dropdown.open > a {
100
+ color: $yellow;
101
+ }
102
+
103
+ .navbar .nav > .dropdown.open > .dropdown-menu {
104
+ background-color: $linkColor;
105
+ color: $textColor;
106
+ border-color: transparent;
107
+ }
108
+
109
+ .navbar .nav > .dropdown.open > .dropdown-menu a:hover {
110
+ background-color: darken(#90A38F, 10%);
111
+ color: $linkColor;
112
+ }
113
+
114
+ .dropdown-menu .divider {
115
+ background-color: transparent;
116
+ border-bottom: 1px solid #AEAD8E;
117
+ }
118
+
119
+ div.subnav {
120
+ background-color: $green;
121
+ background-image: none;
122
+ border-color: transparent;
123
+ @include box-shadow(0 1px 5px rgba(0,0,0,.1));
124
+ font-size: 18px;
125
+ }
126
+
127
+ div.subnav .nav > li > a {
128
+ color: $linkColor;
129
+ border-color: transparent;
130
+ background-color: transparent;
131
+ }
132
+
133
+ div.subnav .nav > li.active > a,
134
+ div.subnav .nav > li > a:hover,
135
+ div.subnav .nav > li.active > a:hover,
136
+ div.subnav .dropdown.open .dropdown-toggle {
137
+ background-color: transparent;
138
+ border-color: transparent;
139
+ color: $yellow;
140
+ }
141
+
142
+ div.subnav .nav > li + li > a {
143
+ border-color: transparent;
144
+ }
145
+
146
+ div.subnav .dropdown.open > .dropdown-menu {
147
+ background-color: $linkColor;
148
+ color: $textColor;
149
+ border-color: transparent;
150
+ }
151
+
152
+ div.subnav .dropdown.open > .dropdown-menu a:hover {
153
+ background-color: darken(#90A38F, 10%);
154
+ color: $linkColor;
155
+ }
156
+
157
+ div.subnav-fixed {
158
+ top: 54px;
159
+ }
160
+
161
+ .navbar .btn-navbar {
162
+ margin-top: 14px;
163
+ }
164
+
165
+ .navbar .nav-collapse.in .nav li > a {
166
+ color: $linkColor;
167
+
168
+ &:hover {
169
+ color: $yellow;
170
+ background-color: $blue;
171
+ }
172
+ }
173
+
174
+ .navbar .navbar-form, .navbar .navbar-search {
175
+ border-color: transparent;
176
+ @include box-shadow(none);
177
+ }
178
+
179
+ // TABLES
180
+ // --------------------------------------------------
181
+
182
+ .table,
183
+ .table.table-bordered,
184
+ .table.table-striped {
185
+ @include border-radius(0 0 8px 8px);
186
+ }
187
+
188
+ .table-bordered thead:first-child tr:first-child th:first-child,
189
+ .table-bordered tbody:first-child tr:first-child td:first-child,
190
+ .table-bordered thead:first-child tr:first-child th:last-child,
191
+ .table-bordered tbody:first-child tr:first-child td:last-child {
192
+ @include border-radius(0);
193
+ }
194
+
195
+ .table-striped tbody:last-child tr:last-child td:first-child {
196
+ @include border-radius(0 0 0 8px);
197
+ }
198
+
199
+ .table-striped tbody:last-child tr:last-child td:last-child {
200
+ @include border-radius(0 0 8px 0);
201
+ }
202
+
203
+ .table-bordered {
204
+ border: none;
205
+ }
206
+
207
+ .table thead tr th:first-child,
208
+ .table tbody tr td:first-child {
209
+ border-left: none;
210
+ }
211
+
212
+ .table th,
213
+ .table-striped tbody tr:nth-child(odd) th {
214
+ background-color: darken(#90A38F, 10%);
215
+ color: $linkColor;
216
+ }
217
+
218
+ // BUTTONS
219
+ // --------------------------------------------------
220
+
221
+ .btn {
222
+ @include buttonBackground(lighten($blueDark, 5%), $blueDark);
223
+ text-shadow: none;
224
+ color: $white;
225
+ border-color: transparent;
226
+ @include box-shadow(none);
227
+
228
+ &:hover {
229
+ color: $grayLighter;
230
+ }
231
+ }
232
+
233
+ .btn-large {
234
+ font-size: 18px;
235
+ }
236
+
237
+ .btn-primary {
238
+ @include buttonBackground(lighten($blue, 10%), lighten($blue, 5%));
239
+ }
240
+
241
+ .btn-warning {
242
+ @include buttonBackground($orange, darken($orange, 5%));
243
+ }
244
+
245
+ .btn-danger {
246
+ @include buttonBackground(lighten($red, 5%), $red);
247
+ }
248
+
249
+ .btn-success {
250
+ @include buttonBackground(#62c462, #51a351);
251
+ }
252
+
253
+ .btn-info {
254
+ @include buttonBackground(#5bc0de, #2f96b4);
255
+ }
256
+
257
+ .btn-inverse {
258
+ @include buttonBackground($yellow, darken($yellow, 5%));
259
+ }
260
+
261
+ .btn-group .dropdown-toggle {
262
+ @include box-shadow(none);
263
+ }
264
+
265
+ // NAVIGATION
266
+ // --------------------------------------------------
267
+
268
+ .breadcrumb, .pagination > ul {
269
+ background-color: darken(#90A38F, 10%);
270
+ background-image: none;
271
+ border-color: transparent;
272
+ @include box-shadow(none);
273
+ }
274
+
275
+ .breadcrumb li {
276
+ color: $yellow;
277
+ text-shadow: none;
278
+
279
+ a {
280
+ color: $linkColor;
281
+ }
282
+
283
+ a:hover {
284
+ color: $yellow;
285
+ }
286
+
287
+ .divider {
288
+ color: $blue;
289
+ }
290
+ }
291
+
292
+ .pagination a {
293
+ color: $linkColor;
294
+ border-color: transparent;
295
+
296
+ &:hover {
297
+ color: $yellow;
298
+ background-color: #748C73;
299
+ }
300
+ }
301
+
302
+ .pagination .active a {
303
+ color: $blue;
304
+ background-color: #A2CDB5;
305
+ }
306
+
307
+ .pagination .disabled a,
308
+ .pagination .disabled a:hover {
309
+ color: $blue;
310
+ }
311
+
312
+ .nav-list > li > a, .nav-list .nav-header {
313
+ text-shadow: none;
314
+ }
315
+
316
+ .nav-list .active > a, .nav-list .active > a:hover {
317
+ background-color: #A2CDB5;
318
+ text-shadow: none;
319
+ }
320
+
321
+ .nav-list li > a:hover {
322
+ background-color: transparent;
323
+ }
324
+
325
+ .nav-tabs {
326
+ border-color: transparent;
327
+ }
328
+
329
+ .nav-tabs > li > a,
330
+ .nav-pills > li > a {
331
+ background-color: #748C73;
332
+
333
+ &:hover {
334
+ background-color: #748C73;
335
+ border-color: transparent;
336
+ }
337
+ }
338
+
339
+ .nav-tabs > .active > a,
340
+ .nav-tabs > .active > a:hover,
341
+ .nav-pills .active > a,
342
+ .nav-pills .active > a:hover {
343
+ background-color: #A2CDB5;
344
+ border-color: transparent;
345
+ color: $blue;
346
+ }
347
+
348
+ .nav-tabs.nav-stacked > li > a {
349
+ border-color: transparent;
350
+
351
+ &:hover {
352
+ border-color: transparent;
353
+ }
354
+ }
355
+
356
+ .nav-tabs .open .dropdown-toggle,
357
+ .nav-pills .open .dropdown-toggle {
358
+ background-color: #748C73;
359
+ border-color: transparent;
360
+ color: $yellow;
361
+ }
362
+
363
+ .nav-tabs .active.open .dropdown-toggle,
364
+ .nav-pills .active.open .dropdown-toggle {
365
+ background-color: #A2CDB5;
366
+ }
367
+
368
+ .nav-tabs .dropdown-menu,
369
+ .nav-pills .dropdown-menu {
370
+ background-color: $linkColor;
371
+ color: $textColor;
372
+ border-color: transparent;
373
+
374
+ a:hover {
375
+ background-color: #A2CDB5;
376
+ color: $linkColor;
377
+ }
378
+ }
379
+
380
+ .nav .nav-header {
381
+ color: $blue;
382
+ }
383
+
384
+ .tabbable > .nav-tabs,
385
+ .tabbable > .nav-tabs > li > a,
386
+ .tabbable > .nav-tabs > li > a:hover,
387
+ .tabbable > .nav-tabs > li.active > a,
388
+ .tabbable > .nav-tabs > li.active > a:hover {
389
+ border-color: transparent;
390
+ }
391
+
392
+ .pager a {
393
+ border: none;
394
+ background-color: #748C73;
395
+
396
+ &:hover {
397
+ background-color: transparent;
398
+ background-color: #748C73;
399
+ }
400
+ }
401
+
402
+ // FORMS
403
+ // --------------------------------------------------
404
+
405
+ legend {
406
+ color: $yellow;
407
+ }
408
+
409
+ label, .help-block, input[type="file"] {
410
+ color: $linkColor;
411
+ }
412
+
413
+ input, textarea, select {
414
+ color: $textColor;
415
+ }
416
+
417
+ .uneditable-input {
418
+ color: $gray;
419
+ }
420
+
421
+ legend {
422
+ border-bottom: 2px solid $white;
423
+ }
424
+
425
+ .form-actions {
426
+ background-color: transparent;
427
+ border-top: none;
428
+ @include border-radius(4px);
429
+ }
430
+
431
+ // MISCELLANEOUS
432
+ // --------------------------------------------------
433
+
434
+ .alert {
435
+ text-shadow: none;
436
+ border: none;
437
+ }
438
+
439
+ .label {
440
+ color: $linkColor;
441
+ opacity: 1;
442
+ text-shadow: none;
443
+ }
444
+
445
+ .progress {
446
+ background-color: darken(#90A38F, 10%);
447
+ background-image: none;
448
+ @include box-shadow(none);
449
+
450
+ .bar {
451
+ background-image: none;
452
+ background-color: #A2CDB5;
453
+ }
454
+ }
455
+
456
+ .well {
457
+ background-color: darken(#90A38F, 10%);
458
+ border: none;
459
+ @include box-shadow(none);
460
+ }
461
+
462
+ .thumbnail {
463
+ border: none;
464
+ @include box-shadow(none);
465
+
466
+ img {
467
+ @include border-radius(4px);
468
+ }
469
+ }
470
+
471
+ hr {
472
+ border-top: none;
473
+ border-bottom: 2px solid $linkColor;
474
+ }
475
+
476
+ .page-header {
477
+ border-bottom: 2px solid $linkColor;
478
+ padding-bottom: 5px;
479
+ }
480
+
481
+ footer.footer {
482
+ border-top: 2px solid $linkColor;
483
+ }
@@ -0,0 +1,202 @@
1
+ // Variables to customize the look and feel of Bootstrap
2
+ // Swatch: Spruce
3
+ // Version: 2.0.2
4
+ // -----------------------------------------------------
5
+
6
+
7
+
8
+ // GLOBAL VALUES
9
+ // --------------------------------------------------
10
+
11
+
12
+ // Grays
13
+ // -------------------------
14
+ $black: #000;
15
+ $grayDarker: #222;
16
+ $grayDark: #333;
17
+ $gray: #555;
18
+ $grayLight: #999;
19
+ $grayLighter: #eee;
20
+ $white: #fff;
21
+
22
+
23
+ // Accent colors
24
+ // -------------------------
25
+ $blue: #01584C;
26
+ $blueDark: #013435;
27
+ $green: #015B4E;
28
+ $red: #D14432;
29
+ $yellow: #EBD90B;
30
+ $orange: #FCB46B;
31
+ $pink: #A15B66;
32
+ $purple: #7073CF;
33
+
34
+
35
+ // Scaffolding
36
+ // -------------------------
37
+ $bodyBackground: #AEAD8E;
38
+ $textColor: $blueDark;
39
+
40
+
41
+ // Links
42
+ // -------------------------
43
+ $linkColor: #F5F3DC;
44
+ $linkColorHover: $yellow;
45
+
46
+
47
+ // Typography
48
+ // -------------------------
49
+ $baseFontSize: 14px;
50
+ $baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
51
+ $baseLineHeight: 21px;
52
+ $altFontFamily: Georgia, "Times New Roman", Times, serif;
53
+
54
+ $headingsFontFamily: 'Josefin Slab', serif; // empty to use BS default, $baseFontFamily
55
+ $headingsFontWeight: 700; // instead of browser default, bold
56
+ $headingsColor: inherit; // empty to use BS default, $textColor
57
+
58
+
59
+ // Tables
60
+ // -------------------------
61
+ $tableBackground: #C3C7AE; // overall background-color
62
+ $tableBackgroundAccent: darken(#C3C7AE, 5%); // for striping
63
+ $tableBackgroundHover: darken(#C3C7AE, 10%); // for hover
64
+ $tableBorder: $linkColor; // table and cell border
65
+
66
+
67
+ // Buttons
68
+ // -------------------------
69
+ $btnBackground: $white;
70
+ $btnBackgroundHighlight: darken($white, 10%);
71
+ $btnBorder: darken($white, 20%);
72
+
73
+ $btnPrimaryBackground: $linkColor;
74
+ $btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, 15%);
75
+
76
+ $btnInfoBackground: #5bc0de;
77
+ $btnInfoBackgroundHighlight: #2f96b4;
78
+
79
+ $btnSuccessBackground: #62c462;
80
+ $btnSuccessBackgroundHighlight: #51a351;
81
+
82
+ $btnWarningBackground: lighten($orange, 15%);
83
+ $btnWarningBackgroundHighlight: $orange;
84
+
85
+ $btnDangerBackground: #ee5f5b;
86
+ $btnDangerBackgroundHighlight: #bd362f;
87
+
88
+ $btnInverseBackground: $gray;
89
+ $btnInverseBackgroundHighlight: $grayDarker;
90
+
91
+
92
+ // Forms
93
+ // -------------------------
94
+ $inputBackground: $white;
95
+ $inputBorder: #ccc;
96
+ $inputDisabledBackground: $grayLighter;
97
+
98
+
99
+ // Dropdowns
100
+ // -------------------------
101
+ $dropdownBackground: $white;
102
+ $dropdownBorder: rgba(0,0,0,.2);
103
+ $dropdownLinkColor: $grayDark;
104
+ $dropdownLinkColorHover: $white;
105
+ $dropdownLinkBackgroundHover: $linkColor;
106
+
107
+
108
+
109
+
110
+ // COMPONENT VARIABLES
111
+ // --------------------------------------------------
112
+
113
+ // Z-index master list
114
+ // -------------------------
115
+ // Used for a bird's eye view of components dependent on the z-axis
116
+ // Try to avoid customizing these :)
117
+ $zindexDropdown: 1000;
118
+ $zindexPopover: 1010;
119
+ $zindexTooltip: 1020;
120
+ $zindexFixedNavbar: 1030;
121
+ $zindexModalBackdrop: 1040;
122
+ $zindexModal: 1050;
123
+
124
+
125
+ // Sprite icons path
126
+ // -------------------------
127
+ $iconSpritePath: "../img/glyphicons-halflings.png";
128
+ $iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
129
+
130
+
131
+ // Input placeholder text color
132
+ // -------------------------
133
+ $placeholderText: $grayLight;
134
+
135
+
136
+ // Hr border color
137
+ // -------------------------
138
+ $hrBorder: $linkColor;
139
+
140
+
141
+ // Navbar
142
+ // -------------------------
143
+ $navbarHeight: 40px;
144
+ $navbarBackground: $blueDark;
145
+ $navbarBackgroundHighlight: $navbarBackground;
146
+
147
+ $navbarText: $grayLight;
148
+ $navbarLinkColor: $grayLight;
149
+ $navbarLinkColorHover: $white;
150
+ $navbarLinkColorActive: $navbarLinkColorHover;
151
+ $navbarLinkBackgroundHover: transparent;
152
+ $navbarLinkBackgroundActive: $navbarBackground;
153
+
154
+ $navbarSearchBackground: lighten($navbarBackground, 25%);
155
+ $navbarSearchBackgroundFocus: $white;
156
+ $navbarSearchBorder: darken($navbarSearchBackground, 30%);
157
+ $navbarSearchPlaceholderColor: #ccc;
158
+
159
+
160
+ // Hero unit
161
+ // -------------------------
162
+ $heroUnitBackground: $grayLighter;
163
+ $heroUnitHeadingColor: inherit;
164
+ $heroUnitLeadColor: inherit;
165
+
166
+
167
+ // Form states and alerts
168
+ // -------------------------
169
+ $warningText: $orange;
170
+ $warningBackground: darken(#90A38F, 10%);
171
+ $warningBorder: darken(adjust-hue($warningBackground, -10), 3%);
172
+
173
+ $errorText: lighten($red, 25%);
174
+ $errorBackground: darken(#90A38F, 10%);
175
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
176
+
177
+ $successText: #9ED99C;
178
+ $successBackground: darken(#90A38F, 10%);
179
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%);
180
+
181
+ $infoText: #9BCACD;
182
+ $infoBackground: darken(#90A38F, 10%);
183
+ $infoBorder: darken(adjust-hue($infoBackground, -10), 7%);
184
+
185
+
186
+
187
+
188
+ // GRID
189
+ // --------------------------------------------------
190
+
191
+ // Default 940px grid
192
+ // -------------------------
193
+ $gridColumns: 12;
194
+ $gridColumnWidth: 60px;
195
+ $gridGutterWidth: 20px;
196
+ $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1));
197
+
198
+
199
+ // Fluid grid
200
+ // -------------------------
201
+ $fluidGridColumnWidth: 6.382978723%;
202
+ $fluidGridGutterWidth: 2.127659574%;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootswatch-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &70217166556280 !ruby/object:Gem::Requirement
16
+ requirement: &70212338911200 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '3.1'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70217166556280
24
+ version_requirements: *70212338911200
25
25
  description: Bootswatches converted to SCSS ready to use in Rails 3 asset pipeline.
26
26
  email:
27
27
  - max@bitsonnet.com
@@ -53,6 +53,8 @@ files:
53
53
  - vendor/assets/stylesheets/bootswatch/slate/_variables.scss
54
54
  - vendor/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss
55
55
  - vendor/assets/stylesheets/bootswatch/spacelab/_variables.scss
56
+ - vendor/assets/stylesheets/bootswatch/spruce/_bootswatch.scss
57
+ - vendor/assets/stylesheets/bootswatch/spruce/_variables.scss
56
58
  - vendor/assets/stylesheets/bootswatch/united/_bootswatch.scss
57
59
  - vendor/assets/stylesheets/bootswatch/united/_variables.scss
58
60
  homepage: http://github.com/maxim/bootswatch-rails