bootswatch-rails 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
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: Cyborg
3
- // Version: 2.0.2
4
- // -----------------------------------------------------
5
-
1
+ // Cyborg 2.2.2
2
+ // Variables
3
+ // --------------------------------------------------
6
4
 
7
5
 
8
- // GLOBAL VALUES
6
+ // Global values
9
7
  // --------------------------------------------------
10
8
 
11
9
 
@@ -13,7 +11,7 @@
13
11
  // -------------------------
14
12
  $black: #000;
15
13
  $grayDarker: #020202;
16
- $grayDark: #282828;
14
+ $grayDark: #222;
17
15
  $gray: #999;
18
16
  $grayLight: #ADAFAE;
19
17
  $grayLighter: #eee;
@@ -46,70 +44,99 @@ $linkColorHover: $white;
46
44
 
47
45
  // Typography
48
46
  // -------------------------
49
- $baseFontSize: 13px;
50
- $baseFontFamily: 'Droid Sans', sans-serif;
51
- $baseLineHeight: 18px;
52
- $altFontFamily: Georgia, "Times New Roman", Times, serif;
47
+ $sansFontFamily: 'Droid Sans', sans-serif;
48
+ $serifFontFamily: Georgia, "Times New Roman", Times, serif;
49
+ $monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
50
+
51
+ $baseFontSize: 14px;
52
+ $baseFontFamily: $sansFontFamily;
53
+ $baseLineHeight: 20px;
54
+ $altFontFamily: $serifFontFamily;
53
55
 
54
56
  $headingsFontFamily: inherit; // empty to use BS default, $baseFontFamily
55
57
  $headingsFontWeight: normal; // instead of browser default, bold
56
58
  $headingsColor: $white; // empty to use BS default, $textColor
57
59
 
58
60
 
61
+ // Component sizing
62
+ // -------------------------
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
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
+
59
78
  // Tables
60
79
  // -------------------------
61
80
  $tableBackground: transparent; // overall background-color
62
81
  $tableBackgroundAccent: rgba(100, 100, 100, 0.1); // for striping
63
82
  $tableBackgroundHover: $grayDark; // for hover
64
- $tableBorder: #222; // table and cell border
65
-
83
+ $tableBorder: $grayDark; // table and cell border
66
84
 
67
85
  // Buttons
68
86
  // -------------------------
69
- $btnBackground: $white;
70
- $btnBackgroundHighlight: darken($white, .1);
87
+ $btnBackground: darken($gray, 20%);
88
+ $btnBackgroundHighlight: darken($gray, 25%);
71
89
  $btnBorder: rgba(0, 0, 0, 0);
72
90
 
73
91
  $btnPrimaryBackground: $blueDark;
74
- $btnPrimaryBackgroundHighlight: darken($blueDark, .1);
92
+ $btnPrimaryBackgroundHighlight: darken($blueDark, 10%);
75
93
 
76
- $btnInfoBackground: #5bc0de;
77
- $btnInfoBackgroundHighlight: #2f96b4;
94
+ $btnInfoBackground: darken($gray, 40%);
95
+ $btnInfoBackgroundHighlight: darken($gray, 50%);
78
96
 
79
- $btnSuccessBackground: #62c462;
80
- $btnSuccessBackgroundHighlight: #51a351;
97
+ $btnSuccessBackground: lighten($green, 10%);
98
+ $btnSuccessBackgroundHighlight: $green;
81
99
 
82
- $btnWarningBackground: lighten($orange, .15);
100
+ $btnWarningBackground: lighten($orange, 15%);
83
101
  $btnWarningBackgroundHighlight: $orange;
84
102
 
85
- $btnDangerBackground: #ee5f5b;
86
- $btnDangerBackgroundHighlight: #bd362f;
103
+ $btnDangerBackground: lighten($red, 10%);
104
+ $btnDangerBackgroundHighlight: $red;
87
105
 
88
- $btnInverseBackground: $gray;
89
- $btnInverseBackgroundHighlight: $grayDarker;
106
+ $btnInverseBackground: lighten($purple, 5%);
107
+ $btnInverseBackgroundHighlight: $purple;
90
108
 
91
109
 
92
110
  // Forms
93
111
  // -------------------------
94
112
  $inputBackground: #ccc;
95
113
  $inputBorder: #bbb;
96
- $inputDisabledBackground: $grayLighter;
114
+ $inputBorderRadius: $baseBorderRadius;
115
+ $inputDisabledBackground: #555;
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;
122
+ $dropdownBackground: #131517;
102
123
  $dropdownBorder: rgba(0,0,0,.2);
