bootswatch-rails 0.2.0 → 0.3.0

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.
Files changed (31) hide show
  1. data/.gitmodules +3 -0
  2. data/HISTORY.md +7 -0
  3. data/README.md +16 -7
  4. data/Rakefile +32 -0
  5. data/converter +112 -0
  6. data/lib/bootswatch-rails/version.rb +1 -1
  7. data/vendor/assets/stylesheets/bootswatch/amelia/_bootswatch.scss +375 -229
  8. data/vendor/assets/stylesheets/bootswatch/amelia/_variables.scss +166 -60
  9. data/vendor/assets/stylesheets/bootswatch/cerulean/_bootswatch.scss +122 -37
  10. data/vendor/assets/stylesheets/bootswatch/cerulean/_variables.scss +148 -43
  11. data/vendor/assets/stylesheets/bootswatch/cosmo/_bootswatch.scss +62 -61
  12. data/vendor/assets/stylesheets/bootswatch/cosmo/_variables.scss +22 -23
  13. data/vendor/assets/stylesheets/bootswatch/cyborg/_bootswatch.scss +352 -236
  14. data/vendor/assets/stylesheets/bootswatch/cyborg/_variables.scss +147 -42
  15. data/vendor/assets/stylesheets/bootswatch/journal/_bootswatch.scss +277 -72
  16. data/vendor/assets/stylesheets/bootswatch/journal/_variables.scss +159 -54
  17. data/vendor/assets/stylesheets/bootswatch/readable/_bootswatch.scss +21 -381
  18. data/vendor/assets/stylesheets/bootswatch/readable/_variables.scss +161 -56
  19. data/vendor/assets/stylesheets/bootswatch/simplex/_bootswatch.scss +46 -29
  20. data/vendor/assets/stylesheets/bootswatch/simplex/_variables.scss +42 -20
  21. data/vendor/assets/stylesheets/bootswatch/slate/_bootswatch.scss +420 -267
  22. data/vendor/assets/stylesheets/bootswatch/slate/_variables.scss +150 -45
  23. data/vendor/assets/stylesheets/bootswatch/spacelab/_bootswatch.scss +55 -102
  24. data/vendor/assets/stylesheets/bootswatch/spacelab/_variables.scss +94 -70
  25. data/vendor/assets/stylesheets/bootswatch/spruce/_bootswatch.scss +476 -301
  26. data/vendor/assets/stylesheets/bootswatch/spruce/_variables.scss +171 -66
  27. data/vendor/assets/stylesheets/bootswatch/superhero/_bootswatch.scss +293 -255
  28. data/vendor/assets/stylesheets/bootswatch/superhero/_variables.scss +132 -30
  29. data/vendor/assets/stylesheets/bootswatch/united/_bootswatch.scss +85 -44
  30. data/vendor/assets/stylesheets/bootswatch/united/_variables.scss +143 -38
  31. metadata +5 -2
@@ -1,11 +1,9 @@
1
- // Variables to customize the look and feel of Bootstrap
2
- // Swatch: Spruce
3
- // Version: 2.0.2
4
- // -----------------------------------------------------
5
-
1
+ // Spruce 2.2.2
2
+ // Variables
3
+ // --------------------------------------------------
6
4
 
7
5
 
8
- // GLOBAL VALUES
6
+ // Global values
9
7
  // --------------------------------------------------
10
8
 
11
9
 
@@ -22,109 +20,144 @@ $white: #fff;
22
20
 
23
21
  // Accent colors
24
22
  // -------------------------
25
- $blue: #01584C;
23
+ $blue: #004E8B;
26
24
  $blueDark: #013435;
27
25
  $green: #015B4E;
28
26
  $red: #D14432;
29
- $yellow: #EBD90B;
30
- $orange: #FCB46B;
27
+ $yellow: #F0F1E1;
28
+ $orange: #F26522;
31
29
  $pink: #A15B66;
32
30
  $purple: #7073CF;
33
31
 
34
32
 
35
33
  // Scaffolding
36
34
  // -------------------------
37
- $bodyBackground: #AEAD8E;
38
- $textColor: $blueDark;
35
+ $bodyBackground: $white;
36
+ $textColor: $gray;
39
37
 
40
38
 
41
39
  // Links
42
40
  // -------------------------
43
- $linkColor: #F5F3DC;
44
- $linkColorHover: $yellow;
41
+ $linkColor: lighten($green, 10%);
42
+ $linkColorHover: $linkColor;
45
43
 
46
44
 
47
45
  // Typography
48
46
  // -------------------------
49
- $baseFontSize: 14px;
50
- $baseFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
47
+ $sansFontFamily: "Helvetica Neue", Helvetica, Arial, sans-serif;
48
+ $serifFontFamily: Georgia, "Times New Roman", Times, serif;
49
+ $monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
50
+
51
+ $baseFontSize: 15px;
52
+ $baseFontFamily: $serifFontFamily;
51
53
  $baseLineHeight: 21px;
52
- $altFontFamily: Georgia, "Times New Roman", Times, serif;
54
+ $altFontFamily: $serifFontFamily;
53
55
 
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
56
+ $headingsFontFamily: 'Crete Round', serif; // empty to use BS default, $baseFontFamily
57
+ $headingsFontWeight: normal; // instead of browser default, bold
58
+ $headingsColor: $grayDark; // empty to use BS default, $textColor
57
59
 
58
60
 
59
- // Tables
61
+ // Component sizing
60
62
  // -------------------------
