bootswatch-rails 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -46,6 +46,7 @@ I'm converting/updating them as time permits. Here's what's included at this poi
46
46
  * [Cerulean](http://bootswatch.com/cerulean/)
47
47
  * [Cyborg](http://bootswatch.com/cyborg/)
48
48
  * [Journal](http://bootswatch.com/journal/)
49
+ * [Readable](http://bootswatch.com/readable/)
49
50
 
50
51
  ## Contributing
51
52
 
@@ -1,5 +1,5 @@
1
1
  module Bootswatch
2
2
  module Rails
3
- VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
4
  end
5
5
  end
@@ -0,0 +1,419 @@
1
+ // Swatch: Readable
2
+ // Version: 2.0.2
3
+ // -----------------------------------------------------
4
+
5
+ // TYPOGRAPHY
6
+ // -----------------------------------------------------
7
+
8
+ h1, h2, h3, h4, h5, h6 {
9
+ line-height: 2em;
10
+ color: $textColor;
11
+ }
12
+
13
+ h1 {
14
+ font-size: 2em;
15
+ }
16
+
17
+ h2 {
18
+ font-size: 1.5em;
19
+ }
20
+
21
+ h3, h4, h5, h6 {
22
+ font-size: 1em;
23
+ text-transform: none;
24
+ }
25
+
26
+ small {
27
+ font-size: 13px;
28
+ }
29
+
30
+ .muted, .help-block, .uneditable-input, blockquote, small {
31
+ color: $grayLight;
32
+ }
33
+
34
+ // SCAFFOLDING
35
+ // -----------------------------------------------------
36
+
37
+ body {
38
+ padding-top: 20px !important;
39
+ }
40
+
41
+ .page-header {
42
+ padding-bottom: 1em;
43
+ border-bottom: 2px solid $grayLighter;
44
+ }
45
+
46
+ footer.footer {
47
+ padding-top: 2em;
48
+ padding-bottom: 3em;
49
+ border-top: 2px solid $grayLighter;
50
+ }
51
+
52
+ // NAVBAR
53
+ // -----------------------------------------------------
54
+
55
+ .navbar {
56
+
57
+ margin-left: 16px;
58
+
59
+ .navbar-inner {
60
+ @include box-shadow(none);
61
+ }
62
+
63
+ .brand {
64
+ color: $linkColor;
65
+ font-size: $baseFontSize;
66
+ font-weight: bold;
67
+ line-height: 1em;
68
+ padding: 10px 10px 11px;
69
+
70
+ &:hover {
71
+ color: $linkColorHover;
72
+ }
73
+ }
74
+
75
+ .nav > li > a {
76
+ text-shadow: none;
77
+ padding: 10px;
78
+ }
79
+
80
+ .nav > li.active > a,
81
+ .nav > li:active > a,
82
+ .dropdown.open .dropdown-toggle {
83
+ color: $linkColor;
84
+ }
85
+
86
+ .search-query {
87
+ border: 1px solid #D4D4D4;
88
+ @include border-radius(0);
89
+ color: $textColor;
90
+ background-color: $white;
91
+ }
92
+
93
+ .nav .dropdown-toggle .caret,
94
+ .nav .open.dropdown .caret {
95
+ border-top-color: $linkColor;
96
+ opacity: 1;
97
+ }
98
+ }
99
+
100
+ @media (max-width: 980px) {
101
+ form.navbar-form, form.navbar-search {
102
+ border-top: 1px solid #D4D4D4;
103
+ border-bottom: 1px solid #D4D4D4;
104
+ }
105
+ }
106
+
107
+ .navbar-fixed-top {
108
+ position: static;
109
+ margin-bottom: 1.6em;
110
+ }
111
+
112
+ div.subnav {
113
+ @include box-shadow(none);
114
+ @include border-radius(0);
115
+ background-color: $white;
116
+ background-image: none;
117
+
118
+ .nav {
119
+ padding: 0;
120
+ }
121
+
122
+ .nav > li.active > a,
123
+ .nav > li:active > a {
124
+ color: $linkColor;
125
+ @include box-shadow(none);
126
+ background-color: transparent;
127
+ }
128
+
129
+ .nav > li > a:hover,
130
+ .nav > li.active > a:hover,
131
+ .nav > li:active > a:hover {
132
+ color: $linkColorHover;
133
+ @include box-shadow(none);
134
+ background-color: transparent;
135
+ }
136
+ }
137
+
138
+ div.subnav-fixed {
139
+ position: static;
140
+ left: auto;
141
+ width: 100%;
142
+ margin: 0;
143
+ @include box-shadow(none);
144
+ @include border-radius(4px);
145
+ border: 1px solid #E5E5E5;
146
+
147
+ .nav {
148
+ width: auto;
149
+ padding: 0;
150
+ }
151
+ }
152
+
153
+ .dropdown-menu {
154
+ border: 1px solid #D4D4D4;
155
+ @include border-radius(0);
156
+ @include box-shadow(1px 1px 1px rgba(0, 0, 0, 0.2));
157
+
158
+ .divider {
159
+ margin: 5px 1px;
160
+ }
161
+ }
162
+
163
+ .navbar .nav-collapse.in {
164
+
165
+ .nav li:first-child > a {
166
+ margin-bottom: 10px;
167
+ }
168
+
169
+ .nav li > a {
170
+ color: $linkColor;
171
+ @include border-radius(0);
172
+ font-weight: normal;
173
+
174
+ &:hover {
175
+ color: $linkColorHover;
176
+ }
177
+ }
178
+
179
+ .nav li > a:hover {
180
+ background: transparent;
181
+ }
182
+ }
183
+
184
+ // NAV
185
+ // -----------------------------------------------------
186
+
187
+ .nav .dropdown .caret {
188
+ opacity: 1;
189
+ }
190
+
191
+ .nav-tabs {
192
+
193
+ li > a {
194
+ @include border-radius(0);
195
+ }
196
+
197
+ li > a:hover {
198
+ background-color: $bodyBackground;
199
+ }
200
+
201
+ li.active > a,
202
+ li.active > a:hover {
203
+ color: $textColor;
204
+ background-color: $bodyBackground;
205
+ }
206
+ }
207
+
208
+ .nav-tabs.nav-stacked {
209
+
210
+ li > a {
211
+ background-color: $white;
212
+ }
213
+
214
+ li.active > a,
215
+ li.active > a:hover,
216
+ li > a:hover {
217
+ background-color: #F5F5F5;
218
+ }
219
+
220
+ li:first-child > a,
221
+ li:last-child > a {
222
+ @include border-radius(0);
223
+ }
224
+ }
225
+
226
+ .nav-pills {
227
+
228
+ li > a {
229
+ @include border-radius(0);
230
+ }
231
+
232
+ li > a:hover {
233
+ background-color: $bodyBackground;
234
+ }
235
+
236
+ li.active > a,
237
+ li.active > a:hover {
238
+ color: $textColor;
239
+ background-color: $bodyBackground;
240
+ }
241
+ }
242
+
243
+ .nav-list {
244
+
245
+ li > a:hover,
246
+ li.active > a,
247
+ li.active > a:hover {
248
+ background-color: transparent;
249
+ text-shadow: none;
250
+ }
251
+
252
+ li.active > a,
253
+ li.active > a:hover {
254
+ color: $textColor;
255
+ }
256
+
257
+ [class^="icon-"] {
258
+ margin-top: 3px;
259
+ opacity: 0.8;
260
+ }
261
+ }
262
+
263
+ .breadcrumb {
264
+ @include border-radius(0);
265
+ background-color: $white;
266
+ background-image: none;
267
+ }
268
+
269
+ .pagination {
270
+
271
+ ul {
272
+ @include box-shadow(none);
273
+ }
274
+
275
+ li > a {
276
+ padding: 10px 14px;
277
+ }
278
+
279
+
280
+ li.active > a,
281
+ li.active > a:hover {
282
+ color: $textColor;
283
+ background-color: #F5F5F5;
284
+ }
285
+
286
+ li > a,
287
+ li.disabled > a,
288
+ li.disabled > a:hover {
289
+ background-color: $white;
290
+ }
291
+
292
+ li:first-child > a,
293
+ li:last-child > a {
294
+ @include border-radius(0);
295
+ }
296
+ }
297
+
298
+ .pager {
299
+
300
+ a {
301
+ @include border-radius(0);
302
+ }
303
+ }
304
+
305
+ // BUTTONS
306
+ // -----------------------------------------------------
307
+
308
+ .btn-primary {
309
+ @include buttonBackground(lighten($btnPrimaryBackground, 10%), $btnPrimaryBackground);
310
+ }
311
+
312
+ .btn [class^="icon-"],
313
+ .btn [class*=" icon-"] {
314
+ margin-top: 4px;
315
+ }
316
+
317
+ .btn-large [class^="icon-"],
318
+ .btn-large [class*=" icon-"] {
319
+ margin-top: 6px;
320
+ margin-right: 2px;
321
+ }
322
+
323
+ .btn-small [class^="icon-"],
324
+ .btn-small [class*=" icon-"] {
325
+ margin-top: 3px;
326
+ }
327
+
328
+ .btn .caret {
329
+ margin-top: 13px;
330
+ }
331
+
332
+ // FORMS
333
+ // -----------------------------------------------------
334
+
335
+ input, button, select, textarea {
336
+ font-family: $baseFontFamily;
337
+ }
338
+
339
+ input, textarea, select {
340
+ color: $textColor;
341
+ }
342
+
343
+ .form-actions {
344
+ background-color: transparent;
345
+ border-top: 1px solid #D4D4D4;
346
+ padding-top: 2em;
347
+ }
348
+
349
+ // TABLES
350
+ // -----------------------------------------------------
351
+
352
+ .table-bordered {
353
+ @include border-radius(0);
354
+ }
355
+
356
+ // MISCELLANEOUS
357
+ // -----------------------------------------------------
358
+
359
+ .alert,
360
+ .label, .label:hover {
361
+ @include border-radius(0);
362
+ border: 1px solid #D4D4D4;
363
+ color: $textColor;
364
+ text-shadow: none;
365
+ }
366
+
367
+ .alert-heading {
368
+ color: $textColor;
369
+ text-shadow: none;
370
+ }
371
+
372
+ .label, .label:hover {
373
+ background-color: $white;
374
+ font-weight: normal;
375
+ font-size: $baseFontSize;
376
+ padding: 4px;
377
+ }
378
+
379
+ .label-important, .label-important:hover { background-color: $errorBackground; }
380
+
381
+ .label-warning, .label-warning:hover { background-color: $warningBackground; }
382
+
383
+ .label-success, .label-success:hover { background-color: $successBackground; }
384
+
385
+ .label-info, .label-info:hover { background-color: $infoBackground; }
386
+
387
+ .well {
388
+ @include box-shadow(none);
389
+ border: 1px solid #D4D4D4;
390
+ @include border-radius(0);
391
+ background-color: $white;
392
+ }
393
+
394
+ blockquote {
395
+ border-left: 6px solid $grayLighter;
396
+
397
+ &.pull-right {
398
+ border-right: 6px solid $grayLighter;
399
+ }
400
+
401
+ p {
402
+ font-size: 1em;
403
+ line-height: 1.2em;
404
+ }
405
+ }
406
+
407
+ .thumbnail {
408
+ background-color: $white;
409
+ }
410
+
411
+ .thumbnail, .thumbnail > img {
412
+ @include border-radius(0);
413
+ @include box-shadow(none);
414
+ }
415
+
416
+ code, pre {
417
+ @include border-radius(0);
418
+ background-color: $white;
419
+ }
@@ -0,0 +1,202 @@
1
+ // Variables to customize the look and feel of Bootstrap
2
+ // Swatch: Readable
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: #777;
18
+ $grayLight: #999;
19
+ $grayLighter: #CDCDCD;
20
+ $white: #fff;
21
+
22
+
23
+ // Accent colors
24
+ // -------------------------
25
+ $blue: #049cdb;
26
+ $blueDark: #0064cd;
27
+ $green: #46a546;
28
+ $red: #9C0001;
29
+ $yellow: #ffc40d;
30
+ $orange: #f89406;
31
+ $pink: #c3325f;
32
+ $purple: #7a43b6;
33
+
34
+
35
+ // Scaffolding
36
+ // -------------------------
37
+ $bodyBackground: #FDFDFA;
38
+ $textColor: #090000;
39
+
40
+
41
+ // Links
42
+ // -------------------------
43
+ $linkColor: $red;
44
+ $linkColorHover: lighten($linkColor, 8%);
45
+
46
+
47
+ // Typography
48
+ // -------------------------
49
+ $baseFontSize: 19px;
50
+ $baseFontFamily: Georgia, "Times New Roman", Times, serif;
51
+ $baseLineHeight: $baseFontSize * 1.6;
52
+ $altFontFamily: Georgia, "Times New Roman", Times, serif;
53
+
54
+ $headingsFontFamily: inherit; // empty to use BS default, $baseFontFamily
55
+ $headingsFontWeight: bold; // instead of browser default, bold
56
+ $headingsColor: inherit; // empty to use BS default, $textColor
57
+
58
+
59
+ // Tables
60
+ // -------------------------
61
+ $tableBackground: transparent; // overall background-color
62
+ $tableBackgroundAccent: darken($bodyBackground, 2%); // for striping
63
+ $tableBackgroundHover: darken($bodyBackground, 4%); // for hover
64
+ $tableBorder: #ddd; // 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: $linkColor;
104
+ $dropdownLinkColorHover: $linkColorHover;
105
+ $dropdownLinkBackgroundHover: transparent;
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: $grayLighter;
139
+
140
+
141
+ // Navbar
142
+ // -------------------------
143
+ $navbarHeight: 40px;
144
+ $navbarBackground: $bodyBackground;
145
+ $navbarBackgroundHighlight: $bodyBackground;
146
+
147
+ $navbarText: $textColor;
148
+ $navbarLinkColor: $linkColor;
149
+ $navbarLinkColorHover: $linkColorHover;
150
+ $navbarLinkColorActive: $linkColorHover;
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: $white;
163
+ $heroUnitHeadingColor: inherit;
164
+ $heroUnitLeadColor: inherit;
165
+
166
+
167
+ // Form states and alerts
168
+ // -------------------------
169
+ $warningText: #c09853;
170
+ $warningBackground: #fcf8e3;
171
+ $warningBorder: darken(adjust-hue($warningBackground, -10), 3%);
172
+
173
+ $errorText: #b94a48;
174
+ $errorBackground: #f2dede;
175
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
176
+
177
+ $successText: #468847;
178
+ $successBackground: #dff0d8;
179
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%);
180
+
181
+ $infoText: #3a87ad;
182
+ $infoBackground: #d9edf7;
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.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-03-16 00:00:00.000000000 Z
12
+ date: 2012-03-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
16
- requirement: &70322414064080 !ruby/object:Gem::Requirement
16
+ requirement: &70311932372880 !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: *70322414064080
24
+ version_requirements: *70311932372880
25
25
  description: Bootswatches converted to SCSS ready to use in Rails 3 asset pipeline.
26
26
  email:
27
27
  - max@bitsonnet.com
@@ -45,6 +45,8 @@ files:
45
45
  - vendor/assets/stylesheets/bootswatch/cyborg/_variables.scss
46
46
  - vendor/assets/stylesheets/bootswatch/journal/_bootswatch.scss
47
47
  - vendor/assets/stylesheets/bootswatch/journal/_variables.scss
48
+ - vendor/assets/stylesheets/bootswatch/readable/_bootswatch.scss
49
+ - vendor/assets/stylesheets/bootswatch/readable/_variables.scss
48
50
  homepage: http://github.com/maxim/bootswatch-rails
49
51
  licenses: []
50
52
  post_install_message: