1/*! 2 * Bootstrap v3.0.0 3 * 4 * Copyright 2013 Twitter, Inc 5 * Licensed under the Apache License v2.0 6 * http://www.apache.org/licenses/LICENSE-2.0 7 * 8 * Designed and built with all the love in the world by @mdo and @fat. 9 */ 10 11.btn-default, 12.btn-primary, 13.btn-success, 14.btn-info, 15.btn-warning, 16.btn-danger { 17 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); 18 -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075); 19 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 1px rgba(0, 0, 0, 0.075); 20} 21 22.btn-default:active, 23.btn-primary:active, 24.btn-success:active, 25.btn-info:active, 26.btn-warning:active, 27.btn-danger:active, 28.btn-default.active, 29.btn-primary.active, 30.btn-success.active, 31.btn-info.active, 32.btn-warning.active, 33.btn-danger.active { 34 -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); 35 box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); 36} 37 38.btn:active, 39.btn.active { 40 background-image: none; 41} 42 43.btn-default { 44 text-shadow: 0 1px 0 #fff; 45 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#e6e6e6)); 46 background-image: -webkit-linear-gradient(top, #ffffff, 0%, #e6e6e6, 100%); 47 background-image: -moz-linear-gradient(top, #ffffff 0%, #e6e6e6 100%); 48 background-image: linear-gradient(to bottom, #ffffff 0%, #e6e6e6 100%); 49 background-repeat: repeat-x; 50 border-color: #e0e0e0; 51 border-color: #ccc; 52 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); 53} 54 55.btn-default:active, 56.btn-default.active { 57 background-color: #e6e6e6; 58 border-color: #e0e0e0; 59} 60 61.btn-primary { 62 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3071a9)); 63 background-image: -webkit-linear-gradient(top, #428bca, 0%, #3071a9, 100%); 64 background-image: -moz-linear-gradient(top, #428bca 0%, #3071a9 100%); 65 background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%); 66 background-repeat: repeat-x; 67 border-color: #2d6ca2; 68 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0); 69} 70 71.btn-primary:active, 72.btn-primary.active { 73 background-color: #3071a9; 74 border-color: #2d6ca2; 75} 76 77.btn-success { 78 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44)); 79 background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #449d44, 100%); 80 background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%); 81 background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%); 82 background-repeat: repeat-x; 83 border-color: #419641; 84 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0); 85} 86 87.btn-success:active, 88.btn-success.active { 89 background-color: #449d44; 90 border-color: #419641; 91} 92 93.btn-warning { 94 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f0ad4e), to(#ec971f)); 95 background-image: -webkit-linear-gradient(top, #f0ad4e, 0%, #ec971f, 100%); 96 background-image: -moz-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); 97 background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%); 98 background-repeat: repeat-x; 99 border-color: #eb9316; 100 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0); 101} 102 103.btn-warning:active, 104.btn-warning.active { 105 background-color: #ec971f; 106 border-color: #eb9316; 107} 108 109.btn-danger { 110 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c9302c)); 111 background-image: -webkit-linear-gradient(top, #d9534f, 0%, #c9302c, 100%); 112 background-image: -moz-linear-gradient(top, #d9534f 0%, #c9302c 100%); 113 background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%); 114 background-repeat: repeat-x; 115 border-color: #c12e2a; 116 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0); 117} 118 119.btn-danger:active, 120.btn-danger.active { 121 background-color: #c9302c; 122 border-color: #c12e2a; 123} 124 125.btn-info { 126 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5bc0de), to(#31b0d5)); 127 background-image: -webkit-linear-gradient(top, #5bc0de, 0%, #31b0d5, 100%); 128 background-image: -moz-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); 129 background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%); 130 background-repeat: repeat-x; 131 border-color: #2aabd2; 132 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0); 133} 134 135.btn-info:active, 136.btn-info.active { 137 background-color: #31b0d5; 138 border-color: #2aabd2; 139} 140 141.thumbnail, 142.img-thumbnail { 143 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075); 144 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075); 145} 146 147.dropdown-menu > li > a:hover, 148.dropdown-menu > li > a:focus, 149.dropdown-menu > .active > a, 150.dropdown-menu > .active > a:hover, 151.dropdown-menu > .active > a:focus { 152 background-color: #357ebd; 153 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd)); 154 background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%); 155 background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%); 156 background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%); 157 background-repeat: repeat-x; 158 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0); 159} 160 161.navbar { 162 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ffffff), to(#f8f8f8)); 163 background-image: -webkit-linear-gradient(top, #ffffff, 0%, #f8f8f8, 100%); 164 background-image: -moz-linear-gradient(top, #ffffff 0%, #f8f8f8 100%); 165 background-image: linear-gradient(to bottom, #ffffff 0%, #f8f8f8 100%); 166 background-repeat: repeat-x; 167 border-radius: 4px; 168 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0); 169 -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075); 170 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 1px 5px rgba(0, 0, 0, 0.075); 171} 172 173.navbar .navbar-nav > .active > a { 174 background-color: #f8f8f8; 175} 176 177.navbar-brand, 178.navbar-nav > li > a { 179 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25); 180} 181 182.navbar-inverse { 183 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#3c3c3c), to(#222222)); 184 background-image: -webkit-linear-gradient(top, #3c3c3c, 0%, #222222, 100%); 185 background-image: -moz-linear-gradient(top, #3c3c3c 0%, #222222 100%); 186 background-image: linear-gradient(to bottom, #3c3c3c 0%, #222222 100%); 187 background-repeat: repeat-x; 188 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3c3c3c', endColorstr='#ff222222', GradientType=0); 189} 190 191.navbar-inverse .navbar-nav > .active > a { 192 background-color: #222222; 193} 194 195.navbar-inverse .navbar-brand, 196.navbar-inverse .navbar-nav > li > a { 197 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); 198} 199 200.navbar-static-top, 201.navbar-fixed-top, 202.navbar-fixed-bottom { 203 border-radius: 0; 204} 205 206.alert { 207 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.2); 208 -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05); 209 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05); 210} 211 212.alert-success { 213 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dff0d8), to(#c8e5bc)); 214 background-image: -webkit-linear-gradient(top, #dff0d8, 0%, #c8e5bc, 100%); 215 background-image: -moz-linear-gradient(top, #dff0d8 0%, #c8e5bc 100%); 216 background-image: linear-gradient(to bottom, #dff0d8 0%, #c8e5bc 100%); 217 background-repeat: repeat-x; 218 border-color: #b2dba1; 219 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffc8e5bc', GradientType=0); 220} 221 222.alert-info { 223 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9edf7), to(#b9def0)); 224 background-image: -webkit-linear-gradient(top, #d9edf7, 0%, #b9def0, 100%); 225 background-image: -moz-linear-gradient(top, #d9edf7 0%, #b9def0 100%); 226 background-image: linear-gradient(to bottom, #d9edf7 0%, #b9def0 100%); 227 background-repeat: repeat-x; 228 border-color: #9acfea; 229 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffb9def0', GradientType=0); 230} 231 232.alert-warning { 233 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fcf8e3), to(#f8efc0)); 234 background-image: -webkit-linear-gradient(top, #fcf8e3, 0%, #f8efc0, 100%); 235 background-image: -moz-linear-gradient(top, #fcf8e3 0%, #f8efc0 100%); 236 background-image: linear-gradient(to bottom, #fcf8e3 0%, #f8efc0 100%); 237 background-repeat: repeat-x; 238 border-color: #f5e79e; 239 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fff8efc0', GradientType=0); 240} 241 242.alert-danger { 243 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f2dede), to(#e7c3c3)); 244 background-image: -webkit-linear-gradient(top, #f2dede, 0%, #e7c3c3, 100%); 245 background-image: -moz-linear-gradient(top, #f2dede 0%, #e7c3c3 100%); 246 background-image: linear-gradient(to bottom, #f2dede 0%, #e7c3c3 100%); 247 background-repeat: repeat-x; 248 border-color: #dca7a7; 249 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffe7c3c3', GradientType=0); 250} 251 252.progress { 253 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#ebebeb), to(#f5f5f5)); 254 background-image: -webkit-linear-gradient(top, #ebebeb, 0%, #f5f5f5, 100%); 255 background-image: -moz-linear-gradient(top, #ebebeb 0%, #f5f5f5 100%); 256 background-image: linear-gradient(to bottom, #ebebeb 0%, #f5f5f5 100%); 257 background-repeat: repeat-x; 258 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffebebeb', endColorstr='#fff5f5f5', GradientType=0); 259} 260 261.progress-bar { 262 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3071a9)); 263 background-image: -webkit-linear-gradient(top, #428bca, 0%, #3071a9, 100%); 264 background-image: -moz-linear-gradient(top, #428bca 0%, #3071a9 100%); 265 background-image: linear-gradient(to bottom, #428bca 0%, #3071a9 100%); 266 background-repeat: repeat-x; 267 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3071a9', GradientType=0); 268} 269 270.progress-bar-success { 271 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5cb85c), to(#449d44)); 272 background-image: -webkit-linear-gradient(top, #5cb85c, 0%, #449d44, 100%); 273 background-image: -moz-linear-gradient(top, #5cb85c 0%, #449d44 100%); 274 background-image: linear-gradient(to bottom, #5cb85c 0%, #449d44 100%); 275 background-repeat: repeat-x; 276 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff449d44', GradientType=0); 277} 278 279.progress-bar-info { 280 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#5bc0de), to(#31b0d5)); 281 background-image: -webkit-linear-gradient(top, #5bc0de, 0%, #31b0d5, 100%); 282 background-image: -moz-linear-gradient(top, #5bc0de 0%, #31b0d5 100%); 283 background-image: linear-gradient(to bottom, #5bc0de 0%, #31b0d5 100%); 284 background-repeat: repeat-x; 285 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff31b0d5', GradientType=0); 286} 287 288.progress-bar-warning { 289 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f0ad4e), to(#ec971f)); 290 background-image: -webkit-linear-gradient(top, #f0ad4e, 0%, #ec971f, 100%); 291 background-image: -moz-linear-gradient(top, #f0ad4e 0%, #ec971f 100%); 292 background-image: linear-gradient(to bottom, #f0ad4e 0%, #ec971f 100%); 293 background-repeat: repeat-x; 294 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffec971f', GradientType=0); 295} 296 297.progress-bar-danger { 298 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9534f), to(#c9302c)); 299 background-image: -webkit-linear-gradient(top, #d9534f, 0%, #c9302c, 100%); 300 background-image: -moz-linear-gradient(top, #d9534f 0%, #c9302c 100%); 301 background-image: linear-gradient(to bottom, #d9534f 0%, #c9302c 100%); 302 background-repeat: repeat-x; 303 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc9302c', GradientType=0); 304} 305 306.list-group { 307 border-radius: 4px; 308 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075); 309 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075); 310} 311 312.list-group-item.active, 313.list-group-item.active:hover, 314.list-group-item.active:focus { 315 text-shadow: 0 -1px 0 #3071a9; 316 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#3278b3)); 317 background-image: -webkit-linear-gradient(top, #428bca, 0%, #3278b3, 100%); 318 background-image: -moz-linear-gradient(top, #428bca 0%, #3278b3 100%); 319 background-image: linear-gradient(to bottom, #428bca 0%, #3278b3 100%); 320 background-repeat: repeat-x; 321 border-color: #3278b3; 322 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff3278b3', GradientType=0); 323} 324 325.panel { 326 -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); 327 box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); 328} 329 330.panel-default > .panel-heading { 331 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f5f5f5), to(#e8e8e8)); 332 background-image: -webkit-linear-gradient(top, #f5f5f5, 0%, #e8e8e8, 100%); 333 background-image: -moz-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%); 334 background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%); 335 background-repeat: repeat-x; 336 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0); 337} 338 339.panel-primary > .panel-heading { 340 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#428bca), to(#357ebd)); 341 background-image: -webkit-linear-gradient(top, #428bca, 0%, #357ebd, 100%); 342 background-image: -moz-linear-gradient(top, #428bca 0%, #357ebd 100%); 343 background-image: linear-gradient(to bottom, #428bca 0%, #357ebd 100%); 344 background-repeat: repeat-x; 345 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff428bca', endColorstr='#ff357ebd', GradientType=0); 346} 347 348.panel-success > .panel-heading { 349 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#dff0d8), to(#d0e9c6)); 350 background-image: -webkit-linear-gradient(top, #dff0d8, 0%, #d0e9c6, 100%); 351 background-image: -moz-linear-gradient(top, #dff0d8 0%, #d0e9c6 100%); 352 background-image: linear-gradient(to bottom, #dff0d8 0%, #d0e9c6 100%); 353 background-repeat: repeat-x; 354 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdff0d8', endColorstr='#ffd0e9c6', GradientType=0); 355} 356 357.panel-info > .panel-heading { 358 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#d9edf7), to(#c4e3f3)); 359 background-image: -webkit-linear-gradient(top, #d9edf7, 0%, #c4e3f3, 100%); 360 background-image: -moz-linear-gradient(top, #d9edf7 0%, #c4e3f3 100%); 361 background-image: linear-gradient(to bottom, #d9edf7 0%, #c4e3f3 100%); 362 background-repeat: repeat-x; 363 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9edf7', endColorstr='#ffc4e3f3', GradientType=0); 364} 365 366.panel-warning > .panel-heading { 367 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#fcf8e3), to(#faf2cc)); 368 background-image: -webkit-linear-gradient(top, #fcf8e3, 0%, #faf2cc, 100%); 369 background-image: -moz-linear-gradient(top, #fcf8e3 0%, #faf2cc 100%); 370 background-image: linear-gradient(to bottom, #fcf8e3 0%, #faf2cc 100%); 371 background-repeat: repeat-x; 372 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffcf8e3', endColorstr='#fffaf2cc', GradientType=0); 373} 374 375.panel-danger > .panel-heading { 376 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#f2dede), to(#ebcccc)); 377 background-image: -webkit-linear-gradient(top, #f2dede, 0%, #ebcccc, 100%); 378 background-image: -moz-linear-gradient(top, #f2dede 0%, #ebcccc 100%); 379 background-image: linear-gradient(to bottom, #f2dede 0%, #ebcccc 100%); 380 background-repeat: repeat-x; 381 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2dede', endColorstr='#ffebcccc', GradientType=0); 382} 383 384.well { 385 background-image: -webkit-gradient(linear, left 0%, left 100%, from(#e8e8e8), to(#f5f5f5)); 386 background-image: -webkit-linear-gradient(top, #e8e8e8, 0%, #f5f5f5, 100%); 387 background-image: -moz-linear-gradient(top, #e8e8e8 0%, #f5f5f5 100%); 388 background-image: linear-gradient(to bottom, #e8e8e8 0%, #f5f5f5 100%); 389 background-repeat: repeat-x; 390 border-color: #dcdcdc; 391 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8e8e8', endColorstr='#fff5f5f5', GradientType=0); 392 -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1); 393 box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 0 rgba(255, 255, 255, 0.1); 394}