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
+ // Simplex 2.2.2
1
2
  // Variables
2
- // Swatch: Simplex
3
- // Version: 2.1.1
4
3
  // --------------------------------------------------
5
4
 
5
+
6
6
  // Global values
7
7
  // --------------------------------------------------
8
8
 
@@ -57,6 +57,24 @@ $headingsFontFamily: "Josefin Sans", "Helvetica Neue", Helvetica, Arial, sans
57
57
  $headingsFontWeight: bold; // instead of browser default, bold
58
58
  $headingsColor: inherit; // empty to use BS default, $textColor
59
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: 0;
74
+ $borderRadiusLarge: 6px;
75
+ $borderRadiusSmall: 3px;
76
+
77
+
60
78
  // Tables
61
79
  // -------------------------
62
80
  $tableBackground: transparent; // overall background-color
@@ -67,22 +85,22 @@ $tableBorder: #ddd; // table and cell border
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, 20%);
72
90
 
73
- $btnPrimaryBackground: lighten($linkColor, .05);
91
+ $btnPrimaryBackground: lighten($linkColor, 5%);
74
92
  $btnPrimaryBackgroundHighlight: $linkColor;
75
93
 
76
- $btnInfoBackground: lighten(#5bc0de, .05);
94
+ $btnInfoBackground: lighten(#5bc0de, 5%);
77
95
  $btnInfoBackgroundHighlight: #5bc0de;
78
96
 
79
- $btnSuccessBackground: lighten($green, .05);
97
+ $btnSuccessBackground: lighten($green, 5%);
80
98
  $btnSuccessBackgroundHighlight: $green;
81
99
 
82
- $btnWarningBackground: lighten($yellow, .05);
100
+ $btnWarningBackground: lighten($yellow, 5%);
83
101
  $btnWarningBackgroundHighlight: $yellow;
84
102
 
85
- $btnDangerBackground: lighten($red, .05);
103
+ $btnDangerBackground: lighten($red, 5%);
86
104
  $btnDangerBackgroundHighlight: $red;
87
105
 
88
106
  $btnInverseBackground: $gray;
@@ -93,9 +111,11 @@ $btnInverseBackgroundHighlight: $grayDarker;
93
111
  // -------------------------
94
112
  $inputBackground: $white;
95
113
  $inputBorder: #ccc;
96
- $inputBorderRadius: 0;
114
+ $inputBorderRadius: $baseBorderRadius;
97
115
  $inputDisabledBackground: $grayLighter;
98
116
  $formActionsBackground: #f5f5f5;
117
+ $inputHeight: $baseLineHeight + 10px; // base line-height + 8px vertical padding + 2px top/bottom border
118
+
99
119
 
100
120
  // Dropdowns
101
121
  // -------------------------
@@ -106,7 +126,7 @@ $dropdownDividerBottom: $white;
106
126
 
107
127
  $dropdownLinkColor: $textColor;
108
128
  $dropdownLinkColorHover: $textColor;
109
- $dropdownLinkColorActive: $dropdownLinkColor;
129
+ $dropdownLinkColorActive: $textColor;
110
130
 
111
131
  $dropdownLinkBackgroundActive: $linkColor;
112
132
  $dropdownLinkBackgroundHover: #FBEBE9;
@@ -116,6 +136,7 @@ $dropdownLinkBackgroundHover: #FBEBE9;
116
136
  // COMPONENT VARIABLES
117
137
  // --------------------------------------------------
118
138
 
139
+
119
140
  // Z-index master list
120
141
  // -------------------------
121
142
  // Used for a bird's eye view of components dependent on the z-axis
@@ -157,11 +178,12 @@ $wellBackground: $white;
157
178
  // Navbar
158
179
  // -------------------------
159
180
  $navbarCollapseWidth: 979px;
181
+ $navbarCollapseDesktopWidth: $navbarCollapseWidth + 1;
160
182
 
161
183
  $navbarHeight: 40px;
162
184
  $navbarBackground: #fefefe;
163
185
  $navbarBackgroundHighlight: $navbarBackground;
164
- $navbarBorder: darken($navbarBackground, .12);
186
+ $navbarBorder: darken($navbarBackground, 12%);
165
187
 
166
188
  $navbarText: $gray;
167
189
  $navbarLinkColor: $gray;
@@ -174,8 +196,8 @@ $navbarBrandColor: $headingsColor;
174
196
 
175
197
  // Inverted navbar
176
198
  $navbarInverseBackground: $red;
177
- $navbarInverseBackgroundHighlight: lighten($red, .06);
178
- $navbarInverseBorder: lighten($navbarInverseBackground, .08);
199
+ $navbarInverseBackgroundHighlight: lighten($red, 6%);
200
+ $navbarInverseBorder: lighten($navbarInverseBackground, 8%);
179
201
 
180
202
  $navbarInverseText: $white;
181
203
  $navbarInverseLinkColor: $white;
@@ -184,7 +206,7 @@ $navbarInverseLinkColorActive: $navbarInverseLinkColorHover;
184
206
  $navbarInverseLinkBackgroundHover: transparent;
185
207
  $navbarInverseLinkBackgroundActive: $navbarInverseBackground;
186
208
 
187
- $navbarInverseSearchBackground: lighten($navbarInverseBackground, .25);
209
+ $navbarInverseSearchBackground: lighten($navbarInverseBackground, 25%);
188
210
  $navbarInverseSearchBackgroundFocus: $white;
189
211
  $navbarInverseSearchBorder: $navbarInverseBackground;
190
212
  $navbarInverseSearchPlaceholderColor: $white;
@@ -210,19 +232,19 @@ $heroUnitLeadColor: inherit;
210
232
  // -------------------------
211
233
  $warningText: $orange;
212
234
  $warningBackground: #fcf8e3;
213
- $warningBorder: darken(adjust-hue($warningBackground, -10), .03);
235
+ $warningBorder: darken(adjust-hue($warningBackground, -10), 3%);
214
236
 
215
237
  $errorText: $red;
216
238
  $errorBackground: #f2dede;
217
- $errorBorder: darken(adjust-hue($errorBackground, -10), .03);
239
+ $errorBorder: darken(adjust-hue($errorBackground, -10), 3%);
218
240
 
219
241
  $successText: $green;
220
242
  $successBackground: #dff0d8;
221
- $successBorder: darken(adjust-hue($successBackground, -10), .05);
243
+ $successBorder: darken(adjust-hue($successBackground, -10), 5%);
222
244
 
223
245
  $infoText: $blue;
224
246
  $infoBackground: #d9edf7;
225
- $infoBorder: darken(adjust-hue($infoBackground, -10), .07);
247
+ $infoBorder: darken(adjust-hue($infoBackground, -10), 7%);
226
248
 
227
249
 
228
250
  // Tooltips and popovers
@@ -235,7 +257,7 @@ $tooltipArrowColor: $tooltipBackground;
235
257
  $popoverBackground: #fff;
236
258
  $popoverArrowWidth: 10px;
237
259
  $popoverArrowColor: #fff;
238
- $popoverTitleBackground: darken($popoverBackground, .03);
260
+ $popoverTitleBackground: darken($popoverBackground, 3%);
239
261
 
240
262
  // Special enhancement for popovers
241
263
  $popoverArrowOuterWidth: $popoverArrowWidth + 1;
@@ -1,333 +1,433 @@
1
- // Swatch: Slate
2
- // Version: 2.0.2
1
+ // Slate 2.2.2
2
+ // Bootswatch
3
3
  // -----------------------------------------------------
4
4
 
5
+
6
+ // TYPOGRAPHY
7
+ // -----------------------------------------------------
8
+
9
+ h1, h2, h3, h4, h5, h6 {
10
+ text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
11
+ }
12
+
13
+ code, pre {
14
+ background-color: #F7F7F7;
15
+ border: 1px solid darken($grayDarker, 5%);
16
+ text-shadow: none;
17
+ }
18
+
5
19
  // SCAFFOLDING
6
20
  // -----------------------------------------------------
7
21
 
8
- h1, h2, h3, h4, h5, h6, body, legend, label {
9
- text-shadow: -1px -1px 0 #111;
22
+ hr, legend, .page-header {
23
+ border-top: none;
24
+ border-bottom: 1px solid darken($grayDarker, 5%);
25
+ background-color: transparent;
10
26
  }
11
27
 
12
28
  // NAVBAR
13
29
  // -----------------------------------------------------
14
30
 
15
- .navbar .brand {
16
- font-weight: bold;
17
- }
31
+ .navbar {
18
32
 
19
- .navbar .navbar-inner,
20
- div.subnav {
21
- @include gradient-vertical-three-colors($gray, $grayDark, .7, $grayDark);
22
- }
33
+ .navbar-inner {
34
+ @include gradient-vertical-three-colors($gray, $grayDark, 70%, $grayDark);
35
+ }
23
36
 
24
- .navbar .divider-vertical {
25
- background-color: transparent;
26
- border-right: none;
27
- }
37
+ .brand {
38
+ font-weight: bold;
39
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
40
+ border-right: 1px solid darken($gray, 15%);
41
+ }
28
42
 
29
- .navbar .brand,
30
- .navbar .nav > li > a,
31
- div.subnav .nav > li > a {
32
- color: $grayLighter;
33
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
34
- border-right: 1px solid darken($gray, .15);
35
- }
43
+ .navbar-text {
44
+ padding: 0 15px;
45
+ font-weight: bold;
46
+ }
47
+
48
+ .nav > li > a {
49
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
50
+ border-right: 1px solid rgba(0, 0, 0, 0.2);
51
+ border-left: 1px solid rgba(255, 255, 255, 0.1);
36
52
 
37
- .navbar .nav > li > a,
38
- div.subnav .nav > li > a {
39
- border-left: 1px solid $gray;
53
+ &:hover {
54
+ @include gradient-directional($grayDarker, $grayDark, 280deg);
55
+ border-left: 1px solid transparent;
56
+ border-right: 1px solid transparent;
57
+ }
58
+ }
40
59
 
41
- &:hover {
60
+ .nav > li.active > a,
61
+ .nav > li.active > a:hover {
42
62
  color: $grayLighter;
43
63
  background-color: $grayDark;
44
- @include gradient-directional($grayDarker, $grayDark, 280deg);
45
- border-left: 1px solid transparent;
46
- border-right: 1px solid transparent;
64
+ @include gradient-directional(lighten($grayDarker, 4%), lighten($grayDark, 4%), 280deg);
65
+ border-right: 1px solid darken($gray, 15%);
47
66
  }
48
- }
49
67
 
50
- .navbar .nav > li.active > a,
51
- div.subnav .nav > li.active > a,
52
- .navbar .nav > li.active > a:hover,
53
- div.subnav .nav > li.active > a:hover {
54
- color: $grayLighter;
55
- background-color: $grayDark;
56
- @include gradient-directional(lighten($grayDarker, .04), lighten($grayDark, .04), 280deg);
57
- border-right: 1px solid darken($gray, .15);
58
- }
68
+ .navbar-search .search-query {
69
+ border: 1px solid darken($gray, 15%);
70
+ }
59
71
 
60
- div.subnav .nav > li:first-child > a,
61
- div.subnav .nav > li:first-child > a:hover {
62
- border-left: 1px solid transparent;
63
- }
72
+ .btn,
73
+ .btn-group {
74
+ margin: 4px 0;
75
+ }
76
+
77
+ .divider-vertical {
78
+ background-color: transparent;
79
+ border-right: none;
80
+ }
81
+
82
+ .dropdown-menu::after {
83
+ border-bottom: 6px solid $grayDark;
84
+ }
85
+
86
+ .navbar-inverse {
87
+
88
+ .navbar-inner {
89
+ @include gradient-vertical-three-colors(darken($grayDarker, 3%), darken($grayDarker, 8%), 70%, darken($grayDarker, 8%));
90
+ }
91
+
92
+ .nav li > a {
93
+ background-image: none;
94
+ background-color: transparent;
95
+ }
64
96
 
65
- div.subnav.subnav-fixed .nav > li.active:first-child > a,
66
- div.subnav.subnav-fixed .nav > li:first-child > a:hover {
67
- border-left: 1px solid darken($gray, .15);
97
+ .nav li > a:hover,
98
+ .nav li.active > a,
99
+ .nav li.active > a:hover {
100
+ @include gradient-directional(darken($grayDarker, 3%), $grayDarker, 280deg);
101
+ }
102
+ }
68
103
  }
69
104
 
70
- div.subnav .nav > li.active:last-child > a,
71
- div.subnav .nav > li:last-child > a:hover {
72
- border-right: 1px solid darken($gray, .15);
105
+ @media (max-width: $navbarCollapseWidth) {
106
+
107
+ .navbar .nav-collapse {
108
+
109
+ .nav li > a,
110
+ .nav li > a:hover,
111
+ .nav .active > a,
112
+ .nav .active > a:hover {
113
+ @include box-shadow(none);
114
+ color: $grayLighter;
115
+ border: 1px solid transparent;
116
+ background-color: transparent;
117
+ background-image: none;
118
+ }
119
+
120
+ .nav li > a:hover,
121
+ .nav .active > a:hover {
122
+ background-color: $grayDarker;
123
+ }
124
+
125
+ .navbar-form,
126
+ .navbar-search {
127
+ border-color: transparent;
128
+ @include box-shadow(none);
129
+ }
130
+
131
+ .nav-header {
132
+ color: $grayLight;
133
+ }
134
+ }
135
+
136
+ .navbar-inverse .nav-collapse {
137
+
138
+ .nav li > a:hover,
139
+ .nav .active > a:hover {
140
+ background-color: $grayDarker !important;
141
+ }
142
+ }
73
143
  }
74
144
 
75
145
  div.subnav {
146
+
147
+ @include gradient-vertical-three-colors($gray, $grayDark, 70%, $grayDark);
76
148
  border: 1px solid transparent;
77
149
  @include box-shadow('0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)');
78
- }
79
150
 
80
- div.subnav-fixed {
81
- @include box-shadow(none);
82
- }
151
+ .nav > li > a {
152
+ color: $grayLighter;
153
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
154
+ border-right: 1px solid darken($gray, 15%);
155
+ border-left: 1px solid $gray;
156
+
157
+ &:hover {
158
+ color: $grayLighter;
159
+ background-color: $grayDark;
160
+ @include gradient-directional($grayDarker, $grayDark, 280deg);
161
+ border-left: 1px solid transparent;
162
+ border-right: 1px solid transparent;
163
+ }
164
+ }
83
165
 
84
- .navbar-search .search-query {
85
- border: 1px solid darken($gray, .15);
86
- }
166
+ .nav > li.active > a,
167
+ .nav > li.active > a:hover {
168
+ color: $grayLighter;
169
+ background-color: $grayDark;
170
+ @include gradient-directional(lighten($grayDarker, 4%), lighten($grayDark, 4%), 280deg);
171
+ border-right: 1px solid darken($gray, 15%);
172
+ }
87
173
 
88
- .nav .nav-header {
89
- text-shadow: none;
90
- }
174
+ .nav > li:first-child > a,
175
+ .nav > li:first-child > a:hover {
176
+ border-left: 1px solid transparent;
177
+ }
91
178
 
92
- .navbar .nav-collapse.in > .nav > li > a,
93
- .navbar .nav-collapse.in > .nav > li.active > a,
94
- .navbar .nav-collapse.in > .nav > li > a:hover,
95
- .navbar .nav-collapse.in > .nav > li.active > a:hover {
96
- color: $grayLighter;
97
- border: 1px solid transparent;
98
- @include box-shadow(none);
99
- background-color: transparent;
100
- background-image: none;
101
- }
179
+ &.subnav-fixed .nav > li.active:first-child > a,
180
+ &.subnav-fixed .nav > li:first-child > a:hover {
181
+ border-left: 1px solid darken($gray, 15%);
182
+ }
102
183
 
103
- .navbar .nav-collapse.in > .nav > li > a:hover,
104
- .navbar .nav-collapse.in > .nav > li.active > a:hover {
105
- background-color: $grayDarker;
106
- }
184
+ .nav > li.active:last-child > a,
185
+ .nav > li:last-child > a:hover {
186
+ border-right: 1px solid darken($gray, 15%);
187
+ }
107
188
 
108
- @media (max-width: 979px) {
109
- .navbar .brand {
110
- border-right: none;
189
+ .open .dropdown-toggle {
190
+ border-right: 1px solid darken($gray, 15%);
191
+ border-left: 1px solid $gray;
111
192
  }
112
- }
113
- @media (max-width: 768px) {
114
- div.subnav .nav > li + li > a {
115
- border-top: 1px solid transparent;
193
+
194
+ &.subnav-fixed {
195
+ @include box-shadow(none);
116
196
  }
117
197
  }
118
198
 
119
- // BUTTONS
199
+ // NAV
120
200
  // -----------------------------------------------------
121
201
 
122
- .btn {
123
- @include buttonBackground($gray, darken($gray, .1));
124
- @include border-radius(3px);
125
- border: 1px solid $grayDarker;
126
- }
202
+ .nav {
127
203
 
128
- .btn, .btn:hover {
129
- color: $white;
130
- font-weight: bold;
131
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
132
- }
204
+ .nav-header {
205
+ text-shadow: none;
206
+ }
133
207
 
134
- .btn-primary {
135
- @include buttonBackground($btnPrimaryBackground, adjust-hue($btnPrimaryBackground, 20));
136
- }
137
- .btn-warning {
138
- @include buttonBackground(lighten($orange, .15), $orange);
139
- }
208
+ & > li > a {
209
+ @include gradient-vertical-three-colors($gray, $grayDark, 70%, $grayDark);
210
+ @include box-shadow('0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)');
211
+ border: none;
212
+ color: $grayLight;
213
+ font-weight: bold;
214
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
215
+ }
140
216
 
141
- .btn-danger {
142
- @include buttonBackground(#ee5f5b, #bd362f);
143
- }
217
+ li.active > a,
218
+ li.active > a:hover {
219
+ background-color: transparent;
220
+ border: none;
221
+ color: $white;
222
+ }
144
223
 
145
- .btn-success {
146
- @include buttonBackground(#62c462, #51a351);
147
- }
224
+ li > a:hover {
225
+ background-color: transparent;
226
+ color: $grayLighter;
227
+ }
148
228
 
149
- .btn-info {
150
- @include buttonBackground(#5bc0de, #2f96b4);
151
229
  }
152
230
 
153
- .btn-inverse {
154
- @include buttonBackground(#454545, #262626);
155
- }
231
+ .nav-list {
232
+ background-color: $grayDark;
233
+ @include box-shadow(1px 1px 1px rgba(0, 0, 0, 0.4));
156
234
 
157
- .caret {
158
- border-top-color: $white;
159
- }
235
+ li > a {
236
+ background-image: none;
237
+ text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
238
+ }
160
239
 
161
- // TABLES
162
- // -----------------------------------------------------
240
+ .nav-header {
241
+ color: $gray;
242
+ text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
243
+ }
163
244
 
164
- .table th, .table td, .table tbody + tbody {
165
- border-top: 1px solid darken($grayDarker, .05);
245
+ .divider {
246
+ border-bottom: 1px solid darken($grayDarker, 5%);
247
+ background-color: transparent;
248
+ }
166
249
  }
167
250
 
168
- .table-bordered {
169
- border: 1px solid darken($grayDarker, .05);
170
- th + th,
171
- td + td,
172
- th + td,
173
- td + th {
174
- border-left: 1px solid darken($grayDarker, .05);
175
- }
176
- // Prevent a double border
177
- thead:first-child tr:first-child th,
178
- tbody:first-child tr:first-child th,
179
- tbody:first-child tr:first-child td {
180
- border-top: 0;
181
- }
251
+ .nav-tabs {
252
+ border-bottom: none;
182
253
  }
183
254
 
184
- .table-striped {
185
- tbody {
186
- tr:nth-child(odd) td,
187
- tr:nth-child(odd) th {
188
- background-color: darken($grayDark, .05);
189
- }
190
- }
255
+ .tabs-below .nav-tabs {
256
+ border-top: none;
191
257
  }
192
258
 
193
- .table {
194
- tbody tr:hover td,
195
- tbody tr:hover th {
196
- background-color: $grayDark;
197
- }
259
+ .tabs-left .nav-tabs {
260
+ border-right: none;
198
261
  }
199
262
 
200
- // NAVIGATION
201
- // -----------------------------------------------------
202
-
203
- .pagination > ul {
204
- @include box-shadow(none);
263
+ .tabs-right .nav-tabs {
264
+ border-left: none;
205
265
  }
206
266
 
207
- .breadcrumb {
208
- @include box-shadow(none);
267
+ .nav-tabs.nav-stacked {
268
+
269
+ li > a,
270
+ li > a:hover {
271
+ border: 1px solid darken($grayDarker, 5%);
272
+ background-image: none;
273
+ }
274
+
275
+ li > a:hover,
276
+ .active > a,
277
+ .active > a:hover {
278
+ background-color: $wellBackground;
279
+ color: $white;
280
+ }
209
281
  }
210
282
 
211
- .breadcrumb, .pagination > ul a, .pager a {
283
+ .breadcrumb {
212
284
  border: 1px solid transparent;
285
+ @include gradient-vertical-three-colors($gray, $grayDark, 70%, $grayDark);
213
286
  @include box-shadow('0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)');
214
- @include gradient-vertical-three-colors($gray, $grayDark, .7, $grayDark);
215
- }
216
287
 
217
- .breadcrumb li, .breadcrumb a, .pagination > ul a {
218
- color: $grayLighter;
219
- font-weight: bold;
220
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
221
- }
288
+ a {
289
+ color: $grayLighter;
290
+ font-weight: bold;
291
+ }
222
292
 
223
- .breadcrumb a {
224
- color: $white;
293
+ li {
294
+ color: $grayLight;
295
+ font-weight: bold;
296
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
297
+ }
225
298
  }
226
299
 
227
- .pagination li > a,
228
- .pagination li.disabled > a {
229
- border-left: 1px solid $gray;
230
- border-right: 1px solid darken($gray, .15);
231
- border-top: none;
232
- border-bottom: none;
233
- }
300
+ .pagination {
234
301
 
235
- .pagination li.disabled > a {
236
- @include gradient-vertical-three-colors($grayLight, $gray, .7, $gray);
237
- }
302
+ ul {
303
+ @include box-shadow(none);
304
+ }
305
+
306
+ ul > li > a,
307
+ ul > li > span {
308
+ border-left: 1px solid $gray;
309
+ border-right: 1px solid darken($gray, 15%);
310
+ border-top: none;
311
+ border-bottom: none;
312
+ @include gradient-vertical-three-colors($gray, $grayDark, 70%, $grayDark);
313
+ @include box-shadow('0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)');
314
+ color: $grayLighter;
315
+ font-weight: bold;
316
+ text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
317
+
318
+ &:hover {
319
+ @include gradient-directional($grayDarker, $grayDark, 280deg);
320
+ border-left: 1px solid transparent;
321
+ }
322
+ }
238
323
 
239
- .pagination > ul > li:not(.disabled) a:hover,
240
- {
241
- @include gradient-directional($grayDarker, $grayDark, 280deg);
242
- border-left: 1px solid transparent;
324
+ ul > .active > a,
325
+ ul > .active > a:hover,
326
+ ul > .active > span,
327
+ ul > .active > span:hover {
328
+ color: $grayLighter;
329
+ background-color: $grayDark;
330
+ @include gradient-directional(lighten($grayDarker, 4%), lighten($grayDark, 4%), 280deg);
331
+ border-left: 1px solid transparent;
332
+ }
333
+
334
+ ul > .disabled > a,
335
+ ul > .disabled > a:hover,
336
+ ul > .disabled > span,
337
+ ul > .disabled > span:hover {
338
+ border-left: 1px solid $gray;
339
+ border-right: 1px solid darken($gray, 15%);
340
+ border-top: none;
341
+ border-bottom: none;
342
+ @include gradient-vertical-three-colors($grayLight, $gray, 70%, $gray);
343
+ }
243
344
  }
244
345
 
245
- .pagination > ul > li.active > a,
246
- .pagination > ul > li.active > a:hover {
247
- color: $grayLighter;
248
- background-color: $grayDark;
249
- @include gradient-directional(lighten($grayDarker, .04), lighten($grayDark, .04), 280deg);
250
- border-left: 1px solid transparent;
346
+ .pager {
347
+
348
+ li > a,
349
+ li > span {
350
+ border: 1px solid transparent;
351
+ @include box-shadow('0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)');
352
+ @include gradient-vertical-three-colors($gray, $grayDark, 70%, $grayDark);
353
+
354
+ &:hover {
355
+ @include gradient-directional($grayDarker, $grayDark, 280deg);
356
+ border: 1px solid transparent;
357
+ }
358
+ }
359
+
360
+ .disabled a,
361
+ .disabled a:hover {
362
+ background-color: transparent;
363
+ }
251
364
  }
252
365
 
253
- .pager a:hover {
254
- @include gradient-directional($grayDarker, $grayDark, 280deg);
255
- border: 1px solid transparent;
366
+ // BUTTONS
367
+ // -----------------------------------------------------
368
+
369
+ .btn {
370
+ @include buttonBackground($gray, darken($gray, 10%));
371
+ @include border-radius(3px);
372
+ border: 1px solid $grayDarker;
256
373
  }
257
374
 
258
- .nav > li > a,
259
- .nav > li > a:hover,
260
- .nav > li.active > a,
261
- .nav > li.active > a:hover,
262
- .nav-tabs.nav-stacked > li > a,
263
- .nav-tabs.nav-stacked > li > a:hover {
264
- border: none;
265
- background-color: transparent;
266
- color: $grayLighter;
375
+ .btn, .btn:hover {
376
+ color: $white;
267
377
  font-weight: bold;
268
- text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
378
+ text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.3);
269
379
  }
270
380
 
271
- .dropdown-menu {
272
- @include box-shadow(0 5px 5px rgba(0, 0, 0, 0.2));
381
+ .btn-primary {
382
+ @include buttonBackground($btnPrimaryBackground, adjust-hue($btnPrimaryBackground, 20));
383
+ color: $grayDark;
384
+ text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3);
273
385
  }
274
386
 
275
- .dropdown-menu,
276
- .dropdown-menu li.active a,
277
- .dropdown-menu li.active a:hover {
278
- background-color: $grayDark;
387
+ .btn-warning {
388
+ @include buttonBackground(lighten($orange, 15%), $orange);
279
389
  }
280
390
 
281
- .dropdown-menu a,
282
- .dropdown-menu li.active a,
283
- .dropdown-menu li a:hover,
284
- .dropdown-menu li.active a:hover,
285
- .dropdown.open .dropdown-toggle {
286
- color: $grayLighter;
391
+ .btn-danger {
392
+ @include buttonBackground($red, #bd362f);
287
393
  }
288
394
 
289
- .dropdown-menu li a:hover,
290
- .dropdown-menu li.active a:hover {
291
- background-color: $grayDarker;
395
+ .btn-success {
396
+ @include buttonBackground($green, #51a351);
292
397
  }
293
398
 
294
- .navbar .dropdown-menu::after {
295
- border-bottom: 6px solid $grayDark;
399
+ .btn-info {
400
+ @include buttonBackground($blue, #2f96b4);
296
401
  }
297
402
 
298
- .nav > li > a {
299
- border: none;
300
- @include box-shadow('0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)');
301
- @include gradient-vertical-three-colors($gray, $grayDark, .7, $grayDark);
302
-
403
+ .btn-inverse {
404
+ @include buttonBackground($gray, $grayDarker);
303
405
  }
304
406
 
305
- .nav.nav-list .nav-header {
306
- color: $grayLight;
307
- text-shadow: -1px -1px 0 #111;
407
+ .caret {
408
+ border-top-color: $white;
308
409
  }
309
410
 
310
- .nav.nav-list .divider {
311
- border-bottom: 1px solid darken($grayDarker, .05);
312
- background-color: transparent;
313
- }
411
+ // TABLES
412
+ // -----------------------------------------------------
314
413
 
315
- .nav-tabs {
316
- border-bottom: none;
317
- }
414
+ .table {
318
415
 
319
- .tabs-below .nav-tabs {
320
- border-top: none;
321
- }
416
+ tbody tr.success td {
417
+ background-color: $successText;
418
+ }
322
419
 
323
- .tabs-left .nav-tabs {
324
- border-right: none;
325
- }
420
+ tbody tr.error td {
421
+ background-color: $errorText;
422
+ }
423
+
424
+ tbody tr.info td {
425
+ background-color: $infoText;
426
+ }
326
427
 
327
- .tabs-right .nav-tabs {
328
- border-left: none;
329
428
  }
330
429
 
430
+
331
431
  // FORMS
332
432
  // -----------------------------------------------------
333
433
 
@@ -335,14 +435,13 @@ label, input, button, select, textarea, legend {
335
435
  color: $textColor;
336
436
  }
337
437
 
338
- .form-actions {
339
- background-color: darken($grayDarker, .03);
340
- border-top: none;
438
+ legend, label {
439
+ text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
341
440
  }
342
441
 
343
- .input-prepend .add-on, .input-append .add-on {
442
+ .input-prepend .add-on,
443
+ .input-append .add-on {
344
444
  vertical-align: top;
345
- height: 19px;
346
445
  background-color: $gray;
347
446
  border-top: 1px solid $grayLight;
348
447
  border-left: 1px solid $grayLight;
@@ -351,28 +450,59 @@ label, input, button, select, textarea, legend {
351
450
  text-shadow: none;
352
451
  }
353
452
 
354
- .uneditable-input, input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] {
355
- text-shadow: none;
453
+ .input-append .btn,
454
+ .input-prepend .btn {
455
+ margin-top: -1px;
456
+ padding: 5px 14px;
457
+ }
458
+
459
+ .uneditable-input,
460
+ input[disabled],
461
+ select[disabled],
462
+ textarea[disabled],
463
+ input[readonly],
464
+ select[readonly],
465
+ textarea[readonly] {
356
466
  color: $grayLighter;
357
467
  }
358
468
 
359
- // LABELS AND ALERTS
469
+ .form-actions {
470
+ border-top: none;
471
+ }
472
+
473
+ // DROPDOWNS
360
474
  // -----------------------------------------------------
361
475
 
362
- .label, .alert {
363
- color: rgba(255, 255, 255, 0.9);
364
- text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.4);
365
- @include box-shadow(1px 1px 1px rgba(0, 0, 0, 0.3));
476
+ .dropdown-menu {
477
+ @include box-shadow(0 5px 5px rgba(0, 0, 0, 0.2));
478
+ }
479
+
480
+ .dropdown.open .dropdown-toggle {
481
+ background-color: $grayDark;
482
+ color: $grayLighter;
483
+ }
484
+
485
+ .dropdown-submenu > a::after {
486
+ border-left-color: $white;
366
487
  }
367
488
 
368
- .alert-heading {
489
+ // ALERTS, LABELS, BADGES
490
+ // -----------------------------------------------------
491
+
492
+ .label, .alert {
369
493
  color: rgba(255, 255, 255, 0.9);
370
- text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.4);
494
+ text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3);
495
+ @include box-shadow(1px 1px 1px rgba(0, 0, 0, 0.3));
371
496
  }
372
497
 
373
498
  .alert {
374
- background-color: $warningText;
375
- border-color: $warningText;
499
+ background-color: $orange;
500
+ border-color: $orange;
501
+
502
+ .alert-heading {
503
+ color: rgba(255, 255, 255, 0.9);
504
+ text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.4);
505
+ }
376
506
  }
377
507
 
378
508
  .alert-success {
@@ -380,7 +510,6 @@ label, input, button, select, textarea, legend {
380
510
  border-color: $successText;
381
511
  }
382
512
 
383
- .alert-danger,
384
513
  .alert-error {
385
514
  background-color: $errorText;
386
515
  border-color: $errorText;
@@ -391,38 +520,62 @@ label, input, button, select, textarea, legend {
391
520
  border-color: $infoText;
392
521
  }
393
522
 
394
- // MISCELLANEOUS
523
+ // MISC
395
524
  // -----------------------------------------------------
396
525
 
397
- code, pre {
398
- background-color: #F7F7F7;
399
- border: 1px solid darken($grayDarker, .05);
400
- text-shadow: none;
526
+ .well, .hero-unit {
527
+ @include box-shadow(inset 1px 1px 1px rgba(0, 0, 0, 0.5));
401
528
  }
402
529
 
403
- hr, legend, .page-header, .dropdown-menu .divider {
404
- border-top: none;
405
- border-bottom: 1px solid darken($grayDarker, .05);
406
- background-color: transparent;
530
+ .thumbnail,
531
+ a.thumbnail:hover {
532
+ border: 1px solid darken($grayDarker, 5%);
407
533
  }
408
534
 
409
- footer.footer {
410
- border-top: 1px solid darken($grayDarker, .05);
535
+ .progress {
536
+ background-color: darken($grayDarker, 3%);
537
+ @include gradient-vertical(darken($grayDarker, 3%), darken($grayDarker, 3%));
538
+ @include box-shadow(inset 1px 1px 1px rgba(0, 0, 0, 0.5));
539
+ }
540
+
541
+ .footer {
542
+ border-top: 1px solid darken($grayDarker, 5%);
411
543
 
412
544
  p {
413
545
  color: $textColor;
414
546
  }
415
547
  }
416
548
 
417
- .well, .progress {
418
- background-color: darken($grayDarker, .03);
419
- @include box-shadow(inset 1px 1px 1px rgba(0, 0, 0, 0.5));
420
- }
549
+ .modal {
421
550
 
422
- .progress {
423
- @include gradient-vertical(darken($grayDarker, .03), darken($grayDarker, .03));
551
+ background-color: darken($grayDark, 5%);
552
+
553
+ .modal-header {
554
+ border-bottom: none;
555
+ }
556
+
557
+ .modal-body {
558
+ border-bottom: 1px solid #1C1E22;
559
+ }
560
+
561
+ .modal-footer {
562
+ border-top: none;
563
+ background-color: $grayDarker;
564
+ @include box-shadow(none);
565
+ }
424
566
  }
425
567
 
426
- .thumbnail, a.thumbnail:hover {
427
- border: 1px solid darken($grayDarker, .05);
568
+ // MEDIA QUERIES
569
+ // -----------------------------------------------------
570
+
571
+ @media (max-width: 979px) {
572
+ .navbar .brand {
573
+ border-right: none;
574
+ }
428
575
  }
576
+
577
+ @media (max-width: 768px) {
578
+ div.subnav .nav > li + li > a {
579
+ border-top: 1px solid transparent;
580
+ }
581
+ }