124
+ $dropdownDividerTop: transparent;
125
+ $dropdownDividerBottom: #222;
126
+
103
127
  $dropdownLinkColor: $textColor;
104
128
  $dropdownLinkColorHover: $white;
105
- $dropdownLinkBackgroundHover: $linkColor;
129
+ $dropdownLinkColorActive: $white;
106
130
 
131
+ $dropdownLinkBackgroundActive: $linkColor;
132
+ $dropdownLinkBackgroundHover: $linkColor;
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
@@ -122,6 +149,12 @@ $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
160
  $placeholderText: $grayLight;
@@ -129,14 +162,28 @@ $placeholderText: $grayLight;
129
162
 
130
163
  // Hr border color
131
164
  // -------------------------
132
- $hrBorder: $gray;
165
+ $hrBorder: $grayDark;
166
+
167
+
168
+ // Horizontal forms & lists
169
+ // -------------------------
170
+ $horizontalComponentOffset: 180px;
171
+
172
+
173
+ // Wells
174
+ // -------------------------
175
+ $wellBackground: #131517;
133
176
 
134
177
 
135
178
  // Navbar
136
179
  // -------------------------
137
- $navbarHeight: 40px;
138
- $navbarBackground: $grayDarker;
180
+ $navbarCollapseWidth: 979px;
181
+ $navbarCollapseDesktopWidth: $navbarCollapseWidth + 1;
182
+
183
+ $navbarHeight: 50px;
139
184
  $navbarBackgroundHighlight: $grayDarker;
185
+ $navbarBackground: $grayDarker;
186
+ $navbarBorder: darken($navbarBackground, 12%);
140
187
 
141
188
  $navbarText: $grayLight;
142
189
  $navbarLinkColor: $grayLight;
@@ -145,43 +192,83 @@ $navbarLinkColorActive: $navbarLinkColorHover;
145
192
  $navbarLinkBackgroundHover: transparent;
146
193
  $navbarLinkBackgroundActive: $navbarBackground;
147
194
 
148
- $navbarSearchBackground: lighten($navbarBackground, .25);
149
- $navbarSearchBackgroundFocus: $white;
150
- $navbarSearchBorder: darken($navbarSearchBackground, .3);
151
- $navbarSearchPlaceholderColor: #ccc;
195
+ $navbarBrandColor: $navbarLinkColor;
196
+
197
+ // Inverted navbar
198
+ $navbarInverseBackground: #252A30;
199
+ $navbarInverseBackgroundHighlight: #252A30;
200
+ $navbarInverseBorder: transparent;
201
+
202
+ $navbarInverseText: $grayLight;
203
+ $navbarInverseLinkColor: $grayLight;
204
+ $navbarInverseLinkColorHover: $white;
205
+ $navbarInverseLinkColorActive: $navbarInverseLinkColorHover;
206
+ $navbarInverseLinkBackgroundHover: #242A31;
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: $bodyBackground;
220
+ $paginationBorder: transparent;
221
+ $paginationActiveBackground: $blue;
152
222
 
153
223
 
154
224
  // Hero unit
155
225
  // -------------------------
156
- $heroUnitBackground: rgba(40, 40, 40, 0.5);
226
+ $heroUnitBackground: #131517;
157
227
  $heroUnitHeadingColor: inherit;
158
228
  $heroUnitLeadColor: inherit;
159
229
 
160
230
 
161
231
  // Form states and alerts
162
232
  // -------------------------
