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