61
- $tableBackground: #C3C7AE; // overall background-color
62
- $tableBackgroundAccent: darken(#C3C7AE, .05); // for striping
63
- $tableBackgroundHover: darken(#C3C7AE, .1); // for hover
64
- $tableBorder: $linkColor; // table and cell border
63
+ // Based on 14px font-size and 20px line-height
64
+
65
+ $fontSizeLarge: $baseFontSize * 1.25; // ~18px
66
+ $fontSizeSmall: $baseFontSize * 0.85; // ~12px
67
+ $fontSizeMini: $baseFontSize * 0.75; // ~11px
65
68
 
69
+ $paddingLarge: 11px 19px; // 44px
70
+ $paddingSmall: 2px 10px; // 26px
71
+ $paddingMini: 0px 6px; // 22px
72
+
73
+ $baseBorderRadius: 4px;
74
+ $borderRadiusLarge: 6px;
75
+ $borderRadiusSmall: 3px;
76
+
77
+
78
+ // Tables
79
+ // -------------------------
80
+ $tableBackground: lighten(#ddd, 10%); // overall background-color
81
+ $tableBackgroundAccent: lighten(#ddd, 5%); // for striping
82
+ $tableBackgroundHover: #ddd; // for hover
83
+ $tableBorder: $headingsColor; // table and cell border
66
84
 
67
85
  // Buttons
68
86
  // -------------------------
69
87
  $btnBackground: $white;
70
- $btnBackgroundHighlight: darken($white, .1);
71
- $btnBorder: darken($white, .2);
88
+ $btnBackgroundHighlight: darken($white, 10%);
89
+ $btnBorder: darken($white, 15%);
72
90
 
73
- $btnPrimaryBackground: $linkColor;
74
- $btnPrimaryBackgroundHighlight: adjust-hue($btnPrimaryBackground, .15);
91
+ $btnPrimaryBackground: lighten($green, 5%);
92
+ $btnPrimaryBackgroundHighlight: $green;
75
93
 
76
- $btnInfoBackground: #5bc0de;
94
+ $btnInfoBackground: lighten(#2f96b4, 5%);
77
95
  $btnInfoBackgroundHighlight: #2f96b4;
78
96
 
79
- $btnSuccessBackground: #62c462;
80
- $btnSuccessBackgroundHighlight: #51a351;
97
+ $btnSuccessBackground: lighten($blue, 10%);
98
+ $btnSuccessBackgroundHighlight: lighten($blue, 5%);
81
99
 
82
- $btnWarningBackground: lighten($orange, .15);
100
+ $btnWarningBackground: lighten($orange, 5%);
83
101
  $btnWarningBackgroundHighlight: $orange;
84
102
 
85
- $btnDangerBackground: #ee5f5b;
86
- $btnDangerBackgroundHighlight: #bd362f;
103
+ $btnDangerBackground: lighten($red, 5%);
104
+ $btnDangerBackgroundHighlight: $red;
87
105
 
88
106
  $btnInverseBackground: $gray;
89
- $btnInverseBackgroundHighlight: $grayDarker;
107
+ $btnInverseBackgroundHighlight: darken($gray, 5%);
90
108
 
91
109
 
92
110
  // Forms
93
111
  // -------------------------
94
112
  $inputBackground: $white;
95
113
  $inputBorder: #ccc;
114
+ $inputBorderRadius: $baseBorderRadius;
96
115
  $inputDisabledBackground: $grayLighter;
116
+ $formActionsBackground: transparent;
117
+ $inputHeight: $baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
97
118
 
98
119
 
99
120
  // Dropdowns
100
121
  // -------------------------
101
- $dropdownBackground: $white;
102
- $dropdownBorder: rgba(0,0,0,.2);
103
- $dropdownLinkColor: $grayDark;
122
+ $dropdownBackground: #002425;
123
+ $dropdownBorder: transparent;
124
+ $dropdownDividerTop: transparent;
125
+ $dropdownDividerBottom: $black;
126
+
127
+ $dropdownLinkColor: $white;
104
128
  $dropdownLinkColorHover: $white;
105
- $dropdownLinkBackgroundHover: $linkColor;
129
+ $dropdownLinkColorActive: $white;
106
130
 
131
+ $dropdownLinkBackgroundActive: $green;
132
+ $dropdownLinkBackgroundHover: $green;
107
133
 
108
134
 
109
135
 
110
136
  // COMPONENT VARIABLES
111
137
  // --------------------------------------------------
112
138
 
139
+
113
140
  // Z-index master list
114
141
  // -------------------------
115
142
  // Used for a bird's eye view of components dependent on the z-axis
116
143
  // Try to avoid customizing these :)
117
144
  $zindexDropdown: 1000;
118
145
  $zindexPopover: 1010;
119
- $zindexTooltip: 1020;
146
+ $zindexTooltip: 1030;
120
147
  $zindexFixedNavbar: 1030;
121
148
  $zindexModalBackdrop: 1040;
122
149
  $zindexModal: 1050;
123
150
 
124
151
 
152
+ // Sprite icons path
153
+ // -------------------------
154
+ $iconSpritePath: "../img/glyphicons-halflings.png";
155
+ $iconWhiteSpritePath: "../img/glyphicons-halflings-white.png";
156
+
157
+
125
158
  // Input placeholder text color
126
159
  // -------------------------
127
- $placeholderText: $grayLight;
160
+ $placeholderText: #ccc;
128
161
 
129
162
 
130
163
  // Hr border color
@@ -132,56 +165,110 @@ $placeholderText: $grayLight;
132
165
  $hrBorder: $linkColor;
133
166
 
134
167
 
168
+ // Horizontal forms & lists
169
+ // -------------------------
170
+ $horizontalComponentOffset: 180px;
171
+
172
+
173
+ // Wells
174
+ // -------------------------
175
+ $wellBackground: #ddd;
176
+
177
+
135
178
  // Navbar
136
179
  // -------------------------
137
- $navbarHeight: 40px;
180
+ $navbarCollapseWidth: 979px;
181
+ $navbarCollapseDesktopWidth: $navbarCollapseWidth + 1;
182
+
183
+ $navbarHeight: 55px;
138
184
  $navbarBackground: $blueDark;
139
185
  $navbarBackgroundHighlight: $navbarBackground;
186
+ $navbarBorder: darken($navbarBackground, 5%);
140
187
 
141
188
  $navbarText: $grayLight;
142
- $navbarLinkColor: $grayLight;
189
+ $navbarLinkColor: $white;
143
190
  $navbarLinkColorHover: $white;
144
- $navbarLinkColorActive: $navbarLinkColorHover;
145
- $navbarLinkBackgroundHover: transparent;
146
- $navbarLinkBackgroundActive: $navbarBackground;
191
+ $navbarLinkColorActive: $white;
192
+ $navbarLinkBackgroundHover: #002425;
193
+ $navbarLinkBackgroundActive: $navbarLinkBackgroundHover;
194
+
195
+ $navbarBrandColor: $navbarLinkColor;
196
+
197
+ // Inverted navbar
198
+ $navbarInverseBackground: $wellBackground;
199
+ $navbarInverseBackgroundHighlight: lighten($wellBackground, 5%);
200
+ $navbarInverseBorder: darken($navbarInverseBackground, 5%);
147
201
 
148
- $navbarSearchBackground: lighten($navbarBackground, .25);
149
- $navbarSearchBackgroundFocus: $white;
150
- $navbarSearchBorder: darken($navbarSearchBackground, .3);
151
- $navbarSearchPlaceholderColor: #ccc;
202
+ $navbarInverseText: $textColor;
203
+ $navbarInverseLinkColor: $headingsColor;
204
+ $navbarInverseLinkColorHover: $navbarInverseLinkColor;
205
+ $navbarInverseLinkColorActive: $navbarInverseLinkColor;
206
+ $navbarInverseLinkBackgroundHover: darken($navbarInverseBackground, 7%);
207
+ $navbarInverseLinkBackgroundActive: $navbarInverseLinkBackgroundHover;
208
+
209
+ $navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%);
210
+ $navbarInverseSearchBackgroundFocus: $white;
211
+ $navbarInverseSearchBorder: $navbarInverseBackground;
212
+ $navbarInverseSearchPlaceholderColor: $white;
213
+
214
+ $navbarInverseBrandColor: $navbarInverseLinkColor;
215
+
216
+
217
+ // Pagination
218
+ // -------------------------
219
+ $paginationBackground: darken($bodyBackground, 10%);
220
+ $paginationBorder: transparent;
221
+ $paginationActiveBackground: #A2CDB5;
152
222
 
153
223
 
154
224
  // Hero unit
155
225
  // -------------------------
156
- $heroUnitBackground: $grayLighter;
157
- $heroUnitHeadingColor: inherit;
226
+ $heroUnitBackground: #ddd;
227
+ $heroUnitHeadingColor: $headingsColor;
158
228
  $heroUnitLeadColor: inherit;
159
229
 
160
230
 
161
231
  // Form states and alerts
162
232
  // -------------------------
163
- $warningText: $orange;
164
- $warningBackground: darken(#90A38F, .1);
165
- $warningBorder: darken(adjust-hue($warningBackground, -10), .03);
233
+ $warningText: $white;
234
+ $warningBackground: $orange;
235
+ $warningBorder: darken(adjust-hue($warningBackground, -10), 3%);
166
236
 
167
- $errorText: lighten($red, .25);
168
- $errorBackground: darken(#90A38F, .1);
169
- $errorBorder: darken(adjust-hue($errorBackground, -10), .03);
237
+ $errorText: $white;
238
+ $errorBackground: $red;
239
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
170
240
 
171
- $successText: #9ED99C;
172
- $successBackground: darken(#90A38F, .1);
173
- $successBorder: darken(adjust-hue($successBackground, -10), .05);
241
+ $successText: $white;
242
+ $successBackground: #24C00B;
243
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%);
174
244
 
175
- $infoText: #9BCACD;
176
- $infoBackground: darken(#90A38F, .1);
177
- $infoBorder: darken(adjust-hue($infoBackground, -10), .07);
245
+ $infoText: $white;
246
+ $infoBackground: #185AF9;
247
+ $infoBorder: darken(adjust-hue($infoBackground, -10), 7%);
178
248
 
179
249
 
250
+ // Tooltips and popovers
251
+ // -------------------------
252
+ $tooltipColor: #fff;
253
+ $tooltipBackground: #000;
254
+ $tooltipArrowWidth: 5px;
255
+ $tooltipArrowColor: $tooltipBackground;
256
+
257
+ $popoverBackground: #fff;
258
+ $popoverArrowWidth: 10px;
259
+ $popoverArrowColor: #fff;
260
+ $popoverTitleBackground: $green;
261
+
262
+ // Special enhancement for popovers
263
+ $popoverArrowOuterWidth: $popoverArrowWidth + 1;
264
+ $popoverArrowOuterColor: rgba(0,0,0,.25);
265
+
180
266
 
181
267
 
182
268
  // GRID
183
269
  // --------------------------------------------------
184
270
 
271
+
185
272
  // Default 940px grid
186
273
  // -------------------------
187
274
  $gridColumns: 12;
@@ -189,8 +276,26 @@ $gridColumnWidth: 60px;
189
276
  $gridGutterWidth: 20px;
190
277
  $gridRowWidth: ($gridColumns * $gridColumnWidth) + ($gridGutterWidth * ($gridColumns - 1));
191
278
 
279
+ // 1200px min
280
+ $gridColumnWidth1200: 70px;
281
+ $gridGutterWidth1200: 30px;
282
+ $gridRowWidth1200: ($gridColumns * $gridColumnWidth1200) + ($gridGutterWidth1200 * ($gridColumns - 1));
283
+
284
+ // 768px-979px
285
+ $gridColumnWidth768: 42px;
286
+ $gridGutterWidth768: 20px;
287
+ $gridRowWidth768: ($gridColumns * $gridColumnWidth768) + ($gridGutterWidth768 * ($gridColumns - 1));
288
+
192
289
 
193
290
  // Fluid grid
194
291
  // -------------------------
195
- $fluidGridColumnWidth: 6.382978723%;
196
- $fluidGridGutterWidth: 2.127659574%;
292
+ $fluidGridColumnWidth: percentage($gridColumnWidth/$gridRowWidth);
293
+ $fluidGridGutterWidth: percentage($gridGutterWidth/$gridRowWidth);
294
+
295
+ // 1200px min
296
+ $fluidGridColumnWidth1200: percentage($gridColumnWidth1200/$gridRowWidth1200);
297
+ $fluidGridGutterWidth1200: percentage($gridGutterWidth1200/$gridRowWidth1200);
298
+
299
+ // 768px-979px
300
+ $fluidGridColumnWidth768: percentage($gridColumnWidth768/$gridRowWidth768);
301
+ $fluidGridGutterWidth768: percentage($gridGutterWidth768/$gridRowWidth768);
@@ -1,40 +1,38 @@
1
- // Swatch: Superhero
2
- // Version: 2.0.4
1
+ // Superhero 2.2.2
2
+ // Bootswatch
3
3
  // -----------------------------------------------------
4
4
 
5
+
5
6
  // TYPOGRAPHY
6
7
  // --------------------------------------------------
7
8
 
8
- @import url(https://fonts.googleapis.com/css?family=Oswald);
9
- @import url(https://fonts.googleapis.com/css?family=Noticia+Text);
9
+ @import url('//fonts.googleapis.com/css?family=Oswald|Noticia+Text');
10
10
 
11
- h6, legend,
12
- h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
11
+ h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, h6 {
13
12
  font-family: $headingsFontFamily;
14
13
  color: $orange;
15
- text-shadow: -1px 1px 0 darken($orange, .3);
14
+ text-shadow: -1px 1px 0 darken($orange, 30%);
16
15
  }
17
16
 
18
- h1, h2, legend {
19
- text-shadow: -2px 2px 0 darken($orange, .3);
17
+ h1, h2 {
18
+ text-shadow: -2px 2px 0 darken($orange, 30%);
20
19
  }
21
20
 
22
21
  h1 {
23
22
  line-height: 55px;
24
23
  }
25
24
 
26
- // SCAFFOLDING
27
- // --------------------------------------------------
28
-
29
25
  code, pre {
30
- background-color: lighten($blue, .08);
26
+ background-color: lighten($blue, 8%);
31
27
  border: none;
32
28
  color: $textColor;
33
29
  }
34
30
 
35
- .prettyprint {
36
- border: none;
37
- text-decoration: none;
31
+ // SCAFFOLDING
32
+ // --------------------------------------------------
33
+
34
+ .page-header {
35
+ border-bottom: none;
38
36
  }
39
37
 
40
38
  blockquote {
@@ -59,27 +57,15 @@ blockquote.pull-right {
59
57
  padding: 25px 20px 15px;
60
58
  font-family: $headingsFontFamily;
61
59
  font-size: 30px;
62
- text-shadow: -2px 2px 0 darken($orange, .3);
60
+ text-shadow: -2px 2px 0 darken($orange, 30%);
63
61
  }
64
62
 
65
63
  .nav > li > a {
66
- padding: 27px 20px 13px;
67
- line-height: 30px;
68
- font-family: $headingsFontFamily;
69
- font-size: 22px;
70
- text-shadow: -2px 2px 0 darken($orange, .3);
71
- }
72
-
73
- .navbar-text {
74
- padding: 27px 20px 13px;
64
+ padding: 23px 20px 13px;
75
65
  line-height: 30px;
76
66
  font-family: $headingsFontFamily;
77
67
  font-size: 22px;
78
- text-shadow: -2px 2px 0 $gray;
79
- }
80
-
81
- .nav > li.active > a {
82
- color: $orange;
68
+ text-shadow: -2px 2px 0 darken($orange, 30%);
83
69
  }
84
70
 
85
71
  .brand:hover,
@@ -91,21 +77,36 @@ blockquote.pull-right {
91
77
  top: 1px;
92
78
  left: -1px;
93
79
  color: $orange;
94
- text-shadow: -1px 1px 0 darken($orange, .3);
80
+ text-shadow: -1px 1px 0 darken($orange, 30%);
81
+ }
82
+
83
+ .nav > .active > a,
84
+ .nav > .active > a:hover,
85
+ .nav > .active > a:focus {
86
+ @include box-shadow(none);
87
+ }
88
+
89
+ .navbar-text {
90
+ padding: 23px 20px 13px;
91
+ line-height: 30px;
92
+ font-family: $headingsFontFamily;
93
+ font-size: 22px;
94
+ text-shadow: -2px 2px 0 $gray;
95
95
  }
96
96
 
97
97
  .navbar-search {
98
- padding-top: 20px;
98
+ margin-top: 24px;
99
99
  }
100
100
 
101
101
  .navbar-search .search-query {
102
102
  font-family: $baseFontFamily;
103
103
  font-size: $baseFontSize;
104
104
  line-height: $baseLineHeight;
105
- color: $textColor;
106
- background-color: $blue;
107
105
  @include box-shadow(none);
108
- border: none;
106
+ }
107
+
108
+ &.navbar-inverse .navbar-search .search-query {
109
+ color: $blueDark;
109
110
  }
110
111
 
111
112
  .divider-vertical {
@@ -114,6 +115,7 @@ blockquote.pull-right {
114
115
 
115
116
  .nav .dropdown-toggle .caret,
116
117
  .nav .open.dropdown .caret {
118
+ margin-top: 14px;
117
119
  border-top-color: $textColor;
118
120
  }
119
121
 
@@ -125,45 +127,47 @@ blockquote.pull-right {
125
127
  left: 20px;
126
128
  border-left: 7px solid transparent;
127
129
  border-right: 7px solid transparent;
128
- border-bottom: 7px solid lighten($blue, .1);
130
+ border-bottom: 7px solid lighten($blue, 10%);
131
+ }
132
+
133
+ [class^="icon-"], [class*=" icon-"] {
134
+ vertical-align: 20%;
129
135
  }
130
136
 
131
137
  .btn-navbar {
132
138
  background-color: $blue;
133
139
  border-color: transparent;
134
140
  }
141
+ }
142
+
143
+ @media (max-width: $navbarCollapseWidth) {
144
+
145
+ .navbar .nav-collapse {
135
146
 
136
- .nav-collapse.in {
137
- background-color: $blue;
138
147
  @include border-radius(4px);
139
148
 
140
- li > a {
141
- color: $textColor;
142
- }
149
+ .nav li > a {
150
+ color: $orange;
143
151
 
144
- li > a:hover {
145
- color: $textColor;
146
- background-color: lighten($blue, .1);
152
+ &:hover {
153
+ background-color: lighten($blue, 10%) !important;
154
+ background-image: none;
155
+ }
147
156
  }
148
- }
149
157
 
150
- .nav-collapse.in > .nav > li > a {
151
- color: $orange;
158
+ .navbar-form,
159
+ .navbar-search {
160
+ border-top: none;
161
+ border-bottom: none;
162
+ @include box-shadow(none);
163
+ }
152
164
 
153
- &:hover {
154
- background-color: lighten($blue, .1);
165
+ .nav-header {
166
+ color: $textColor;
155
167
  }
156
168
  }
157
169
  }
158
170
 
159
- .dropdown .caret {
160
- margin-top: 14px;
161
- opacity: 1;
162
- border-left: 6px solid transparent;
163
- border-right: 6px solid transparent;
164
- border-top: 6px solid lighten($blue, .1);
165
- }
166
-
167
171
  div.subnav {
168
172
  background-color: $blue;
169
173
  background-image: none;
@@ -178,7 +182,7 @@ div.subnav {
178
182
 
179
183
  .nav > li > a:hover,
180
184
  .nav > li.active > a:hover {
181
- background-color: lighten($blue, .1);
185
+ background-color: lighten($blue, 10%);
182
186
  }
183
187
 
184
188
  .nav > li + li > a {
@@ -226,127 +230,12 @@ div.subnav {
226
230
  }
227
231
  }
228
232
 
229
- @media (max-width: 768px) {
230
- div.subnav .nav > li:first-child > a,
231
- div.subnav .nav > li:first-child > a:hover,
232
- div.subnav .nav > li.active:first-child > a,
233
- div.subnav .nav > li.active:first-child > a:hover {
234
- @include border-radius(4px 4px 0 0);
235
- }
236
-
237
- div.subnav .nav > li:last-child > a,
238
- div.subnav .nav > li:last-child > a:hover,
239
- div.subnav .nav > li.active:last-child > a,
240
- div.subnav .nav > li.active:last-child > a:hover {
241
- @include border-radius(0 0 4px 4px);
242
- }
243
-
244
- }
245
-
246
- // TABLES
247
- // -----------------------------------------------------
248
-
249
- .table,
250
- .table-striped tbody > tr > td:first-child,
251
- .table-striped tbody > tr > td:last-child, {
252
- @include border-radius(4px);
253
- }
254
-
255
- // BUTTONS
256
- // --------------------------------------------------
257
-
258
- .btn,
259
- .btn:hover {
260
- text-shadow: none;
261
- background-image: none;
262
- @include box-shadow(-2px 2px 0 darken($white, .8));
263
- border: none;
264
- }
265
-
266
- .btn-warning {
267
- background-color: $yellow;
268
- }
269
-
270
- .btn-primary, .btn-primary:hover {
271
- @include box-shadow(-2px 2px 0 darken($btnPrimaryBackground, .3));
272
- }
273
-
274
- .btn-warning, .btn-warning:hover {
275
- @include box-shadow(-2px 2px 0 darken($yellow, .3));
276
- }
277
-
278
- .btn-danger, .btn-danger:hover {
279
- @include box-shadow(-2px 2px 0 darken(#ee5f5b, .3));
280
- }
281
-
282
- .btn-success, .btn-success:hover {
283
- @include box-shadow(-2px 2px 0 darken(#62c462, .3));
284
- }
285
-
286
- .btn-info, .btn-info:hover {
287
- @include box-shadow(-2px 2px 0 darken(#5bc0de, .4));
288
- }
289
-
290
- .btn-inverse, .btn-inverse:hover {
291
- @include box-shadow(-2px 2px 0 darken(#454545, .2));
292
- }
293
-
294
- .btn.dropdown-toggle, .btn.dropdown-toggle:hover {
295
- @include box-shadow(0 2px 0 darken($white, .8));
296
- }
297
-
298
- .btn-primary.dropdown-toggle, .btn-primary.dropdown-toggle:hover {
299
- @include box-shadow(0 2px 0 darken($btnPrimaryBackground, .3));
300
- }
301
-
302
- .btn-warning.dropdown-toggle, .btn-warning.dropdown-toggle:hover {
303
- @include box-shadow(0 2px 0 darken($yellow, .3));
304
- }
305
-
306
- .btn-danger.dropdown-toggle, .btn-danger.dropdown-toggle:hover {
307
- @include box-shadow(0 2px 0 darken(#ee5f5b, .3));
308
- }
309
-
310
- .btn-success.dropdown-toggle, .btn-success.dropdown-toggle:hover {
311
- @include box-shadow(0 2px 0 darken(#62c462, .3));
312
- }
313
-
314
- .btn-info.dropdown-toggle, .btn-info.dropdown-toggle:hover {
315
- @include box-shadow(0 2px 0 darken(#5bc0de, .4));
316
- }
317
-
318
- .btn-inverse.dropdown-toggle, .btn-inverse.dropdown-toggle:hover {
319
- @include box-shadow(0 2px 0 darken(#454545, .2));
320
- }
321
-
322
- .btn.active,
323
- .btn:active {
324
- position: relative;
325
- top: 1px;
326
- left: -1px;
327
- @include box-shadow(-1px 1px 0 darken($white, .8))
328
- }
329
-
330
- .btn.disabled,
331
- .btn.disabled.active,
332
- .btn.disabled:active,
333
- .btn[disabled] {
334
- @include box-shadow(none);
335
- text-shadow: none;
336
- top: 0;
337
- left: 0;
338
- }
339
-
340
- [class^="icon-"], [class*=" icon-"] {
341
- vertical-align: -13%;
342
- }
343
-
344
233
  // NAVIGATION
345
234
  // --------------------------------------------------
346
235
 
347
236
  .nav .nav-header {
348
- color: $linkColor;
349
- text-shadow:none;
237
+ color: $textColor;
238
+ text-shadow: none;
350
239
  }
351
240
 
352
241
  .nav-list {
@@ -364,7 +253,7 @@ div.subnav {
364
253
  }
365
254
 
366
255
  .nav-list li > a:hover {
367
- background-color: lighten($blue, .1);
256
+ background-color: lighten($blue, 10%);
368
257
  }
369
258
 
370
259
  .nav-tabs, .nav-tabs.nav-stacked > li > a {
@@ -387,7 +276,7 @@ div.subnav {
387
276
 
388
277
  li > a:hover,
389
278
  &.nav-stacked > li > a:hover {
390
- background-color: lighten($blue, .1);
279
+ background-color: lighten($blue, 10%);
391
280
  border-color: transparent;
392
281
  }
393
282
  }
@@ -398,14 +287,14 @@ div.subnav {
398
287
  }
399
288
 
400
289
  .nav-pills > li:hover > a {
401
- background-color: lighten($blue, .1);
290
+ background-color: lighten($blue, 10%);
402
291
  border-color: transparent;
403
292
  }
404
293
 
405
294
  .nav-tabs .open .dropdown-toggle,
406
295
  .nav-pills .open .dropdown-toggle,
407
296
  .nav > .open.active > a:hover {
408
- background-color: lighten($blue, .1);
297
+ background-color: lighten($blue, 10%);
409
298
  border-color: transparent;
410
299
  }
411
300
 
@@ -442,141 +331,216 @@ div.subnav {
442
331
  }
443
332
  }
444
333
 
445
- .pagination ul {
334
+ .pagination {
446
335
 
447
- background-color: $blue;
448
- background-image: none;
449
- border-color: transparent;
336
+ ul {
337
+ background-image: none;
338
+ border-color: transparent;
339
+ }
450
340
 
451
- li > a {
341
+ ul > li > a,
342
+ ul > li > span {
452
343
  border: none;
453
344
  color: $textColor;
454
345
  }
455
346
 
456
- li.active > a,
457
- li.active > a:hover {
458
- background: $orange;
459
- color: $white;
347
+ ul > li > a:hover {
348
+ background: lighten($blue, 10%);
460
349
  }
461
350
 
462
- li > a:hover {
463
- background: lighten($blue, .1);
351
+ ul > .active > a,
352
+ ul > .active > a:hover,
353
+ ul > .active > span,
354
+ ul > .active > span:hover {
355
+ background-color: $orange;
356
+ color: $white;
464
357
  }
465
358
 
466
- li.disabled > a,
467
- li.disabled > a:hover {
468
- background: darken($blue, .05);
359
+ ul > .disabled > a,
360
+ ul > .disabled > a:hover,
361
+ ul > .disabled > span,
362
+ ul > .disabled > span:hover {
363
+ background: darken($blue, 5%);
469
364
  }
470
365
  }
471
366
 
472
- .pager a {
473
- color: $textColor;
474
- background-color: $blue;
475
- border-color: transparent;
367
+ .pager {
476
368
 
477
- &:hover {
478
- background: lighten($blue, .1);
369
+ a {
370
+ color: $textColor;
371
+ background-color: $blue;
372
+ border-color: transparent;
373
+
374
+ &:hover {
375
+ background: lighten($blue, 10%);
376
+ }
377
+ }
378
+
379
+ .disabled a,
380
+ .disabled a:hover {
381
+ background-color: $blue;
479
382
  }
480
383
  }
481
384
 
482
- // FORMS
385
+ // BUTTONS
483
386
  // --------------------------------------------------
484
387
 
485
- input, button, select, textarea {
486
- font-family: 'Noticia Text', serif;
388
+ .btn,
389
+ .btn:hover {
390
+ text-shadow: none;
391
+ background-image: none;
392
+ @include box-shadow(-2px 2px 0 rgba(0, 0, 0, 0.2));
393
+ border: none;
487
394
  }
488
395
 
489
- legend {
490
- border-bottom: none;
396
+ .btn-warning {
397
+ background-color: $yellow;
491
398
  }
492
399
 
493
- label {
494
- color: $textColor;
495
- line-height: 15px;
400
+ .btn-primary, .btn-primary:hover {
401
+ @include box-shadow(-2px 2px 0 darken($btnPrimaryBackground, 30%));
496
402
  }
497
403
 
498
- .help-block {
499
- color: $textColor;
500
- opacity: 0.6;
404
+ .btn-warning, .btn-warning:hover {
405
+ @include box-shadow(-2px 2px 0 darken($yellow, 30%));
501
406
  }
502
407
 
503
- .form-actions {
504
- border-top: none;
408
+ .btn-danger, .btn-danger:hover {
409
+ @include box-shadow(-2px 2px 0 darken(#ee5f5b, 30%));
505
410
  }
506
411
 
507
- .control-group.warning {
508
- @include formFieldState(lighten($warningText, .1), lighten($warningText, .1), $warningBackground);
412
+ .btn-success, .btn-success:hover {
413
+ @include box-shadow(-2px 2px 0 darken(#62c462, 30%));
509
414
  }
510
415
 
511
- .control-group.error {
512
- @include formFieldState(lighten($errorText, .1), lighten($errorText, .1), $errorBackground);
416
+ .btn-info, .btn-info:hover {
417
+ @include box-shadow(-2px 2px 0 darken(#5bc0de, 40%));
513
418
  }
514
419
 
515
- .control-group.success {
516
- @include formFieldState(lighten($successText, .1), lighten($successText, .1), $successBackground);
420
+ .btn-inverse, .btn-inverse:hover {
421
+ @include box-shadow(-2px 2px 0 darken(#454545, 20%));
517
422
  }
518
423
 
519
- // MODALS
520
- // --------------------------------------------------
424
+ .btn.dropdown-toggle, .btn.dropdown-toggle:hover {
425
+ @include box-shadow(0 2px 0 darken($white, 80%));
426
+ }
521
427
 
522
- .modal {
523
- background-color: transparent;
428
+ .btn-primary.dropdown-toggle, .btn-primary.dropdown-toggle:hover {
429
+ @include box-shadow(0 2px 0 darken($btnPrimaryBackground, 30%));
430
+ }
431
+
432
+ .btn-warning.dropdown-toggle, .btn-warning.dropdown-toggle:hover {
433
+ @include box-shadow(0 2px 0 darken($yellow, 30%));
434
+ }
435
+
436
+ .btn-danger.dropdown-toggle, .btn-danger.dropdown-toggle:hover {
437
+ @include box-shadow(0 2px 0 darken(#ee5f5b, 30%));
438
+ }
439
+
440
+ .btn-success.dropdown-toggle, .btn-success.dropdown-toggle:hover {
441
+ @include box-shadow(0 2px 0 darken(#62c462, 30%));
442
+ }
443
+
444
+ .btn-info.dropdown-toggle, .btn-info.dropdown-toggle:hover {
445
+ @include box-shadow(0 2px 0 darken(#5bc0de, 40%));
446
+ }
447
+
448
+ .btn-inverse.dropdown-toggle, .btn-inverse.dropdown-toggle:hover {
449
+ @include box-shadow(0 2px 0 darken(#454545, 20%));
450
+ }
451
+
452
+ .btn.active,
453
+ .btn:active {
454
+ position: relative;
455
+ top: 1px;
456
+ left: -1px;
457
+ @include box-shadow(-1px 1px 0 darken($white, 80%))
524
458
  }
525
459
 
526
- .modal-header,
527
- .modal-body,
528
- .modal-footer {
460
+ .btn.disabled,
461
+ .btn.disabled.active,
462
+ .btn.disabled:active,
463
+ .btn[disabled] {
529
464
  @include box-shadow(none);
530
- background-color: $bodyBackground;
531
- border: none;
465
+ text-shadow: none;
466
+ top: 0;
467
+ left: 0;
532
468
  }
533
469
 
534
- .modal-header {
535
- @include border-radius(4px 4px 0 0);
470
+ [class^="icon-"], [class*=" icon-"] {
471
+ vertical-align: -13%;
536
472
  }
537
473
 
538
- .modal-footer {
539
- @include border-radius(0 0 4px 4px);
474
+ // TABLES
475
+ // -----------------------------------------------------
476
+
477
+ .table,
478
+ .table-striped tbody > tr > td:first-child,
479
+ .table-striped tbody > tr > td:last-child, {
480
+ @include border-radius(4px);
540
481
  }
541
482
 
542
- // MISCELLANEOUS
483
+ // FORMS
543
484
  // --------------------------------------------------
544
485
 
545
- .page-header {
486
+ input, button, select, textarea {
487
+ font-family: 'Noticia Text', serif;
488
+ }
489
+
490
+ legend {
546
491
  border-bottom: none;
492
+ font-family: $headingsFontFamily;
493
+ color: $orange;
494
+ text-shadow: -2px 2px 0 darken($orange, 30%);
547
495
  }
548
496
 
549
- footer.footer {
550
- border-top: 1px solid darken($blueDark, .05);
497
+ label {
498
+ color: $textColor;
499
+ line-height: 15px;
551
500
  }
552
501
 
553
- .well, .hero-unit {
554
- background-color: $blue;
555
- border: none;
556
- @include box-shadow(none);
502
+ .help-block {
503
+ color: $textColor;
504
+ opacity: 0.6;
557
505
  }
558
506
 
559
- .hero-unit h1 {
560
- color: $orange;
561
- line-height: 2em;
507
+ .form-actions {
508
+ border-top: none;
562
509
  }
563
510
 
564
- .progress {
565
- background-color: darken($blueDark, .05);
566
- background-image: none;
567
- @include box-shadow(none);
511
+ .control-group.warning {
512
+ @include formFieldState(lighten($warningText, 10%), lighten($warningText, 10%), $warningBackground);
513
+ }
568
514
 
569
- .bar {
570
- @include box-shadow(none);
571
- }
515
+ .control-group.error {
516
+ @include formFieldState(lighten($errorText, 10%), lighten($errorText, 10%), $errorBackground);
572
517
  }
573
518
 
574
- .thumbnail {
575
- border: none;
576
- background: $blue;
577
- @include border-radius(3px);
519
+ .control-group.success {
520
+ @include formFieldState(lighten($successText, 10%), lighten($successText, 10%), $successBackground);
521
+ }
522
+
523
+ .input-append .add-on,
524
+ .input-prepend .add-on,
525
+ .input-append .btn,
526
+ .input-prepend .btn {
527
+ color: $bodyBackground;
528
+ }
529
+
530
+ // DROPDOWNS
531
+ // --------------------------------------------------
532
+
533
+ .dropdown .caret {
534
+ margin-top: 14px;
535
+ opacity: 1;
536
+ border-left: 6px solid transparent;
537
+ border-right: 6px solid transparent;
538
+ border-top: 6px solid lighten($blue, 10%);
578
539
  }
579
540
 
541
+ // ALERTS, LABELS, BADGES
542
+ // --------------------------------------------------
543
+
580
544
  .label {
581
545
  background-color: $blue;
582
546
  color: $textColor;
@@ -605,7 +569,7 @@ footer.footer {
605
569
  text-shadow: none;
606
570
 
607
571
  a {
608
- color: lighten($orange, .12);
572
+ color: lighten($orange, 12%);
609
573
  }
610
574
  }
611
575
 
@@ -626,3 +590,77 @@ footer.footer {
626
590
  background-color: $infoText;
627
591
  }
628
592
 
593
+ // MISC
594
+ // --------------------------------------------------
595
+
596
+ .well, .hero-unit {
597
+ border: none;
598
+ @include box-shadow(none);
599
+ }
600
+
601
+ .hero-unit h1 {
602
+ color: $orange;
603
+ line-height: 2em;
604
+ }
605
+
606
+ .progress {
607
+ background-color: darken($blueDark, 5%);
608
+ background-image: none;
609
+ @include box-shadow(none);
610
+
611
+ .bar {
612
+ @include box-shadow(none);
613
+ }
614
+ }
615
+
616
+ .thumbnail {
617
+ border: none;
618
+ background: $blue;
619
+ @include border-radius(3px);
620
+ }
621
+
622
+ .modal {
623
+ background-color: transparent;
624
+
625
+ .modal-header,
626
+ .modal-body,
627
+ .modal-footer {
628
+ @include box-shadow(none);
629
+ background-color: $bodyBackground;
630
+ border: none;
631
+ }
632
+
633
+ .modal-header {
634
+ @include border-radius(4px 4px 0 0);
635
+ }
636
+
637
+ .modal-footer {
638
+ @include border-radius(0 0 4px 4px);
639
+ }
640
+ }
641
+
642
+ // MEDIA QUERIES
643
+ // --------------------------------------------------
644
+
645
+ @media (max-width: 768px) {
646
+
647
+ div.subnav {
648
+
649
+ .nav > li {
650
+
651
+ &:first-child > a,
652
+ &:first-child > a:hover,
653
+ &.active:first-child > a,
654
+ &.active:first-child > a:hover {
655
+ @include border-radius(4px 4px 0 0);
656
+ }
657
+
658
+ &:last-child > a,
659
+ &:last-child > a:hover,
660
+ &.active:last-child > a,
661
+ &.active:last-child > a:hover {
662
+ @include border-radius(0 0 4px 4px);
663
+ }
664
+ }
665
+ }
666
+ }