163
- $warningText: darken(#c09853, .1);
233
+ $warningText: darken(#c09853, 10%);
164
234
  $warningBackground: $grayLighter;
165
235
  $warningBorder: transparent;
166
236
 
167
237
  $errorText: #b94a48;
168
238
  $errorBackground: $grayLighter;
169
- $errorBorder: darken(adjust-hue($errorBackground, -10), .03);
239
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
170
240
 
171
241
  $successText: #468847;
172
242
  $successBackground: $grayLighter;
173
- $successBorder: darken(adjust-hue($successBackground, -10), .05);
243
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%);
174
244
 
175
245
  $infoText: $blueDark;
176
246
  $infoBackground: $grayLighter;
177
- $infoBorder: darken(adjust-hue($infoBackground, -10), .07);
247
+ $infoBorder: darken(adjust-hue($infoBackground, -10), 7%);
248
+
249
+
250
+ // Tooltips and popovers
251
+ // -------------------------
252
+ $tooltipColor: #fff;
253
+ $tooltipBackground: $heroUnitBackground;
254
+ $tooltipArrowWidth: 5px;
255
+ $tooltipArrowColor: $tooltipBackground;
256
+
257
+ $popoverBackground: $heroUnitBackground;
258
+ $popoverArrowWidth: 10px;
259
+ $popoverArrowColor: $popoverBackground;
260
+ $popoverTitleBackground: $popoverBackground;
178
261
 
262
+ // Special enhancement for popovers
263
+ $popoverArrowOuterWidth: $popoverArrowWidth + 1;
264
+ $popoverArrowOuterColor: rgba(0,0,0,.25);
179
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,125 +1,330 @@
1
- // Swatch: Journal
2
- // Version: 2.0.2
1
+ // Journal 2.2.2
2
+ // Bootswatch
3
3
  // -----------------------------------------------------
4
4
 
5
- // SCAFFOLDING
5
+
6
+ // TYPOGRAPHY
6
7
  // -----------------------------------------------------
7
8
 
8
- a {
9
- text-decoration: underline;
9
+ @import url('//fonts.googleapis.com/css?family=News+Cycle:400,700');
10
+
11
+ h1, h2, h3, h4, h5, h6 {
12
+
13
+ margin: 0 0 10px;
14
+ line-height: 1.2;
15
+
16
+ a {
17
+ color: $headingsColor;
18
+ }
10
19
  }
11
20
 
12
- .nav a, .navbar .brand, .subnav a, a.btn {
21
+ h1 { font-size: 48px; }
22
+
23
+ h2 { font-size: 36px; }
24
+
25
+ h3 { font-size: 28px; }
26
+
27
+ h4 { font-size: 20px; }
28
+
29
+ h5 { font-size: 13px; }
30
+
31
+ p > a,
32
+ address > a,
33
+ .breadcrumb a,
34
+ abbr[title] {
13
35
  text-decoration: none;
36
+ border-bottom: 1px dotted;
37
+
38
+ &:hover {
39
+ text-decoration: none;
40
+ border-bottom: 1px solid;
41
+ }
14
42
  }
15
43
 
16
- // TYPOGRAPHY
17
- // -----------------------------------------------------
44
+ code, pre {
45
+ @include border-radius(0);
46
+ background-color: $grayLighter;
47
+ @include box-shadow(none);
48
+ }
18
49
 
19
- @import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');
50
+ // SCAFFOLDING
51
+ // -----------------------------------------------------
20
52
 
21
- h1, h2, h3, h4, h5, h6, .brand, .navbar, .subnav a, blockquote > p {
22
- font-family: 'Open Sans', sans-serif;
23
- color: $textColor;
53
+ .page-header {
54
+ border-bottom: 2px solid $grayLighter;
24
55
  }
25
56
 
26
- h1, h2, h3, h4, h5, h6, .brand {
27
- font-weight: 700;
57
+ hr {
58
+ border-bottom: 1px solid $grayLighter;
28
59
  }
29
60
 
30
61
  // NAVBAR
31
62
  // -----------------------------------------------------
32
63
 
33
- .navbar .brand {
34
- color: $navbarLinkColor;
35
- text-shadow: none;
64
+ .navbar {
65
+
66
+ font-family: $sansFontFamily;
36
67
  font-weight: bold;
37
68
 
38
- &:hover {
39
- background-color: #EEEEEE;
69
+ .navbar-inner {
70
+ border-bottom: 2px solid $grayLighter;
71
+ @include border-radius(0);
72
+ @include box-shadow(none);
73
+ }
74
+
75
+ .brand {
76
+ padding: 19px 20px 21px;
77
+ font-size: 24px;
78
+ font-weight: bold;
79
+ text-shadow: none;
80
+ text-transform: uppercase;
81
+ }
82
+
83
+ .nav > li > a {
84
+ padding: 20px 10px 20px;
85
+ font-size: 18px;
86
+ text-shadow: none;
87
+ text-transform: uppercase;
88
+ }
89
+
90
+ .nav > .active > a {
91
+ background-color: transparent;
92
+ }
93
+
94
+ .navbar-text {
95
+ margin-top: 20px;
96
+ padding-left: 10px;
97
+ padding-right: 10px;
98
+ font-size: 18px;
99
+ line-height: 20px;
100
+ }
101
+
102
+ .nav > .active > a,
103
+ .nav > .active > a:hover,
104
+ .nav > .active > a:focus {
105
+ @include box-shadow(none);
106
+ }
107
+
108
+ .divider-vertical {
109
+ border-left-color: $grayLighter;
110
+ border-right-color: $grayLighter;
111
+ }
112
+
113
+ .dropdown-menu {
114
+
115
+ top: 85%;
116
+ @include border-radius(0);
117
+
118
+ a {
119
+ font-size: 15px;
120
+ font-weight: bold;
121
+ }
122
+ }
123
+
124
+ .navbar-search .search-query,
125
+ .navbar-search .search-query:hover {
126
+ border: 2px solid $grayLighter;
127
+ color: $textColor;
128
+ @include placeholder($gray);
40
129
  }
41
130
  }
42
131
 
43
- .navbar-inner {
44
- border-top: 1px solid #E5E5E5;
45
- $shadow: 0 2px 4px rgba(0,0,0,.25), inset 0 -1px 0 rgba(0,0,0,.1);
46
- @include box-shadow($shadow);
132
+ @media (max-width: $navbarCollapseWidth) {
133
+
134
+ .nav-collapse .navbar-form,
135
+ .nav-collapse .navbar-search {
136
+ margin-bottom: 0;
137
+ border-top: 2px solid $grayLighter;
138
+ border-bottom: 2px solid $grayLighter;
139
+ }
140
+
141
+
142
+
143
+ .navbar .nav-collapse {
144
+
145
+ .nav li > a {
146
+ color: $navbarLinkColor;
147
+
148
+ &:hover {
149
+ background-color: $dropdownLinkBackgroundHover;
150
+ }
151
+ }
152
+
153
+ .navbar-text {
154
+ margin-top: 0;
155
+ }
156
+ }
157
+
158
+ .navbar-inverse .nav-collapse {
159
+
160
+ .nav li > a {
161
+ color: $navbarInverseLinkColor;
162
+
163
+ &:hover {
164
+ background-color: #111;
165
+ background-image: none;
166
+ }
167
+ }
168
+
169
+ }
47
170
  }
48
171
 
49
- .navbar-inner, .navbar .dropdown-menu, div.subnav,
50
- div.subnav .nav > li:first-child > a, div.subnav .nav > li:first-child > a:hover {
172
+ div.subnav {
173
+
174
+ height: 54px;
175
+ background-color: $bodyBackground;
176
+ background-image: none;
177
+ @include box-shadow(none);
178
+ border: 2px solid $grayLighter;
179
+ border-left: none;
180
+ border-right: none;
51
181
  @include border-radius(0);
182
+
183
+ &.subnav-fixed {
184
+ top: $navbarHeight;
185
+ }
186
+
187
+ .nav > li > a,
188
+ .nav > li:first-child > a,
189
+ .nav > li.active > a {
190
+ padding: 20px 15px;
191
+ border-left: none;
192
+ border-right: none;
193
+ background-color: transparent;
194
+ @include box-shadow(none);
195
+ font-family: $sansFontFamily;
196
+ color: $headingsColor;
197
+ font-size: 15px;
198
+ font-weight: bold;
199
+
200
+ &:hover {
201
+ padding: 20px 15px;
202
+ background-color: transparent;
203
+ @include box-shadow(none);
204
+ color: $headingsColor;
205
+ }
206
+ }
207
+
208
+ li.dropdown > .dropdown-toggle .caret ,
209
+ li.dropdown > .dropdown-toggle:hover .caret,
210
+ li.dropdown.open > .dropdown-toggle .caret {
211
+ border-top-color: $headingsColor;
212
+ border-bottom-color: $headingsColor;
213
+ opacity: 1;
214
+ }
215
+
216
+ li.dropdown.open .dropdown-toggle,
217
+ li.dropdown.open .dropdown-toggle:hover {
218
+ background-color: $bodyBackground;
219
+ color: $headingsColor;
220
+ }
52
221
  }
53
222
 
54
- .navbar .nav > li > a {
55
- text-shadow: none;
223
+ // NAV
224
+ // -----------------------------------------------------
225
+
226
+ // BUTTONS
227
+ // -----------------------------------------------------
228
+
229
+ [class^="icon-"], [class*=" icon-"] {
230
+ vertical-align: baseline;
231
+ }
232
+
233
+ .btn-inverse {
234
+ @include buttonBackground($grayDarker, $black);
56
235
  }
57
236
 
58
- .navbar .nav .active > a,
59
- .navbar .nav .active > a:hover {
60
- color: $navbarLinkColor;
61
- background-color: rgba(0, 0, 0, 0);
237
+ // TABLES
238
+ // -----------------------------------------------------
239
+
240
+ .table-bordered {
241
+ @include border-radius(0);
242
+ @include box-shadow(none);
62
243
  }
63
244
 
64
- .navbar .nav .active > a:hover,
65
- .navbar .nav > li > a:hover,
66
- .navbar .nav-collapse.in .nav li > a:hover {
67
- background-color: #EEEEEE;
245
+ // FORMS
246
+ // -----------------------------------------------------
247
+
248
+ legend {
249
+ border-bottom: 2px solid $grayLighter;
250
+ font-family: $headingsFontFamily;
251
+ font-weight: $headingsFontWeight;
252
+ color: $headingsColor;
68
253
  }
69
254
 
70
- .dropdown.open .dropdown-toggle {
71
- color: $textColor;
255
+ // DROPDOWNS
256
+ // -----------------------------------------------------
257
+
258
+ // MISC
259
+ // -----------------------------------------------------
260
+
261
+ .well {
262
+ @include border-radius(0);
263
+ @include box-shadow(none);
72
264
  }
73
265
 
74
- .navbar .nav .dropdown-toggle .caret,
75
- .navbar .nav .open.dropdown .caret {
76
- border-top-color: $navbarLinkColor;
77
- opacity: 1;
266
+ .hero-unit {
267
+ padding: 30px 60px;
268
+ border: 1px solid rgba(0,0,0,.05);
269
+ @include border-radius(0);
270
+ @include box-shadow(none);
271
+
272
+ h1 {
273
+ margin: 0 0 10px;
274
+ line-height: 1.2;
275
+ }
78
276
  }
79
277
 
80
- form.navbar-form, form.navbar-search {
81
- border-top: 0px solid #eee;
82
- border-bottom: 0px solid #eee;
278
+ // a.thumbnail:hover {
279
+ // .box-shadow(0 1px 3px 1px rgba(0, 0, 0, 0.3));
280
+ // border-color: #ddd;
281
+ // }
282
+
283
+ .modal {
284
+ @include border-radius(0px);
285
+ background: $bodyBackground;
83
286
  }
84
287
 
85
- .navbar-search .search-query,
86
- .navbar-search .search-query:hover {
87
- border: 1px solid $grayLighter;
88
- color: $textColor;
89
- @include placeholder($gray);
288
+ .modal-header {
289
+ border-bottom: none;
90
290
  }
91
291
 
92
- div.subnav {
93
- background-color: $bodyBackground;
94
- background-image: none;
95
- $shadow: 0 1px 2px rgba(0,0,0,.25);
96
- @include box-shadow($shadow);
292
+ .modal-footer {
293
+ border-top: none;
294
+ background: transparent;
295
+ @include box-shadow(none);
97
296
  }
98
297
 
99
- .navbar .nav-collapse.in .nav li > a,
100
- div.subnav .nav > li > a:hover,
101
- div.subnav .nav > .active > a,
102
- div.subnav .nav > .active > a:hover {
103
- color: $textColor;
104
- text-decoration: none;
105
- font-weight: normal;
298
+ .close,
299
+ .close:hover {
300
+ border-bottom: none;
106
301
  }
107
302
 
108
- // BUTTONS
303
+ // MEDIA QUERIES
109
304
  // -----------------------------------------------------
110
305
 
111
- .btn-primary {
112
- @include buttonBackground(lighten($linkColor, .05), $linkColor);
113
- }
306
+ @media (max-width: 768px) {
114
307
 
308
+ div.subnav {
115
309
 
116
- // MISC
117
- // -----------------------------------------------------
310
+ height: auto;
118
311
 
119
- code, pre, pre.prettyprint, .well, .form-actions {
120
- background-color: $grayLighter;
121
- }
312
+ .nav > li.active > a {
313
+ border-top: none;
314
+ }
122
315
 
123
- .table-bordered, .well, .prettyprint {
124
- @include border-radius(0);
316
+ .nav > li:hover > a,
317
+ .nav > li:first-child:hover > a,
318
+ .nav > li.active:hover > a,
319
+ .nav > li.dropdown.open .dropdown-toggle,
320
+ .nav > li.dropdown.open .dropdown-toggle:hover {
321
+ background-color: $dropdownLinkBackgroundHover;
322
+ }
323
+ }
324
+
325
+ .nav-tabs .open .dropdown-toggle,
326
+ .nav-pills .open .dropdown-toggle,
327
+ .nav > li.dropdown.open.active > a:hover {
328
+ border-color: #e5e5e5;
329
+ }
125
330
  }