bootswatch-rails 0.0.3 → 0.0.4

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
@@ -44,6 +44,7 @@ I'm converting/updating them as time permits. Here's what's included at this poi
44
44
 
45
45
  * [Amelia](http://bootswatch.com/amelia/)
46
46
  * [Cerulean](http://bootswatch.com/cerulean/)
47
+ * [Cyborg](http://bootswatch.com/cyborg/)
47
48
  * [Journal](http://bootswatch.com/journal/)
48
49
 
49
50
  ## Contributing
@@ -1,5 +1,5 @@
1
1
  module Bootswatch
2
2
  module Rails
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -0,0 +1,448 @@
1
+ // Swatch: Cyborg
2
+ // Version: 2.0.2
3
+ // -----------------------------------------------------
4
+
5
+ // TYPOGRAPHY
6
+ // -----------------------------------------------------
7
+
8
+ @import url("http://fonts.googleapis.com/css?family=Droid+Sans:400,700");
9
+
10
+ .navbar {
11
+ font-size: 16px;
12
+ }
13
+
14
+ .navbar .brand,
15
+ .navbar .nav-collapse.in .nav li > a {
16
+ color: $grayLighter;
17
+ font-weight: normal;
18
+ text-shadow: none;
19
+ }
20
+
21
+ label, input, button, select, textarea,
22
+ .navbar .search-query:-moz-placeholder,
23
+ .navbar .search-query::-webkit-input-placeholder {
24
+ font-family: 'Droid Sans', sans-serif;
25
+ color: $gray;
26
+ }
27
+
28
+ .jumbotron h1 {
29
+ font-weight: normal !important;
30
+ }
31
+
32
+ blockquote {
33
+ border-left: 5px solid $blue;
34
+
35
+ &.pull-right {
36
+ border-right: 5px solid $blue;
37
+ }
38
+ }
39
+
40
+ // SCAFFOLDING
41
+ // -----------------------------------------------------
42
+
43
+ body {
44
+ @include gradient-vertical ($bodyBackground, #252A30);
45
+ }
46
+
47
+ .page-header {
48
+ border-bottom: 2px solid $blue
49
+ }
50
+
51
+ // NAVBAR
52
+ // -----------------------------------------------------
53
+
54
+ .navbar-inner {
55
+ @include border-radius(0);
56
+ $shadow: none;
57
+ @include box-shadow($shadow);
58
+ border-bottom: 2px solid $blue
59
+ }
60
+
61
+ .navbar .brand {
62
+ padding: 12px 20px 8px;
63
+ }
64
+
65
+ .navbar .nav li > a {
66
+ padding: 13px 10px 8px;
67
+ border-bottom: 3px solid rgba(0, 0, 0, 0);
68
+ }
69
+
70
+ .navbar .nav .active > a,
71
+ .navbar .nav li > a:hover,
72
+ .navbar .brand:hover {
73
+ border-bottom: 3px solid $blue
74
+ }
75
+
76
+ .navbar .search-query,
77
+ .navbar .search-query:focus,
78
+ .navbar .search-query.focused {
79
+ color: $grayLight;
80
+ text-shadow: none;
81
+ background-color: #222;
82
+ @include border-radius(1px);
83
+ @include placeholder($gray);
84
+ }
85
+
86
+ .navbar .nav > li > a {
87
+ border-left: 1px solid #222;
88
+ }
89
+
90
+ .dropdown-menu {
91
+ background-color: #191A1A;
92
+ border-left: solid 1px rgba(255,255,255,.1);
93
+ @include box-shadow(0 2px 4px rgba(0,0,0,.8));
94
+ }
95
+
96
+ .dropdown-menu li > a:hover {
97
+ background-color: $blue;
98
+ border-bottom: 3px solid transparent;
99
+ }
100
+
101
+ .dropdown-menu .divider {
102
+ background-color: #222;
103
+ border-bottom: 0px solid white;
104
+ }
105
+
106
+ .navbar .dropdown-menu::before,
107
+ .navbar .dropdown-menu::after {
108
+ display: none;
109
+ }
110
+
111
+ .navbar .nav-collapse.in .nav > li > a {
112
+ border-left: 0;
113
+ }
114
+
115
+ .navbar .nav-collapse.in .nav a:hover {
116
+ background-color: $blue;
117
+ }
118
+
119
+ div.subnav {
120
+ position: static;
121
+ background-color: $grayDarker;
122
+ background-image: none;
123
+ border: 0;
124
+ }
125
+
126
+ div.subnav.subnav-fixed {
127
+ position: relative;
128
+ left: -1px;
129
+ top: auto;
130
+ }
131
+
132
+ div.subnav .nav li > a,
133
+ div.subnav .nav .active a {
134
+ border-left: 1px solid #222;
135
+ border-right: 0;
136
+ color: $grayLighter;
137
+ background-color: $grayDarker;
138
+ }
139
+
140
+ .subnav .nav > li > a:hover,
141
+ .subnav .nav > li.active > a:hover,
142
+ .subnav .nav > li:first-child > a:hover {
143
+ background: transparent;
144
+ border-bottom: 2px solid $blue;
145
+ border-left: 1px solid #222;
146
+ color: $white;
147
+ }
148
+
149
+ div.subnav .nav .dropdown.open {
150
+
151
+ .dropdown-toggle {
152
+ border: 0;
153
+ border-left: 1px solid #222;
154
+ border-bottom: 2px solid $blue;
155
+ background-color: #060606;
156
+ }
157
+
158
+ .dropdown-menu {
159
+ background-color: $grayDarker;
160
+ border-left: 0;
161
+
162
+ li > a:hover {
163
+ border-bottom: 0;
164
+ background: $blue;
165
+ }
166
+ }
167
+ }
168
+
169
+ @media (max-width: 768px) {
170
+ div.subnav .nav > li + li > a,
171
+ div.subnav .nav > li:first-child > a {
172
+ border-top: 1px solid #222;
173
+ border-left: 1px solid #222;
174
+ }
175
+
176
+ .subnav .nav > li + li > a:hover,
177
+ .subnav .nav > li:first-child > a:hover {
178
+ border-bottom: 0;
179
+ background-color: $blue;
180
+ }
181
+ }
182
+
183
+ // NAVIGATION
184
+ // -----------------------------------------------------
185
+
186
+ .nav-list > li > a, .nav-list .nav-header {
187
+ text-shadow: none;
188
+ }
189
+
190
+ .nav-list li > a:hover,
191
+ .nav-tabs li > a:hover,
192
+ .nav-tabs li.active > a,
193
+ .nav-pills li > a:hover,
194
+ .nav-stacked li > a:hover,
195
+ .nav-stacked li.active > a {
196
+ background-color: $blue;
197
+ color: $white;
198
+ }
199
+
200
+ .nav-tabs {
201
+ border-bottom: 1px solid #222;
202
+ }
203
+
204
+ .nav-stacked > li > a,
205
+ .nav-tabs > li > a:hover,
206
+ .nav-tabs > .active > a,
207
+ .nav-tabs > .active > a:hover {
208
+ border: 1px solid #222 !important;
209
+ }
210
+
211
+ .nav.nav-tabs .active a:hover {
212
+ background-color: $blue;
213
+ color: $white;
214
+ }
215
+
216
+ .nav.nav-tabs .dropdown.open,
217
+ .nav.nav-pills .dropdown.open {
218
+ .dropdown-toggle {
219
+ background-color: #060606 !important;
220
+ border-top: 0;
221
+ border: 1px solid #222;
222
+ }
223
+
224
+ .dropdown-menu li > a:hover { border-bottom: 0; }
225
+ }
226
+
227
+ .tabbable .nav-tabs, .thumbnail {
228
+ border-color: #222;
229
+ }
230
+
231
+ .breadcrumb {
232
+ background-color: transparent;
233
+ background-image: none;
234
+ border-width: 0;
235
+ @include box-shadow(none);
236
+ font-size: 14px;
237
+
238
+ li > a {
239
+ color: $blue;
240
+ text-shadow: none;
241
+ }
242
+
243
+ li.active {
244
+ text-shadow: none;
245
+ }
246
+ }
247
+
248
+ .pagination {
249
+ ul {
250
+ @include box-shadow(none);
251
+ }
252
+
253
+ a {
254
+ border: 0;
255
+ font-size: 14px;
256
+ }
257
+
258
+ a:hover, .active a {
259
+ background-color: $blue;
260
+ color: $white;
261
+ }
262
+ }
263
+
264
+ // BUTTONS
265
+ // -----------------------------------------------------
266
+
267
+ .btn {
268
+ @include border-radius(3px);
269
+ @include box-shadow(1px 1px 2px #111);
270
+ @include buttonBackground(darken($gray, 20%), darken($gray, 30%));
271
+ color: $white;
272
+ text-shadow: none;
273
+
274
+ &:hover {
275
+ text-shadow: none;
276
+ color: $white;
277
+ }
278
+ }
279
+
280
+ .btn-primary {
281
+ @include buttonBackground($blueDark, darken($blueDark, 10%));
282
+ }
283
+
284
+ .btn-warning {
285
+ @include buttonBackground(lighten($orange, 10%), $orange);
286
+ }
287
+
288
+ .btn-danger {
289
+ @include buttonBackground(lighten($red, 10%), $red);
290
+ }
291
+
292
+ .btn-success {
293
+ @include buttonBackground(lighten($green, 10%), $green);
294
+ }
295
+
296
+ .btn-info {
297
+ @include buttonBackground(darken($gray, 40%), darken($gray, 50%));
298
+ }
299
+
300
+ .btn-inverse {
301
+ @include buttonBackground(lighten($purple, 5%), $purple);
302
+ }
303
+
304
+ .btn-group .btn:first-child {
305
+ -webkit-border-top-left-radius: 3px;
306
+ -moz-border-top-left-radius: 3px;
307
+ border-top-left-radius: 3px;
308
+
309
+ -webkit-border-bottom-left-radius: 3px;
310
+ -moz-border-bottom-left-radius: 3px;
311
+ border-bottom-left-radius: 3px;
312
+ }
313
+
314
+ .btn-group .btn:last-child, .btn-group .dropdown-toggle {
315
+ -webkit-border-top-right-radius: 3px;
316
+ -moz-border-top-right-radius: 3px;
317
+ border-top-right-radius: 3px;
318
+
319
+ -webkit-border-bottom-right-radius: 3px;
320
+ -moz-border-bottom-right-radius: 3px;
321
+ border-bottom-right-radius: 3px;
322
+
323
+ }
324
+
325
+ .btn .caret {
326
+ border-top: 4px solid black;
327
+ opacity: 0.3;
328
+ }
329
+
330
+ .btn-group > .dropdown-menu > li > a:hover {
331
+ border-bottom: 0;
332
+ }
333
+
334
+ .btn.disabled, .btn[disabled] {
335
+ background-color: $grayLight;
336
+ }
337
+
338
+ // FORMS
339
+ // -----------------------------------------------------
340
+
341
+ input, textarea, select {
342
+ border-width: 2px;
343
+ }
344
+
345
+ legend, label {
346
+ color: $textColor;
347
+ border-bottom: 0px solid #222;
348
+ }
349
+
350
+ input, textarea, select, .uneditable-input {
351
+ color: $grayDark;
352
+ }
353
+
354
+ input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly], .uneditable-input {
355
+ background-color: #555;
356
+ border-color: #444;
357
+ }
358
+
359
+ input:focus,
360
+ textarea:focus,
361
+ input.focused,
362
+ textarea.focused {
363
+ border-color: rgba(82,168,236,1);
364
+ outline: 0;
365
+ outline: thin dotted \9; /* IE6-9 */
366
+ }
367
+
368
+ input[type="file"]:focus,
369
+ input[type="radio"]:focus,
370
+ input[type="checkbox"]:focus,
371
+ select:focus {
372
+ @include box-shadow(none); // override for file inputs
373
+ @include tab-focus();
374
+ }
375
+
376
+ .form-actions {
377
+ background: transparent;
378
+ }
379
+
380
+ .form-actions, footer.footer {
381
+ border-top: 1px solid #222;
382
+ }
383
+
384
+
385
+ // MISCELLANEOUS
386
+ // -----------------------------------------------------
387
+
388
+ .table, .well, .prettyprint, input, textarea, select {
389
+ @include border-radius(1px);
390
+ }
391
+
392
+ code, pre, pre.prettyprint {
393
+ background-color: $grayLighter;
394
+ }
395
+
396
+ .well {
397
+ background-color: rgba(40, 40, 40, 0.5);
398
+ background-color: #131517;
399
+ border-top: solid 1px rgba(255,255,255,.1);
400
+ @include box-shadow(0 2px 4px rgba(0,0,0,.8));
401
+ }
402
+
403
+ .progress {
404
+ background-color: #060606;
405
+ background-image: none;
406
+ @include border-radius(0);
407
+ }
408
+
409
+ .label {
410
+ color: $grayLighter;
411
+ }
412
+
413
+ .label, .alert { background-color: darken($gray, 20%); }
414
+
415
+ .label:hover { background-color: darken($gray, 30%); }
416
+
417
+
418
+ .label-important, .alert-danger,
419
+ .alert-error { background-color: $red; }
420
+
421
+ .label-important:hover { background-color: darken($red, 10%); }
422
+
423
+ .label-warning { background-color: darken($orange, 10%); }
424
+
425
+ .label-warning:hover { background-color: darken($orange, 20%); }
426
+
427
+ .label-success, .alert-success { background-color: darken($green, 3%); }
428
+
429
+ .label-success:hover { background-color: darken($green, 13%); }
430
+
431
+ .label-info, .alert-info { background-color: darken($blueDark, 10%); }
432
+
433
+ .label-info:hover { background-color: darken($blueDark, 20%); }
434
+
435
+ .alert,
436
+ .alert .alert-heading,
437
+ .alert-success,
438
+ .alert-success .alert-heading,
439
+ .alert-danger,
440
+ .alert-error,
441
+ .alert-danger .alert-heading,
442
+ .alert-error .alert-heading,
443
+ .alert-info,
444
+ .alert-info .alert-heading {
445
+ color: $grayLighter;
446
+ text-shadow: none;
447
+ border: none;
448
+ }
@@ -0,0 +1,202 @@
1
+ // Variables to customize the look and feel of Bootstrap
2
+ // Swatch: Cyborg
3
+ // Version: 2.0.2
4
+ // -----------------------------------------------------
5
+
6
+
7
+
8
+ // GLOBAL VALUES
9
+ // --------------------------------------------------
10
+
11
+
12
+ // Grays
13
+ // -------------------------
14
+ $black: #000;
15
+ $grayDarker: #020202;
16
+ $grayDark: #282828;
17
+ $gray: #999;
18
+ $grayLight: #ADAFAE;
19
+ $grayLighter: #eee;
20
+ $white: #fff;
21
+
22
+
23
+ // Accent colors
24
+ // -------------------------
25
+ $blue: #33B5E5;
26
+ $blueDark: #0099CC;
27
+ $green: #669900;
28
+ $red: #CC0000;
29
+ $yellow: #ECBB13;
30
+ $orange: #FF8800;
31
+ $pink: #FF4444;
32
+ $purple: #9933CC;
33
+
34
+
35
+ // Scaffolding
36
+ // -------------------------
37
+ $bodyBackground: #060606;
38
+ $textColor: $gray;
39
+
40
+
41
+ // Links
42
+ // -------------------------
43
+ $linkColor: $blue;
44
+ $linkColorHover: $white;
45
+
46
+
47
+ // Typography
48
+ // -------------------------
49
+ $baseFontSize: 13px;
50
+ $baseFontFamily: 'Droid Sans', sans-serif;
51
+ $baseLineHeight: 18px;
52
+ $altFontFamily: Georgia, "Times New Roman", Times, serif;
53
+
54
+ $headingsFontFamily: inherit; // empty to use BS default, $baseFontFamily
55
+ $headingsFontWeight: normal; // instead of browser default, bold
56
+ $headingsColor: $white; // empty to use BS default, $textColor
57
+
58
+
59
+ // Tables
60
+ // -------------------------
61
+ $tableBackground: transparent; // overall background-color
62
+ $tableBackgroundAccent: rgba(100, 100, 100, 0.1); // for striping
63
+ $tableBackgroundHover: $grayDark; // for hover
64
+ $tableBorder: #222; // table and cell border
65
+
66
+
67
+ // Buttons
68
+ // -------------------------
69
+ $btnBackground: $white;
70
+ $btnBackgroundHighlight: darken($white, 10%);
71
+ $btnBorder: rgba(0, 0, 0, 0);
72
+
73
+ $btnPrimaryBackground: $blueDark;
74
+ $btnPrimaryBackgroundHighlight: darken($blueDark, 10%);
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: #ccc;
95
+ $inputBorder: #bbb;
96
+ $inputDisabledBackground: $grayLighter;
97
+
98
+
99
+ // Dropdowns
100
+ // -------------------------
101
+ $dropdownBackground: $white;
102
+ $dropdownBorder: rgba(0,0,0,.2);
103
+ $dropdownLinkColor: $textColor;
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: $gray;
139
+
140
+
141
+ // Navbar
142
+ // -------------------------
143
+ $navbarHeight: 40px;
144
+ $navbarBackground: $grayDarker;
145
+ $navbarBackgroundHighlight: $grayDarker;
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: rgba(40, 40, 40, 0.5);
163
+ $heroUnitHeadingColor: inherit;
164
+ $heroUnitLeadColor: inherit;
165
+
166
+
167
+ // Form states and alerts
168
+ // -------------------------
169
+ $warningText: darken(#c09853, 10%);
170
+ $warningBackground: $grayLighter;
171
+ $warningBorder: transparent;
172
+
173
+ $errorText: #b94a48;
174
+ $errorBackground: $grayLighter;
175
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
176
+
177
+ $successText: #468847;
178
+ $successBackground: $grayLighter;
179
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%);
180
+
181
+ $infoText: $blueDark;
182
+ $infoBackground: $grayLighter;
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.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &70276482387540 !ruby/object:Gem::Requirement
16
+ requirement: &70322414064080 !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: *70276482387540
24
+ version_requirements: *70322414064080
25
25
  description: Bootswatches converted to SCSS ready to use in Rails 3 asset pipeline.
26
26
  email:
27
27
  - max@bitsonnet.com
@@ -41,6 +41,8 @@ files:
41
41
  - vendor/assets/stylesheets/bootswatch/amelia/_variables.scss
42
42
  - vendor/assets/stylesheets/bootswatch/cerulean/_bootswatch.scss
43
43
  - vendor/assets/stylesheets/bootswatch/cerulean/_variables.scss
44
+ - vendor/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss
45
+ - vendor/assets/stylesheets/bootswatch/cyborg/_variables.scss
44
46
  - vendor/assets/stylesheets/bootswatch/journal/_bootswatch.scss
45
47
  - vendor/assets/stylesheets/bootswatch/journal/_variables.scss
46
48
  homepage: http://github.com/maxim/bootswatch-rails