|
6 | 6 |
|
7 | 7 | /* Account for fixed navbar */ |
8 | 8 | body { |
9 | | - min-width: 970px; |
10 | 9 | padding-top: 70px; |
11 | 10 | padding-bottom: 30px; |
12 | 11 | } |
13 | 12 |
|
| 13 | +body, |
| 14 | +.navbar-fixed-top, |
| 15 | +.navbar-fixed-bottom { |
| 16 | + min-width: 970px; |
| 17 | +} |
| 18 | + |
14 | 19 | /* Don't let the lead text change font-size. */ |
15 | 20 | .lead { |
16 | 21 | font-size: 16px; |
|
64 | 69 | height: auto !important; |
65 | 70 | padding-bottom: 0; |
66 | 71 | overflow: visible !important; |
| 72 | + visibility: visible !important; |
67 | 73 | } |
68 | 74 |
|
69 | 75 | .navbar-toggle { |
@@ -123,3 +129,73 @@ body { |
123 | 129 | color: #999 !important; |
124 | 130 | background-color: transparent !important; |
125 | 131 | } |
| 132 | + |
| 133 | +/* Undo form expansion */ |
| 134 | +.navbar-form { |
| 135 | + float: left; |
| 136 | + width: auto; |
| 137 | + margin-left: 0; |
| 138 | + margin-right: 0; |
| 139 | + padding-top: 0; |
| 140 | + padding-bottom: 0; |
| 141 | + border: 0; |
| 142 | + box-shadow: none; |
| 143 | +} |
| 144 | + |
| 145 | +/* Copy-pasted from forms.less since we mixin the .form-inline styles. */ |
| 146 | +.navbar-form .form-group { |
| 147 | + display: inline-block; |
| 148 | + margin-bottom: 0; |
| 149 | + vertical-align: middle; |
| 150 | +} |
| 151 | + |
| 152 | +.navbar-form .form-control { |
| 153 | + display: inline-block; |
| 154 | + width: auto; |
| 155 | + vertical-align: middle; |
| 156 | +} |
| 157 | + |
| 158 | +.navbar-form .form-control-static { |
| 159 | + display: inline-block; |
| 160 | +} |
| 161 | + |
| 162 | +.navbar-form .input-group { |
| 163 | + display: inline-table; |
| 164 | + vertical-align: middle; |
| 165 | +} |
| 166 | + |
| 167 | +.navbar-form .input-group .input-group-addon, |
| 168 | +.navbar-form .input-group .input-group-btn, |
| 169 | +.navbar-form .input-group .form-control { |
| 170 | + width: auto; |
| 171 | +} |
| 172 | + |
| 173 | +.navbar-form .input-group > .form-control { |
| 174 | + width: 100%; |
| 175 | +} |
| 176 | + |
| 177 | +.navbar-form .control-label { |
| 178 | + margin-bottom: 0; |
| 179 | + vertical-align: middle; |
| 180 | +} |
| 181 | + |
| 182 | +.navbar-form .radio, |
| 183 | +.navbar-form .checkbox { |
| 184 | + display: inline-block; |
| 185 | + margin-top: 0; |
| 186 | + margin-bottom: 0; |
| 187 | + vertical-align: middle; |
| 188 | + |
| 189 | + label { |
| 190 | + padding-left: 0; |
| 191 | + } |
| 192 | +} |
| 193 | +.navbar-form .radio input[type="radio"], |
| 194 | +.navbar-form .checkbox input[type="checkbox"] { |
| 195 | + position: relative; |
| 196 | + margin-left: 0; |
| 197 | +} |
| 198 | + |
| 199 | +.navbar-form .has-feedback .form-control-feedback { |
| 200 | + top: 0; |
| 201 | +} |
0 commit comments