| 1 |
// Darkly 3.4.1 |
| 2 |
// Bootswatch |
| 3 |
// ----------------------------------------------------- |
| 4 |
|
| 5 |
$web-font-path: "https://fonts.googleapis.com/css?family=Lato:400,700,400italic" !default; |
| 6 |
@import url($web-font-path); |
| 7 |
|
| 8 |
// Navbar ===================================================================== |
| 9 |
|
| 10 |
.navbar { |
| 11 |
border-width: 0; |
| 12 |
|
| 13 |
&-default { |
| 14 |
|
| 15 |
.badge { |
| 16 |
background-color: #fff; |
| 17 |
color: $navbar-default-bg; |
| 18 |
} |
| 19 |
} |
| 20 |
|
| 21 |
&-inverse { |
| 22 |
|
| 23 |
.badge { |
| 24 |
background-color: #fff; |
| 25 |
color: $navbar-inverse-bg; |
| 26 |
} |
| 27 |
} |
| 28 |
|
| 29 |
&-brand { |
| 30 |
line-height: 1; |
| 31 |
} |
| 32 |
|
| 33 |
&-form { |
| 34 |
.form-control { |
| 35 |
background-color: white; |
| 36 |
|
| 37 |
&:focus { |
| 38 |
border-color: white; |
| 39 |
} |
| 40 |
} |
| 41 |
} |
| 42 |
} |
| 43 |
|
| 44 |
// Buttons ==================================================================== |
| 45 |
|
| 46 |
.btn { |
| 47 |
border-width: 2px; |
| 48 |
} |
| 49 |
|
| 50 |
.btn:active { |
| 51 |
@include box-shadow(none); |
| 52 |
} |
| 53 |
|
| 54 |
.btn-group.open .dropdown-toggle { |
| 55 |
@include box-shadow(none); |
| 56 |
} |
| 57 |
|
| 58 |
// Typography ================================================================= |
| 59 |
|
| 60 |
.text-primary, |
| 61 |
.text-primary:hover { |
| 62 |
color: lighten($brand-primary, 10%); |
| 63 |
} |
| 64 |
|
| 65 |
.text-success, |
| 66 |
.text-success:hover { |
| 67 |
color: $brand-success; |
| 68 |
} |
| 69 |
|
| 70 |
.text-danger, |
| 71 |
.text-danger:hover { |
| 72 |
color: $brand-danger; |
| 73 |
} |
| 74 |
|
| 75 |
.text-warning, |
| 76 |
.text-warning:hover { |
| 77 |
color: $brand-warning; |
| 78 |
} |
| 79 |
|
| 80 |
.text-info, |
| 81 |
.text-info:hover { |
| 82 |
color: $brand-info; |
| 83 |
} |
| 84 |
|
| 85 |
// Tables ===================================================================== |
| 86 |
|
| 87 |
table, |
| 88 |
.table { |
| 89 |
|
| 90 |
a:not(.btn) { |
| 91 |
text-decoration: underline; |
| 92 |
} |
| 93 |
|
| 94 |
.dropdown-menu a { |
| 95 |
text-decoration: none; |
| 96 |
} |
| 97 |
|
| 98 |
.success, |
| 99 |
.warning, |
| 100 |
.danger, |
| 101 |
.info { |
| 102 |
color: #fff; |
| 103 |
|
| 104 |
> th > a, |
| 105 |
> td > a, |
| 106 |
> a { |
| 107 |
color: #fff; |
| 108 |
} |
| 109 |
} |
| 110 |
|
| 111 |
> thead > tr > th, |
| 112 |
> tbody > tr > th, |
| 113 |
> tfoot > tr > th, |
| 114 |
> thead > tr > td, |
| 115 |
> tbody > tr > td, |
| 116 |
> tfoot > tr > td { |
| 117 |
border: none; |
| 118 |
} |
| 119 |
|
| 120 |
&-bordered > thead > tr > th, |
| 121 |
&-bordered > tbody > tr > th, |
| 122 |
&-bordered > tfoot > tr > th, |
| 123 |
&-bordered > thead > tr > td, |
| 124 |
&-bordered > tbody > tr > td, |
| 125 |
&-bordered > tfoot > tr > td { |
| 126 |
border: 1px solid $table-border-color; |
| 127 |
} |
| 128 |
} |
| 129 |
|
| 130 |
// Forms ====================================================================== |
| 131 |
|
| 132 |
input, |
| 133 |
textarea { |
| 134 |
color: $input-color; |
| 135 |
} |
| 136 |
|
| 137 |
.form-control, |
| 138 |
input, |
| 139 |
textarea { |
| 140 |
border: 2px hidden transparent; |
| 141 |
@include box-shadow(none); |
| 142 |
|
| 143 |
&:focus { |
| 144 |
@include box-shadow(none); |
| 145 |
} |
| 146 |
} |
| 147 |
|
| 148 |
.form-control-feedback { |
| 149 |
color: $input-color; |
| 150 |
} |
| 151 |
|
| 152 |
.has-warning { |
| 153 |
.help-block, |
| 154 |
.control-label, |
| 155 |
.radio, |
| 156 |
.checkbox, |
| 157 |
.radio-inline, |
| 158 |
.checkbox-inline, |
| 159 |
&.radio label, |
| 160 |
&.checkbox label, |
| 161 |
&.radio-inline label, |
| 162 |
&.checkbox-inline label, |
| 163 |
.form-control-feedback { |
| 164 |
color: $brand-warning; |
| 165 |
} |
| 166 |
|
| 167 |
.form-control, |
| 168 |
.form-control:focus { |
| 169 |
@include box-shadow(none); |
| 170 |
} |
| 171 |
|
| 172 |
.input-group-addon { |
| 173 |
border-color: $brand-warning; |
| 174 |
} |
| 175 |
} |
| 176 |
|
| 177 |
.has-error { |
| 178 |
.help-block, |
| 179 |
.control-label, |
| 180 |
.radio, |
| 181 |
.checkbox, |
| 182 |
.radio-inline, |
| 183 |
.checkbox-inline, |
| 184 |
&.radio label, |
| 185 |
&.checkbox label, |
| 186 |
&.radio-inline label, |
| 187 |
&.checkbox-inline label, |
| 188 |
.form-control-feedback { |
| 189 |
color: $brand-danger; |
| 190 |
} |
| 191 |
|
| 192 |
.form-control, |
| 193 |
.form-control:focus { |
| 194 |
@include box-shadow(none); |
| 195 |
} |
| 196 |
|
| 197 |
.input-group-addon { |
| 198 |
border-color: $brand-danger; |
| 199 |
} |
| 200 |
} |
| 201 |
|
| 202 |
.has-success { |
| 203 |
.help-block, |
| 204 |
.control-label, |
| 205 |
.radio, |
| 206 |
.checkbox, |
| 207 |
.radio-inline, |
| 208 |
.checkbox-inline, |
| 209 |
&.radio label, |
| 210 |
&.checkbox label, |
| 211 |
&.radio-inline label, |
| 212 |
&.checkbox-inline label, |
| 213 |
.form-control-feedback { |
| 214 |
color: $brand-success; |
| 215 |
} |
| 216 |
|
| 217 |
.form-control, |
| 218 |
.form-control:focus { |
| 219 |
@include box-shadow(none); |
| 220 |
} |
| 221 |
|
| 222 |
.input-group-addon { |
| 223 |
border-color: $brand-success; |
| 224 |
} |
| 225 |
} |
| 226 |
|
| 227 |
.input-group-addon { |
| 228 |
color: $text-color; |
| 229 |
} |
| 230 |
|
| 231 |
// Navs ======================================================================= |
| 232 |
|
| 233 |
.nav { |
| 234 |
.open > a, |
| 235 |
.open > a:hover, |
| 236 |
.open > a:focus { |
| 237 |
border-color: $nav-tabs-border-color; |
| 238 |
} |
| 239 |
} |
| 240 |
|
| 241 |
.nav-tabs > li > a, |
| 242 |
.nav-pills > li > a { |
| 243 |
color: #fff; |
| 244 |
} |
| 245 |
|
| 246 |
.pager { |
| 247 |
a, |
| 248 |
a:hover { |
| 249 |
color: #fff; |
| 250 |
} |
| 251 |
|
| 252 |
.disabled { |
| 253 |
&>a, |
| 254 |
&>a:hover, |
| 255 |
&>a:focus, |
| 256 |
&>span { |
| 257 |
background-color: $pagination-disabled-bg; |
| 258 |
} |
| 259 |
} |
| 260 |
} |
| 261 |
|
| 262 |
.breadcrumb a { |
| 263 |
color: #fff; |
| 264 |
} |
| 265 |
|
| 266 |
// Indicators ================================================================= |
| 267 |
|
| 268 |
.close { |
| 269 |
text-decoration: none; |
| 270 |
text-shadow: none; |
| 271 |
opacity: 0.4; |
| 272 |
|
| 273 |
&:hover, |
| 274 |
&:focus { |
| 275 |
opacity: 1; |
| 276 |
} |
| 277 |
} |
| 278 |
|
| 279 |
.alert { |
| 280 |
.alert-link { |
| 281 |
color: #fff; |
| 282 |
text-decoration: underline; |
| 283 |
} |
| 284 |
} |
| 285 |
|
| 286 |
// Progress bars ============================================================== |
| 287 |
|
| 288 |
.progress { |
| 289 |
height: 10px; |
| 290 |
@include box-shadow(none); |
| 291 |
.progress-bar { |
| 292 |
font-size: 10px; |
| 293 |
line-height: 10px; |
| 294 |
} |
| 295 |
} |
| 296 |
|
| 297 |
// Containers ================================================================= |
| 298 |
|
| 299 |
.well { |
| 300 |
@include box-shadow(none); |
| 301 |
} |
| 302 |
|
| 303 |
a.list-group-item { |
| 304 |
|
| 305 |
&.active, |
| 306 |
&.active:hover, |
| 307 |
&.active:focus { |
| 308 |
border-color: $list-group-border; |
| 309 |
} |
| 310 |
|
| 311 |
&-success { |
| 312 |
&.active { |
| 313 |
background-color: $state-success-bg; |
| 314 |
} |
| 315 |
|
| 316 |
&.active:hover, |
| 317 |
&.active:focus { |
| 318 |
background-color: darken($state-success-bg, 5%); |
| 319 |
} |
| 320 |
} |
| 321 |
|
| 322 |
&-warning { |
| 323 |
&.active { |
| 324 |
background-color: $state-warning-bg; |
| 325 |
} |
| 326 |
|
| 327 |
&.active:hover, |
| 328 |
&.active:focus { |
| 329 |
background-color: darken($state-warning-bg, 5%); |
| 330 |
} |
| 331 |
} |
| 332 |
|
| 333 |
&-danger { |
| 334 |
&.active { |
| 335 |
background-color: $state-danger-bg; |
| 336 |
} |
| 337 |
|
| 338 |
&.active:hover, |
| 339 |
&.active:focus { |
| 340 |
background-color: darken($state-danger-bg, 5%); |
| 341 |
} |
| 342 |
} |
| 343 |
} |
| 344 |
|
| 345 |
.popover { |
| 346 |
color: $text-color; |
| 347 |
} |
| 348 |
|
| 349 |
.panel-default > .panel-heading { |
| 350 |
background-color: $panel-footer-bg; |
| 351 |
} |