├── .editorconfig ├── .gitattributes ├── .github ├── funding.yml ├── security.md └── workflows │ └── main.yml ├── .gitignore ├── .npmrc ├── bench.js ├── fixture.css ├── index.d.ts ├── index.js ├── index.test-d.ts ├── license ├── package.json ├── readme.md └── test.js /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | end_of_line = lf 6 | charset = utf-8 7 | trim_trailing_whitespace = true 8 | insert_final_newline = true 9 | 10 | [*.yml] 11 | indent_style = space 12 | indent_size = 2 13 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto eol=lf 2 | -------------------------------------------------------------------------------- /.github/funding.yml: -------------------------------------------------------------------------------- 1 | github: sindresorhus 2 | open_collective: sindresorhus 3 | tidelift: npm/strip-css-comments 4 | custom: https://sindresorhus.com/donate 5 | -------------------------------------------------------------------------------- /.github/security.md: -------------------------------------------------------------------------------- 1 | # Security Policy 2 | 3 | To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure. 4 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | on: 3 | - push 4 | - pull_request 5 | jobs: 6 | test: 7 | name: Node.js ${{ matrix.node-version }} 8 | runs-on: ubuntu-latest 9 | strategy: 10 | fail-fast: false 11 | matrix: 12 | node-version: 13 | - 16 14 | steps: 15 | - uses: actions/checkout@v2 16 | - uses: actions/setup-node@v2 17 | with: 18 | node-version: ${{ matrix.node-version }} 19 | - run: npm install 20 | - run: npm test 21 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | yarn.lock 3 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /bench.js: -------------------------------------------------------------------------------- 1 | /* global bench */ 2 | import fs from 'node:fs'; 3 | import stripCssComments from './index.js'; 4 | 5 | const fixture = fs.readFileSync('fixture.css', 'utf8'); 6 | 7 | bench('strip CSS comments', () => { 8 | stripCssComments(fixture); 9 | }); 10 | 11 | bench('preserve option', () => { 12 | stripCssComments(fixture, {preserve: /^!/}); 13 | }); 14 | 15 | bench('whitespace option', () => { 16 | stripCssComments(fixture, {whitespace: false}); 17 | }); 18 | -------------------------------------------------------------------------------- /fixture.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Bootstrap v3.2.0 (http://getbootstrap.com) 3 | * Copyright 2011-2014 Twitter, Inc. 4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5 | */ 6 | 7 | /*! normalize.css v3.0.1 | MIT License | git.io/normalize */ 8 | html { 9 | font-family: sans-serif; 10 | -webkit-text-size-adjust: 100%; 11 | -ms-text-size-adjust: 100%; 12 | } 13 | body { 14 | margin: 0; 15 | } 16 | article, 17 | aside, 18 | details, 19 | figcaption, 20 | figure, 21 | footer, 22 | header, 23 | hgroup, 24 | main, 25 | nav, 26 | section, 27 | summary { 28 | display: block; 29 | } 30 | audio, 31 | canvas, 32 | progress, 33 | video { 34 | display: inline-block; 35 | vertical-align: baseline; 36 | } 37 | audio:not([controls]) { 38 | display: none; 39 | height: 0; 40 | } 41 | [hidden], 42 | template { 43 | display: none; 44 | } 45 | /* 46 | Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. 47 | */ 48 | a { 49 | background: transparent; 50 | } 51 | a:active, 52 | a:hover { 53 | outline: 0; 54 | } 55 | abbr[title] { 56 | border-bottom: 1px dotted; 57 | } 58 | b, 59 | strong { 60 | font-weight: bold; 61 | } 62 | dfn { 63 | font-style: italic; 64 | } 65 | h1 { 66 | margin: .67em 0; 67 | font-size: 2em; 68 | } 69 | mark { 70 | color: #000; 71 | background: #ff0; 72 | } 73 | small { 74 | font-size: 80%; 75 | } 76 | sub, 77 | sup { 78 | position: relative; 79 | font-size: 75%; 80 | line-height: 0; 81 | vertical-align: baseline; 82 | } 83 | sup { 84 | top: -.5em; 85 | } 86 | sub { 87 | bottom: -.25em; 88 | } 89 | img { 90 | border: 0; 91 | } 92 | svg:not(:root) { 93 | overflow: hidden; 94 | } 95 | figure { 96 | margin: 1em 40px; 97 | } 98 | hr { 99 | height: 0; 100 | -webkit-box-sizing: content-box; 101 | -moz-box-sizing: content-box; 102 | box-sizing: content-box; 103 | } 104 | pre { 105 | overflow: auto; 106 | } 107 | code, 108 | kbd, 109 | pre, 110 | samp { 111 | font-family: monospace, monospace; 112 | font-size: 1em; 113 | } 114 | button, 115 | input, 116 | optgroup, 117 | select, 118 | textarea { 119 | margin: 0; 120 | font: inherit; 121 | color: inherit; 122 | } 123 | button { 124 | overflow: visible; 125 | } 126 | button, 127 | select { 128 | text-transform: none; 129 | } 130 | button, 131 | html input[type="button"], 132 | input[type="reset"], 133 | input[type="submit"] { 134 | -webkit-appearance: button; 135 | cursor: pointer; 136 | } 137 | button[disabled], 138 | html input[disabled] { 139 | cursor: default; 140 | } 141 | button::-moz-focus-inner, 142 | input::-moz-focus-inner { 143 | padding: 0; 144 | border: 0; 145 | } 146 | input { 147 | line-height: normal; 148 | } 149 | /* unicorn */ 150 | input[type="checkbox"], 151 | input[type="radio"] { 152 | -webkit-box-sizing: border-box; 153 | -moz-box-sizing: border-box; 154 | box-sizing: border-box; 155 | padding: 0; 156 | } 157 | input[type="number"]::-webkit-inner-spin-button, 158 | input[type="number"]::-webkit-outer-spin-button { 159 | height: auto; 160 | } 161 | input[type="search"] { 162 | -webkit-box-sizing: content-box; 163 | -moz-box-sizing: content-box; 164 | box-sizing: content-box; 165 | -webkit-appearance: textfield; 166 | } 167 | input[type="search"]::-webkit-search-cancel-button, 168 | input[type="search"]::-webkit-search-decoration { 169 | -webkit-appearance: none; 170 | } 171 | fieldset { 172 | padding: .35em .625em .75em; 173 | margin: 0 2px; 174 | border: 1px solid #c0c0c0; 175 | } 176 | legend { 177 | padding: 0; 178 | border: 0; 179 | } 180 | textarea { 181 | overflow: auto; 182 | } 183 | optgroup { 184 | font-weight: bold; 185 | } 186 | table { 187 | border-spacing: 0; 188 | border-collapse: collapse; 189 | } 190 | td, 191 | th { 192 | padding: 0; 193 | } 194 | @media print { 195 | * { 196 | color: #000 !important; 197 | text-shadow: none !important; 198 | background: transparent !important; 199 | -webkit-box-shadow: none !important; 200 | box-shadow: none !important; 201 | } 202 | a, 203 | a:visited { 204 | text-decoration: underline; 205 | } 206 | a[href]:after { 207 | content: " (" attr(href) ")"; 208 | } 209 | abbr[title]:after { 210 | content: " (" attr(title) ")"; 211 | } 212 | a[href^="javascript:"]:after, 213 | a[href^="#"]:after { 214 | content: ""; 215 | } 216 | pre, 217 | blockquote { 218 | border: 1px solid #999; 219 | 220 | page-break-inside: avoid; 221 | } 222 | thead { 223 | display: table-header-group; 224 | } 225 | tr, 226 | img { 227 | page-break-inside: avoid; 228 | } 229 | img { 230 | max-width: 100% !important; 231 | } 232 | p, 233 | h2, 234 | h3 { 235 | orphans: 3; 236 | widows: 3; 237 | } 238 | h2, 239 | h3 { 240 | page-break-after: avoid; 241 | } 242 | select { 243 | background: #fff !important; 244 | } 245 | .navbar { 246 | display: none; 247 | } 248 | .table td, 249 | .table th { 250 | background-color: #fff !important; 251 | } 252 | .btn > .caret, 253 | .dropup > .btn > .caret { 254 | border-top-color: #000 !important; 255 | } 256 | .label { 257 | border: 1px solid #000; 258 | } 259 | .table { 260 | border-collapse: collapse !important; 261 | } 262 | .table-bordered th, 263 | .table-bordered td { 264 | border: 1px solid #ddd !important; 265 | } 266 | } 267 | @font-face { 268 | font-family: 'Glyphicons Halflings'; 269 | 270 | src: url('../fonts/glyphicons-halflings-regular.eot'); 271 | src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); 272 | } 273 | .glyphicon { 274 | position: relative; 275 | top: 1px; 276 | display: inline-block; 277 | font-family: 'Glyphicons Halflings'; 278 | font-style: normal; 279 | font-weight: normal; 280 | line-height: 1; 281 | 282 | -webkit-font-smoothing: antialiased; 283 | -moz-osx-font-smoothing: grayscale; 284 | } 285 | .glyphicon-asterisk:before { 286 | content: "\2a"; 287 | } 288 | .glyphicon-plus:before { 289 | content: "\2b"; 290 | } 291 | .glyphicon-euro:before { 292 | content: "\20ac"; 293 | } 294 | .glyphicon-minus:before { 295 | content: "\2212"; 296 | } 297 | .glyphicon-cloud:before { 298 | content: "\2601"; 299 | } 300 | .glyphicon-envelope:before { 301 | content: "\2709"; 302 | } 303 | .glyphicon-pencil:before { 304 | content: "\270f"; 305 | } 306 | .glyphicon-glass:before { 307 | content: "\e001"; 308 | } 309 | .glyphicon-music:before { 310 | content: "\e002"; 311 | } 312 | .glyphicon-search:before { 313 | content: "\e003"; 314 | } 315 | .glyphicon-heart:before { 316 | content: "\e005"; 317 | } 318 | .glyphicon-star:before { 319 | content: "\e006"; 320 | } 321 | .glyphicon-star-empty:before { 322 | content: "\e007"; 323 | } 324 | .glyphicon-user:before { 325 | content: "\e008"; 326 | } 327 | .glyphicon-film:before { 328 | content: "\e009"; 329 | } 330 | .glyphicon-th-large:before { 331 | content: "\e010"; 332 | } 333 | .glyphicon-th:before { 334 | content: "\e011"; 335 | } 336 | .glyphicon-th-list:before { 337 | content: "\e012"; 338 | } 339 | .glyphicon-ok:before { 340 | content: "\e013"; 341 | } 342 | .glyphicon-remove:before { 343 | content: "\e014"; 344 | } 345 | .glyphicon-zoom-in:before { 346 | content: "\e015"; 347 | } 348 | .glyphicon-zoom-out:before { 349 | content: "\e016"; 350 | } 351 | .glyphicon-off:before { 352 | content: "\e017"; 353 | } 354 | .glyphicon-signal:before { 355 | content: "\e018"; 356 | } 357 | .glyphicon-cog:before { 358 | content: "\e019"; 359 | } 360 | .glyphicon-trash:before { 361 | content: "\e020"; 362 | } 363 | .glyphicon-home:before { 364 | content: "\e021"; 365 | } 366 | .glyphicon-file:before { 367 | content: "\e022"; 368 | } 369 | .glyphicon-time:before { 370 | content: "\e023"; 371 | } 372 | .glyphicon-road:before { 373 | content: "\e024"; 374 | } 375 | .glyphicon-download-alt:before { 376 | content: "\e025"; 377 | } 378 | .glyphicon-download:before { 379 | content: "\e026"; 380 | } 381 | .glyphicon-upload:before { 382 | content: "\e027"; 383 | } 384 | .glyphicon-inbox:before { 385 | content: "\e028"; 386 | } 387 | .glyphicon-play-circle:before { 388 | content: "\e029"; 389 | } 390 | .glyphicon-repeat:before { 391 | content: "\e030"; 392 | } 393 | .glyphicon-refresh:before { 394 | content: "\e031"; 395 | } 396 | .glyphicon-list-alt:before { 397 | content: "\e032"; 398 | } 399 | .glyphicon-lock:before { 400 | content: "\e033"; 401 | } 402 | .glyphicon-flag:before { 403 | content: "\e034"; 404 | } 405 | .glyphicon-headphones:before { 406 | content: "\e035"; 407 | } 408 | .glyphicon-volume-off:before { 409 | content: "\e036"; 410 | } 411 | .glyphicon-volume-down:before { 412 | content: "\e037"; 413 | } 414 | .glyphicon-volume-up:before { 415 | content: "\e038"; 416 | } 417 | .glyphicon-qrcode:before { 418 | content: "\e039"; 419 | } 420 | .glyphicon-barcode:before { 421 | content: "\e040"; 422 | } 423 | .glyphicon-tag:before { 424 | content: "\e041"; 425 | } 426 | .glyphicon-tags:before { 427 | content: "\e042"; 428 | } 429 | .glyphicon-book:before { 430 | content: "\e043"; 431 | } 432 | .glyphicon-bookmark:before { 433 | content: "\e044"; 434 | } 435 | .glyphicon-print:before { 436 | content: "\e045"; 437 | } 438 | .glyphicon-camera:before { 439 | content: "\e046"; 440 | } 441 | .glyphicon-font:before { 442 | content: "\e047"; 443 | } 444 | .glyphicon-bold:before { 445 | content: "\e048"; 446 | } 447 | .glyphicon-italic:before { 448 | content: "\e049"; 449 | } 450 | .glyphicon-text-height:before { 451 | content: "\e050"; 452 | } 453 | .glyphicon-text-width:before { 454 | content: "\e051"; 455 | } 456 | .glyphicon-align-left:before { 457 | content: "\e052"; 458 | } 459 | .glyphicon-align-center:before { 460 | content: "\e053"; 461 | } 462 | .glyphicon-align-right:before { 463 | content: "\e054"; 464 | } 465 | .glyphicon-align-justify:before { 466 | content: "\e055"; 467 | } 468 | .glyphicon-list:before { 469 | content: "\e056"; 470 | } 471 | .glyphicon-indent-left:before { 472 | content: "\e057"; 473 | } 474 | .glyphicon-indent-right:before { 475 | content: "\e058"; 476 | } 477 | .glyphicon-facetime-video:before { 478 | content: "\e059"; 479 | } 480 | .glyphicon-picture:before { 481 | content: "\e060"; 482 | } 483 | .glyphicon-map-marker:before { 484 | content: "\e062"; 485 | } 486 | .glyphicon-adjust:before { 487 | content: "\e063"; 488 | } 489 | .glyphicon-tint:before { 490 | content: "\e064"; 491 | } 492 | .glyphicon-edit:before { 493 | content: "\e065"; 494 | } 495 | .glyphicon-share:before { 496 | content: "\e066"; 497 | } 498 | .glyphicon-check:before { 499 | content: "\e067"; 500 | } 501 | .glyphicon-move:before { 502 | content: "\e068"; 503 | } 504 | .glyphicon-step-backward:before { 505 | content: "\e069"; 506 | } 507 | .glyphicon-fast-backward:before { 508 | content: "\e070"; 509 | } 510 | .glyphicon-backward:before { 511 | content: "\e071"; 512 | } 513 | .glyphicon-play:before { 514 | content: "\e072"; 515 | } 516 | .glyphicon-pause:before { 517 | content: "\e073"; 518 | } 519 | .glyphicon-stop:before { 520 | content: "\e074"; 521 | } 522 | .glyphicon-forward:before { 523 | content: "\e075"; 524 | } 525 | .glyphicon-fast-forward:before { 526 | content: "\e076"; 527 | } 528 | .glyphicon-step-forward:before { 529 | content: "\e077"; 530 | } 531 | .glyphicon-eject:before { 532 | content: "\e078"; 533 | } 534 | .glyphicon-chevron-left:before { 535 | content: "\e079"; 536 | } 537 | .glyphicon-chevron-right:before { 538 | content: "\e080"; 539 | } 540 | .glyphicon-plus-sign:before { 541 | content: "\e081"; 542 | } 543 | .glyphicon-minus-sign:before { 544 | content: "\e082"; 545 | } 546 | .glyphicon-remove-sign:before { 547 | content: "\e083"; 548 | } 549 | .glyphicon-ok-sign:before { 550 | content: "\e084"; 551 | } 552 | .glyphicon-question-sign:before { 553 | content: "\e085"; 554 | } 555 | .glyphicon-info-sign:before { 556 | content: "\e086"; 557 | } 558 | .glyphicon-screenshot:before { 559 | content: "\e087"; 560 | } 561 | .glyphicon-remove-circle:before { 562 | content: "\e088"; 563 | } 564 | .glyphicon-ok-circle:before { 565 | content: "\e089"; 566 | } 567 | .glyphicon-ban-circle:before { 568 | content: "\e090"; 569 | } 570 | .glyphicon-arrow-left:before { 571 | content: "\e091"; 572 | } 573 | .glyphicon-arrow-right:before { 574 | content: "\e092"; 575 | } 576 | .glyphicon-arrow-up:before { 577 | content: "\e093"; 578 | } 579 | .glyphicon-arrow-down:before { 580 | content: "\e094"; 581 | } 582 | .glyphicon-share-alt:before { 583 | content: "\e095"; 584 | } 585 | .glyphicon-resize-full:before { 586 | content: "\e096"; 587 | } 588 | .glyphicon-resize-small:before { 589 | content: "\e097"; 590 | } 591 | .glyphicon-exclamation-sign:before { 592 | content: "\e101"; 593 | } 594 | .glyphicon-gift:before { 595 | content: "\e102"; 596 | } 597 | .glyphicon-leaf:before { 598 | content: "\e103"; 599 | } 600 | .glyphicon-fire:before { 601 | content: "\e104"; 602 | } 603 | .glyphicon-eye-open:before { 604 | content: "\e105"; 605 | } 606 | .glyphicon-eye-close:before { 607 | content: "\e106"; 608 | } 609 | .glyphicon-warning-sign:before { 610 | content: "\e107"; 611 | } 612 | .glyphicon-plane:before { 613 | content: "\e108"; 614 | } 615 | .glyphicon-calendar:before { 616 | content: "\e109"; 617 | } 618 | .glyphicon-random:before { 619 | content: "\e110"; 620 | } 621 | .glyphicon-comment:before { 622 | content: "\e111"; 623 | } 624 | .glyphicon-magnet:before { 625 | content: "\e112"; 626 | } 627 | .glyphicon-chevron-up:before { 628 | content: "\e113"; 629 | } 630 | .glyphicon-chevron-down:before { 631 | content: "\e114"; 632 | } 633 | .glyphicon-retweet:before { 634 | content: "\e115"; 635 | } 636 | .glyphicon-shopping-cart:before { 637 | content: "\e116"; 638 | } 639 | .glyphicon-folder-close:before { 640 | content: "\e117"; 641 | } 642 | .glyphicon-folder-open:before { 643 | content: "\e118"; 644 | } 645 | .glyphicon-resize-vertical:before { 646 | content: "\e119"; 647 | } 648 | .glyphicon-resize-horizontal:before { 649 | content: "\e120"; 650 | } 651 | .glyphicon-hdd:before { 652 | content: "\e121"; 653 | } 654 | .glyphicon-bullhorn:before { 655 | content: "\e122"; 656 | } 657 | .glyphicon-bell:before { 658 | content: "\e123"; 659 | } 660 | .glyphicon-certificate:before { 661 | content: "\e124"; 662 | } 663 | .glyphicon-thumbs-up:before { 664 | content: "\e125"; 665 | } 666 | .glyphicon-thumbs-down:before { 667 | content: "\e126"; 668 | } 669 | .glyphicon-hand-right:before { 670 | content: "\e127"; 671 | } 672 | .glyphicon-hand-left:before { 673 | content: "\e128"; 674 | } 675 | .glyphicon-hand-up:before { 676 | content: "\e129"; 677 | } 678 | .glyphicon-hand-down:before { 679 | content: "\e130"; 680 | } 681 | .glyphicon-circle-arrow-right:before { 682 | content: "\e131"; 683 | } 684 | .glyphicon-circle-arrow-left:before { 685 | content: "\e132"; 686 | } 687 | .glyphicon-circle-arrow-up:before { 688 | content: "\e133"; 689 | } 690 | .glyphicon-circle-arrow-down:before { 691 | content: "\e134"; 692 | } 693 | .glyphicon-globe:before { 694 | content: "\e135"; 695 | } 696 | .glyphicon-wrench:before { 697 | content: "\e136"; 698 | } 699 | .glyphicon-tasks:before { 700 | content: "\e137"; 701 | } 702 | .glyphicon-filter:before { 703 | content: "\e138"; 704 | } 705 | .glyphicon-briefcase:before { 706 | content: "\e139"; 707 | } 708 | .glyphicon-fullscreen:before { 709 | content: "\e140"; 710 | } 711 | .glyphicon-dashboard:before { 712 | content: "\e141"; 713 | } 714 | .glyphicon-paperclip:before { 715 | content: "\e142"; 716 | } 717 | .glyphicon-heart-empty:before { 718 | content: "\e143"; 719 | } 720 | .glyphicon-link:before { 721 | content: "\e144"; 722 | } 723 | .glyphicon-phone:before { 724 | content: "\e145"; 725 | } 726 | .glyphicon-pushpin:before { 727 | content: "\e146"; 728 | } 729 | .glyphicon-usd:before { 730 | content: "\e148"; 731 | } 732 | .glyphicon-gbp:before { 733 | content: "\e149"; 734 | } 735 | .glyphicon-sort:before { 736 | content: "\e150"; 737 | } 738 | .glyphicon-sort-by-alphabet:before { 739 | content: "\e151"; 740 | } 741 | .glyphicon-sort-by-alphabet-alt:before { 742 | content: "\e152"; 743 | } 744 | .glyphicon-sort-by-order:before { 745 | content: "\e153"; 746 | } 747 | .glyphicon-sort-by-order-alt:before { 748 | content: "\e154"; 749 | } 750 | .glyphicon-sort-by-attributes:before { 751 | content: "\e155"; 752 | } 753 | .glyphicon-sort-by-attributes-alt:before { 754 | content: "\e156"; 755 | } 756 | .glyphicon-unchecked:before { 757 | content: "\e157"; 758 | } 759 | .glyphicon-expand:before { 760 | content: "\e158"; 761 | } 762 | .glyphicon-collapse-down:before { 763 | content: "\e159"; 764 | } 765 | .glyphicon-collapse-up:before { 766 | content: "\e160"; 767 | } 768 | .glyphicon-log-in:before { 769 | content: "\e161"; 770 | } 771 | .glyphicon-flash:before { 772 | content: "\e162"; 773 | } 774 | .glyphicon-log-out:before { 775 | content: "\e163"; 776 | } 777 | .glyphicon-new-window:before { 778 | content: "\e164"; 779 | } 780 | .glyphicon-record:before { 781 | content: "\e165"; 782 | } 783 | .glyphicon-save:before { 784 | content: "\e166"; 785 | } 786 | .glyphicon-open:before { 787 | content: "\e167"; 788 | } 789 | .glyphicon-saved:before { 790 | content: "\e168"; 791 | } 792 | .glyphicon-import:before { 793 | content: "\e169"; 794 | } 795 | .glyphicon-export:before { 796 | content: "\e170"; 797 | } 798 | .glyphicon-send:before { 799 | content: "\e171"; 800 | } 801 | .glyphicon-floppy-disk:before { 802 | content: "\e172"; 803 | } 804 | .glyphicon-floppy-saved:before { 805 | content: "\e173"; 806 | } 807 | .glyphicon-floppy-remove:before { 808 | content: "\e174"; 809 | } 810 | .glyphicon-floppy-save:before { 811 | content: "\e175"; 812 | } 813 | .glyphicon-floppy-open:before { 814 | content: "\e176"; 815 | } 816 | .glyphicon-credit-card:before { 817 | content: "\e177"; 818 | } 819 | .glyphicon-transfer:before { 820 | content: "\e178"; 821 | } 822 | .glyphicon-cutlery:before { 823 | content: "\e179"; 824 | } 825 | .glyphicon-header:before { 826 | content: "\e180"; 827 | } 828 | .glyphicon-compressed:before { 829 | content: "\e181"; 830 | } 831 | .glyphicon-earphone:before { 832 | content: "\e182"; 833 | } 834 | .glyphicon-phone-alt:before { 835 | content: "\e183"; 836 | } 837 | .glyphicon-tower:before { 838 | content: "\e184"; 839 | } 840 | .glyphicon-stats:before { 841 | content: "\e185"; 842 | } 843 | .glyphicon-sd-video:before { 844 | content: "\e186"; 845 | } 846 | .glyphicon-hd-video:before { 847 | content: "\e187"; 848 | } 849 | .glyphicon-subtitles:before { 850 | content: "\e188"; 851 | } 852 | .glyphicon-sound-stereo:before { 853 | content: "\e189"; 854 | } 855 | .glyphicon-sound-dolby:before { 856 | content: "\e190"; 857 | } 858 | .glyphicon-sound-5-1:before { 859 | content: "\e191"; 860 | } 861 | .glyphicon-sound-6-1:before { 862 | content: "\e192"; 863 | } 864 | .glyphicon-sound-7-1:before { 865 | content: "\e193"; 866 | } 867 | .glyphicon-copyright-mark:before { 868 | content: "\e194"; 869 | } 870 | .glyphicon-registration-mark:before { 871 | content: "\e195"; 872 | } 873 | .glyphicon-cloud-download:before { 874 | content: "\e197"; 875 | } 876 | .glyphicon-cloud-upload:before { 877 | content: "\e198"; 878 | } 879 | .glyphicon-tree-conifer:before { 880 | content: "\e199"; 881 | } 882 | .glyphicon-tree-deciduous:before { 883 | content: "\e200"; 884 | } 885 | * { 886 | -webkit-box-sizing: border-box; 887 | -moz-box-sizing: border-box; 888 | box-sizing: border-box; 889 | } 890 | *:before, 891 | *:after { 892 | -webkit-box-sizing: border-box; 893 | -moz-box-sizing: border-box; 894 | box-sizing: border-box; 895 | } 896 | html { 897 | font-size: 10px; 898 | 899 | -webkit-tap-highlight-color: rgba(0, 0, 0, 0); 900 | } 901 | body { 902 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 903 | font-size: 14px; 904 | line-height: 1.42857143; 905 | color: #333; 906 | background-color: #fff; 907 | } 908 | input, 909 | button, 910 | select, 911 | textarea { 912 | font-family: inherit; 913 | font-size: inherit; 914 | line-height: inherit; 915 | } 916 | a { 917 | color: #428bca; 918 | text-decoration: none; 919 | } 920 | a:hover, 921 | a:focus { 922 | color: #2a6496; 923 | text-decoration: underline; 924 | } 925 | a:focus { 926 | outline: thin dotted; 927 | outline: 5px auto -webkit-focus-ring-color; 928 | outline-offset: -2px; 929 | } 930 | figure { 931 | margin: 0; 932 | } 933 | img { 934 | vertical-align: middle; 935 | } 936 | .img-responsive, 937 | .thumbnail > img, 938 | .thumbnail a > img, 939 | .carousel-inner > .item > img, 940 | .carousel-inner > .item > a > img { 941 | display: block; 942 | width: 100% \9; 943 | max-width: 100%; 944 | height: auto; 945 | } 946 | .img-rounded { 947 | border-radius: 6px; 948 | } 949 | .img-thumbnail { 950 | display: inline-block; 951 | width: 100% \9; 952 | max-width: 100%; 953 | height: auto; 954 | padding: 4px; 955 | line-height: 1.42857143; 956 | background-color: #fff; 957 | border: 1px solid #ddd; 958 | border-radius: 4px; 959 | -webkit-transition: all .2s ease-in-out; 960 | -o-transition: all .2s ease-in-out; 961 | transition: all .2s ease-in-out; 962 | } 963 | .img-circle { 964 | border-radius: 50%; 965 | } 966 | hr { 967 | margin-top: 20px; 968 | margin-bottom: 20px; 969 | border: 0; 970 | border-top: 1px solid #eee; 971 | } 972 | .sr-only { 973 | position: absolute; 974 | width: 1px; 975 | height: 1px; 976 | padding: 0; 977 | margin: -1px; 978 | overflow: hidden; 979 | clip: rect(0, 0, 0, 0); 980 | border: 0; 981 | } 982 | .sr-only-focusable:active, 983 | .sr-only-focusable:focus { 984 | position: static; 985 | width: auto; 986 | height: auto; 987 | margin: 0; 988 | overflow: visible; 989 | clip: auto; 990 | } 991 | h1, 992 | h2, 993 | h3, 994 | h4, 995 | h5, 996 | h6, 997 | .h1, 998 | .h2, 999 | .h3, 1000 | .h4, 1001 | .h5, 1002 | .h6 { 1003 | font-family: inherit; 1004 | font-weight: 500; 1005 | line-height: 1.1; 1006 | color: inherit; 1007 | } 1008 | h1 small, 1009 | h2 small, 1010 | h3 small, 1011 | h4 small, 1012 | h5 small, 1013 | h6 small, 1014 | .h1 small, 1015 | .h2 small, 1016 | .h3 small, 1017 | .h4 small, 1018 | .h5 small, 1019 | .h6 small, 1020 | h1 .small, 1021 | h2 .small, 1022 | h3 .small, 1023 | h4 .small, 1024 | h5 .small, 1025 | h6 .small, 1026 | .h1 .small, 1027 | .h2 .small, 1028 | .h3 .small, 1029 | .h4 .small, 1030 | .h5 .small, 1031 | .h6 .small { 1032 | font-weight: normal; 1033 | line-height: 1; 1034 | color: #777; 1035 | } 1036 | h1, 1037 | .h1, 1038 | h2, 1039 | .h2, 1040 | h3, 1041 | .h3 { 1042 | margin-top: 20px; 1043 | margin-bottom: 10px; 1044 | } 1045 | h1 small, 1046 | .h1 small, 1047 | h2 small, 1048 | .h2 small, 1049 | h3 small, 1050 | .h3 small, 1051 | h1 .small, 1052 | .h1 .small, 1053 | h2 .small, 1054 | .h2 .small, 1055 | h3 .small, 1056 | .h3 .small { 1057 | font-size: 65%; 1058 | } 1059 | h4, 1060 | .h4, 1061 | h5, 1062 | .h5, 1063 | h6, 1064 | .h6 { 1065 | margin-top: 10px; 1066 | margin-bottom: 10px; 1067 | } 1068 | h4 small, 1069 | .h4 small, 1070 | h5 small, 1071 | .h5 small, 1072 | h6 small, 1073 | .h6 small, 1074 | h4 .small, 1075 | .h4 .small, 1076 | h5 .small, 1077 | .h5 .small, 1078 | h6 .small, 1079 | .h6 .small { 1080 | font-size: 75%; 1081 | } 1082 | h1, 1083 | .h1 { 1084 | font-size: 36px; 1085 | } 1086 | h2, 1087 | .h2 { 1088 | font-size: 30px; 1089 | } 1090 | h3, 1091 | .h3 { 1092 | font-size: 24px; 1093 | } 1094 | h4, 1095 | .h4 { 1096 | font-size: 18px; 1097 | } 1098 | h5, 1099 | .h5 { 1100 | font-size: 14px; 1101 | } 1102 | h6, 1103 | .h6 { 1104 | font-size: 12px; 1105 | } 1106 | p { 1107 | margin: 0 0 10px; 1108 | } 1109 | .lead { 1110 | margin-bottom: 20px; 1111 | font-size: 16px; 1112 | font-weight: 300; 1113 | line-height: 1.4; 1114 | } 1115 | @media (min-width: 768px) { 1116 | .lead { 1117 | font-size: 21px; 1118 | } 1119 | } 1120 | small, 1121 | .small { 1122 | font-size: 85%; 1123 | } 1124 | cite { 1125 | font-style: normal; 1126 | } 1127 | mark, 1128 | .mark { 1129 | padding: .2em; 1130 | background-color: #fcf8e3; 1131 | } 1132 | .text-left { 1133 | text-align: left; 1134 | } 1135 | .text-right { 1136 | text-align: right; 1137 | } 1138 | .text-center { 1139 | text-align: center; 1140 | } 1141 | .text-justify { 1142 | text-align: justify; 1143 | } 1144 | .text-nowrap { 1145 | white-space: nowrap; 1146 | } 1147 | .text-lowercase { 1148 | text-transform: lowercase; 1149 | } 1150 | .text-uppercase { 1151 | text-transform: uppercase; 1152 | } 1153 | .text-capitalize { 1154 | text-transform: capitalize; 1155 | } 1156 | .text-muted { 1157 | color: #777; 1158 | } 1159 | .text-primary { 1160 | color: #428bca; 1161 | } 1162 | a.text-primary:hover { 1163 | color: #3071a9; 1164 | } 1165 | .text-success { 1166 | color: #3c763d; 1167 | } 1168 | a.text-success:hover { 1169 | color: #2b542c; 1170 | } 1171 | .text-info { 1172 | color: #31708f; 1173 | } 1174 | a.text-info:hover { 1175 | color: #245269; 1176 | } 1177 | .text-warning { 1178 | color: #8a6d3b; 1179 | } 1180 | a.text-warning:hover { 1181 | color: #66512c; 1182 | } 1183 | .text-danger { 1184 | color: #a94442; 1185 | } 1186 | a.text-danger:hover { 1187 | color: #843534; 1188 | } 1189 | .bg-primary { 1190 | color: #fff; 1191 | background-color: #428bca; 1192 | } 1193 | a.bg-primary:hover { 1194 | background-color: #3071a9; 1195 | } 1196 | .bg-success { 1197 | background-color: #dff0d8; 1198 | } 1199 | a.bg-success:hover { 1200 | background-color: #c1e2b3; 1201 | } 1202 | .bg-info { 1203 | background-color: #d9edf7; 1204 | } 1205 | a.bg-info:hover { 1206 | background-color: #afd9ee; 1207 | } 1208 | .bg-warning { 1209 | background-color: #fcf8e3; 1210 | } 1211 | a.bg-warning:hover { 1212 | background-color: #f7ecb5; 1213 | } 1214 | .bg-danger { 1215 | background-color: #f2dede; 1216 | } 1217 | a.bg-danger:hover { 1218 | background-color: #e4b9b9; 1219 | } 1220 | .page-header { 1221 | padding-bottom: 9px; 1222 | margin: 40px 0 20px; 1223 | border-bottom: 1px solid #eee; 1224 | } 1225 | ul, 1226 | ol { 1227 | margin-top: 0; 1228 | margin-bottom: 10px; 1229 | } 1230 | ul ul, 1231 | ol ul, 1232 | ul ol, 1233 | ol ol { 1234 | margin-bottom: 0; 1235 | } 1236 | .list-unstyled { 1237 | padding-left: 0; 1238 | list-style: none; 1239 | } 1240 | .list-inline { 1241 | padding-left: 0; 1242 | margin-left: -5px; 1243 | list-style: none; 1244 | } 1245 | .list-inline > li { 1246 | display: inline-block; 1247 | padding-right: 5px; 1248 | padding-left: 5px; 1249 | } 1250 | dl { 1251 | margin-top: 0; 1252 | margin-bottom: 20px; 1253 | } 1254 | dt, 1255 | dd { 1256 | line-height: 1.42857143; 1257 | } 1258 | dt { 1259 | font-weight: bold; 1260 | } 1261 | dd { 1262 | margin-left: 0; 1263 | } 1264 | @media (min-width: 768px) { 1265 | .dl-horizontal dt { 1266 | float: left; 1267 | width: 160px; 1268 | overflow: hidden; 1269 | clear: left; 1270 | text-align: right; 1271 | text-overflow: ellipsis; 1272 | white-space: nowrap; 1273 | } 1274 | .dl-horizontal dd { 1275 | margin-left: 180px; 1276 | } 1277 | } 1278 | abbr[title], 1279 | abbr[data-original-title] { 1280 | cursor: help; 1281 | border-bottom: 1px dotted #777; 1282 | } 1283 | .initialism { 1284 | font-size: 90%; 1285 | text-transform: uppercase; 1286 | } 1287 | blockquote { 1288 | padding: 10px 20px; 1289 | margin: 0 0 20px; 1290 | font-size: 17.5px; 1291 | border-left: 5px solid #eee; 1292 | } 1293 | blockquote p:last-child, 1294 | blockquote ul:last-child, 1295 | blockquote ol:last-child { 1296 | margin-bottom: 0; 1297 | } 1298 | blockquote footer, 1299 | blockquote small, 1300 | blockquote .small { 1301 | display: block; 1302 | font-size: 80%; 1303 | line-height: 1.42857143; 1304 | color: #777; 1305 | } 1306 | blockquote footer:before, 1307 | blockquote small:before, 1308 | blockquote .small:before { 1309 | content: '\2014 \00A0'; 1310 | } 1311 | .blockquote-reverse, 1312 | blockquote.pull-right { 1313 | padding-right: 15px; 1314 | padding-left: 0; 1315 | text-align: right; 1316 | border-right: 5px solid #eee; 1317 | border-left: 0; 1318 | } 1319 | .blockquote-reverse footer:before, 1320 | blockquote.pull-right footer:before, 1321 | .blockquote-reverse small:before, 1322 | blockquote.pull-right small:before, 1323 | .blockquote-reverse .small:before, 1324 | blockquote.pull-right .small:before { 1325 | content: ''; 1326 | } 1327 | .blockquote-reverse footer:after, 1328 | blockquote.pull-right footer:after, 1329 | .blockquote-reverse small:after, 1330 | blockquote.pull-right small:after, 1331 | .blockquote-reverse .small:after, 1332 | blockquote.pull-right .small:after { 1333 | content: '\00A0 \2014'; 1334 | } 1335 | blockquote:before, 1336 | blockquote:after { 1337 | content: ""; 1338 | } 1339 | address { 1340 | margin-bottom: 20px; 1341 | font-style: normal; 1342 | line-height: 1.42857143; 1343 | } 1344 | code, 1345 | kbd, 1346 | pre, 1347 | samp { 1348 | font-family: Menlo, Monaco, Consolas, "Courier New", monospace; 1349 | } 1350 | code { 1351 | padding: 2px 4px; 1352 | font-size: 90%; 1353 | color: #c7254e; 1354 | background-color: #f9f2f4; 1355 | border-radius: 4px; 1356 | } 1357 | kbd { 1358 | padding: 2px 4px; 1359 | font-size: 90%; 1360 | color: #fff; 1361 | background-color: #333; 1362 | border-radius: 3px; 1363 | -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); 1364 | box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .25); 1365 | } 1366 | kbd kbd { 1367 | padding: 0; 1368 | font-size: 100%; 1369 | -webkit-box-shadow: none; 1370 | box-shadow: none; 1371 | } 1372 | pre { 1373 | display: block; 1374 | padding: 9.5px; 1375 | margin: 0 0 10px; 1376 | font-size: 13px; 1377 | line-height: 1.42857143; 1378 | color: #333; 1379 | word-break: break-all; 1380 | word-wrap: break-word; 1381 | background-color: #f5f5f5; 1382 | border: 1px solid #ccc; 1383 | border-radius: 4px; 1384 | } 1385 | pre code { 1386 | padding: 0; 1387 | font-size: inherit; 1388 | color: inherit; 1389 | white-space: pre-wrap; 1390 | background-color: transparent; 1391 | border-radius: 0; 1392 | } 1393 | .pre-scrollable { 1394 | max-height: 340px; 1395 | overflow-y: scroll; 1396 | } 1397 | .container { 1398 | padding-right: 15px; 1399 | padding-left: 15px; 1400 | margin-right: auto; 1401 | margin-left: auto; 1402 | } 1403 | @media (min-width: 768px) { 1404 | .container { 1405 | width: 750px; 1406 | } 1407 | } 1408 | @media (min-width: 992px) { 1409 | .container { 1410 | width: 970px; 1411 | } 1412 | } 1413 | @media (min-width: 1200px) { 1414 | .container { 1415 | width: 1170px; 1416 | } 1417 | } 1418 | .container-fluid { 1419 | padding-right: 15px; 1420 | padding-left: 15px; 1421 | margin-right: auto; 1422 | margin-left: auto; 1423 | } 1424 | .row { 1425 | margin-right: -15px; 1426 | margin-left: -15px; 1427 | } 1428 | .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { 1429 | position: relative; 1430 | min-height: 1px; 1431 | padding-right: 15px; 1432 | padding-left: 15px; 1433 | } 1434 | .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { 1435 | float: left; 1436 | } 1437 | .col-xs-12 { 1438 | width: 100%; 1439 | } 1440 | .col-xs-11 { 1441 | width: 91.66666667%; 1442 | } 1443 | .col-xs-10 { 1444 | width: 83.33333333%; 1445 | } 1446 | .col-xs-9 { 1447 | width: 75%; 1448 | } 1449 | .col-xs-8 { 1450 | width: 66.66666667%; 1451 | } 1452 | .col-xs-7 { 1453 | width: 58.33333333%; 1454 | } 1455 | .col-xs-6 { 1456 | width: 50%; 1457 | } 1458 | .col-xs-5 { 1459 | width: 41.66666667%; 1460 | } 1461 | .col-xs-4 { 1462 | width: 33.33333333%; 1463 | } 1464 | .col-xs-3 { 1465 | width: 25%; 1466 | } 1467 | .col-xs-2 { 1468 | width: 16.66666667%; 1469 | } 1470 | .col-xs-1 { 1471 | width: 8.33333333%; 1472 | } 1473 | .col-xs-pull-12 { 1474 | right: 100%; 1475 | } 1476 | .col-xs-pull-11 { 1477 | right: 91.66666667%; 1478 | } 1479 | .col-xs-pull-10 { 1480 | right: 83.33333333%; 1481 | } 1482 | .col-xs-pull-9 { 1483 | right: 75%; 1484 | } 1485 | .col-xs-pull-8 { 1486 | right: 66.66666667%; 1487 | } 1488 | .col-xs-pull-7 { 1489 | right: 58.33333333%; 1490 | } 1491 | .col-xs-pull-6 { 1492 | right: 50%; 1493 | } 1494 | .col-xs-pull-5 { 1495 | right: 41.66666667%; 1496 | } 1497 | .col-xs-pull-4 { 1498 | right: 33.33333333%; 1499 | } 1500 | .col-xs-pull-3 { 1501 | right: 25%; 1502 | } 1503 | .col-xs-pull-2 { 1504 | right: 16.66666667%; 1505 | } 1506 | .col-xs-pull-1 { 1507 | right: 8.33333333%; 1508 | } 1509 | .col-xs-pull-0 { 1510 | right: auto; 1511 | } 1512 | .col-xs-push-12 { 1513 | left: 100%; 1514 | } 1515 | .col-xs-push-11 { 1516 | left: 91.66666667%; 1517 | } 1518 | .col-xs-push-10 { 1519 | left: 83.33333333%; 1520 | } 1521 | .col-xs-push-9 { 1522 | left: 75%; 1523 | } 1524 | .col-xs-push-8 { 1525 | left: 66.66666667%; 1526 | } 1527 | .col-xs-push-7 { 1528 | left: 58.33333333%; 1529 | } 1530 | .col-xs-push-6 { 1531 | left: 50%; 1532 | } 1533 | .col-xs-push-5 { 1534 | left: 41.66666667%; 1535 | } 1536 | .col-xs-push-4 { 1537 | left: 33.33333333%; 1538 | } 1539 | .col-xs-push-3 { 1540 | left: 25%; 1541 | } 1542 | .col-xs-push-2 { 1543 | left: 16.66666667%; 1544 | } 1545 | .col-xs-push-1 { 1546 | left: 8.33333333%; 1547 | } 1548 | .col-xs-push-0 { 1549 | left: auto; 1550 | } 1551 | .col-xs-offset-12 { 1552 | margin-left: 100%; 1553 | } 1554 | .col-xs-offset-11 { 1555 | margin-left: 91.66666667%; 1556 | } 1557 | .col-xs-offset-10 { 1558 | margin-left: 83.33333333%; 1559 | } 1560 | .col-xs-offset-9 { 1561 | margin-left: 75%; 1562 | } 1563 | .col-xs-offset-8 { 1564 | margin-left: 66.66666667%; 1565 | } 1566 | .col-xs-offset-7 { 1567 | margin-left: 58.33333333%; 1568 | } 1569 | .col-xs-offset-6 { 1570 | margin-left: 50%; 1571 | } 1572 | .col-xs-offset-5 { 1573 | margin-left: 41.66666667%; 1574 | } 1575 | .col-xs-offset-4 { 1576 | margin-left: 33.33333333%; 1577 | } 1578 | .col-xs-offset-3 { 1579 | margin-left: 25%; 1580 | } 1581 | .col-xs-offset-2 { 1582 | margin-left: 16.66666667%; 1583 | } 1584 | .col-xs-offset-1 { 1585 | margin-left: 8.33333333%; 1586 | } 1587 | .col-xs-offset-0 { 1588 | margin-left: 0; 1589 | } 1590 | @media (min-width: 768px) { 1591 | .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { 1592 | float: left; 1593 | } 1594 | .col-sm-12 { 1595 | width: 100%; 1596 | } 1597 | .col-sm-11 { 1598 | width: 91.66666667%; 1599 | } 1600 | .col-sm-10 { 1601 | width: 83.33333333%; 1602 | } 1603 | .col-sm-9 { 1604 | width: 75%; 1605 | } 1606 | .col-sm-8 { 1607 | width: 66.66666667%; 1608 | } 1609 | .col-sm-7 { 1610 | width: 58.33333333%; 1611 | } 1612 | .col-sm-6 { 1613 | width: 50%; 1614 | } 1615 | .col-sm-5 { 1616 | width: 41.66666667%; 1617 | } 1618 | .col-sm-4 { 1619 | width: 33.33333333%; 1620 | } 1621 | .col-sm-3 { 1622 | width: 25%; 1623 | } 1624 | .col-sm-2 { 1625 | width: 16.66666667%; 1626 | } 1627 | .col-sm-1 { 1628 | width: 8.33333333%; 1629 | } 1630 | .col-sm-pull-12 { 1631 | right: 100%; 1632 | } 1633 | .col-sm-pull-11 { 1634 | right: 91.66666667%; 1635 | } 1636 | .col-sm-pull-10 { 1637 | right: 83.33333333%; 1638 | } 1639 | .col-sm-pull-9 { 1640 | right: 75%; 1641 | } 1642 | .col-sm-pull-8 { 1643 | right: 66.66666667%; 1644 | } 1645 | .col-sm-pull-7 { 1646 | right: 58.33333333%; 1647 | } 1648 | .col-sm-pull-6 { 1649 | right: 50%; 1650 | } 1651 | .col-sm-pull-5 { 1652 | right: 41.66666667%; 1653 | } 1654 | .col-sm-pull-4 { 1655 | right: 33.33333333%; 1656 | } 1657 | .col-sm-pull-3 { 1658 | right: 25%; 1659 | } 1660 | .col-sm-pull-2 { 1661 | right: 16.66666667%; 1662 | } 1663 | .col-sm-pull-1 { 1664 | right: 8.33333333%; 1665 | } 1666 | .col-sm-pull-0 { 1667 | right: auto; 1668 | } 1669 | .col-sm-push-12 { 1670 | left: 100%; 1671 | } 1672 | .col-sm-push-11 { 1673 | left: 91.66666667%; 1674 | } 1675 | .col-sm-push-10 { 1676 | left: 83.33333333%; 1677 | } 1678 | .col-sm-push-9 { 1679 | left: 75%; 1680 | } 1681 | .col-sm-push-8 { 1682 | left: 66.66666667%; 1683 | } 1684 | .col-sm-push-7 { 1685 | left: 58.33333333%; 1686 | } 1687 | .col-sm-push-6 { 1688 | left: 50%; 1689 | } 1690 | .col-sm-push-5 { 1691 | left: 41.66666667%; 1692 | } 1693 | .col-sm-push-4 { 1694 | left: 33.33333333%; 1695 | } 1696 | .col-sm-push-3 { 1697 | left: 25%; 1698 | } 1699 | .col-sm-push-2 { 1700 | left: 16.66666667%; 1701 | } 1702 | .col-sm-push-1 { 1703 | left: 8.33333333%; 1704 | } 1705 | .col-sm-push-0 { 1706 | left: auto; 1707 | } 1708 | .col-sm-offset-12 { 1709 | margin-left: 100%; 1710 | } 1711 | .col-sm-offset-11 { 1712 | margin-left: 91.66666667%; 1713 | } 1714 | .col-sm-offset-10 { 1715 | margin-left: 83.33333333%; 1716 | } 1717 | .col-sm-offset-9 { 1718 | margin-left: 75%; 1719 | } 1720 | .col-sm-offset-8 { 1721 | margin-left: 66.66666667%; 1722 | } 1723 | .col-sm-offset-7 { 1724 | margin-left: 58.33333333%; 1725 | } 1726 | .col-sm-offset-6 { 1727 | margin-left: 50%; 1728 | } 1729 | .col-sm-offset-5 { 1730 | margin-left: 41.66666667%; 1731 | } 1732 | .col-sm-offset-4 { 1733 | margin-left: 33.33333333%; 1734 | } 1735 | .col-sm-offset-3 { 1736 | margin-left: 25%; 1737 | } 1738 | .col-sm-offset-2 { 1739 | margin-left: 16.66666667%; 1740 | } 1741 | .col-sm-offset-1 { 1742 | margin-left: 8.33333333%; 1743 | } 1744 | .col-sm-offset-0 { 1745 | margin-left: 0; 1746 | } 1747 | } 1748 | @media (min-width: 992px) { 1749 | .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { 1750 | float: left; 1751 | } 1752 | .col-md-12 { 1753 | width: 100%; 1754 | } 1755 | .col-md-11 { 1756 | width: 91.66666667%; 1757 | } 1758 | .col-md-10 { 1759 | width: 83.33333333%; 1760 | } 1761 | .col-md-9 { 1762 | width: 75%; 1763 | } 1764 | .col-md-8 { 1765 | width: 66.66666667%; 1766 | } 1767 | .col-md-7 { 1768 | width: 58.33333333%; 1769 | } 1770 | .col-md-6 { 1771 | width: 50%; 1772 | } 1773 | .col-md-5 { 1774 | width: 41.66666667%; 1775 | } 1776 | .col-md-4 { 1777 | width: 33.33333333%; 1778 | } 1779 | .col-md-3 { 1780 | width: 25%; 1781 | } 1782 | .col-md-2 { 1783 | width: 16.66666667%; 1784 | } 1785 | .col-md-1 { 1786 | width: 8.33333333%; 1787 | } 1788 | .col-md-pull-12 { 1789 | right: 100%; 1790 | } 1791 | .col-md-pull-11 { 1792 | right: 91.66666667%; 1793 | } 1794 | .col-md-pull-10 { 1795 | right: 83.33333333%; 1796 | } 1797 | .col-md-pull-9 { 1798 | right: 75%; 1799 | } 1800 | .col-md-pull-8 { 1801 | right: 66.66666667%; 1802 | } 1803 | .col-md-pull-7 { 1804 | right: 58.33333333%; 1805 | } 1806 | .col-md-pull-6 { 1807 | right: 50%; 1808 | } 1809 | .col-md-pull-5 { 1810 | right: 41.66666667%; 1811 | } 1812 | .col-md-pull-4 { 1813 | right: 33.33333333%; 1814 | } 1815 | .col-md-pull-3 { 1816 | right: 25%; 1817 | } 1818 | .col-md-pull-2 { 1819 | right: 16.66666667%; 1820 | } 1821 | .col-md-pull-1 { 1822 | right: 8.33333333%; 1823 | } 1824 | .col-md-pull-0 { 1825 | right: auto; 1826 | } 1827 | .col-md-push-12 { 1828 | left: 100%; 1829 | } 1830 | .col-md-push-11 { 1831 | left: 91.66666667%; 1832 | } 1833 | .col-md-push-10 { 1834 | left: 83.33333333%; 1835 | } 1836 | .col-md-push-9 { 1837 | left: 75%; 1838 | } 1839 | .col-md-push-8 { 1840 | left: 66.66666667%; 1841 | } 1842 | .col-md-push-7 { 1843 | left: 58.33333333%; 1844 | } 1845 | .col-md-push-6 { 1846 | left: 50%; 1847 | } 1848 | .col-md-push-5 { 1849 | left: 41.66666667%; 1850 | } 1851 | .col-md-push-4 { 1852 | left: 33.33333333%; 1853 | } 1854 | .col-md-push-3 { 1855 | left: 25%; 1856 | } 1857 | .col-md-push-2 { 1858 | left: 16.66666667%; 1859 | } 1860 | .col-md-push-1 { 1861 | left: 8.33333333%; 1862 | } 1863 | .col-md-push-0 { 1864 | left: auto; 1865 | } 1866 | .col-md-offset-12 { 1867 | margin-left: 100%; 1868 | } 1869 | .col-md-offset-11 { 1870 | margin-left: 91.66666667%; 1871 | } 1872 | .col-md-offset-10 { 1873 | margin-left: 83.33333333%; 1874 | } 1875 | .col-md-offset-9 { 1876 | margin-left: 75%; 1877 | } 1878 | .col-md-offset-8 { 1879 | margin-left: 66.66666667%; 1880 | } 1881 | .col-md-offset-7 { 1882 | margin-left: 58.33333333%; 1883 | } 1884 | .col-md-offset-6 { 1885 | margin-left: 50%; 1886 | } 1887 | .col-md-offset-5 { 1888 | margin-left: 41.66666667%; 1889 | } 1890 | .col-md-offset-4 { 1891 | margin-left: 33.33333333%; 1892 | } 1893 | .col-md-offset-3 { 1894 | margin-left: 25%; 1895 | } 1896 | .col-md-offset-2 { 1897 | margin-left: 16.66666667%; 1898 | } 1899 | .col-md-offset-1 { 1900 | margin-left: 8.33333333%; 1901 | } 1902 | .col-md-offset-0 { 1903 | margin-left: 0; 1904 | } 1905 | } 1906 | @media (min-width: 1200px) { 1907 | .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { 1908 | float: left; 1909 | } 1910 | .col-lg-12 { 1911 | width: 100%; 1912 | } 1913 | .col-lg-11 { 1914 | width: 91.66666667%; 1915 | } 1916 | .col-lg-10 { 1917 | width: 83.33333333%; 1918 | } 1919 | .col-lg-9 { 1920 | width: 75%; 1921 | } 1922 | .col-lg-8 { 1923 | width: 66.66666667%; 1924 | } 1925 | .col-lg-7 { 1926 | width: 58.33333333%; 1927 | } 1928 | .col-lg-6 { 1929 | width: 50%; 1930 | } 1931 | .col-lg-5 { 1932 | width: 41.66666667%; 1933 | } 1934 | .col-lg-4 { 1935 | width: 33.33333333%; 1936 | } 1937 | .col-lg-3 { 1938 | width: 25%; 1939 | } 1940 | .col-lg-2 { 1941 | width: 16.66666667%; 1942 | } 1943 | .col-lg-1 { 1944 | width: 8.33333333%; 1945 | } 1946 | .col-lg-pull-12 { 1947 | right: 100%; 1948 | } 1949 | .col-lg-pull-11 { 1950 | right: 91.66666667%; 1951 | } 1952 | .col-lg-pull-10 { 1953 | right: 83.33333333%; 1954 | } 1955 | .col-lg-pull-9 { 1956 | right: 75%; 1957 | } 1958 | .col-lg-pull-8 { 1959 | right: 66.66666667%; 1960 | } 1961 | .col-lg-pull-7 { 1962 | right: 58.33333333%; 1963 | } 1964 | .col-lg-pull-6 { 1965 | right: 50%; 1966 | } 1967 | .col-lg-pull-5 { 1968 | right: 41.66666667%; 1969 | } 1970 | .col-lg-pull-4 { 1971 | right: 33.33333333%; 1972 | } 1973 | .col-lg-pull-3 { 1974 | right: 25%; 1975 | } 1976 | .col-lg-pull-2 { 1977 | right: 16.66666667%; 1978 | } 1979 | .col-lg-pull-1 { 1980 | right: 8.33333333%; 1981 | } 1982 | .col-lg-pull-0 { 1983 | right: auto; 1984 | } 1985 | .col-lg-push-12 { 1986 | left: 100%; 1987 | } 1988 | .col-lg-push-11 { 1989 | left: 91.66666667%; 1990 | } 1991 | .col-lg-push-10 { 1992 | left: 83.33333333%; 1993 | } 1994 | .col-lg-push-9 { 1995 | left: 75%; 1996 | } 1997 | .col-lg-push-8 { 1998 | left: 66.66666667%; 1999 | } 2000 | .col-lg-push-7 { 2001 | left: 58.33333333%; 2002 | } 2003 | .col-lg-push-6 { 2004 | left: 50%; 2005 | } 2006 | .col-lg-push-5 { 2007 | left: 41.66666667%; 2008 | } 2009 | .col-lg-push-4 { 2010 | left: 33.33333333%; 2011 | } 2012 | .col-lg-push-3 { 2013 | left: 25%; 2014 | } 2015 | .col-lg-push-2 { 2016 | left: 16.66666667%; 2017 | } 2018 | .col-lg-push-1 { 2019 | left: 8.33333333%; 2020 | } 2021 | .col-lg-push-0 { 2022 | left: auto; 2023 | } 2024 | .col-lg-offset-12 { 2025 | margin-left: 100%; 2026 | } 2027 | .col-lg-offset-11 { 2028 | margin-left: 91.66666667%; 2029 | } 2030 | .col-lg-offset-10 { 2031 | margin-left: 83.33333333%; 2032 | } 2033 | .col-lg-offset-9 { 2034 | margin-left: 75%; 2035 | } 2036 | .col-lg-offset-8 { 2037 | margin-left: 66.66666667%; 2038 | } 2039 | .col-lg-offset-7 { 2040 | margin-left: 58.33333333%; 2041 | } 2042 | .col-lg-offset-6 { 2043 | margin-left: 50%; 2044 | } 2045 | .col-lg-offset-5 { 2046 | margin-left: 41.66666667%; 2047 | } 2048 | .col-lg-offset-4 { 2049 | margin-left: 33.33333333%; 2050 | } 2051 | .col-lg-offset-3 { 2052 | margin-left: 25%; 2053 | } 2054 | .col-lg-offset-2 { 2055 | margin-left: 16.66666667%; 2056 | } 2057 | .col-lg-offset-1 { 2058 | margin-left: 8.33333333%; 2059 | } 2060 | .col-lg-offset-0 { 2061 | margin-left: 0; 2062 | } 2063 | } 2064 | table { 2065 | background-color: transparent; 2066 | } 2067 | th { 2068 | text-align: left; 2069 | } 2070 | .table { 2071 | width: 100%; 2072 | max-width: 100%; 2073 | margin-bottom: 20px; 2074 | } 2075 | .table > thead > tr > th, 2076 | .table > tbody > tr > th, 2077 | .table > tfoot > tr > th, 2078 | .table > thead > tr > td, 2079 | .table > tbody > tr > td, 2080 | .table > tfoot > tr > td { 2081 | padding: 8px; 2082 | line-height: 1.42857143; 2083 | vertical-align: top; 2084 | border-top: 1px solid #ddd; 2085 | } 2086 | .table > thead > tr > th { 2087 | vertical-align: bottom; 2088 | border-bottom: 2px solid #ddd; 2089 | } 2090 | .table > caption + thead > tr:first-child > th, 2091 | .table > colgroup + thead > tr:first-child > th, 2092 | .table > thead:first-child > tr:first-child > th, 2093 | .table > caption + thead > tr:first-child > td, 2094 | .table > colgroup + thead > tr:first-child > td, 2095 | .table > thead:first-child > tr:first-child > td { 2096 | border-top: 0; 2097 | } 2098 | .table > tbody + tbody { 2099 | border-top: 2px solid #ddd; 2100 | } 2101 | .table .table { 2102 | background-color: #fff; 2103 | } 2104 | .table-condensed > thead > tr > th, 2105 | .table-condensed > tbody > tr > th, 2106 | .table-condensed > tfoot > tr > th, 2107 | .table-condensed > thead > tr > td, 2108 | .table-condensed > tbody > tr > td, 2109 | .table-condensed > tfoot > tr > td { 2110 | padding: 5px; 2111 | } 2112 | .table-bordered { 2113 | border: 1px solid #ddd; 2114 | } 2115 | .table-bordered > thead > tr > th, 2116 | .table-bordered > tbody > tr > th, 2117 | .table-bordered > tfoot > tr > th, 2118 | .table-bordered > thead > tr > td, 2119 | .table-bordered > tbody > tr > td, 2120 | .table-bordered > tfoot > tr > td { 2121 | border: 1px solid #ddd; 2122 | } 2123 | .table-bordered > thead > tr > th, 2124 | .table-bordered > thead > tr > td { 2125 | border-bottom-width: 2px; 2126 | } 2127 | .table-striped > tbody > tr:nth-child(odd) > td, 2128 | .table-striped > tbody > tr:nth-child(odd) > th { 2129 | background-color: #f9f9f9; 2130 | } 2131 | .table-hover > tbody > tr:hover > td, 2132 | .table-hover > tbody > tr:hover > th { 2133 | background-color: #f5f5f5; 2134 | } 2135 | table col[class*="col-"] { 2136 | position: static; 2137 | display: table-column; 2138 | float: none; 2139 | } 2140 | table td[class*="col-"], 2141 | table th[class*="col-"] { 2142 | position: static; 2143 | display: table-cell; 2144 | float: none; 2145 | } 2146 | .table > thead > tr > td.active, 2147 | .table > tbody > tr > td.active, 2148 | .table > tfoot > tr > td.active, 2149 | .table > thead > tr > th.active, 2150 | .table > tbody > tr > th.active, 2151 | .table > tfoot > tr > th.active, 2152 | .table > thead > tr.active > td, 2153 | .table > tbody > tr.active > td, 2154 | .table > tfoot > tr.active > td, 2155 | .table > thead > tr.active > th, 2156 | .table > tbody > tr.active > th, 2157 | .table > tfoot > tr.active > th { 2158 | background-color: #f5f5f5; 2159 | } 2160 | .table-hover > tbody > tr > td.active:hover, 2161 | .table-hover > tbody > tr > th.active:hover, 2162 | .table-hover > tbody > tr.active:hover > td, 2163 | .table-hover > tbody > tr:hover > .active, 2164 | .table-hover > tbody > tr.active:hover > th { 2165 | background-color: #e8e8e8; 2166 | } 2167 | .table > thead > tr > td.success, 2168 | .table > tbody > tr > td.success, 2169 | .table > tfoot > tr > td.success, 2170 | .table > thead > tr > th.success, 2171 | .table > tbody > tr > th.success, 2172 | .table > tfoot > tr > th.success, 2173 | .table > thead > tr.success > td, 2174 | .table > tbody > tr.success > td, 2175 | .table > tfoot > tr.success > td, 2176 | .table > thead > tr.success > th, 2177 | .table > tbody > tr.success > th, 2178 | .table > tfoot > tr.success > th { 2179 | background-color: #dff0d8; 2180 | } 2181 | .table-hover > tbody > tr > td.success:hover, 2182 | .table-hover > tbody > tr > th.success:hover, 2183 | .table-hover > tbody > tr.success:hover > td, 2184 | .table-hover > tbody > tr:hover > .success, 2185 | .table-hover > tbody > tr.success:hover > th { 2186 | background-color: #d0e9c6; 2187 | } 2188 | .table > thead > tr > td.info, 2189 | .table > tbody > tr > td.info, 2190 | .table > tfoot > tr > td.info, 2191 | .table > thead > tr > th.info, 2192 | .table > tbody > tr > th.info, 2193 | .table > tfoot > tr > th.info, 2194 | .table > thead > tr.info > td, 2195 | .table > tbody > tr.info > td, 2196 | .table > tfoot > tr.info > td, 2197 | .table > thead > tr.info > th, 2198 | .table > tbody > tr.info > th, 2199 | .table > tfoot > tr.info > th { 2200 | background-color: #d9edf7; 2201 | } 2202 | .table-hover > tbody > tr > td.info:hover, 2203 | .table-hover > tbody > tr > th.info:hover, 2204 | .table-hover > tbody > tr.info:hover > td, 2205 | .table-hover > tbody > tr:hover > .info, 2206 | .table-hover > tbody > tr.info:hover > th { 2207 | background-color: #c4e3f3; 2208 | } 2209 | .table > thead > tr > td.warning, 2210 | .table > tbody > tr > td.warning, 2211 | .table > tfoot > tr > td.warning, 2212 | .table > thead > tr > th.warning, 2213 | .table > tbody > tr > th.warning, 2214 | .table > tfoot > tr > th.warning, 2215 | .table > thead > tr.warning > td, 2216 | .table > tbody > tr.warning > td, 2217 | .table > tfoot > tr.warning > td, 2218 | .table > thead > tr.warning > th, 2219 | .table > tbody > tr.warning > th, 2220 | .table > tfoot > tr.warning > th { 2221 | background-color: #fcf8e3; 2222 | } 2223 | .table-hover > tbody > tr > td.warning:hover, 2224 | .table-hover > tbody > tr > th.warning:hover, 2225 | .table-hover > tbody > tr.warning:hover > td, 2226 | .table-hover > tbody > tr:hover > .warning, 2227 | .table-hover > tbody > tr.warning:hover > th { 2228 | background-color: #faf2cc; 2229 | } 2230 | .table > thead > tr > td.danger, 2231 | .table > tbody > tr > td.danger, 2232 | .table > tfoot > tr > td.danger, 2233 | .table > thead > tr > th.danger, 2234 | .table > tbody > tr > th.danger, 2235 | .table > tfoot > tr > th.danger, 2236 | .table > thead > tr.danger > td, 2237 | .table > tbody > tr.danger > td, 2238 | .table > tfoot > tr.danger > td, 2239 | .table > thead > tr.danger > th, 2240 | .table > tbody > tr.danger > th, 2241 | .table > tfoot > tr.danger > th { 2242 | background-color: #f2dede; 2243 | } 2244 | .table-hover > tbody > tr > td.danger:hover, 2245 | .table-hover > tbody > tr > th.danger:hover, 2246 | .table-hover > tbody > tr.danger:hover > td, 2247 | .table-hover > tbody > tr:hover > .danger, 2248 | .table-hover > tbody > tr.danger:hover > th { 2249 | background-color: #ebcccc; 2250 | } 2251 | @media screen and (max-width: 767px) { 2252 | .table-responsive { 2253 | width: 100%; 2254 | margin-bottom: 15px; 2255 | overflow-x: auto; 2256 | overflow-y: hidden; 2257 | -webkit-overflow-scrolling: touch; 2258 | -ms-overflow-style: -ms-autohiding-scrollbar; 2259 | border: 1px solid #ddd; 2260 | } 2261 | .table-responsive > .table { 2262 | margin-bottom: 0; 2263 | } 2264 | .table-responsive > .table > thead > tr > th, 2265 | .table-responsive > .table > tbody > tr > th, 2266 | .table-responsive > .table > tfoot > tr > th, 2267 | .table-responsive > .table > thead > tr > td, 2268 | .table-responsive > .table > tbody > tr > td, 2269 | .table-responsive > .table > tfoot > tr > td { 2270 | white-space: nowrap; 2271 | } 2272 | .table-responsive > .table-bordered { 2273 | border: 0; 2274 | } 2275 | .table-responsive > .table-bordered > thead > tr > th:first-child, 2276 | .table-responsive > .table-bordered > tbody > tr > th:first-child, 2277 | .table-responsive > .table-bordered > tfoot > tr > th:first-child, 2278 | .table-responsive > .table-bordered > thead > tr > td:first-child, 2279 | .table-responsive > .table-bordered > tbody > tr > td:first-child, 2280 | .table-responsive > .table-bordered > tfoot > tr > td:first-child { 2281 | border-left: 0; 2282 | } 2283 | .table-responsive > .table-bordered > thead > tr > th:last-child, 2284 | .table-responsive > .table-bordered > tbody > tr > th:last-child, 2285 | .table-responsive > .table-bordered > tfoot > tr > th:last-child, 2286 | .table-responsive > .table-bordered > thead > tr > td:last-child, 2287 | .table-responsive > .table-bordered > tbody > tr > td:last-child, 2288 | .table-responsive > .table-bordered > tfoot > tr > td:last-child { 2289 | border-right: 0; 2290 | } 2291 | .table-responsive > .table-bordered > tbody > tr:last-child > th, 2292 | .table-responsive > .table-bordered > tfoot > tr:last-child > th, 2293 | .table-responsive > .table-bordered > tbody > tr:last-child > td, 2294 | .table-responsive > .table-bordered > tfoot > tr:last-child > td { 2295 | border-bottom: 0; 2296 | } 2297 | } 2298 | fieldset { 2299 | min-width: 0; 2300 | padding: 0; 2301 | margin: 0; 2302 | border: 0; 2303 | } 2304 | legend { 2305 | display: block; 2306 | width: 100%; 2307 | padding: 0; 2308 | margin-bottom: 20px; 2309 | font-size: 21px; 2310 | line-height: inherit; 2311 | color: #333; 2312 | border: 0; 2313 | border-bottom: 1px solid #e5e5e5; 2314 | } 2315 | label { 2316 | display: inline-block; 2317 | max-width: 100%; 2318 | margin-bottom: 5px; 2319 | font-weight: bold; 2320 | } 2321 | input[type="search"] { 2322 | -webkit-box-sizing: border-box; 2323 | -moz-box-sizing: border-box; 2324 | box-sizing: border-box; 2325 | } 2326 | input[type="radio"], 2327 | input[type="checkbox"] { 2328 | margin: 4px 0 0; 2329 | margin-top: 1px \9; 2330 | line-height: normal; 2331 | } 2332 | input[type="file"] { 2333 | display: block; 2334 | } 2335 | input[type="range"] { 2336 | display: block; 2337 | width: 100%; 2338 | } 2339 | select[multiple], 2340 | select[size] { 2341 | height: auto; 2342 | } 2343 | input[type="file"]:focus, 2344 | input[type="radio"]:focus, 2345 | input[type="checkbox"]:focus { 2346 | outline: thin dotted; 2347 | outline: 5px auto -webkit-focus-ring-color; 2348 | outline-offset: -2px; 2349 | } 2350 | output { 2351 | display: block; 2352 | padding-top: 7px; 2353 | font-size: 14px; 2354 | line-height: 1.42857143; 2355 | color: #555; 2356 | } 2357 | .form-control { 2358 | display: block; 2359 | width: 100%; 2360 | height: 34px; 2361 | padding: 6px 12px; 2362 | font-size: 14px; 2363 | line-height: 1.42857143; 2364 | color: #555; 2365 | background-color: #fff; 2366 | background-image: none; 2367 | border: 1px solid #ccc; 2368 | border-radius: 4px; 2369 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 2370 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 2371 | -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; 2372 | -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; 2373 | transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; 2374 | } 2375 | .form-control:focus { 2376 | border-color: #66afe9; 2377 | outline: 0; 2378 | -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); 2379 | box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6); 2380 | } 2381 | .form-control::-moz-placeholder { 2382 | color: #777; 2383 | opacity: 1; 2384 | } 2385 | .form-control:-ms-input-placeholder { 2386 | color: #777; 2387 | } 2388 | .form-control::-webkit-input-placeholder { 2389 | color: #777; 2390 | } 2391 | .form-control[disabled], 2392 | .form-control[readonly], 2393 | fieldset[disabled] .form-control { 2394 | cursor: not-allowed; 2395 | background-color: #eee; 2396 | opacity: 1; 2397 | } 2398 | textarea.form-control { 2399 | height: auto; 2400 | } 2401 | input[type="search"] { 2402 | -webkit-appearance: none; 2403 | } 2404 | input[type="date"], 2405 | input[type="time"], 2406 | input[type="datetime-local"], 2407 | input[type="month"] { 2408 | line-height: 34px; 2409 | line-height: 1.42857143 \0; 2410 | } 2411 | input[type="date"].input-sm, 2412 | input[type="time"].input-sm, 2413 | input[type="datetime-local"].input-sm, 2414 | input[type="month"].input-sm { 2415 | line-height: 30px; 2416 | } 2417 | input[type="date"].input-lg, 2418 | input[type="time"].input-lg, 2419 | input[type="datetime-local"].input-lg, 2420 | input[type="month"].input-lg { 2421 | line-height: 46px; 2422 | } 2423 | .form-group { 2424 | margin-bottom: 15px; 2425 | } 2426 | .radio, 2427 | .checkbox { 2428 | position: relative; 2429 | display: block; 2430 | min-height: 20px; 2431 | margin-top: 10px; 2432 | margin-bottom: 10px; 2433 | } 2434 | .radio label, 2435 | .checkbox label { 2436 | padding-left: 20px; 2437 | margin-bottom: 0; 2438 | font-weight: normal; 2439 | cursor: pointer; 2440 | } 2441 | .radio input[type="radio"], 2442 | .radio-inline input[type="radio"], 2443 | .checkbox input[type="checkbox"], 2444 | .checkbox-inline input[type="checkbox"] { 2445 | position: absolute; 2446 | margin-top: 4px \9; 2447 | margin-left: -20px; 2448 | } 2449 | .radio + .radio, 2450 | .checkbox + .checkbox { 2451 | margin-top: -5px; 2452 | } 2453 | .radio-inline, 2454 | .checkbox-inline { 2455 | display: inline-block; 2456 | padding-left: 20px; 2457 | margin-bottom: 0; 2458 | font-weight: normal; 2459 | vertical-align: middle; 2460 | cursor: pointer; 2461 | } 2462 | .radio-inline + .radio-inline, 2463 | .checkbox-inline + .checkbox-inline { 2464 | margin-top: 0; 2465 | margin-left: 10px; 2466 | } 2467 | input[type="radio"][disabled], 2468 | input[type="checkbox"][disabled], 2469 | input[type="radio"].disabled, 2470 | input[type="checkbox"].disabled, 2471 | fieldset[disabled] input[type="radio"], 2472 | fieldset[disabled] input[type="checkbox"] { 2473 | cursor: not-allowed; 2474 | } 2475 | .radio-inline.disabled, 2476 | .checkbox-inline.disabled, 2477 | fieldset[disabled] .radio-inline, 2478 | fieldset[disabled] .checkbox-inline { 2479 | cursor: not-allowed; 2480 | } 2481 | .radio.disabled label, 2482 | .checkbox.disabled label, 2483 | fieldset[disabled] .radio label, 2484 | fieldset[disabled] .checkbox label { 2485 | cursor: not-allowed; 2486 | } 2487 | .form-control-static { 2488 | padding-top: 7px; 2489 | padding-bottom: 7px; 2490 | margin-bottom: 0; 2491 | } 2492 | .form-control-static.input-lg, 2493 | .form-control-static.input-sm { 2494 | padding-right: 0; 2495 | padding-left: 0; 2496 | } 2497 | .input-sm, 2498 | .form-horizontal .form-group-sm .form-control { 2499 | height: 30px; 2500 | padding: 5px 10px; 2501 | font-size: 12px; 2502 | line-height: 1.5; 2503 | border-radius: 3px; 2504 | } 2505 | select.input-sm { 2506 | height: 30px; 2507 | line-height: 30px; 2508 | } 2509 | textarea.input-sm, 2510 | select[multiple].input-sm { 2511 | height: auto; 2512 | } 2513 | .input-lg, 2514 | .form-horizontal .form-group-lg .form-control { 2515 | height: 46px; 2516 | padding: 10px 16px; 2517 | font-size: 18px; 2518 | line-height: 1.33; 2519 | border-radius: 6px; 2520 | } 2521 | select.input-lg { 2522 | height: 46px; 2523 | line-height: 46px; 2524 | } 2525 | textarea.input-lg, 2526 | select[multiple].input-lg { 2527 | height: auto; 2528 | } 2529 | .has-feedback { 2530 | position: relative; 2531 | } 2532 | .has-feedback .form-control { 2533 | padding-right: 42.5px; 2534 | } 2535 | .form-control-feedback { 2536 | position: absolute; 2537 | top: 25px; 2538 | right: 0; 2539 | z-index: 2; 2540 | display: block; 2541 | width: 34px; 2542 | height: 34px; 2543 | line-height: 34px; 2544 | text-align: center; 2545 | } 2546 | .input-lg + .form-control-feedback { 2547 | width: 46px; 2548 | height: 46px; 2549 | line-height: 46px; 2550 | } 2551 | .input-sm + .form-control-feedback { 2552 | width: 30px; 2553 | height: 30px; 2554 | line-height: 30px; 2555 | } 2556 | .has-success .help-block, 2557 | .has-success .control-label, 2558 | .has-success .radio, 2559 | .has-success .checkbox, 2560 | .has-success .radio-inline, 2561 | .has-success .checkbox-inline { 2562 | color: #3c763d; 2563 | } 2564 | .has-success .form-control { 2565 | border-color: #3c763d; 2566 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 2567 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 2568 | } 2569 | .has-success .form-control:focus { 2570 | border-color: #2b542c; 2571 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; 2572 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #67b168; 2573 | } 2574 | .has-success .input-group-addon { 2575 | color: #3c763d; 2576 | background-color: #dff0d8; 2577 | border-color: #3c763d; 2578 | } 2579 | .has-success .form-control-feedback { 2580 | color: #3c763d; 2581 | } 2582 | .has-warning .help-block, 2583 | .has-warning .control-label, 2584 | .has-warning .radio, 2585 | .has-warning .checkbox, 2586 | .has-warning .radio-inline, 2587 | .has-warning .checkbox-inline { 2588 | color: #8a6d3b; 2589 | } 2590 | .has-warning .form-control { 2591 | border-color: #8a6d3b; 2592 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 2593 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 2594 | } 2595 | .has-warning .form-control:focus { 2596 | border-color: #66512c; 2597 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; 2598 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #c0a16b; 2599 | } 2600 | .has-warning .input-group-addon { 2601 | color: #8a6d3b; 2602 | background-color: #fcf8e3; 2603 | border-color: #8a6d3b; 2604 | } 2605 | .has-warning .form-control-feedback { 2606 | color: #8a6d3b; 2607 | } 2608 | .has-error .help-block, 2609 | .has-error .control-label, 2610 | .has-error .radio, 2611 | .has-error .checkbox, 2612 | .has-error .radio-inline, 2613 | .has-error .checkbox-inline { 2614 | color: #a94442; 2615 | } 2616 | .has-error .form-control { 2617 | border-color: #a94442; 2618 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 2619 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); 2620 | } 2621 | .has-error .form-control:focus { 2622 | border-color: #843534; 2623 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; 2624 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 6px #ce8483; 2625 | } 2626 | .has-error .input-group-addon { 2627 | color: #a94442; 2628 | background-color: #f2dede; 2629 | border-color: #a94442; 2630 | } 2631 | .has-error .form-control-feedback { 2632 | color: #a94442; 2633 | } 2634 | .has-feedback label.sr-only ~ .form-control-feedback { 2635 | top: 0; 2636 | } 2637 | .help-block { 2638 | display: block; 2639 | margin-top: 5px; 2640 | margin-bottom: 10px; 2641 | color: #737373; 2642 | } 2643 | @media (min-width: 768px) { 2644 | .form-inline .form-group { 2645 | display: inline-block; 2646 | margin-bottom: 0; 2647 | vertical-align: middle; 2648 | } 2649 | .form-inline .form-control { 2650 | display: inline-block; 2651 | width: auto; 2652 | vertical-align: middle; 2653 | } 2654 | .form-inline .input-group { 2655 | display: inline-table; 2656 | vertical-align: middle; 2657 | } 2658 | .form-inline .input-group .input-group-addon, 2659 | .form-inline .input-group .input-group-btn, 2660 | .form-inline .input-group .form-control { 2661 | width: auto; 2662 | } 2663 | .form-inline .input-group > .form-control { 2664 | width: 100%; 2665 | } 2666 | .form-inline .control-label { 2667 | margin-bottom: 0; 2668 | vertical-align: middle; 2669 | } 2670 | .form-inline .radio, 2671 | .form-inline .checkbox { 2672 | display: inline-block; 2673 | margin-top: 0; 2674 | margin-bottom: 0; 2675 | vertical-align: middle; 2676 | } 2677 | .form-inline .radio label, 2678 | .form-inline .checkbox label { 2679 | padding-left: 0; 2680 | } 2681 | .form-inline .radio input[type="radio"], 2682 | .form-inline .checkbox input[type="checkbox"] { 2683 | position: relative; 2684 | margin-left: 0; 2685 | } 2686 | .form-inline .has-feedback .form-control-feedback { 2687 | top: 0; 2688 | } 2689 | } 2690 | .form-horizontal .radio, 2691 | .form-horizontal .checkbox, 2692 | .form-horizontal .radio-inline, 2693 | .form-horizontal .checkbox-inline { 2694 | padding-top: 7px; 2695 | margin-top: 0; 2696 | margin-bottom: 0; 2697 | } 2698 | .form-horizontal .radio, 2699 | .form-horizontal .checkbox { 2700 | min-height: 27px; 2701 | } 2702 | .form-horizontal .form-group { 2703 | margin-right: -15px; 2704 | margin-left: -15px; 2705 | } 2706 | @media (min-width: 768px) { 2707 | .form-horizontal .control-label { 2708 | padding-top: 7px; 2709 | margin-bottom: 0; 2710 | text-align: right; 2711 | } 2712 | } 2713 | .form-horizontal .has-feedback .form-control-feedback { 2714 | top: 0; 2715 | right: 15px; 2716 | } 2717 | @media (min-width: 768px) { 2718 | .form-horizontal .form-group-lg .control-label { 2719 | padding-top: 14.3px; 2720 | } 2721 | } 2722 | @media (min-width: 768px) { 2723 | .form-horizontal .form-group-sm .control-label { 2724 | padding-top: 6px; 2725 | } 2726 | } 2727 | .btn { 2728 | display: inline-block; 2729 | padding: 6px 12px; 2730 | margin-bottom: 0; 2731 | font-size: 14px; 2732 | font-weight: normal; 2733 | line-height: 1.42857143; 2734 | text-align: center; 2735 | white-space: nowrap; 2736 | vertical-align: middle; 2737 | cursor: pointer; 2738 | -webkit-user-select: none; 2739 | -moz-user-select: none; 2740 | -ms-user-select: none; 2741 | user-select: none; 2742 | background-image: none; 2743 | border: 1px solid transparent; 2744 | border-radius: 4px; 2745 | } 2746 | .btn:focus, 2747 | .btn:active:focus, 2748 | .btn.active:focus { 2749 | outline: thin dotted; 2750 | outline: 5px auto -webkit-focus-ring-color; 2751 | outline-offset: -2px; 2752 | } 2753 | .btn:hover, 2754 | .btn:focus { 2755 | color: #333; 2756 | text-decoration: none; 2757 | } 2758 | .btn:active, 2759 | .btn.active { 2760 | background-image: none; 2761 | outline: 0; 2762 | -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); 2763 | box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); 2764 | } 2765 | .btn.disabled, 2766 | .btn[disabled], 2767 | fieldset[disabled] .btn { 2768 | pointer-events: none; 2769 | cursor: not-allowed; 2770 | filter: alpha(opacity=65); 2771 | -webkit-box-shadow: none; 2772 | box-shadow: none; 2773 | opacity: .65; 2774 | } 2775 | .btn-default { 2776 | color: #333; 2777 | background-color: #fff; 2778 | border-color: #ccc; 2779 | } 2780 | .btn-default:hover, 2781 | .btn-default:focus, 2782 | .btn-default:active, 2783 | .btn-default.active, 2784 | .open > .dropdown-toggle.btn-default { 2785 | color: #333; 2786 | background-color: #e6e6e6; 2787 | border-color: #adadad; 2788 | } 2789 | .btn-default:active, 2790 | .btn-default.active, 2791 | .open > .dropdown-toggle.btn-default { 2792 | background-image: none; 2793 | } 2794 | .btn-default.disabled, 2795 | .btn-default[disabled], 2796 | fieldset[disabled] .btn-default, 2797 | .btn-default.disabled:hover, 2798 | .btn-default[disabled]:hover, 2799 | fieldset[disabled] .btn-default:hover, 2800 | .btn-default.disabled:focus, 2801 | .btn-default[disabled]:focus, 2802 | fieldset[disabled] .btn-default:focus, 2803 | .btn-default.disabled:active, 2804 | .btn-default[disabled]:active, 2805 | fieldset[disabled] .btn-default:active, 2806 | .btn-default.disabled.active, 2807 | .btn-default[disabled].active, 2808 | fieldset[disabled] .btn-default.active { 2809 | background-color: #fff; 2810 | border-color: #ccc; 2811 | } 2812 | .btn-default .badge { 2813 | color: #fff; 2814 | background-color: #333; 2815 | } 2816 | .btn-primary { 2817 | color: #fff; 2818 | background-color: #428bca; 2819 | border-color: #357ebd; 2820 | } 2821 | .btn-primary:hover, 2822 | .btn-primary:focus, 2823 | .btn-primary:active, 2824 | .btn-primary.active, 2825 | .open > .dropdown-toggle.btn-primary { 2826 | color: #fff; 2827 | background-color: #3071a9; 2828 | border-color: #285e8e; 2829 | } 2830 | .btn-primary:active, 2831 | .btn-primary.active, 2832 | .open > .dropdown-toggle.btn-primary { 2833 | background-image: none; 2834 | } 2835 | .btn-primary.disabled, 2836 | .btn-primary[disabled], 2837 | fieldset[disabled] .btn-primary, 2838 | .btn-primary.disabled:hover, 2839 | .btn-primary[disabled]:hover, 2840 | fieldset[disabled] .btn-primary:hover, 2841 | .btn-primary.disabled:focus, 2842 | .btn-primary[disabled]:focus, 2843 | fieldset[disabled] .btn-primary:focus, 2844 | .btn-primary.disabled:active, 2845 | .btn-primary[disabled]:active, 2846 | fieldset[disabled] .btn-primary:active, 2847 | .btn-primary.disabled.active, 2848 | .btn-primary[disabled].active, 2849 | fieldset[disabled] .btn-primary.active { 2850 | background-color: #428bca; 2851 | border-color: #357ebd; 2852 | } 2853 | .btn-primary .badge { 2854 | color: #428bca; 2855 | background-color: #fff; 2856 | } 2857 | .btn-success { 2858 | color: #fff; 2859 | background-color: #5cb85c; 2860 | border-color: #4cae4c; 2861 | } 2862 | .btn-success:hover, 2863 | .btn-success:focus, 2864 | .btn-success:active, 2865 | .btn-success.active, 2866 | .open > .dropdown-toggle.btn-success { 2867 | color: #fff; 2868 | background-color: #449d44; 2869 | border-color: #398439; 2870 | } 2871 | .btn-success:active, 2872 | .btn-success.active, 2873 | .open > .dropdown-toggle.btn-success { 2874 | background-image: none; 2875 | } 2876 | .btn-success.disabled, 2877 | .btn-success[disabled], 2878 | fieldset[disabled] .btn-success, 2879 | .btn-success.disabled:hover, 2880 | .btn-success[disabled]:hover, 2881 | fieldset[disabled] .btn-success:hover, 2882 | .btn-success.disabled:focus, 2883 | .btn-success[disabled]:focus, 2884 | fieldset[disabled] .btn-success:focus, 2885 | .btn-success.disabled:active, 2886 | .btn-success[disabled]:active, 2887 | fieldset[disabled] .btn-success:active, 2888 | .btn-success.disabled.active, 2889 | .btn-success[disabled].active, 2890 | fieldset[disabled] .btn-success.active { 2891 | background-color: #5cb85c; 2892 | border-color: #4cae4c; 2893 | } 2894 | .btn-success .badge { 2895 | color: #5cb85c; 2896 | background-color: #fff; 2897 | } 2898 | .btn-info { 2899 | color: #fff; 2900 | background-color: #5bc0de; 2901 | border-color: #46b8da; 2902 | } 2903 | .btn-info:hover, 2904 | .btn-info:focus, 2905 | .btn-info:active, 2906 | .btn-info.active, 2907 | .open > .dropdown-toggle.btn-info { 2908 | color: #fff; 2909 | background-color: #31b0d5; 2910 | border-color: #269abc; 2911 | } 2912 | .btn-info:active, 2913 | .btn-info.active, 2914 | .open > .dropdown-toggle.btn-info { 2915 | background-image: none; 2916 | } 2917 | .btn-info.disabled, 2918 | .btn-info[disabled], 2919 | fieldset[disabled] .btn-info, 2920 | .btn-info.disabled:hover, 2921 | .btn-info[disabled]:hover, 2922 | fieldset[disabled] .btn-info:hover, 2923 | .btn-info.disabled:focus, 2924 | .btn-info[disabled]:focus, 2925 | fieldset[disabled] .btn-info:focus, 2926 | .btn-info.disabled:active, 2927 | .btn-info[disabled]:active, 2928 | fieldset[disabled] .btn-info:active, 2929 | .btn-info.disabled.active, 2930 | .btn-info[disabled].active, 2931 | fieldset[disabled] .btn-info.active { 2932 | background-color: #5bc0de; 2933 | border-color: #46b8da; 2934 | } 2935 | .btn-info .badge { 2936 | color: #5bc0de; 2937 | background-color: #fff; 2938 | } 2939 | .btn-warning { 2940 | color: #fff; 2941 | background-color: #f0ad4e; 2942 | border-color: #eea236; 2943 | } 2944 | .btn-warning:hover, 2945 | .btn-warning:focus, 2946 | .btn-warning:active, 2947 | .btn-warning.active, 2948 | .open > .dropdown-toggle.btn-warning { 2949 | color: #fff; 2950 | background-color: #ec971f; 2951 | border-color: #d58512; 2952 | } 2953 | .btn-warning:active, 2954 | .btn-warning.active, 2955 | .open > .dropdown-toggle.btn-warning { 2956 | background-image: none; 2957 | } 2958 | .btn-warning.disabled, 2959 | .btn-warning[disabled], 2960 | fieldset[disabled] .btn-warning, 2961 | .btn-warning.disabled:hover, 2962 | .btn-warning[disabled]:hover, 2963 | fieldset[disabled] .btn-warning:hover, 2964 | .btn-warning.disabled:focus, 2965 | .btn-warning[disabled]:focus, 2966 | fieldset[disabled] .btn-warning:focus, 2967 | .btn-warning.disabled:active, 2968 | .btn-warning[disabled]:active, 2969 | fieldset[disabled] .btn-warning:active, 2970 | .btn-warning.disabled.active, 2971 | .btn-warning[disabled].active, 2972 | fieldset[disabled] .btn-warning.active { 2973 | background-color: #f0ad4e; 2974 | border-color: #eea236; 2975 | } 2976 | .btn-warning .badge { 2977 | color: #f0ad4e; 2978 | background-color: #fff; 2979 | } 2980 | .btn-danger { 2981 | color: #fff; 2982 | background-color: #d9534f; 2983 | border-color: #d43f3a; 2984 | } 2985 | .btn-danger:hover, 2986 | .btn-danger:focus, 2987 | .btn-danger:active, 2988 | .btn-danger.active, 2989 | .open > .dropdown-toggle.btn-danger { 2990 | color: #fff; 2991 | background-color: #c9302c; 2992 | border-color: #ac2925; 2993 | } 2994 | .btn-danger:active, 2995 | .btn-danger.active, 2996 | .open > .dropdown-toggle.btn-danger { 2997 | background-image: none; 2998 | } 2999 | .btn-danger.disabled, 3000 | .btn-danger[disabled], 3001 | fieldset[disabled] .btn-danger, 3002 | .btn-danger.disabled:hover, 3003 | .btn-danger[disabled]:hover, 3004 | fieldset[disabled] .btn-danger:hover, 3005 | .btn-danger.disabled:focus, 3006 | .btn-danger[disabled]:focus, 3007 | fieldset[disabled] .btn-danger:focus, 3008 | .btn-danger.disabled:active, 3009 | .btn-danger[disabled]:active, 3010 | fieldset[disabled] .btn-danger:active, 3011 | .btn-danger.disabled.active, 3012 | .btn-danger[disabled].active, 3013 | fieldset[disabled] .btn-danger.active { 3014 | background-color: #d9534f; 3015 | border-color: #d43f3a; 3016 | } 3017 | .btn-danger .badge { 3018 | color: #d9534f; 3019 | background-color: #fff; 3020 | } 3021 | .btn-link { 3022 | font-weight: normal; 3023 | color: #428bca; 3024 | cursor: pointer; 3025 | border-radius: 0; 3026 | } 3027 | .btn-link, 3028 | .btn-link:active, 3029 | .btn-link[disabled], 3030 | fieldset[disabled] .btn-link { 3031 | background-color: transparent; 3032 | -webkit-box-shadow: none; 3033 | box-shadow: none; 3034 | } 3035 | .btn-link, 3036 | .btn-link:hover, 3037 | .btn-link:focus, 3038 | .btn-link:active { 3039 | border-color: transparent; 3040 | } 3041 | .btn-link:hover, 3042 | .btn-link:focus { 3043 | color: #2a6496; 3044 | text-decoration: underline; 3045 | background-color: transparent; 3046 | } 3047 | .btn-link[disabled]:hover, 3048 | fieldset[disabled] .btn-link:hover, 3049 | .btn-link[disabled]:focus, 3050 | fieldset[disabled] .btn-link:focus { 3051 | color: #777; 3052 | text-decoration: none; 3053 | } 3054 | .btn-lg, 3055 | .btn-group-lg > .btn { 3056 | padding: 10px 16px; 3057 | font-size: 18px; 3058 | line-height: 1.33; 3059 | border-radius: 6px; 3060 | } 3061 | .btn-sm, 3062 | .btn-group-sm > .btn { 3063 | padding: 5px 10px; 3064 | font-size: 12px; 3065 | line-height: 1.5; 3066 | border-radius: 3px; 3067 | } 3068 | .btn-xs, 3069 | .btn-group-xs > .btn { 3070 | padding: 1px 5px; 3071 | font-size: 12px; 3072 | line-height: 1.5; 3073 | border-radius: 3px; 3074 | } 3075 | .btn-block { 3076 | display: block; 3077 | width: 100%; 3078 | } 3079 | .btn-block + .btn-block { 3080 | margin-top: 5px; 3081 | } 3082 | input[type="submit"].btn-block, 3083 | input[type="reset"].btn-block, 3084 | input[type="button"].btn-block { 3085 | width: 100%; 3086 | } 3087 | .fade { 3088 | opacity: 0; 3089 | -webkit-transition: opacity .15s linear; 3090 | -o-transition: opacity .15s linear; 3091 | transition: opacity .15s linear; 3092 | } 3093 | .fade.in { 3094 | opacity: 1; 3095 | } 3096 | .collapse { 3097 | display: none; 3098 | } 3099 | .collapse.in { 3100 | display: block; 3101 | } 3102 | tr.collapse.in { 3103 | display: table-row; 3104 | } 3105 | tbody.collapse.in { 3106 | display: table-row-group; 3107 | } 3108 | .collapsing { 3109 | position: relative; 3110 | height: 0; 3111 | overflow: hidden; 3112 | -webkit-transition: height .35s ease; 3113 | -o-transition: height .35s ease; 3114 | transition: height .35s ease; 3115 | } 3116 | .caret { 3117 | display: inline-block; 3118 | width: 0; 3119 | height: 0; 3120 | margin-left: 2px; 3121 | vertical-align: middle; 3122 | border-top: 4px solid; 3123 | border-right: 4px solid transparent; 3124 | border-left: 4px solid transparent; 3125 | } 3126 | .dropdown { 3127 | position: relative; 3128 | } 3129 | .dropdown-toggle:focus { 3130 | outline: 0; 3131 | } 3132 | .dropdown-menu { 3133 | position: absolute; 3134 | top: 100%; 3135 | left: 0; 3136 | z-index: 1000; 3137 | display: none; 3138 | float: left; 3139 | min-width: 160px; 3140 | padding: 5px 0; 3141 | margin: 2px 0 0; 3142 | font-size: 14px; 3143 | text-align: left; 3144 | list-style: none; 3145 | background-color: #fff; 3146 | -webkit-background-clip: padding-box; 3147 | background-clip: padding-box; 3148 | border: 1px solid #ccc; 3149 | border: 1px solid rgba(0, 0, 0, .15); 3150 | border-radius: 4px; 3151 | -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175); 3152 | box-shadow: 0 6px 12px rgba(0, 0, 0, .175); 3153 | } 3154 | .dropdown-menu.pull-right { 3155 | right: 0; 3156 | left: auto; 3157 | } 3158 | .dropdown-menu .divider { 3159 | height: 1px; 3160 | margin: 9px 0; 3161 | overflow: hidden; 3162 | background-color: #e5e5e5; 3163 | } 3164 | .dropdown-menu > li > a { 3165 | display: block; 3166 | padding: 3px 20px; 3167 | clear: both; 3168 | font-weight: normal; 3169 | line-height: 1.42857143; 3170 | color: #333; 3171 | white-space: nowrap; 3172 | } 3173 | .dropdown-menu > li > a:hover, 3174 | .dropdown-menu > li > a:focus { 3175 | color: #262626; 3176 | text-decoration: none; 3177 | background-color: #f5f5f5; 3178 | } 3179 | .dropdown-menu > .active > a, 3180 | .dropdown-menu > .active > a:hover, 3181 | .dropdown-menu > .active > a:focus { 3182 | color: #fff; 3183 | text-decoration: none; 3184 | background-color: #428bca; 3185 | outline: 0; 3186 | } 3187 | .dropdown-menu > .disabled > a, 3188 | .dropdown-menu > .disabled > a:hover, 3189 | .dropdown-menu > .disabled > a:focus { 3190 | color: #777; 3191 | } 3192 | .dropdown-menu > .disabled > a:hover, 3193 | .dropdown-menu > .disabled > a:focus { 3194 | text-decoration: none; 3195 | cursor: not-allowed; 3196 | background-color: transparent; 3197 | background-image: none; 3198 | filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); 3199 | } 3200 | .open > .dropdown-menu { 3201 | display: block; 3202 | } 3203 | .open > a { 3204 | outline: 0; 3205 | } 3206 | .dropdown-menu-right { 3207 | right: 0; 3208 | left: auto; 3209 | } 3210 | .dropdown-menu-left { 3211 | right: auto; 3212 | left: 0; 3213 | } 3214 | .dropdown-header { 3215 | display: block; 3216 | padding: 3px 20px; 3217 | font-size: 12px; 3218 | line-height: 1.42857143; 3219 | color: #777; 3220 | white-space: nowrap; 3221 | } 3222 | .dropdown-backdrop { 3223 | position: fixed; 3224 | top: 0; 3225 | right: 0; 3226 | bottom: 0; 3227 | left: 0; 3228 | z-index: 990; 3229 | } 3230 | .pull-right > .dropdown-menu { 3231 | right: 0; 3232 | left: auto; 3233 | } 3234 | .dropup .caret, 3235 | .navbar-fixed-bottom .dropdown .caret { 3236 | content: ""; 3237 | border-top: 0; 3238 | border-bottom: 4px solid; 3239 | } 3240 | .dropup .dropdown-menu, 3241 | .navbar-fixed-bottom .dropdown .dropdown-menu { 3242 | top: auto; 3243 | bottom: 100%; 3244 | margin-bottom: 1px; 3245 | } 3246 | @media (min-width: 768px) { 3247 | .navbar-right .dropdown-menu { 3248 | right: 0; 3249 | left: auto; 3250 | } 3251 | .navbar-right .dropdown-menu-left { 3252 | right: auto; 3253 | left: 0; 3254 | } 3255 | } 3256 | .btn-group, 3257 | .btn-group-vertical { 3258 | position: relative; 3259 | display: inline-block; 3260 | vertical-align: middle; 3261 | } 3262 | .btn-group > .btn, 3263 | .btn-group-vertical > .btn { 3264 | position: relative; 3265 | float: left; 3266 | } 3267 | .btn-group > .btn:hover, 3268 | .btn-group-vertical > .btn:hover, 3269 | .btn-group > .btn:focus, 3270 | .btn-group-vertical > .btn:focus, 3271 | .btn-group > .btn:active, 3272 | .btn-group-vertical > .btn:active, 3273 | .btn-group > .btn.active, 3274 | .btn-group-vertical > .btn.active { 3275 | z-index: 2; 3276 | } 3277 | .btn-group > .btn:focus, 3278 | .btn-group-vertical > .btn:focus { 3279 | outline: 0; 3280 | } 3281 | .btn-group .btn + .btn, 3282 | .btn-group .btn + .btn-group, 3283 | .btn-group .btn-group + .btn, 3284 | .btn-group .btn-group + .btn-group { 3285 | margin-left: -1px; 3286 | } 3287 | .btn-toolbar { 3288 | margin-left: -5px; 3289 | } 3290 | .btn-toolbar .btn-group, 3291 | .btn-toolbar .input-group { 3292 | float: left; 3293 | } 3294 | .btn-toolbar > .btn, 3295 | .btn-toolbar > .btn-group, 3296 | .btn-toolbar > .input-group { 3297 | margin-left: 5px; 3298 | } 3299 | .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { 3300 | border-radius: 0; 3301 | } 3302 | .btn-group > .btn:first-child { 3303 | margin-left: 0; 3304 | } 3305 | .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { 3306 | border-top-right-radius: 0; 3307 | border-bottom-right-radius: 0; 3308 | } 3309 | .btn-group > .btn:last-child:not(:first-child), 3310 | .btn-group > .dropdown-toggle:not(:first-child) { 3311 | border-top-left-radius: 0; 3312 | border-bottom-left-radius: 0; 3313 | } 3314 | .btn-group > .btn-group { 3315 | float: left; 3316 | } 3317 | .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { 3318 | border-radius: 0; 3319 | } 3320 | .btn-group > .btn-group:first-child > .btn:last-child, 3321 | .btn-group > .btn-group:first-child > .dropdown-toggle { 3322 | border-top-right-radius: 0; 3323 | border-bottom-right-radius: 0; 3324 | } 3325 | .btn-group > .btn-group:last-child > .btn:first-child { 3326 | border-top-left-radius: 0; 3327 | border-bottom-left-radius: 0; 3328 | } 3329 | .btn-group .dropdown-toggle:active, 3330 | .btn-group.open .dropdown-toggle { 3331 | outline: 0; 3332 | } 3333 | .btn-group > .btn + .dropdown-toggle { 3334 | padding-right: 8px; 3335 | padding-left: 8px; 3336 | } 3337 | .btn-group > .btn-lg + .dropdown-toggle { 3338 | padding-right: 12px; 3339 | padding-left: 12px; 3340 | } 3341 | .btn-group.open .dropdown-toggle { 3342 | -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); 3343 | box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); 3344 | } 3345 | .btn-group.open .dropdown-toggle.btn-link { 3346 | -webkit-box-shadow: none; 3347 | box-shadow: none; 3348 | } 3349 | .btn .caret { 3350 | margin-left: 0; 3351 | } 3352 | .btn-lg .caret { 3353 | border-width: 5px 5px 0; 3354 | border-bottom-width: 0; 3355 | } 3356 | .dropup .btn-lg .caret { 3357 | border-width: 0 5px 5px; 3358 | } 3359 | .btn-group-vertical > .btn, 3360 | .btn-group-vertical > .btn-group, 3361 | .btn-group-vertical > .btn-group > .btn { 3362 | display: block; 3363 | float: none; 3364 | width: 100%; 3365 | max-width: 100%; 3366 | } 3367 | .btn-group-vertical > .btn-group > .btn { 3368 | float: none; 3369 | } 3370 | .btn-group-vertical > .btn + .btn, 3371 | .btn-group-vertical > .btn + .btn-group, 3372 | .btn-group-vertical > .btn-group + .btn, 3373 | .btn-group-vertical > .btn-group + .btn-group { 3374 | margin-top: -1px; 3375 | margin-left: 0; 3376 | } 3377 | .btn-group-vertical > .btn:not(:first-child):not(:last-child) { 3378 | border-radius: 0; 3379 | } 3380 | .btn-group-vertical > .btn:first-child:not(:last-child) { 3381 | border-top-right-radius: 4px; 3382 | border-bottom-right-radius: 0; 3383 | border-bottom-left-radius: 0; 3384 | } 3385 | .btn-group-vertical > .btn:last-child:not(:first-child) { 3386 | border-top-left-radius: 0; 3387 | border-top-right-radius: 0; 3388 | border-bottom-left-radius: 4px; 3389 | } 3390 | .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { 3391 | border-radius: 0; 3392 | } 3393 | .btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, 3394 | .btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { 3395 | border-bottom-right-radius: 0; 3396 | border-bottom-left-radius: 0; 3397 | } 3398 | .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { 3399 | border-top-left-radius: 0; 3400 | border-top-right-radius: 0; 3401 | } 3402 | .btn-group-justified { 3403 | display: table; 3404 | width: 100%; 3405 | table-layout: fixed; 3406 | border-collapse: separate; 3407 | } 3408 | .btn-group-justified > .btn, 3409 | .btn-group-justified > .btn-group { 3410 | display: table-cell; 3411 | float: none; 3412 | width: 1%; 3413 | } 3414 | .btn-group-justified > .btn-group .btn { 3415 | width: 100%; 3416 | } 3417 | .btn-group-justified > .btn-group .dropdown-menu { 3418 | left: auto; 3419 | } 3420 | [data-toggle="buttons"] > .btn > input[type="radio"], 3421 | [data-toggle="buttons"] > .btn > input[type="checkbox"] { 3422 | position: absolute; 3423 | z-index: -1; 3424 | filter: alpha(opacity=0); 3425 | opacity: 0; 3426 | } 3427 | .input-group { 3428 | position: relative; 3429 | display: table; 3430 | border-collapse: separate; 3431 | } 3432 | .input-group[class*="col-"] { 3433 | float: none; 3434 | padding-right: 0; 3435 | padding-left: 0; 3436 | } 3437 | .input-group .form-control { 3438 | position: relative; 3439 | z-index: 2; 3440 | float: left; 3441 | width: 100%; 3442 | margin-bottom: 0; 3443 | } 3444 | .input-group-lg > .form-control, 3445 | .input-group-lg > .input-group-addon, 3446 | .input-group-lg > .input-group-btn > .btn { 3447 | height: 46px; 3448 | padding: 10px 16px; 3449 | font-size: 18px; 3450 | line-height: 1.33; 3451 | border-radius: 6px; 3452 | } 3453 | select.input-group-lg > .form-control, 3454 | select.input-group-lg > .input-group-addon, 3455 | select.input-group-lg > .input-group-btn > .btn { 3456 | height: 46px; 3457 | line-height: 46px; 3458 | } 3459 | textarea.input-group-lg > .form-control, 3460 | textarea.input-group-lg > .input-group-addon, 3461 | textarea.input-group-lg > .input-group-btn > .btn, 3462 | select[multiple].input-group-lg > .form-control, 3463 | select[multiple].input-group-lg > .input-group-addon, 3464 | select[multiple].input-group-lg > .input-group-btn > .btn { 3465 | height: auto; 3466 | } 3467 | .input-group-sm > .form-control, 3468 | .input-group-sm > .input-group-addon, 3469 | .input-group-sm > .input-group-btn > .btn { 3470 | height: 30px; 3471 | padding: 5px 10px; 3472 | font-size: 12px; 3473 | line-height: 1.5; 3474 | border-radius: 3px; 3475 | } 3476 | select.input-group-sm > .form-control, 3477 | select.input-group-sm > .input-group-addon, 3478 | select.input-group-sm > .input-group-btn > .btn { 3479 | height: 30px; 3480 | line-height: 30px; 3481 | } 3482 | textarea.input-group-sm > .form-control, 3483 | textarea.input-group-sm > .input-group-addon, 3484 | textarea.input-group-sm > .input-group-btn > .btn, 3485 | select[multiple].input-group-sm > .form-control, 3486 | select[multiple].input-group-sm > .input-group-addon, 3487 | select[multiple].input-group-sm > .input-group-btn > .btn { 3488 | height: auto; 3489 | } 3490 | .input-group-addon, 3491 | .input-group-btn, 3492 | .input-group .form-control { 3493 | display: table-cell; 3494 | } 3495 | .input-group-addon:not(:first-child):not(:last-child), 3496 | .input-group-btn:not(:first-child):not(:last-child), 3497 | .input-group .form-control:not(:first-child):not(:last-child) { 3498 | border-radius: 0; 3499 | } 3500 | .input-group-addon, 3501 | .input-group-btn { 3502 | width: 1%; 3503 | white-space: nowrap; 3504 | vertical-align: middle; 3505 | } 3506 | .input-group-addon { 3507 | padding: 6px 12px; 3508 | font-size: 14px; 3509 | font-weight: normal; 3510 | line-height: 1; 3511 | color: #555; 3512 | text-align: center; 3513 | background-color: #eee; 3514 | border: 1px solid #ccc; 3515 | border-radius: 4px; 3516 | } 3517 | .input-group-addon.input-sm { 3518 | padding: 5px 10px; 3519 | font-size: 12px; 3520 | border-radius: 3px; 3521 | } 3522 | .input-group-addon.input-lg { 3523 | padding: 10px 16px; 3524 | font-size: 18px; 3525 | border-radius: 6px; 3526 | } 3527 | .input-group-addon input[type="radio"], 3528 | .input-group-addon input[type="checkbox"] { 3529 | margin-top: 0; 3530 | } 3531 | .input-group .form-control:first-child, 3532 | .input-group-addon:first-child, 3533 | .input-group-btn:first-child > .btn, 3534 | .input-group-btn:first-child > .btn-group > .btn, 3535 | .input-group-btn:first-child > .dropdown-toggle, 3536 | .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), 3537 | .input-group-btn:last-child > .btn-group:not(:last-child) > .btn { 3538 | border-top-right-radius: 0; 3539 | border-bottom-right-radius: 0; 3540 | } 3541 | .input-group-addon:first-child { 3542 | border-right: 0; 3543 | } 3544 | .input-group .form-control:last-child, 3545 | .input-group-addon:last-child, 3546 | .input-group-btn:last-child > .btn, 3547 | .input-group-btn:last-child > .btn-group > .btn, 3548 | .input-group-btn:last-child > .dropdown-toggle, 3549 | .input-group-btn:first-child > .btn:not(:first-child), 3550 | .input-group-btn:first-child > .btn-group:not(:first-child) > .btn { 3551 | border-top-left-radius: 0; 3552 | border-bottom-left-radius: 0; 3553 | } 3554 | .input-group-addon:last-child { 3555 | border-left: 0; 3556 | } 3557 | .input-group-btn { 3558 | position: relative; 3559 | font-size: 0; 3560 | white-space: nowrap; 3561 | } 3562 | .input-group-btn > .btn { 3563 | position: relative; 3564 | } 3565 | .input-group-btn > .btn + .btn { 3566 | margin-left: -1px; 3567 | } 3568 | .input-group-btn > .btn:hover, 3569 | .input-group-btn > .btn:focus, 3570 | .input-group-btn > .btn:active { 3571 | z-index: 2; 3572 | } 3573 | .input-group-btn:first-child > .btn, 3574 | .input-group-btn:first-child > .btn-group { 3575 | margin-right: -1px; 3576 | } 3577 | .input-group-btn:last-child > .btn, 3578 | .input-group-btn:last-child > .btn-group { 3579 | margin-left: -1px; 3580 | } 3581 | .nav { 3582 | padding-left: 0; 3583 | margin-bottom: 0; 3584 | list-style: none; 3585 | } 3586 | .nav > li { 3587 | position: relative; 3588 | display: block; 3589 | } 3590 | .nav > li > a { 3591 | position: relative; 3592 | display: block; 3593 | padding: 10px 15px; 3594 | } 3595 | .nav > li > a:hover, 3596 | .nav > li > a:focus { 3597 | text-decoration: none; 3598 | background-color: #eee; 3599 | } 3600 | .nav > li.disabled > a { 3601 | color: #777; 3602 | } 3603 | .nav > li.disabled > a:hover, 3604 | .nav > li.disabled > a:focus { 3605 | color: #777; 3606 | text-decoration: none; 3607 | cursor: not-allowed; 3608 | background-color: transparent; 3609 | } 3610 | .nav .open > a, 3611 | .nav .open > a:hover, 3612 | .nav .open > a:focus { 3613 | background-color: #eee; 3614 | border-color: #428bca; 3615 | } 3616 | .nav .nav-divider { 3617 | height: 1px; 3618 | margin: 9px 0; 3619 | overflow: hidden; 3620 | background-color: #e5e5e5; 3621 | } 3622 | .nav > li > a > img { 3623 | max-width: none; 3624 | } 3625 | .nav-tabs { 3626 | border-bottom: 1px solid #ddd; 3627 | } 3628 | .nav-tabs > li { 3629 | float: left; 3630 | margin-bottom: -1px; 3631 | } 3632 | .nav-tabs > li > a { 3633 | margin-right: 2px; 3634 | line-height: 1.42857143; 3635 | border: 1px solid transparent; 3636 | border-radius: 4px 4px 0 0; 3637 | } 3638 | .nav-tabs > li > a:hover { 3639 | border-color: #eee #eee #ddd; 3640 | } 3641 | .nav-tabs > li.active > a, 3642 | .nav-tabs > li.active > a:hover, 3643 | .nav-tabs > li.active > a:focus { 3644 | color: #555; 3645 | cursor: default; 3646 | background-color: #fff; 3647 | border: 1px solid #ddd; 3648 | border-bottom-color: transparent; 3649 | } 3650 | .nav-tabs.nav-justified { 3651 | width: 100%; 3652 | border-bottom: 0; 3653 | } 3654 | .nav-tabs.nav-justified > li { 3655 | float: none; 3656 | } 3657 | .nav-tabs.nav-justified > li > a { 3658 | margin-bottom: 5px; 3659 | text-align: center; 3660 | } 3661 | .nav-tabs.nav-justified > .dropdown .dropdown-menu { 3662 | top: auto; 3663 | left: auto; 3664 | } 3665 | @media (min-width: 768px) { 3666 | .nav-tabs.nav-justified > li { 3667 | display: table-cell; 3668 | width: 1%; 3669 | } 3670 | .nav-tabs.nav-justified > li > a { 3671 | margin-bottom: 0; 3672 | } 3673 | } 3674 | .nav-tabs.nav-justified > li > a { 3675 | margin-right: 0; 3676 | border-radius: 4px; 3677 | } 3678 | .nav-tabs.nav-justified > .active > a, 3679 | .nav-tabs.nav-justified > .active > a:hover, 3680 | .nav-tabs.nav-justified > .active > a:focus { 3681 | border: 1px solid #ddd; 3682 | } 3683 | @media (min-width: 768px) { 3684 | .nav-tabs.nav-justified > li > a { 3685 | border-bottom: 1px solid #ddd; 3686 | border-radius: 4px 4px 0 0; 3687 | } 3688 | .nav-tabs.nav-justified > .active > a, 3689 | .nav-tabs.nav-justified > .active > a:hover, 3690 | .nav-tabs.nav-justified > .active > a:focus { 3691 | border-bottom-color: #fff; 3692 | } 3693 | } 3694 | .nav-pills > li { 3695 | float: left; 3696 | } 3697 | .nav-pills > li > a { 3698 | border-radius: 4px; 3699 | } 3700 | .nav-pills > li + li { 3701 | margin-left: 2px; 3702 | } 3703 | .nav-pills > li.active > a, 3704 | .nav-pills > li.active > a:hover, 3705 | .nav-pills > li.active > a:focus { 3706 | color: #fff; 3707 | background-color: #428bca; 3708 | } 3709 | .nav-stacked > li { 3710 | float: none; 3711 | } 3712 | .nav-stacked > li + li { 3713 | margin-top: 2px; 3714 | margin-left: 0; 3715 | } 3716 | .nav-justified { 3717 | width: 100%; 3718 | } 3719 | .nav-justified > li { 3720 | float: none; 3721 | } 3722 | .nav-justified > li > a { 3723 | margin-bottom: 5px; 3724 | text-align: center; 3725 | } 3726 | .nav-justified > .dropdown .dropdown-menu { 3727 | top: auto; 3728 | left: auto; 3729 | } 3730 | @media (min-width: 768px) { 3731 | .nav-justified > li { 3732 | display: table-cell; 3733 | width: 1%; 3734 | } 3735 | .nav-justified > li > a { 3736 | margin-bottom: 0; 3737 | } 3738 | } 3739 | .nav-tabs-justified { 3740 | border-bottom: 0; 3741 | } 3742 | .nav-tabs-justified > li > a { 3743 | margin-right: 0; 3744 | border-radius: 4px; 3745 | } 3746 | .nav-tabs-justified > .active > a, 3747 | .nav-tabs-justified > .active > a:hover, 3748 | .nav-tabs-justified > .active > a:focus { 3749 | border: 1px solid #ddd; 3750 | } 3751 | @media (min-width: 768px) { 3752 | .nav-tabs-justified > li > a { 3753 | border-bottom: 1px solid #ddd; 3754 | border-radius: 4px 4px 0 0; 3755 | } 3756 | .nav-tabs-justified > .active > a, 3757 | .nav-tabs-justified > .active > a:hover, 3758 | .nav-tabs-justified > .active > a:focus { 3759 | border-bottom-color: #fff; 3760 | } 3761 | } 3762 | .tab-content > .tab-pane { 3763 | display: none; 3764 | } 3765 | .tab-content > .active { 3766 | display: block; 3767 | } 3768 | .nav-tabs .dropdown-menu { 3769 | margin-top: -1px; 3770 | border-top-left-radius: 0; 3771 | border-top-right-radius: 0; 3772 | } 3773 | .navbar { 3774 | position: relative; 3775 | min-height: 50px; 3776 | margin-bottom: 20px; 3777 | border: 1px solid transparent; 3778 | } 3779 | @media (min-width: 768px) { 3780 | .navbar { 3781 | border-radius: 4px; 3782 | } 3783 | } 3784 | @media (min-width: 768px) { 3785 | .navbar-header { 3786 | float: left; 3787 | } 3788 | } 3789 | .navbar-collapse { 3790 | padding-right: 15px; 3791 | padding-left: 15px; 3792 | overflow-x: visible; 3793 | -webkit-overflow-scrolling: touch; 3794 | border-top: 1px solid transparent; 3795 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); 3796 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); 3797 | } 3798 | .navbar-collapse.in { 3799 | overflow-y: auto; 3800 | } 3801 | @media (min-width: 768px) { 3802 | .navbar-collapse { 3803 | width: auto; 3804 | border-top: 0; 3805 | -webkit-box-shadow: none; 3806 | box-shadow: none; 3807 | } 3808 | .navbar-collapse.collapse { 3809 | display: block !important; 3810 | height: auto !important; 3811 | padding-bottom: 0; 3812 | overflow: visible !important; 3813 | } 3814 | .navbar-collapse.in { 3815 | overflow-y: visible; 3816 | } 3817 | .navbar-fixed-top .navbar-collapse, 3818 | .navbar-static-top .navbar-collapse, 3819 | .navbar-fixed-bottom .navbar-collapse { 3820 | padding-right: 0; 3821 | padding-left: 0; 3822 | } 3823 | } 3824 | .navbar-fixed-top .navbar-collapse, 3825 | .navbar-fixed-bottom .navbar-collapse { 3826 | max-height: 340px; 3827 | } 3828 | @media (max-width: 480px) and (orientation: landscape) { 3829 | .navbar-fixed-top .navbar-collapse, 3830 | .navbar-fixed-bottom .navbar-collapse { 3831 | max-height: 200px; 3832 | } 3833 | } 3834 | .container > .navbar-header, 3835 | .container-fluid > .navbar-header, 3836 | .container > .navbar-collapse, 3837 | .container-fluid > .navbar-collapse { 3838 | margin-right: -15px; 3839 | margin-left: -15px; 3840 | } 3841 | @media (min-width: 768px) { 3842 | .container > .navbar-header, 3843 | .container-fluid > .navbar-header, 3844 | .container > .navbar-collapse, 3845 | .container-fluid > .navbar-collapse { 3846 | margin-right: 0; 3847 | margin-left: 0; 3848 | } 3849 | } 3850 | .navbar-static-top { 3851 | z-index: 1000; 3852 | border-width: 0 0 1px; 3853 | } 3854 | @media (min-width: 768px) { 3855 | .navbar-static-top { 3856 | border-radius: 0; 3857 | } 3858 | } 3859 | .navbar-fixed-top, 3860 | .navbar-fixed-bottom { 3861 | position: fixed; 3862 | right: 0; 3863 | left: 0; 3864 | z-index: 1030; 3865 | -webkit-transform: translate3d(0, 0, 0); 3866 | -o-transform: translate3d(0, 0, 0); 3867 | transform: translate3d(0, 0, 0); 3868 | } 3869 | @media (min-width: 768px) { 3870 | .navbar-fixed-top, 3871 | .navbar-fixed-bottom { 3872 | border-radius: 0; 3873 | } 3874 | } 3875 | .navbar-fixed-top { 3876 | top: 0; 3877 | border-width: 0 0 1px; 3878 | } 3879 | .navbar-fixed-bottom { 3880 | bottom: 0; 3881 | margin-bottom: 0; 3882 | border-width: 1px 0 0; 3883 | } 3884 | .navbar-brand { 3885 | float: left; 3886 | height: 50px; 3887 | padding: 15px 15px; 3888 | font-size: 18px; 3889 | line-height: 20px; 3890 | } 3891 | .navbar-brand:hover, 3892 | .navbar-brand:focus { 3893 | text-decoration: none; 3894 | } 3895 | @media (min-width: 768px) { 3896 | .navbar > .container .navbar-brand, 3897 | .navbar > .container-fluid .navbar-brand { 3898 | margin-left: -15px; 3899 | } 3900 | } 3901 | .navbar-toggle { 3902 | position: relative; 3903 | float: right; 3904 | padding: 9px 10px; 3905 | margin-top: 8px; 3906 | margin-right: 15px; 3907 | margin-bottom: 8px; 3908 | background-color: transparent; 3909 | background-image: none; 3910 | border: 1px solid transparent; 3911 | border-radius: 4px; 3912 | } 3913 | .navbar-toggle:focus { 3914 | outline: 0; 3915 | } 3916 | .navbar-toggle .icon-bar { 3917 | display: block; 3918 | width: 22px; 3919 | height: 2px; 3920 | border-radius: 1px; 3921 | } 3922 | .navbar-toggle .icon-bar + .icon-bar { 3923 | margin-top: 4px; 3924 | } 3925 | @media (min-width: 768px) { 3926 | .navbar-toggle { 3927 | display: none; 3928 | } 3929 | } 3930 | .navbar-nav { 3931 | margin: 7.5px -15px; 3932 | } 3933 | .navbar-nav > li > a { 3934 | padding-top: 10px; 3935 | padding-bottom: 10px; 3936 | line-height: 20px; 3937 | } 3938 | @media (max-width: 767px) { 3939 | .navbar-nav .open .dropdown-menu { 3940 | position: static; 3941 | float: none; 3942 | width: auto; 3943 | margin-top: 0; 3944 | background-color: transparent; 3945 | border: 0; 3946 | -webkit-box-shadow: none; 3947 | box-shadow: none; 3948 | } 3949 | .navbar-nav .open .dropdown-menu > li > a, 3950 | .navbar-nav .open .dropdown-menu .dropdown-header { 3951 | padding: 5px 15px 5px 25px; 3952 | } 3953 | .navbar-nav .open .dropdown-menu > li > a { 3954 | line-height: 20px; 3955 | } 3956 | .navbar-nav .open .dropdown-menu > li > a:hover, 3957 | .navbar-nav .open .dropdown-menu > li > a:focus { 3958 | background-image: none; 3959 | } 3960 | } 3961 | @media (min-width: 768px) { 3962 | .navbar-nav { 3963 | float: left; 3964 | margin: 0; 3965 | } 3966 | .navbar-nav > li { 3967 | float: left; 3968 | } 3969 | .navbar-nav > li > a { 3970 | padding-top: 15px; 3971 | padding-bottom: 15px; 3972 | } 3973 | .navbar-nav.navbar-right:last-child { 3974 | margin-right: -15px; 3975 | } 3976 | } 3977 | @media (min-width: 768px) { 3978 | .navbar-left { 3979 | float: left !important; 3980 | } 3981 | .navbar-right { 3982 | float: right !important; 3983 | } 3984 | } 3985 | .navbar-form { 3986 | padding: 10px 15px; 3987 | margin-top: 8px; 3988 | margin-right: -15px; 3989 | margin-bottom: 8px; 3990 | margin-left: -15px; 3991 | border-top: 1px solid transparent; 3992 | border-bottom: 1px solid transparent; 3993 | -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); 3994 | box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); 3995 | } 3996 | @media (min-width: 768px) { 3997 | .navbar-form .form-group { 3998 | display: inline-block; 3999 | margin-bottom: 0; 4000 | vertical-align: middle; 4001 | } 4002 | .navbar-form .form-control { 4003 | display: inline-block; 4004 | width: auto; 4005 | vertical-align: middle; 4006 | } 4007 | .navbar-form .input-group { 4008 | display: inline-table; 4009 | vertical-align: middle; 4010 | } 4011 | .navbar-form .input-group .input-group-addon, 4012 | .navbar-form .input-group .input-group-btn, 4013 | .navbar-form .input-group .form-control { 4014 | width: auto; 4015 | } 4016 | .navbar-form .input-group > .form-control { 4017 | width: 100%; 4018 | } 4019 | .navbar-form .control-label { 4020 | margin-bottom: 0; 4021 | vertical-align: middle; 4022 | } 4023 | .navbar-form .radio, 4024 | .navbar-form .checkbox { 4025 | display: inline-block; 4026 | margin-top: 0; 4027 | margin-bottom: 0; 4028 | vertical-align: middle; 4029 | } 4030 | .navbar-form .radio label, 4031 | .navbar-form .checkbox label { 4032 | padding-left: 0; 4033 | } 4034 | .navbar-form .radio input[type="radio"], 4035 | .navbar-form .checkbox input[type="checkbox"] { 4036 | position: relative; 4037 | margin-left: 0; 4038 | } 4039 | .navbar-form .has-feedback .form-control-feedback { 4040 | top: 0; 4041 | } 4042 | } 4043 | @media (max-width: 767px) { 4044 | .navbar-form .form-group { 4045 | margin-bottom: 5px; 4046 | } 4047 | } 4048 | @media (min-width: 768px) { 4049 | .navbar-form { 4050 | width: auto; 4051 | padding-top: 0; 4052 | padding-bottom: 0; 4053 | margin-right: 0; 4054 | margin-left: 0; 4055 | border: 0; 4056 | -webkit-box-shadow: none; 4057 | box-shadow: none; 4058 | } 4059 | .navbar-form.navbar-right:last-child { 4060 | margin-right: -15px; 4061 | } 4062 | } 4063 | .navbar-nav > li > .dropdown-menu { 4064 | margin-top: 0; 4065 | border-top-left-radius: 0; 4066 | border-top-right-radius: 0; 4067 | } 4068 | .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { 4069 | border-bottom-right-radius: 0; 4070 | border-bottom-left-radius: 0; 4071 | } 4072 | .navbar-btn { 4073 | margin-top: 8px; 4074 | margin-bottom: 8px; 4075 | } 4076 | .navbar-btn.btn-sm { 4077 | margin-top: 10px; 4078 | margin-bottom: 10px; 4079 | } 4080 | .navbar-btn.btn-xs { 4081 | margin-top: 14px; 4082 | margin-bottom: 14px; 4083 | } 4084 | .navbar-text { 4085 | margin-top: 15px; 4086 | margin-bottom: 15px; 4087 | } 4088 | @media (min-width: 768px) { 4089 | .navbar-text { 4090 | float: left; 4091 | margin-right: 15px; 4092 | margin-left: 15px; 4093 | } 4094 | .navbar-text.navbar-right:last-child { 4095 | margin-right: 0; 4096 | } 4097 | } 4098 | .navbar-default { 4099 | background-color: #f8f8f8; 4100 | border-color: #e7e7e7; 4101 | } 4102 | .navbar-default .navbar-brand { 4103 | color: #777; 4104 | } 4105 | .navbar-default .navbar-brand:hover, 4106 | .navbar-default .navbar-brand:focus { 4107 | color: #5e5e5e; 4108 | background-color: transparent; 4109 | } 4110 | .navbar-default .navbar-text { 4111 | color: #777; 4112 | } 4113 | .navbar-default .navbar-nav > li > a { 4114 | color: #777; 4115 | } 4116 | .navbar-default .navbar-nav > li > a:hover, 4117 | .navbar-default .navbar-nav > li > a:focus { 4118 | color: #333; 4119 | background-color: transparent; 4120 | } 4121 | .navbar-default .navbar-nav > .active > a, 4122 | .navbar-default .navbar-nav > .active > a:hover, 4123 | .navbar-default .navbar-nav > .active > a:focus { 4124 | color: #555; 4125 | background-color: #e7e7e7; 4126 | } 4127 | .navbar-default .navbar-nav > .disabled > a, 4128 | .navbar-default .navbar-nav > .disabled > a:hover, 4129 | .navbar-default .navbar-nav > .disabled > a:focus { 4130 | color: #ccc; 4131 | background-color: transparent; 4132 | } 4133 | .navbar-default .navbar-toggle { 4134 | border-color: #ddd; 4135 | } 4136 | .navbar-default .navbar-toggle:hover, 4137 | .navbar-default .navbar-toggle:focus { 4138 | background-color: #ddd; 4139 | } 4140 | .navbar-default .navbar-toggle .icon-bar { 4141 | background-color: #888; 4142 | } 4143 | .navbar-default .navbar-collapse, 4144 | .navbar-default .navbar-form { 4145 | border-color: #e7e7e7; 4146 | } 4147 | .navbar-default .navbar-nav > .open > a, 4148 | .navbar-default .navbar-nav > .open > a:hover, 4149 | .navbar-default .navbar-nav > .open > a:focus { 4150 | color: #555; 4151 | background-color: #e7e7e7; 4152 | } 4153 | @media (max-width: 767px) { 4154 | .navbar-default .navbar-nav .open .dropdown-menu > li > a { 4155 | color: #777; 4156 | } 4157 | .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, 4158 | .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { 4159 | color: #333; 4160 | background-color: transparent; 4161 | } 4162 | .navbar-default .navbar-nav .open .dropdown-menu > .active > a, 4163 | .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, 4164 | .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { 4165 | color: #555; 4166 | background-color: #e7e7e7; 4167 | } 4168 | .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, 4169 | .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, 4170 | .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { 4171 | color: #ccc; 4172 | background-color: transparent; 4173 | } 4174 | } 4175 | .navbar-default .navbar-link { 4176 | color: #777; 4177 | } 4178 | .navbar-default .navbar-link:hover { 4179 | color: #333; 4180 | } 4181 | .navbar-default .btn-link { 4182 | color: #777; 4183 | } 4184 | .navbar-default .btn-link:hover, 4185 | .navbar-default .btn-link:focus { 4186 | color: #333; 4187 | } 4188 | .navbar-default .btn-link[disabled]:hover, 4189 | fieldset[disabled] .navbar-default .btn-link:hover, 4190 | .navbar-default .btn-link[disabled]:focus, 4191 | fieldset[disabled] .navbar-default .btn-link:focus { 4192 | color: #ccc; 4193 | } 4194 | .navbar-inverse { 4195 | background-color: #222; 4196 | border-color: #080808; 4197 | } 4198 | .navbar-inverse .navbar-brand { 4199 | color: #777; 4200 | } 4201 | .navbar-inverse .navbar-brand:hover, 4202 | .navbar-inverse .navbar-brand:focus { 4203 | color: #fff; 4204 | background-color: transparent; 4205 | } 4206 | .navbar-inverse .navbar-text { 4207 | color: #777; 4208 | } 4209 | .navbar-inverse .navbar-nav > li > a { 4210 | color: #777; 4211 | } 4212 | .navbar-inverse .navbar-nav > li > a:hover, 4213 | .navbar-inverse .navbar-nav > li > a:focus { 4214 | color: #fff; 4215 | background-color: transparent; 4216 | } 4217 | .navbar-inverse .navbar-nav > .active > a, 4218 | .navbar-inverse .navbar-nav > .active > a:hover, 4219 | .navbar-inverse .navbar-nav > .active > a:focus { 4220 | color: #fff; 4221 | background-color: #080808; 4222 | } 4223 | .navbar-inverse .navbar-nav > .disabled > a, 4224 | .navbar-inverse .navbar-nav > .disabled > a:hover, 4225 | .navbar-inverse .navbar-nav > .disabled > a:focus { 4226 | color: #444; 4227 | background-color: transparent; 4228 | } 4229 | .navbar-inverse .navbar-toggle { 4230 | border-color: #333; 4231 | } 4232 | .navbar-inverse .navbar-toggle:hover, 4233 | .navbar-inverse .navbar-toggle:focus { 4234 | background-color: #333; 4235 | } 4236 | .navbar-inverse .navbar-toggle .icon-bar { 4237 | background-color: #fff; 4238 | } 4239 | .navbar-inverse .navbar-collapse, 4240 | .navbar-inverse .navbar-form { 4241 | border-color: #101010; 4242 | } 4243 | .navbar-inverse .navbar-nav > .open > a, 4244 | .navbar-inverse .navbar-nav > .open > a:hover, 4245 | .navbar-inverse .navbar-nav > .open > a:focus { 4246 | color: #fff; 4247 | background-color: #080808; 4248 | } 4249 | @media (max-width: 767px) { 4250 | .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { 4251 | border-color: #080808; 4252 | } 4253 | .navbar-inverse .navbar-nav .open .dropdown-menu .divider { 4254 | background-color: #080808; 4255 | } 4256 | .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { 4257 | color: #777; 4258 | } 4259 | .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, 4260 | .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { 4261 | color: #fff; 4262 | background-color: transparent; 4263 | } 4264 | .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, 4265 | .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, 4266 | .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { 4267 | color: #fff; 4268 | background-color: #080808; 4269 | } 4270 | .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, 4271 | .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, 4272 | .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { 4273 | color: #444; 4274 | background-color: transparent; 4275 | } 4276 | } 4277 | .navbar-inverse .navbar-link { 4278 | color: #777; 4279 | } 4280 | .navbar-inverse .navbar-link:hover { 4281 | color: #fff; 4282 | } 4283 | .navbar-inverse .btn-link { 4284 | color: #777; 4285 | } 4286 | .navbar-inverse .btn-link:hover, 4287 | .navbar-inverse .btn-link:focus { 4288 | color: #fff; 4289 | } 4290 | .navbar-inverse .btn-link[disabled]:hover, 4291 | fieldset[disabled] .navbar-inverse .btn-link:hover, 4292 | .navbar-inverse .btn-link[disabled]:focus, 4293 | fieldset[disabled] .navbar-inverse .btn-link:focus { 4294 | color: #444; 4295 | } 4296 | .breadcrumb { 4297 | padding: 8px 15px; 4298 | margin-bottom: 20px; 4299 | list-style: none; 4300 | background-color: #f5f5f5; 4301 | border-radius: 4px; 4302 | } 4303 | .breadcrumb > li { 4304 | display: inline-block; 4305 | } 4306 | .breadcrumb > li + li:before { 4307 | padding: 0 5px; 4308 | color: #ccc; 4309 | content: "/\00a0"; 4310 | } 4311 | .breadcrumb > .active { 4312 | color: #777; 4313 | } 4314 | .pagination { 4315 | display: inline-block; 4316 | padding-left: 0; 4317 | margin: 20px 0; 4318 | border-radius: 4px; 4319 | } 4320 | .pagination > li { 4321 | display: inline; 4322 | } 4323 | .pagination > li > a, 4324 | .pagination > li > span { 4325 | position: relative; 4326 | float: left; 4327 | padding: 6px 12px; 4328 | margin-left: -1px; 4329 | line-height: 1.42857143; 4330 | color: #428bca; 4331 | text-decoration: none; 4332 | background-color: #fff; 4333 | border: 1px solid #ddd; 4334 | } 4335 | .pagination > li:first-child > a, 4336 | .pagination > li:first-child > span { 4337 | margin-left: 0; 4338 | border-top-left-radius: 4px; 4339 | border-bottom-left-radius: 4px; 4340 | } 4341 | .pagination > li:last-child > a, 4342 | .pagination > li:last-child > span { 4343 | border-top-right-radius: 4px; 4344 | border-bottom-right-radius: 4px; 4345 | } 4346 | .pagination > li > a:hover, 4347 | .pagination > li > span:hover, 4348 | .pagination > li > a:focus, 4349 | .pagination > li > span:focus { 4350 | color: #2a6496; 4351 | background-color: #eee; 4352 | border-color: #ddd; 4353 | } 4354 | .pagination > .active > a, 4355 | .pagination > .active > span, 4356 | .pagination > .active > a:hover, 4357 | .pagination > .active > span:hover, 4358 | .pagination > .active > a:focus, 4359 | .pagination > .active > span:focus { 4360 | z-index: 2; 4361 | color: #fff; 4362 | cursor: default; 4363 | background-color: #428bca; 4364 | border-color: #428bca; 4365 | } 4366 | .pagination > .disabled > span, 4367 | .pagination > .disabled > span:hover, 4368 | .pagination > .disabled > span:focus, 4369 | .pagination > .disabled > a, 4370 | .pagination > .disabled > a:hover, 4371 | .pagination > .disabled > a:focus { 4372 | color: #777; 4373 | cursor: not-allowed; 4374 | background-color: #fff; 4375 | border-color: #ddd; 4376 | } 4377 | .pagination-lg > li > a, 4378 | .pagination-lg > li > span { 4379 | padding: 10px 16px; 4380 | font-size: 18px; 4381 | } 4382 | .pagination-lg > li:first-child > a, 4383 | .pagination-lg > li:first-child > span { 4384 | border-top-left-radius: 6px; 4385 | border-bottom-left-radius: 6px; 4386 | } 4387 | .pagination-lg > li:last-child > a, 4388 | .pagination-lg > li:last-child > span { 4389 | border-top-right-radius: 6px; 4390 | border-bottom-right-radius: 6px; 4391 | } 4392 | .pagination-sm > li > a, 4393 | .pagination-sm > li > span { 4394 | padding: 5px 10px; 4395 | font-size: 12px; 4396 | } 4397 | .pagination-sm > li:first-child > a, 4398 | .pagination-sm > li:first-child > span { 4399 | border-top-left-radius: 3px; 4400 | border-bottom-left-radius: 3px; 4401 | } 4402 | .pagination-sm > li:last-child > a, 4403 | .pagination-sm > li:last-child > span { 4404 | border-top-right-radius: 3px; 4405 | border-bottom-right-radius: 3px; 4406 | } 4407 | .pager { 4408 | padding-left: 0; 4409 | margin: 20px 0; 4410 | text-align: center; 4411 | list-style: none; 4412 | } 4413 | .pager li { 4414 | display: inline; 4415 | } 4416 | .pager li > a, 4417 | .pager li > span { 4418 | display: inline-block; 4419 | padding: 5px 14px; 4420 | background-color: #fff; 4421 | border: 1px solid #ddd; 4422 | border-radius: 15px; 4423 | } 4424 | .pager li > a:hover, 4425 | .pager li > a:focus { 4426 | text-decoration: none; 4427 | background-color: #eee; 4428 | } 4429 | .pager .next > a, 4430 | .pager .next > span { 4431 | float: right; 4432 | } 4433 | .pager .previous > a, 4434 | .pager .previous > span { 4435 | float: left; 4436 | } 4437 | .pager .disabled > a, 4438 | .pager .disabled > a:hover, 4439 | .pager .disabled > a:focus, 4440 | .pager .disabled > span { 4441 | color: #777; 4442 | cursor: not-allowed; 4443 | background-color: #fff; 4444 | } 4445 | .label { 4446 | display: inline; 4447 | padding: .2em .6em .3em; 4448 | font-size: 75%; 4449 | font-weight: bold; 4450 | line-height: 1; 4451 | color: #fff; 4452 | text-align: center; 4453 | white-space: nowrap; 4454 | vertical-align: baseline; 4455 | border-radius: .25em; 4456 | } 4457 | a.label:hover, 4458 | a.label:focus { 4459 | color: #fff; 4460 | text-decoration: none; 4461 | cursor: pointer; 4462 | } 4463 | .label:empty { 4464 | display: none; 4465 | } 4466 | .btn .label { 4467 | position: relative; 4468 | top: -1px; 4469 | } 4470 | .label-default { 4471 | background-color: #777; 4472 | } 4473 | .label-default[href]:hover, 4474 | .label-default[href]:focus { 4475 | background-color: #5e5e5e; 4476 | } 4477 | .label-primary { 4478 | background-color: #428bca; 4479 | } 4480 | .label-primary[href]:hover, 4481 | .label-primary[href]:focus { 4482 | background-color: #3071a9; 4483 | } 4484 | .label-success { 4485 | background-color: #5cb85c; 4486 | } 4487 | .label-success[href]:hover, 4488 | .label-success[href]:focus { 4489 | background-color: #449d44; 4490 | } 4491 | .label-info { 4492 | background-color: #5bc0de; 4493 | } 4494 | .label-info[href]:hover, 4495 | .label-info[href]:focus { 4496 | background-color: #31b0d5; 4497 | } 4498 | .label-warning { 4499 | background-color: #f0ad4e; 4500 | } 4501 | .label-warning[href]:hover, 4502 | .label-warning[href]:focus { 4503 | background-color: #ec971f; 4504 | } 4505 | .label-danger { 4506 | background-color: #d9534f; 4507 | } 4508 | .label-danger[href]:hover, 4509 | .label-danger[href]:focus { 4510 | background-color: #c9302c; 4511 | } 4512 | .badge { 4513 | display: inline-block; 4514 | min-width: 10px; 4515 | padding: 3px 7px; 4516 | font-size: 12px; 4517 | font-weight: bold; 4518 | line-height: 1; 4519 | color: #fff; 4520 | text-align: center; 4521 | white-space: nowrap; 4522 | vertical-align: baseline; 4523 | background-color: #777; 4524 | border-radius: 10px; 4525 | } 4526 | .badge:empty { 4527 | display: none; 4528 | } 4529 | .btn .badge { 4530 | position: relative; 4531 | top: -1px; 4532 | } 4533 | .btn-xs .badge { 4534 | top: 0; 4535 | padding: 1px 5px; 4536 | } 4537 | a.badge:hover, 4538 | a.badge:focus { 4539 | color: #fff; 4540 | text-decoration: none; 4541 | cursor: pointer; 4542 | } 4543 | a.list-group-item.active > .badge, 4544 | .nav-pills > .active > a > .badge { 4545 | color: #428bca; 4546 | background-color: #fff; 4547 | } 4548 | .nav-pills > li > a > .badge { 4549 | margin-left: 3px; 4550 | } 4551 | .jumbotron { 4552 | padding: 30px; 4553 | margin-bottom: 30px; 4554 | color: inherit; 4555 | background-color: #eee; 4556 | } 4557 | .jumbotron h1, 4558 | .jumbotron .h1 { 4559 | color: inherit; 4560 | } 4561 | .jumbotron p { 4562 | margin-bottom: 15px; 4563 | font-size: 21px; 4564 | font-weight: 200; 4565 | } 4566 | .jumbotron > hr { 4567 | border-top-color: #d5d5d5; 4568 | } 4569 | .container .jumbotron { 4570 | border-radius: 6px; 4571 | } 4572 | .jumbotron .container { 4573 | max-width: 100%; 4574 | } 4575 | @media screen and (min-width: 768px) { 4576 | .jumbotron { 4577 | padding-top: 48px; 4578 | padding-bottom: 48px; 4579 | } 4580 | .container .jumbotron { 4581 | padding-right: 60px; 4582 | padding-left: 60px; 4583 | } 4584 | .jumbotron h1, 4585 | .jumbotron .h1 { 4586 | font-size: 63px; 4587 | } 4588 | } 4589 | 4590 | /* 4591 | 4592 | 4593 | 4594 | 4595 | 4596 | 4597 | 4598 | 4599 | 4600 | 4601 | 4602 | 4603 | 4604 | 4605 | 4606 | 4607 | 4608 | 4609 | 4610 | 4611 | 4612 | 4613 | 4614 | 4615 | 4616 | unicorn 4617 | 4618 | 4619 | 4620 | 4621 | 4622 | 4623 | 4624 | 4625 | 4626 | 4627 | 4628 | 4629 | 4630 | 4631 | 4632 | 4633 | 4634 | */ 4635 | 4636 | .thumbnail { 4637 | display: block; 4638 | padding: 4px; 4639 | margin-bottom: 20px; 4640 | line-height: 1.42857143; 4641 | background-color: #fff; 4642 | border: 1px solid #ddd; 4643 | border-radius: 4px; 4644 | -webkit-transition: all .2s ease-in-out; 4645 | -o-transition: all .2s ease-in-out; 4646 | transition: all .2s ease-in-out; 4647 | } 4648 | .thumbnail > img, 4649 | .thumbnail a > img { 4650 | margin-right: auto; 4651 | margin-left: auto; 4652 | } 4653 | a.thumbnail:hover, 4654 | a.thumbnail:focus, 4655 | a.thumbnail.active { 4656 | border-color: #428bca; 4657 | } 4658 | .thumbnail .caption { 4659 | padding: 9px; 4660 | color: #333; 4661 | } 4662 | .alert { 4663 | padding: 15px; 4664 | margin-bottom: 20px; 4665 | border: 1px solid transparent; 4666 | border-radius: 4px; 4667 | } 4668 | .alert h4 { 4669 | margin-top: 0; 4670 | color: inherit; 4671 | } 4672 | .alert .alert-link { 4673 | font-weight: bold; 4674 | } 4675 | .alert > p, 4676 | .alert > ul { 4677 | margin-bottom: 0; 4678 | } 4679 | .alert > p + p { 4680 | margin-top: 5px; 4681 | } 4682 | .alert-dismissable, 4683 | .alert-dismissible { 4684 | padding-right: 35px; 4685 | } 4686 | .alert-dismissable .close, 4687 | .alert-dismissible .close { 4688 | position: relative; 4689 | top: -2px; 4690 | right: -21px; 4691 | color: inherit; 4692 | } 4693 | .alert-success { 4694 | color: #3c763d; 4695 | background-color: #dff0d8; 4696 | border-color: #d6e9c6; 4697 | } 4698 | .alert-success hr { 4699 | border-top-color: #c9e2b3; 4700 | } 4701 | .alert-success .alert-link { 4702 | color: #2b542c; 4703 | } 4704 | .alert-info { 4705 | color: #31708f; 4706 | background-color: #d9edf7; 4707 | border-color: #bce8f1; 4708 | } 4709 | .alert-info hr { 4710 | border-top-color: #a6e1ec; 4711 | } 4712 | .alert-info .alert-link { 4713 | color: #245269; 4714 | } 4715 | .alert-warning { 4716 | color: #8a6d3b; 4717 | background-color: #fcf8e3; 4718 | border-color: #faebcc; 4719 | } 4720 | .alert-warning hr { 4721 | border-top-color: #f7e1b5; 4722 | } 4723 | .alert-warning .alert-link { 4724 | color: #66512c; 4725 | } 4726 | .alert-danger { 4727 | color: #a94442; 4728 | background-color: #f2dede; 4729 | border-color: #ebccd1; 4730 | } 4731 | .alert-danger hr { 4732 | border-top-color: #e4b9c0; 4733 | } 4734 | .alert-danger .alert-link { 4735 | color: #843534; 4736 | } 4737 | @-webkit-keyframes progress-bar-stripes { 4738 | from { 4739 | background-position: 40px 0; 4740 | } 4741 | to { 4742 | background-position: 0 0; 4743 | } 4744 | } 4745 | @-o-keyframes progress-bar-stripes { 4746 | from { 4747 | background-position: 40px 0; 4748 | } 4749 | to { 4750 | background-position: 0 0; 4751 | } 4752 | } 4753 | @keyframes progress-bar-stripes { 4754 | from { 4755 | background-position: 40px 0; 4756 | } 4757 | to { 4758 | background-position: 0 0; 4759 | } 4760 | } 4761 | .progress { 4762 | height: 20px; 4763 | margin-bottom: 20px; 4764 | overflow: hidden; 4765 | background-color: #f5f5f5; 4766 | border-radius: 4px; 4767 | -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); 4768 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); 4769 | } 4770 | .progress-bar { 4771 | float: left; 4772 | width: 0; 4773 | height: 100%; 4774 | font-size: 12px; 4775 | line-height: 20px; 4776 | color: #fff; 4777 | text-align: center; 4778 | background-color: #428bca; 4779 | -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); 4780 | box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .15); 4781 | -webkit-transition: width .6s ease; 4782 | -o-transition: width .6s ease; 4783 | transition: width .6s ease; 4784 | } 4785 | .progress-striped .progress-bar, 4786 | .progress-bar-striped { 4787 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4788 | background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4789 | background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4790 | -webkit-background-size: 40px 40px; 4791 | background-size: 40px 40px; 4792 | } 4793 | .progress.active .progress-bar, 4794 | .progress-bar.active { 4795 | -webkit-animation: progress-bar-stripes 2s linear infinite; 4796 | -o-animation: progress-bar-stripes 2s linear infinite; 4797 | animation: progress-bar-stripes 2s linear infinite; 4798 | } 4799 | .progress-bar[aria-valuenow="1"], 4800 | .progress-bar[aria-valuenow="2"] { 4801 | min-width: 30px; 4802 | } 4803 | .progress-bar[aria-valuenow="0"] { 4804 | min-width: 30px; 4805 | color: #777; 4806 | background-color: transparent; 4807 | background-image: none; 4808 | -webkit-box-shadow: none; 4809 | box-shadow: none; 4810 | } 4811 | .progress-bar-success { 4812 | background-color: #5cb85c; 4813 | } 4814 | .progress-striped .progress-bar-success { 4815 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4816 | background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4817 | background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4818 | } 4819 | .progress-bar-info { 4820 | background-color: #5bc0de; 4821 | } 4822 | .progress-striped .progress-bar-info { 4823 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4824 | background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4825 | background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4826 | } 4827 | .progress-bar-warning { 4828 | background-color: #f0ad4e; 4829 | } 4830 | .progress-striped .progress-bar-warning { 4831 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4832 | background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4833 | background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4834 | } 4835 | .progress-bar-danger { 4836 | background-color: #d9534f; 4837 | } 4838 | .progress-striped .progress-bar-danger { 4839 | background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4840 | background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4841 | background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); 4842 | } 4843 | .media, 4844 | .media-body { 4845 | overflow: hidden; 4846 | zoom: 1; 4847 | } 4848 | .media, 4849 | .media .media { 4850 | margin-top: 15px; 4851 | } 4852 | .media:first-child { 4853 | margin-top: 0; 4854 | } 4855 | .media-object { 4856 | display: block; 4857 | } 4858 | .media-heading { 4859 | margin: 0 0 5px; 4860 | } 4861 | .media > .pull-left { 4862 | margin-right: 10px; 4863 | } 4864 | .media > .pull-right { 4865 | margin-left: 10px; 4866 | } 4867 | .media-list { 4868 | padding-left: 0; 4869 | list-style: none; 4870 | } 4871 | .list-group { 4872 | padding-left: 0; 4873 | margin-bottom: 20px; 4874 | } 4875 | .list-group-item { 4876 | position: relative; 4877 | display: block; 4878 | padding: 10px 15px; 4879 | margin-bottom: -1px; 4880 | background-color: #fff; 4881 | border: 1px solid #ddd; 4882 | } 4883 | .list-group-item:first-child { 4884 | border-top-left-radius: 4px; 4885 | border-top-right-radius: 4px; 4886 | } 4887 | .list-group-item:last-child { 4888 | margin-bottom: 0; 4889 | border-bottom-right-radius: 4px; 4890 | border-bottom-left-radius: 4px; 4891 | } 4892 | .list-group-item > .badge { 4893 | float: right; 4894 | } 4895 | .list-group-item > .badge + .badge { 4896 | margin-right: 5px; 4897 | } 4898 | a.list-group-item { 4899 | color: #555; 4900 | } 4901 | a.list-group-item .list-group-item-heading { 4902 | color: #333; 4903 | } 4904 | a.list-group-item:hover, 4905 | a.list-group-item:focus { 4906 | color: #555; 4907 | text-decoration: none; 4908 | background-color: #f5f5f5; 4909 | } 4910 | .list-group-item.disabled, 4911 | .list-group-item.disabled:hover, 4912 | .list-group-item.disabled:focus { 4913 | color: #777; 4914 | background-color: #eee; 4915 | } 4916 | .list-group-item.disabled .list-group-item-heading, 4917 | .list-group-item.disabled:hover .list-group-item-heading, 4918 | .list-group-item.disabled:focus .list-group-item-heading { 4919 | color: inherit; 4920 | } 4921 | .list-group-item.disabled .list-group-item-text, 4922 | .list-group-item.disabled:hover .list-group-item-text, 4923 | .list-group-item.disabled:focus .list-group-item-text { 4924 | color: #777; 4925 | } 4926 | .list-group-item.active, 4927 | .list-group-item.active:hover, 4928 | .list-group-item.active:focus { 4929 | z-index: 2; 4930 | color: #fff; 4931 | background-color: #428bca; 4932 | border-color: #428bca; 4933 | } 4934 | .list-group-item.active .list-group-item-heading, 4935 | .list-group-item.active:hover .list-group-item-heading, 4936 | .list-group-item.active:focus .list-group-item-heading, 4937 | .list-group-item.active .list-group-item-heading > small, 4938 | .list-group-item.active:hover .list-group-item-heading > small, 4939 | .list-group-item.active:focus .list-group-item-heading > small, 4940 | .list-group-item.active .list-group-item-heading > .small, 4941 | .list-group-item.active:hover .list-group-item-heading > .small, 4942 | .list-group-item.active:focus .list-group-item-heading > .small { 4943 | color: inherit; 4944 | } 4945 | .list-group-item.active .list-group-item-text, 4946 | .list-group-item.active:hover .list-group-item-text, 4947 | .list-group-item.active:focus .list-group-item-text { 4948 | color: #e1edf7; 4949 | } 4950 | .list-group-item-success { 4951 | color: #3c763d; 4952 | background-color: #dff0d8; 4953 | } 4954 | a.list-group-item-success { 4955 | color: #3c763d; 4956 | } 4957 | a.list-group-item-success .list-group-item-heading { 4958 | color: inherit; 4959 | } 4960 | a.list-group-item-success:hover, 4961 | a.list-group-item-success:focus { 4962 | color: #3c763d; 4963 | background-color: #d0e9c6; 4964 | } 4965 | a.list-group-item-success.active, 4966 | a.list-group-item-success.active:hover, 4967 | a.list-group-item-success.active:focus { 4968 | color: #fff; 4969 | background-color: #3c763d; 4970 | border-color: #3c763d; 4971 | } 4972 | .list-group-item-info { 4973 | color: #31708f; 4974 | background-color: #d9edf7; 4975 | } 4976 | a.list-group-item-info { 4977 | color: #31708f; 4978 | } 4979 | a.list-group-item-info .list-group-item-heading { 4980 | color: inherit; 4981 | } 4982 | a.list-group-item-info:hover, 4983 | a.list-group-item-info:focus { 4984 | color: #31708f; 4985 | background-color: #c4e3f3; 4986 | } 4987 | a.list-group-item-info.active, 4988 | a.list-group-item-info.active:hover, 4989 | a.list-group-item-info.active:focus { 4990 | color: #fff; 4991 | background-color: #31708f; 4992 | border-color: #31708f; 4993 | } 4994 | .list-group-item-warning { 4995 | color: #8a6d3b; 4996 | background-color: #fcf8e3; 4997 | } 4998 | a.list-group-item-warning { 4999 | color: #8a6d3b; 5000 | } 5001 | a.list-group-item-warning .list-group-item-heading { 5002 | color: inherit; 5003 | } 5004 | a.list-group-item-warning:hover, 5005 | a.list-group-item-warning:focus { 5006 | color: #8a6d3b; 5007 | background-color: #faf2cc; 5008 | } 5009 | a.list-group-item-warning.active, 5010 | a.list-group-item-warning.active:hover, 5011 | a.list-group-item-warning.active:focus { 5012 | color: #fff; 5013 | background-color: #8a6d3b; 5014 | border-color: #8a6d3b; 5015 | } 5016 | .list-group-item-danger { 5017 | color: #a94442; 5018 | background-color: #f2dede; 5019 | } 5020 | a.list-group-item-danger { 5021 | color: #a94442; 5022 | } 5023 | a.list-group-item-danger .list-group-item-heading { 5024 | color: inherit; 5025 | } 5026 | a.list-group-item-danger:hover, 5027 | a.list-group-item-danger:focus { 5028 | color: #a94442; 5029 | background-color: #ebcccc; 5030 | } 5031 | a.list-group-item-danger.active, 5032 | a.list-group-item-danger.active:hover, 5033 | a.list-group-item-danger.active:focus { 5034 | color: #fff; 5035 | background-color: #a94442; 5036 | border-color: #a94442; 5037 | } 5038 | .list-group-item-heading { 5039 | margin-top: 0; 5040 | margin-bottom: 5px; 5041 | } 5042 | .list-group-item-text { 5043 | margin-bottom: 0; 5044 | line-height: 1.3; 5045 | } 5046 | .panel { 5047 | margin-bottom: 20px; 5048 | background-color: #fff; 5049 | border: 1px solid transparent; 5050 | border-radius: 4px; 5051 | -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05); 5052 | box-shadow: 0 1px 1px rgba(0, 0, 0, .05); 5053 | } 5054 | .panel-body { 5055 | padding: 15px; 5056 | } 5057 | .panel-heading { 5058 | padding: 10px 15px; 5059 | border-bottom: 1px solid transparent; 5060 | border-top-left-radius: 3px; 5061 | border-top-right-radius: 3px; 5062 | } 5063 | .panel-heading > .dropdown .dropdown-toggle { 5064 | color: inherit; 5065 | } 5066 | .panel-title { 5067 | margin-top: 0; 5068 | margin-bottom: 0; 5069 | font-size: 16px; 5070 | color: inherit; 5071 | } 5072 | .panel-title > a { 5073 | color: inherit; 5074 | } 5075 | .panel-footer { 5076 | padding: 10px 15px; 5077 | background-color: #f5f5f5; 5078 | border-top: 1px solid #ddd; 5079 | border-bottom-right-radius: 3px; 5080 | border-bottom-left-radius: 3px; 5081 | } 5082 | .panel > .list-group { 5083 | margin-bottom: 0; 5084 | } 5085 | .panel > .list-group .list-group-item { 5086 | border-width: 1px 0; 5087 | border-radius: 0; 5088 | } 5089 | .panel > .list-group:first-child .list-group-item:first-child { 5090 | border-top: 0; 5091 | border-top-left-radius: 3px; 5092 | border-top-right-radius: 3px; 5093 | } 5094 | .panel > .list-group:last-child .list-group-item:last-child { 5095 | border-bottom: 0; 5096 | border-bottom-right-radius: 3px; 5097 | border-bottom-left-radius: 3px; 5098 | } 5099 | .panel-heading + .list-group .list-group-item:first-child { 5100 | border-top-width: 0; 5101 | } 5102 | .list-group + .panel-footer { 5103 | border-top-width: 0; 5104 | } 5105 | .panel > .table, 5106 | .panel > .table-responsive > .table, 5107 | .panel > .panel-collapse > .table { 5108 | margin-bottom: 0; 5109 | } 5110 | .panel > .table:first-child, 5111 | .panel > .table-responsive:first-child > .table:first-child { 5112 | border-top-left-radius: 3px; 5113 | border-top-right-radius: 3px; 5114 | } 5115 | .panel > .table:first-child > thead:first-child > tr:first-child td:first-child, 5116 | .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, 5117 | .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, 5118 | .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, 5119 | .panel > .table:first-child > thead:first-child > tr:first-child th:first-child, 5120 | .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, 5121 | .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, 5122 | .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { 5123 | border-top-left-radius: 3px; 5124 | } 5125 | .panel > .table:first-child > thead:first-child > tr:first-child td:last-child, 5126 | .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, 5127 | .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, 5128 | .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, 5129 | .panel > .table:first-child > thead:first-child > tr:first-child th:last-child, 5130 | .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, 5131 | .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, 5132 | .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { 5133 | border-top-right-radius: 3px; 5134 | } 5135 | .panel > .table:last-child, 5136 | .panel > .table-responsive:last-child > .table:last-child { 5137 | border-bottom-right-radius: 3px; 5138 | border-bottom-left-radius: 3px; 5139 | } 5140 | .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, 5141 | .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, 5142 | .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, 5143 | .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, 5144 | .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, 5145 | .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, 5146 | .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, 5147 | .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { 5148 | border-bottom-left-radius: 3px; 5149 | } 5150 | .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, 5151 | .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, 5152 | .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, 5153 | .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, 5154 | .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, 5155 | .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, 5156 | .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, 5157 | .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { 5158 | border-bottom-right-radius: 3px; 5159 | } 5160 | .panel > .panel-body + .table, 5161 | .panel > .panel-body + .table-responsive { 5162 | border-top: 1px solid #ddd; 5163 | } 5164 | .panel > .table > tbody:first-child > tr:first-child th, 5165 | .panel > .table > tbody:first-child > tr:first-child td { 5166 | border-top: 0; 5167 | } 5168 | .panel > .table-bordered, 5169 | .panel > .table-responsive > .table-bordered { 5170 | border: 0; 5171 | } 5172 | .panel > .table-bordered > thead > tr > th:first-child, 5173 | .panel > .table-responsive > .table-bordered > thead > tr > th:first-child, 5174 | .panel > .table-bordered > tbody > tr > th:first-child, 5175 | .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, 5176 | .panel > .table-bordered > tfoot > tr > th:first-child, 5177 | .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, 5178 | .panel > .table-bordered > thead > tr > td:first-child, 5179 | .panel > .table-responsive > .table-bordered > thead > tr > td:first-child, 5180 | .panel > .table-bordered > tbody > tr > td:first-child, 5181 | .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, 5182 | .panel > .table-bordered > tfoot > tr > td:first-child, 5183 | .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { 5184 | border-left: 0; 5185 | } 5186 | .panel > .table-bordered > thead > tr > th:last-child, 5187 | .panel > .table-responsive > .table-bordered > thead > tr > th:last-child, 5188 | .panel > .table-bordered > tbody > tr > th:last-child, 5189 | .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, 5190 | .panel > .table-bordered > tfoot > tr > th:last-child, 5191 | .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, 5192 | .panel > .table-bordered > thead > tr > td:last-child, 5193 | .panel > .table-responsive > .table-bordered > thead > tr > td:last-child, 5194 | .panel > .table-bordered > tbody > tr > td:last-child, 5195 | .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, 5196 | .panel > .table-bordered > tfoot > tr > td:last-child, 5197 | .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { 5198 | border-right: 0; 5199 | } 5200 | .panel > .table-bordered > thead > tr:first-child > td, 5201 | .panel > .table-responsive > .table-bordered > thead > tr:first-child > td, 5202 | .panel > .table-bordered > tbody > tr:first-child > td, 5203 | .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, 5204 | .panel > .table-bordered > thead > tr:first-child > th, 5205 | .panel > .table-responsive > .table-bordered > thead > tr:first-child > th, 5206 | .panel > .table-bordered > tbody > tr:first-child > th, 5207 | .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th { 5208 | border-bottom: 0; 5209 | } 5210 | .panel > .table-bordered > tbody > tr:last-child > td, 5211 | .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, 5212 | .panel > .table-bordered > tfoot > tr:last-child > td, 5213 | .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, 5214 | .panel > .table-bordered > tbody > tr:last-child > th, 5215 | .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, 5216 | .panel > .table-bordered > tfoot > tr:last-child > th, 5217 | .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { 5218 | border-bottom: 0; 5219 | } 5220 | .panel > .table-responsive { 5221 | margin-bottom: 0; 5222 | border: 0; 5223 | } 5224 | .panel-group { 5225 | margin-bottom: 20px; 5226 | } 5227 | .panel-group .panel { 5228 | margin-bottom: 0; 5229 | border-radius: 4px; 5230 | } 5231 | .panel-group .panel + .panel { 5232 | margin-top: 5px; 5233 | } 5234 | .panel-group .panel-heading { 5235 | border-bottom: 0; 5236 | } 5237 | .panel-group .panel-heading + .panel-collapse > .panel-body { 5238 | border-top: 1px solid #ddd; 5239 | } 5240 | .panel-group .panel-footer { 5241 | border-top: 0; 5242 | } 5243 | .panel-group .panel-footer + .panel-collapse .panel-body { 5244 | border-bottom: 1px solid #ddd; 5245 | } 5246 | .panel-default { 5247 | border-color: #ddd; 5248 | } 5249 | .panel-default > .panel-heading { 5250 | color: #333; 5251 | background-color: #f5f5f5; 5252 | border-color: #ddd; 5253 | } 5254 | .panel-default > .panel-heading + .panel-collapse > .panel-body { 5255 | border-top-color: #ddd; 5256 | } 5257 | .panel-default > .panel-heading .badge { 5258 | color: #f5f5f5; 5259 | background-color: #333; 5260 | } 5261 | .panel-default > .panel-footer + .panel-collapse > .panel-body { 5262 | border-bottom-color: #ddd; 5263 | } 5264 | .panel-primary { 5265 | border-color: #428bca; 5266 | } 5267 | .panel-primary > .panel-heading { 5268 | color: #fff; 5269 | background-color: #428bca; 5270 | border-color: #428bca; 5271 | } 5272 | .panel-primary > .panel-heading + .panel-collapse > .panel-body { 5273 | border-top-color: #428bca; 5274 | } 5275 | .panel-primary > .panel-heading .badge { 5276 | color: #428bca; 5277 | background-color: #fff; 5278 | } 5279 | .panel-primary > .panel-footer + .panel-collapse > .panel-body { 5280 | border-bottom-color: #428bca; 5281 | } 5282 | .panel-success { 5283 | border-color: #d6e9c6; 5284 | } 5285 | .panel-success > .panel-heading { 5286 | color: #3c763d; 5287 | background-color: #dff0d8; 5288 | border-color: #d6e9c6; 5289 | } 5290 | .panel-success > .panel-heading + .panel-collapse > .panel-body { 5291 | border-top-color: #d6e9c6; 5292 | } 5293 | .panel-success > .panel-heading .badge { 5294 | color: #dff0d8; 5295 | background-color: #3c763d; 5296 | } 5297 | .panel-success > .panel-footer + .panel-collapse > .panel-body { 5298 | border-bottom-color: #d6e9c6; 5299 | } 5300 | .panel-info { 5301 | border-color: #bce8f1; 5302 | } 5303 | .panel-info > .panel-heading { 5304 | color: #31708f; 5305 | background-color: #d9edf7; 5306 | border-color: #bce8f1; 5307 | } 5308 | .panel-info > .panel-heading + .panel-collapse > .panel-body { 5309 | border-top-color: #bce8f1; 5310 | } 5311 | .panel-info > .panel-heading .badge { 5312 | color: #d9edf7; 5313 | background-color: #31708f; 5314 | } 5315 | .panel-info > .panel-footer + .panel-collapse > .panel-body { 5316 | border-bottom-color: #bce8f1; 5317 | } 5318 | .panel-warning { 5319 | border-color: #faebcc; 5320 | } 5321 | .panel-warning > .panel-heading { 5322 | color: #8a6d3b; 5323 | background-color: #fcf8e3; 5324 | border-color: #faebcc; 5325 | } 5326 | .panel-warning > .panel-heading + .panel-collapse > .panel-body { 5327 | border-top-color: #faebcc; 5328 | } 5329 | .panel-warning > .panel-heading .badge { 5330 | color: #fcf8e3; 5331 | background-color: #8a6d3b; 5332 | } 5333 | .panel-warning > .panel-footer + .panel-collapse > .panel-body { 5334 | border-bottom-color: #faebcc; 5335 | } 5336 | .panel-danger { 5337 | border-color: #ebccd1; 5338 | } 5339 | .panel-danger > .panel-heading { 5340 | color: #a94442; 5341 | background-color: #f2dede; 5342 | border-color: #ebccd1; 5343 | } 5344 | .panel-danger > .panel-heading + .panel-collapse > .panel-body { 5345 | border-top-color: #ebccd1; 5346 | } 5347 | .panel-danger > .panel-heading .badge { 5348 | color: #f2dede; 5349 | background-color: #a94442; 5350 | } 5351 | .panel-danger > .panel-footer + .panel-collapse > .panel-body { 5352 | border-bottom-color: #ebccd1; 5353 | } 5354 | .embed-responsive { 5355 | position: relative; 5356 | display: block; 5357 | height: 0; 5358 | padding: 0; 5359 | overflow: hidden; 5360 | } 5361 | .embed-responsive .embed-responsive-item, 5362 | .embed-responsive iframe, 5363 | .embed-responsive embed, 5364 | .embed-responsive object { 5365 | position: absolute; 5366 | top: 0; 5367 | bottom: 0; 5368 | left: 0; 5369 | width: 100%; 5370 | height: 100%; 5371 | border: 0; 5372 | } 5373 | .embed-responsive.embed-responsive-16by9 { 5374 | padding-bottom: 56.25%; 5375 | } 5376 | .embed-responsive.embed-responsive-4by3 { 5377 | padding-bottom: 75%; 5378 | } 5379 | .well { 5380 | min-height: 20px; 5381 | padding: 19px; 5382 | margin-bottom: 20px; 5383 | background-color: #f5f5f5; 5384 | border: 1px solid #e3e3e3; 5385 | border-radius: 4px; 5386 | -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); 5387 | box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); 5388 | } 5389 | .well blockquote { 5390 | border-color: #ddd; 5391 | border-color: rgba(0, 0, 0, .15); 5392 | } 5393 | .well-lg { 5394 | padding: 24px; 5395 | border-radius: 6px; 5396 | } 5397 | /* 5398 | 5399 | 5400 | 5401 | 5402 | 5403 | 5404 | 5405 | 5406 | */ 5407 | .well-sm { 5408 | padding: 9px; 5409 | border-radius: 3px; 5410 | } 5411 | .close { 5412 | float: right; 5413 | font-size: 21px; 5414 | font-weight: bold; 5415 | line-height: 1; 5416 | color: #000; 5417 | text-shadow: 0 1px 0 #fff; 5418 | filter: alpha(opacity=20); 5419 | opacity: .2; 5420 | } 5421 | .close:hover, 5422 | .close:focus { 5423 | color: #000; 5424 | text-decoration: none; 5425 | cursor: pointer; 5426 | filter: alpha(opacity=50); 5427 | opacity: .5; 5428 | } 5429 | button.close { 5430 | -webkit-appearance: none; 5431 | padding: 0; 5432 | cursor: pointer; 5433 | background: transparent; 5434 | border: 0; 5435 | } 5436 | .modal-open { 5437 | overflow: hidden; 5438 | } 5439 | .modal { 5440 | position: fixed; 5441 | top: 0; 5442 | right: 0; 5443 | bottom: 0; 5444 | left: 0; 5445 | z-index: 1050; 5446 | display: none; 5447 | overflow: hidden; 5448 | -webkit-overflow-scrolling: touch; 5449 | outline: 0; 5450 | } 5451 | .modal.fade .modal-dialog { 5452 | -webkit-transition: -webkit-transform .3s ease-out; 5453 | -o-transition: -o-transform .3s ease-out; 5454 | transition: transform .3s ease-out; 5455 | -webkit-transform: translate3d(0, -25%, 0); 5456 | -o-transform: translate3d(0, -25%, 0); 5457 | transform: translate3d(0, -25%, 0); 5458 | } 5459 | .modal.in .modal-dialog { 5460 | -webkit-transform: translate3d(0, 0, 0); 5461 | -o-transform: translate3d(0, 0, 0); 5462 | transform: translate3d(0, 0, 0); 5463 | } 5464 | .modal-open .modal { 5465 | overflow-x: hidden; 5466 | overflow-y: auto; 5467 | } 5468 | .modal-dialog { 5469 | position: relative; 5470 | width: auto; 5471 | margin: 10px; 5472 | } 5473 | .modal-content { 5474 | position: relative; 5475 | background-color: #fff; 5476 | -webkit-background-clip: padding-box; 5477 | background-clip: padding-box; 5478 | border: 1px solid #999; 5479 | border: 1px solid rgba(0, 0, 0, .2); 5480 | border-radius: 6px; 5481 | outline: 0; 5482 | -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5); 5483 | box-shadow: 0 3px 9px rgba(0, 0, 0, .5); 5484 | } 5485 | .modal-backdrop { 5486 | position: fixed; 5487 | top: 0; 5488 | right: 0; 5489 | bottom: 0; 5490 | left: 0; 5491 | z-index: 1040; 5492 | background-color: #000; 5493 | } 5494 | .modal-backdrop.fade { 5495 | filter: alpha(opacity=0); 5496 | opacity: 0; 5497 | } 5498 | .modal-backdrop.in { 5499 | filter: alpha(opacity=50); 5500 | opacity: .5; 5501 | } 5502 | .modal-header { 5503 | min-height: 16.42857143px; 5504 | padding: 15px; 5505 | border-bottom: 1px solid #e5e5e5; 5506 | } 5507 | .modal-header .close { 5508 | margin-top: -2px; 5509 | } 5510 | .modal-title { 5511 | margin: 0; 5512 | line-height: 1.42857143; 5513 | } 5514 | .modal-body { 5515 | position: relative; 5516 | padding: 15px; 5517 | } 5518 | .modal-footer { 5519 | padding: 15px; 5520 | text-align: right; 5521 | border-top: 1px solid #e5e5e5; 5522 | } 5523 | .modal-footer .btn + .btn { 5524 | margin-bottom: 0; 5525 | margin-left: 5px; 5526 | } 5527 | .modal-footer .btn-group .btn + .btn { 5528 | margin-left: -1px; 5529 | } 5530 | .modal-footer .btn-block + .btn-block { 5531 | margin-left: 0; 5532 | } 5533 | .modal-scrollbar-measure { 5534 | position: absolute; 5535 | top: -9999px; 5536 | width: 50px; 5537 | height: 50px; 5538 | overflow: scroll; 5539 | } 5540 | @media (min-width: 768px) { 5541 | .modal-dialog { 5542 | width: 600px; 5543 | margin: 30px auto; 5544 | } 5545 | .modal-content { 5546 | -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5); 5547 | box-shadow: 0 5px 15px rgba(0, 0, 0, .5); 5548 | } 5549 | .modal-sm { 5550 | width: 300px; 5551 | } 5552 | } 5553 | @media (min-width: 992px) { 5554 | .modal-lg { 5555 | width: 900px; 5556 | } 5557 | } 5558 | .tooltip { 5559 | position: absolute; 5560 | z-index: 1070; 5561 | display: block; 5562 | font-size: 12px; 5563 | line-height: 1.4; 5564 | visibility: visible; 5565 | filter: alpha(opacity=0); 5566 | opacity: 0; 5567 | } 5568 | .tooltip.in { 5569 | filter: alpha(opacity=90); 5570 | opacity: .9; 5571 | } 5572 | .tooltip.top { 5573 | padding: 5px 0; 5574 | margin-top: -3px; 5575 | } 5576 | .tooltip.right { 5577 | padding: 0 5px; 5578 | margin-left: 3px; 5579 | } 5580 | .tooltip.bottom { 5581 | padding: 5px 0; 5582 | margin-top: 3px; 5583 | } 5584 | .tooltip.left { 5585 | padding: 0 5px; 5586 | margin-left: -3px; 5587 | } 5588 | .tooltip-inner { 5589 | max-width: 200px; 5590 | padding: 3px 8px; 5591 | color: #fff; 5592 | text-align: center; 5593 | text-decoration: none; 5594 | background-color: #000; 5595 | border-radius: 4px; 5596 | } 5597 | .tooltip-arrow { 5598 | position: absolute; 5599 | width: 0; 5600 | height: 0; 5601 | border-color: transparent; 5602 | border-style: solid; 5603 | } 5604 | .tooltip.top .tooltip-arrow { 5605 | bottom: 0; 5606 | left: 50%; 5607 | margin-left: -5px; 5608 | border-width: 5px 5px 0; 5609 | border-top-color: #000; 5610 | } 5611 | .tooltip.top-left .tooltip-arrow { 5612 | bottom: 0; 5613 | left: 5px; 5614 | border-width: 5px 5px 0; 5615 | border-top-color: #000; 5616 | } 5617 | .tooltip.top-right .tooltip-arrow { 5618 | right: 5px; 5619 | bottom: 0; 5620 | border-width: 5px 5px 0; 5621 | border-top-color: #000; 5622 | } 5623 | .tooltip.right .tooltip-arrow { 5624 | top: 50%; 5625 | left: 0; 5626 | margin-top: -5px; 5627 | border-width: 5px 5px 5px 0; 5628 | border-right-color: #000; 5629 | } 5630 | .tooltip.left .tooltip-arrow { 5631 | top: 50%; 5632 | right: 0; 5633 | margin-top: -5px; 5634 | border-width: 5px 0 5px 5px; 5635 | border-left-color: #000; 5636 | } 5637 | .tooltip.bottom .tooltip-arrow { 5638 | top: 0; 5639 | left: 50%; 5640 | margin-left: -5px; 5641 | border-width: 0 5px 5px; 5642 | border-bottom-color: #000; 5643 | } 5644 | .tooltip.bottom-left .tooltip-arrow { 5645 | top: 0; 5646 | left: 5px; 5647 | border-width: 0 5px 5px; 5648 | border-bottom-color: #000; 5649 | } 5650 | .tooltip.bottom-right .tooltip-arrow { 5651 | top: 0; 5652 | right: 5px; 5653 | border-width: 0 5px 5px; 5654 | border-bottom-color: #000; 5655 | } 5656 | .popover { 5657 | position: absolute; 5658 | top: 0; 5659 | left: 0; 5660 | z-index: 1060; 5661 | display: none; 5662 | max-width: 276px; 5663 | padding: 1px; 5664 | text-align: left; 5665 | white-space: normal; 5666 | background-color: #fff; 5667 | -webkit-background-clip: padding-box; 5668 | background-clip: padding-box; 5669 | border: 1px solid #ccc; 5670 | border: 1px solid rgba(0, 0, 0, .2); 5671 | border-radius: 6px; 5672 | -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2); 5673 | box-shadow: 0 5px 10px rgba(0, 0, 0, .2); 5674 | } 5675 | .popover.top { 5676 | margin-top: -10px; 5677 | } 5678 | .popover.right { 5679 | margin-left: 10px; 5680 | } 5681 | .popover.bottom { 5682 | margin-top: 10px; 5683 | } 5684 | .popover.left { 5685 | margin-left: -10px; 5686 | } 5687 | .popover-title { 5688 | padding: 8px 14px; 5689 | margin: 0; 5690 | font-size: 14px; 5691 | font-weight: normal; 5692 | line-height: 18px; 5693 | background-color: #f7f7f7; 5694 | border-bottom: 1px solid #ebebeb; 5695 | border-radius: 5px 5px 0 0; 5696 | } 5697 | .popover-content { 5698 | padding: 9px 14px; 5699 | } 5700 | .popover > .arrow, 5701 | .popover > .arrow:after { 5702 | position: absolute; 5703 | display: block; 5704 | width: 0; 5705 | height: 0; 5706 | border-color: transparent; 5707 | border-style: solid; 5708 | } 5709 | .popover > .arrow { 5710 | border-width: 11px; 5711 | } 5712 | .popover > .arrow:after { 5713 | content: ""; 5714 | border-width: 10px; 5715 | } 5716 | .popover.top > .arrow { 5717 | bottom: -11px; 5718 | left: 50%; 5719 | margin-left: -11px; 5720 | border-top-color: #999; 5721 | border-top-color: rgba(0, 0, 0, .25); 5722 | border-bottom-width: 0; 5723 | } 5724 | .popover.top > .arrow:after { 5725 | bottom: 1px; 5726 | margin-left: -10px; 5727 | content: " "; 5728 | border-top-color: #fff; 5729 | border-bottom-width: 0; 5730 | } 5731 | .popover.right > .arrow { 5732 | top: 50%; 5733 | left: -11px; 5734 | margin-top: -11px; 5735 | border-right-color: #999; 5736 | border-right-color: rgba(0, 0, 0, .25); 5737 | border-left-width: 0; 5738 | } 5739 | .popover.right > .arrow:after { 5740 | bottom: -10px; 5741 | left: 1px; 5742 | content: " "; 5743 | border-right-color: #fff; 5744 | border-left-width: 0; 5745 | } 5746 | .popover.bottom > .arrow { 5747 | top: -11px; 5748 | left: 50%; 5749 | margin-left: -11px; 5750 | border-top-width: 0; 5751 | border-bottom-color: #999; 5752 | border-bottom-color: rgba(0, 0, 0, .25); 5753 | } 5754 | .popover.bottom > .arrow:after { 5755 | top: 1px; 5756 | margin-left: -10px; 5757 | content: " "; 5758 | border-top-width: 0; 5759 | border-bottom-color: #fff; 5760 | } 5761 | .popover.left > .arrow { 5762 | top: 50%; 5763 | right: -11px; 5764 | margin-top: -11px; 5765 | border-right-width: 0; 5766 | border-left-color: #999; 5767 | border-left-color: rgba(0, 0, 0, .25); 5768 | } 5769 | .popover.left > .arrow:after { 5770 | right: 1px; 5771 | bottom: -10px; 5772 | content: " "; 5773 | border-right-width: 0; 5774 | border-left-color: #fff; 5775 | } 5776 | .carousel { 5777 | position: relative; 5778 | } 5779 | .carousel-inner { 5780 | position: relative; 5781 | width: 100%; 5782 | overflow: hidden; 5783 | } 5784 | .carousel-inner > .item { 5785 | position: relative; 5786 | display: none; 5787 | -webkit-transition: .6s ease-in-out left; 5788 | -o-transition: .6s ease-in-out left; 5789 | transition: .6s ease-in-out left; 5790 | } 5791 | .carousel-inner > .item > img, 5792 | .carousel-inner > .item > a > img { 5793 | line-height: 1; 5794 | } 5795 | .carousel-inner > .active, 5796 | .carousel-inner > .next, 5797 | .carousel-inner > .prev { 5798 | display: block; 5799 | } 5800 | .carousel-inner > .active { 5801 | left: 0; 5802 | } 5803 | .carousel-inner > .next, 5804 | .carousel-inner > .prev { 5805 | position: absolute; 5806 | top: 0; 5807 | width: 100%; 5808 | } 5809 | .carousel-inner > .next { 5810 | left: 100%; 5811 | } 5812 | .carousel-inner > .prev { 5813 | left: -100%; 5814 | } 5815 | .carousel-inner > .next.left, 5816 | .carousel-inner > .prev.right { 5817 | left: 0; 5818 | } 5819 | .carousel-inner > .active.left { 5820 | left: -100%; 5821 | } 5822 | .carousel-inner > .active.right { 5823 | left: 100%; 5824 | } 5825 | .carousel-control { 5826 | position: absolute; 5827 | top: 0; 5828 | bottom: 0; 5829 | left: 0; 5830 | width: 15%; 5831 | font-size: 20px; 5832 | color: #fff; 5833 | text-align: center; 5834 | text-shadow: 0 1px 2px rgba(0, 0, 0, .6); 5835 | filter: alpha(opacity=50); 5836 | opacity: .5; 5837 | } 5838 | .carousel-control.left { 5839 | background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); 5840 | background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); 5841 | background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001))); 5842 | background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%); 5843 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); 5844 | background-repeat: repeat-x; 5845 | } 5846 | .carousel-control.right { 5847 | right: 0; 5848 | left: auto; 5849 | background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); 5850 | background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); 5851 | background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5))); 5852 | background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%); 5853 | filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); 5854 | background-repeat: repeat-x; 5855 | } 5856 | .carousel-control:hover, 5857 | .carousel-control:focus { 5858 | color: #fff; 5859 | text-decoration: none; 5860 | filter: alpha(opacity=90); 5861 | outline: 0; 5862 | opacity: .9; 5863 | } 5864 | .carousel-control .icon-prev, 5865 | .carousel-control .icon-next, 5866 | .carousel-control .glyphicon-chevron-left, 5867 | .carousel-control .glyphicon-chevron-right { 5868 | position: absolute; 5869 | top: 50%; 5870 | z-index: 5; 5871 | display: inline-block; 5872 | } 5873 | .carousel-control .icon-prev, 5874 | .carousel-control .glyphicon-chevron-left { 5875 | left: 50%; 5876 | margin-left: -10px; 5877 | } 5878 | .carousel-control .icon-next, 5879 | .carousel-control .glyphicon-chevron-right { 5880 | right: 50%; 5881 | margin-right: -10px; 5882 | } 5883 | .carousel-control .icon-prev, 5884 | .carousel-control .icon-next { 5885 | width: 20px; 5886 | height: 20px; 5887 | margin-top: -10px; 5888 | font-family: serif; 5889 | } 5890 | .carousel-control .icon-prev:before { 5891 | content: '\2039'; 5892 | } 5893 | .carousel-control .icon-next:before { 5894 | content: '\203a'; 5895 | } 5896 | .carousel-indicators { 5897 | position: absolute; 5898 | bottom: 10px; 5899 | left: 50%; 5900 | z-index: 15; 5901 | width: 60%; 5902 | padding-left: 0; 5903 | margin-left: -30%; 5904 | text-align: center; 5905 | list-style: none; 5906 | } 5907 | .carousel-indicators li { 5908 | display: inline-block; 5909 | width: 10px; 5910 | height: 10px; 5911 | margin: 1px; 5912 | text-indent: -999px; 5913 | cursor: pointer; 5914 | background-color: #000 \9; 5915 | background-color: rgba(0, 0, 0, 0); 5916 | border: 1px solid #fff; 5917 | border-radius: 10px; 5918 | } 5919 | .carousel-indicators .active { 5920 | width: 12px; 5921 | height: 12px; 5922 | margin: 0; 5923 | background-color: #fff; 5924 | } 5925 | .carousel-caption { 5926 | position: absolute; 5927 | right: 15%; 5928 | bottom: 20px; 5929 | left: 15%; 5930 | z-index: 10; 5931 | padding-top: 20px; 5932 | padding-bottom: 20px; 5933 | color: #fff; 5934 | text-align: center; 5935 | text-shadow: 0 1px 2px rgba(0, 0, 0, .6); 5936 | } 5937 | .carousel-caption .btn { 5938 | text-shadow: none; 5939 | } 5940 | @media screen and (min-width: 768px) { 5941 | .carousel-control .glyphicon-chevron-left, 5942 | .carousel-control .glyphicon-chevron-right, 5943 | .carousel-control .icon-prev, 5944 | .carousel-control .icon-next { 5945 | width: 30px; 5946 | height: 30px; 5947 | margin-top: -15px; 5948 | font-size: 30px; 5949 | } 5950 | .carousel-control .glyphicon-chevron-left, 5951 | .carousel-control .icon-prev { 5952 | margin-left: -15px; 5953 | } 5954 | .carousel-control .glyphicon-chevron-right, 5955 | .carousel-control .icon-next { 5956 | margin-right: -15px; 5957 | } 5958 | .carousel-caption { 5959 | right: 20%; 5960 | left: 20%; 5961 | padding-bottom: 30px; 5962 | } 5963 | .carousel-indicators { 5964 | bottom: 20px; 5965 | } 5966 | } 5967 | .clearfix:before, 5968 | .clearfix:after, 5969 | .dl-horizontal dd:before, 5970 | .dl-horizontal dd:after, 5971 | .container:before, 5972 | .container:after, 5973 | .container-fluid:before, 5974 | .container-fluid:after, 5975 | .row:before, 5976 | .row:after, 5977 | .form-horizontal .form-group:before, 5978 | .form-horizontal .form-group:after, 5979 | .btn-toolbar:before, 5980 | .btn-toolbar:after, 5981 | .btn-group-vertical > .btn-group:before, 5982 | .btn-group-vertical > .btn-group:after, 5983 | .nav:before, 5984 | .nav:after, 5985 | .navbar:before, 5986 | .navbar:after, 5987 | .navbar-header:before, 5988 | .navbar-header:after, 5989 | .navbar-collapse:before, 5990 | .navbar-collapse:after, 5991 | .pager:before, 5992 | .pager:after, 5993 | .panel-body:before, 5994 | .panel-body:after, 5995 | .modal-footer:before, 5996 | .modal-footer:after { 5997 | display: table; 5998 | content: " "; 5999 | } 6000 | .clearfix:after, 6001 | .dl-horizontal dd:after, 6002 | .container:after, 6003 | .container-fluid:after, 6004 | .row:after, 6005 | .form-horizontal .form-group:after, 6006 | .btn-toolbar:after, 6007 | .btn-group-vertical > .btn-group:after, 6008 | .nav:after, 6009 | .navbar:after, 6010 | .navbar-header:after, 6011 | .navbar-collapse:after, 6012 | .pager:after, 6013 | .panel-body:after, 6014 | .modal-footer:after { 6015 | clear: both; 6016 | } 6017 | .center-block { 6018 | display: block; 6019 | margin-right: auto; 6020 | margin-left: auto; 6021 | } 6022 | .pull-right { 6023 | float: right !important; 6024 | } 6025 | .pull-left { 6026 | float: left !important; 6027 | } 6028 | .hide { 6029 | display: none !important; 6030 | } 6031 | .show { 6032 | display: block !important; 6033 | } 6034 | .invisible { 6035 | visibility: hidden; 6036 | } 6037 | .text-hide { 6038 | font: 0/0 a; 6039 | color: transparent; 6040 | text-shadow: none; 6041 | background-color: transparent; 6042 | border: 0; 6043 | } 6044 | .hidden { 6045 | display: none !important; 6046 | visibility: hidden !important; 6047 | } 6048 | .affix { 6049 | position: fixed; 6050 | -webkit-transform: translate3d(0, 0, 0); 6051 | -o-transform: translate3d(0, 0, 0); 6052 | transform: translate3d(0, 0, 0); 6053 | } 6054 | @-ms-viewport { 6055 | width: device-width; 6056 | } 6057 | .visible-xs, 6058 | .visible-sm, 6059 | .visible-md, 6060 | .visible-lg { 6061 | display: none !important; 6062 | } 6063 | .visible-xs-block, 6064 | .visible-xs-inline, 6065 | .visible-xs-inline-block, 6066 | .visible-sm-block, 6067 | .visible-sm-inline, 6068 | .visible-sm-inline-block, 6069 | .visible-md-block, 6070 | .visible-md-inline, 6071 | .visible-md-inline-block, 6072 | .visible-lg-block, 6073 | .visible-lg-inline, 6074 | .visible-lg-inline-block { 6075 | display: none !important; 6076 | } 6077 | @media (max-width: 767px) { 6078 | .visible-xs { 6079 | display: block !important; 6080 | } 6081 | table.visible-xs { 6082 | display: table; 6083 | } 6084 | tr.visible-xs { 6085 | display: table-row !important; 6086 | } 6087 | th.visible-xs, 6088 | td.visible-xs { 6089 | display: table-cell !important; 6090 | } 6091 | } 6092 | @media (max-width: 767px) { 6093 | .visible-xs-block { 6094 | display: block !important; 6095 | } 6096 | } 6097 | @media (max-width: 767px) { 6098 | .visible-xs-inline { 6099 | display: inline !important; 6100 | } 6101 | } 6102 | @media (max-width: 767px) { 6103 | .visible-xs-inline-block { 6104 | display: inline-block !important; 6105 | } 6106 | } 6107 | @media (min-width: 768px) and (max-width: 991px) { 6108 | .visible-sm { 6109 | display: block !important; 6110 | } 6111 | table.visible-sm { 6112 | display: table; 6113 | } 6114 | tr.visible-sm { 6115 | display: table-row !important; 6116 | } 6117 | th.visible-sm, 6118 | td.visible-sm { 6119 | display: table-cell !important; 6120 | } 6121 | } 6122 | @media (min-width: 768px) and (max-width: 991px) { 6123 | .visible-sm-block { 6124 | display: block !important; 6125 | } 6126 | } 6127 | @media (min-width: 768px) and (max-width: 991px) { 6128 | .visible-sm-inline { 6129 | display: inline !important; 6130 | } 6131 | } 6132 | @media (min-width: 768px) and (max-width: 991px) { 6133 | .visible-sm-inline-block { 6134 | display: inline-block !important; 6135 | } 6136 | } 6137 | @media (min-width: 992px) and (max-width: 1199px) { 6138 | .visible-md { 6139 | display: block !important; 6140 | } 6141 | table.visible-md { 6142 | display: table; 6143 | } 6144 | tr.visible-md { 6145 | display: table-row !important; 6146 | } 6147 | th.visible-md, 6148 | td.visible-md { 6149 | display: table-cell !important; 6150 | } 6151 | } 6152 | @media (min-width: 992px) and (max-width: 1199px) { 6153 | .visible-md-block { 6154 | display: block !important; 6155 | } 6156 | } 6157 | @media (min-width: 992px) and (max-width: 1199px) { 6158 | .visible-md-inline { 6159 | display: inline !important; 6160 | } 6161 | } 6162 | @media (min-width: 992px) and (max-width: 1199px) { 6163 | .visible-md-inline-block { 6164 | display: inline-block !important; 6165 | } 6166 | } 6167 | @media (min-width: 1200px) { 6168 | .visible-lg { 6169 | display: block !important; 6170 | } 6171 | table.visible-lg { 6172 | display: table; 6173 | } 6174 | tr.visible-lg { 6175 | display: table-row !important; 6176 | } 6177 | th.visible-lg, 6178 | td.visible-lg { 6179 | display: table-cell !important; 6180 | } 6181 | } 6182 | @media (min-width: 1200px) { 6183 | .visible-lg-block { 6184 | display: block !important; 6185 | } 6186 | } 6187 | @media (min-width: 1200px) { 6188 | .visible-lg-inline { 6189 | display: inline !important; 6190 | } 6191 | } 6192 | @media (min-width: 1200px) { 6193 | .visible-lg-inline-block { 6194 | display: inline-block !important; 6195 | } 6196 | } 6197 | @media (max-width: 767px) { 6198 | .hidden-xs { 6199 | display: none !important; 6200 | } 6201 | } 6202 | /* */ 6203 | @media (min-width: 768px) and (max-width: 991px) { 6204 | .hidden-sm { 6205 | display: none !important; 6206 | } 6207 | } 6208 | @media (min-width: 992px) and (max-width: 1199px) { 6209 | .hidden-md { 6210 | display: none !important; 6211 | } 6212 | } 6213 | @media (min-width: 1200px) { 6214 | .hidden-lg { 6215 | display: none !important; 6216 | } 6217 | } 6218 | .visible-print { 6219 | display: none !important; 6220 | } 6221 | @media print { 6222 | .visible-print { 6223 | display: block !important; 6224 | } 6225 | table.visible-print { 6226 | display: table; 6227 | } 6228 | tr.visible-print { 6229 | display: table-row !important; 6230 | } 6231 | th.visible-print, 6232 | td.visible-print { 6233 | display: table-cell !important; 6234 | } 6235 | } 6236 | .visible-print-block { 6237 | display: none !important; 6238 | } 6239 | @media print { 6240 | .visible-print-block { 6241 | display: block !important; 6242 | } 6243 | } 6244 | .visible-print-inline { 6245 | display: none !important; 6246 | } 6247 | @media print { 6248 | .visible-print-inline { 6249 | display: inline !important; 6250 | } 6251 | } 6252 | .visible-print-inline-block { 6253 | display: none !important; 6254 | } 6255 | @media print { 6256 | .visible-print-inline-block { 6257 | display: inline-block !important; 6258 | } 6259 | } 6260 | @media print { 6261 | .hidden-print { 6262 | display: none !important; 6263 | } 6264 | } 6265 | /*# sourceMappingURL=bootstrap.css.map */ 6266 | -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- 1 | export interface Options { 2 | /** 3 | - `true` - Preserve important comments `/*! *\/`. 4 | - `false` - Strip all comments. 5 | - `RegExp` - Preserve comments where the comment body matches a regular expression. 6 | - `Function` - Preserve comments for which a function returns `true`. The function is called on each comment, gets the comment body as the first argument, and is expected to return a boolean of whether to preserve the comment. 7 | 8 | @default true 9 | */ 10 | readonly preserve?: boolean | RegExp | ((comment: string) => boolean); 11 | 12 | /** 13 | Replace comments with whitespace instead of stripping them entirely. 14 | 15 | @default true 16 | */ 17 | readonly whitespace?: boolean; 18 | } 19 | 20 | /** 21 | Strip comments from CSS. 22 | 23 | @param cssString - String with CSS. 24 | 25 | @example 26 | ``` 27 | import stripCssComments from 'strip-css-comments'; 28 | 29 | // By default important comments `/*!` are preserved 30 | stripCssComments('/*! *\/ body { /* unicorns *\/color: hotpink; }'); 31 | //=> '/*! *\/ body { color: hotpink; }' 32 | 33 | // `preserve: false` will strip all comments including `/*!` 34 | stripCssComments( 35 | '/*! *\/ body { /* unicorns *\/color: hotpink; }', 36 | {preserve: false} 37 | ); 38 | //=> 'body { color: hotpink; }' 39 | 40 | // Preserve comments based on a regex 41 | stripCssComments( 42 | '/*# preserved *\/ body { /* unicorns *\/color: hotpink; }', 43 | {preserve: /^#/} 44 | ); 45 | //=> '/*# preserved *\/ body { color: hotpink; }' 46 | 47 | // Preserve comments based on the return value of the supplied function 48 | stripCssComments( 49 | '/*# preserved *\/ body { /* unicorns *\/color: hotpink; }', 50 | { 51 | preserve: comment => comment.charAt(0) === '#' 52 | } 53 | ); 54 | //=> '/*# preserved *\/ body { color: hotpink; }' 55 | ``` 56 | */ 57 | export default function stripCssComments( 58 | cssString: string, 59 | options?: Options 60 | ): string; 61 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import isRegExp from 'is-regexp'; 2 | 3 | export default function stripCssComments(cssString, {preserve = true, whitespace = true, all} = {}) { 4 | if (all) { 5 | throw new Error('The `all` option is no longer supported. Use the `preserve` option instead.'); 6 | } 7 | 8 | let preserveImportant = preserve; 9 | let preserveFilter; 10 | if (typeof preserve === 'function') { 11 | preserveImportant = false; 12 | preserveFilter = preserve; 13 | } else if (isRegExp(preserve)) { 14 | preserveImportant = false; 15 | preserveFilter = comment => preserve.test(comment); 16 | } 17 | 18 | let isInsideString = false; 19 | let currentCharacter = ''; 20 | let comment = ''; 21 | let returnValue = ''; 22 | 23 | for (let index = 0; index < cssString.length; index++) { 24 | currentCharacter = cssString[index]; 25 | 26 | if (cssString[index - 1] !== '\\' && (currentCharacter === '"' || currentCharacter === '\'')) { 27 | if (isInsideString === currentCharacter) { 28 | isInsideString = false; 29 | } else if (!isInsideString) { 30 | isInsideString = currentCharacter; 31 | } 32 | } 33 | 34 | // Find beginning of `/*` type comment 35 | if (!isInsideString && currentCharacter === '/' && cssString[index + 1] === '*') { 36 | // Ignore important comment when configured to preserve comments using important syntax: /*! 37 | const isImportantComment = cssString[index + 2] === '!'; 38 | let index2 = index + 2; 39 | 40 | // Iterate over comment 41 | for (; index2 < cssString.length; index2++) { 42 | // Find end of comment 43 | if (cssString[index2] === '*' && cssString[index2 + 1] === '/') { 44 | if ((preserveImportant && isImportantComment) || (preserveFilter && preserveFilter(comment))) { 45 | returnValue += `/*${comment}*/`; 46 | } else if (!whitespace) { 47 | if (cssString[index2 + 2] === '\n') { 48 | index2++; 49 | } else if (cssString[index2 + 2] + cssString[index2 + 3] === '\r\n') { 50 | index2 += 2; 51 | } 52 | } 53 | 54 | comment = ''; 55 | 56 | break; 57 | } 58 | 59 | // Store comment text 60 | comment += cssString[index2]; 61 | } 62 | 63 | // Resume iteration over CSS string from the end of the comment 64 | index = index2 + 1; 65 | 66 | continue; 67 | } 68 | 69 | returnValue += currentCharacter; 70 | } 71 | 72 | return returnValue; 73 | } 74 | -------------------------------------------------------------------------------- /index.test-d.ts: -------------------------------------------------------------------------------- 1 | import {expectType} from 'tsd'; 2 | import stripCssComments from './index.js'; 3 | 4 | expectType( 5 | stripCssComments('/*! */ body { /* unicorns */color: hotpink; }'), 6 | ); 7 | expectType( 8 | stripCssComments( 9 | '/*! */ body { /* unicorns */color: hotpink; }', { 10 | preserve: false, 11 | }), 12 | ); 13 | expectType( 14 | stripCssComments('/*# preserved */ body { /* unicorns */color: hotpink; }', { 15 | preserve: /^#/, 16 | }), 17 | ); 18 | expectType( 19 | stripCssComments('/*# preserved */ body { /* unicorns */color: hotpink; }', { 20 | preserve: comment => comment.startsWith('#'), 21 | }), 22 | ); 23 | expectType( 24 | stripCssComments('/*# preserved */ body { /* unicorns */color: hotpink; }', { 25 | whitespace: false, 26 | }), 27 | ); 28 | -------------------------------------------------------------------------------- /license: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Sindre Sorhus (https://sindresorhus.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "strip-css-comments", 3 | "version": "5.0.0", 4 | "description": "Strip comments from CSS", 5 | "license": "MIT", 6 | "repository": "sindresorhus/strip-css-comments", 7 | "funding": "https://github.com/sponsors/sindresorhus", 8 | "author": { 9 | "name": "Sindre Sorhus", 10 | "email": "sindresorhus@gmail.com", 11 | "url": "https://sindresorhus.com" 12 | }, 13 | "type": "module", 14 | "exports": "./index.js", 15 | "engines": { 16 | "node": "^12.20.0 || ^14.13.1 || >=16.0.0" 17 | }, 18 | "scripts": { 19 | "test": "xo && ava && tsd", 20 | "bench": "matcha bench.js" 21 | }, 22 | "files": [ 23 | "index.js", 24 | "index.d.ts" 25 | ], 26 | "keywords": [ 27 | "css", 28 | "style", 29 | "stylesheet", 30 | "strip", 31 | "remove", 32 | "delete", 33 | "trim", 34 | "comments", 35 | "preprocess", 36 | "transform", 37 | "string" 38 | ], 39 | "dependencies": { 40 | "is-regexp": "^3.0.0" 41 | }, 42 | "devDependencies": { 43 | "ava": "^3.15.0", 44 | "matcha": "^0.7.0", 45 | "tsd": "^0.17.0", 46 | "xo": "^0.44.0" 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # strip-css-comments 2 | 3 | > Strip comments from CSS 4 | 5 | Also available as a [Gulp](https://github.com/sindresorhus/gulp-strip-css-comments)/[Grunt](https://github.com/sindresorhus/grunt-strip-css-comments)/[Broccoli](https://github.com/sindresorhus/broccoli-strip-css-comments) plugin. 6 | 7 | ## Usage 8 | 9 | ``` 10 | $ npm install strip-css-comments 11 | ``` 12 | 13 | ## Usage 14 | 15 | ```js 16 | import stripCssComments from 'strip-css-comments'; 17 | 18 | // By default important comments `/*!` are preserved 19 | stripCssComments('/*! */ body { /* unicorns */color: hotpink; }'); 20 | //=> '/*! */ body { color: hotpink; }' 21 | 22 | // `preserve: false` will strip all comments including `/*!` 23 | stripCssComments( 24 | '/*! */ body { /* unicorns */color: hotpink; }', 25 | {preserve: false} 26 | ); 27 | //=> 'body { color: hotpink; }' 28 | 29 | // Preserve comments based on a regex 30 | stripCssComments( 31 | '/*# preserved */ body { /* unicorns */color: hotpink; }', 32 | {preserve: /^#/} 33 | ); 34 | //=> '/*# preserved */ body { color: hotpink; }' 35 | 36 | // Preserve comments based on the return value of the supplied function 37 | stripCssComments( 38 | '/*# preserved */ body { /* unicorns */color: hotpink; }', 39 | { 40 | preserve: comment => comment.charAt(0) === '#' 41 | } 42 | ); 43 | //=> '/*# preserved */ body { color: hotpink; }' 44 | ``` 45 | 46 | ## API 47 | 48 | ### stripCssComments(cssString, options?) 49 | 50 | ## cssString 51 | 52 | Type: `string` 53 | 54 | String with CSS. 55 | 56 | ## options 57 | 58 | Type: `object` 59 | 60 | ### preserve 61 | 62 | Type: `boolean | RegExp | Function`\ 63 | Default: `true` 64 | 65 | - `true` - Preserve important comments `/*! */`. 66 | - `false` - Strip all comments. 67 | - `RegExp` - Preserve comments where the comment body matches a regular expression. 68 | - `Function` - Preserve comments for which a function returns `true`. The function is called on each comment, gets the comment body as the first argument, and is expected to return a boolean of whether to preserve the comment. 69 | 70 | ### whitespace 71 | 72 | Type: `boolean`\ 73 | Default: `true` 74 | 75 | Replace comments with whitespace instead of stripping them entirely. 76 | 77 | ## Benchmark 78 | 79 | ``` 80 | $ npm run bench 81 | ``` 82 | 83 | ## Related 84 | 85 | - [strip-css-comments-cli](https://github.com/sindresorhus/strip-css-comments-cli) - CLI for this module 86 | - [strip-json-comments](https://github.com/sindresorhus/strip-json-comments) - Strip comments from JSON 87 | -------------------------------------------------------------------------------- /test.js: -------------------------------------------------------------------------------- 1 | import test from 'ava'; 2 | import stripCssComments from './index.js'; 3 | 4 | test('main', t => { 5 | t.is(stripCssComments('/*//comment*/body{}'), 'body{}'); 6 | t.is(stripCssComments('body{/*comment*/}'), 'body{}'); 7 | t.is(stripCssComments('body{/*\ncomment\n\\*/}'), 'body{}'); 8 | t.is(stripCssComments('body{content: "\'/*ad*/\' \\""}'), 'body{content: "\'/*ad*/\' \\""}'); 9 | t.is(stripCssComments('body{\r\n /*\n\n\n\nfoo*/\n}'), 'body{\r\n \n}'); 10 | t.is(stripCssComments('body/*foo*/{}'), 'body{}'); 11 | t.is(stripCssComments('body{/*"*/}'), 'body{}'); 12 | t.is(stripCssComments('body{/*\'*/}'), 'body{}'); 13 | t.is(stripCssComments('body{/*"\'\\"*/}'), 'body{}'); 14 | t.is(stripCssComments('body{/*"\'"\'*/}'), 'body{}'); 15 | 16 | t.is(stripCssComments('/*!//comment*/body{}'), '/*!//comment*/body{}'); 17 | t.is(stripCssComments('/*!//"comment*/body{/*//comment*/}'), '/*!//"comment*/body{}'); 18 | t.is(stripCssComments('/*!//\'comment*/body{/*//comment*/}'), '/*!//\'comment*/body{}'); 19 | t.is(stripCssComments('body{/*!comment*/}'), 'body{/*!comment*/}'); 20 | t.is(stripCssComments('body{/*!\ncomment\n\\*/}'), 'body{/*!\ncomment\n\\*/}'); 21 | t.is(stripCssComments('body{content: "\'/*!ad*/\' \\""}'), 'body{content: "\'/*!ad*/\' \\""}'); 22 | t.is(stripCssComments('body{\r\n /*!\n\n\n\nfoo*/\n}'), 'body{\r\n /*!\n\n\n\nfoo*/\n}'); 23 | t.is(stripCssComments('body/*!foo*/{}'), 'body/*!foo*/{}'); 24 | t.is(stripCssComments('body{/*!"*/}/*foo*/'), 'body{/*!"*/}'); 25 | t.is(stripCssComments('body{/*!\'*/}/*foo*/'), 'body{/*!\'*/}'); 26 | t.is(stripCssComments('body{/*!"\'\\"*/}'), 'body{/*!"\'\\"*/}'); 27 | t.is(stripCssComments('body{/*!"\'"\'*/}'), 'body{/*!"\'"\'*/}'); 28 | }); 29 | 30 | test('`preserve` option', t => { 31 | t.is(stripCssComments('/*!//comment*/body{}', {preserve: false}), 'body{}'); 32 | t.is(stripCssComments('/*!//"comment*/body{}', {preserve: false}), 'body{}'); 33 | t.is(stripCssComments('/*!//\'comment*/body{}', {preserve: false}), 'body{}'); 34 | t.is(stripCssComments('body{/*!comment*/}', {preserve: false}), 'body{}'); 35 | t.is(stripCssComments('body{/*!\ncomment\n\\*/}', {preserve: false}), 'body{}'); 36 | t.is(stripCssComments('body{content: "\'/*!ad*/\' \\""}', {preserve: false}), 'body{content: "\'/*!ad*/\' \\""}'); 37 | t.is(stripCssComments('body{\r\n /*!\n\n\n\nfoo*/\n}', {preserve: false}), 'body{\r\n \n}'); 38 | t.is(stripCssComments('body/*!foo*/{}', {preserve: false}), 'body{}'); 39 | t.is(stripCssComments('body{/*!"*/}/*foo*/', {preserve: false}), 'body{}'); 40 | t.is(stripCssComments('body{/*!\'*/}/*foo*/', {preserve: false}), 'body{}'); 41 | t.is(stripCssComments('body{/*!"\'\\"*/}', {preserve: false}), 'body{}'); 42 | t.is(stripCssComments('body{/*!"\'"\'*/}', {preserve: false}), 'body{}'); 43 | 44 | t.is(stripCssComments('body{/*##foo##*/}', {preserve: /^##foo##/}), 'body{/*##foo##*/}'); 45 | t.is(stripCssComments('body{/*foo*/}', {preserve: /^##foo##/}), 'body{}'); 46 | t.is(stripCssComments('body{/*##foo##*//*foo*/}', {preserve: /^##foo##/}), 'body{/*##foo##*/}'); 47 | t.is(stripCssComments('body{/*##foo##*//*!foo*/}', {preserve: /^##foo##/}), 'body{/*##foo##*/}'); 48 | t.is(stripCssComments('body{/*!##foo##*//*foo*/}', {preserve: /^##foo##/}), 'body{}'); 49 | t.is(stripCssComments('body{/*!##foo*//*foo*/}', {preserve: /foo$/}), 'body{/*!##foo*//*foo*/}'); 50 | 51 | t.is( 52 | stripCssComments('body{/*##foo##*/}', { 53 | preserve: comment => comment.startsWith('##foo##'), 54 | }), 'body{/*##foo##*/}', 55 | ); 56 | 57 | t.is( 58 | stripCssComments('body{/*foo*/}', { 59 | preserve: comment => comment.startsWith('##foo##'), 60 | }), 'body{}', 61 | ); 62 | 63 | t.is( 64 | stripCssComments('body{/*##foo##*//*foo*/}', { 65 | preserve: comment => comment.startsWith('##foo##'), 66 | }), 'body{/*##foo##*/}', 67 | ); 68 | 69 | t.is( 70 | stripCssComments('body{/*##foo##*//*!foo*/}', { 71 | preserve: comment => comment.startsWith('##foo##'), 72 | }), 'body{/*##foo##*/}', 73 | ); 74 | 75 | t.is( 76 | stripCssComments('body{/*!##foo##*//*foo*/}', { 77 | preserve: comment => comment.startsWith('##foo##'), 78 | }), 'body{}', 79 | ); 80 | 81 | t.is( 82 | stripCssComments('body{/*!##foo*//*foo*/}', { 83 | preserve: comment => comment.endsWith('foo'), 84 | }), 85 | 'body{/*!##foo*//*foo*/}', 86 | ); 87 | }); 88 | 89 | test('`whitespace` option', t => { 90 | t.is(stripCssComments('/* foo */\n\nbody{}', {whitespace: false}), '\nbody{}'); 91 | t.is(stripCssComments('/* foo */\r\n\r\nbody{}', {whitespace: false}), '\r\nbody{}'); 92 | t.is(stripCssComments('/*! foo */\r\n\r\nbody{}', {whitespace: false}), '/*! foo */\r\n\r\nbody{}'); 93 | t.is(stripCssComments('/*! foo */\r\n\r\nbody{}', {preserve: false, whitespace: false}), '\r\nbody{}'); 94 | 95 | t.is(stripCssComments('/*##foo##*/\nbody{}', {preserve: /^##foo##/, whitespace: false}), '/*##foo##*/\nbody{}'); 96 | t.is(stripCssComments('/*##foo##*/\r\nbody{}', {preserve: /^##foo##/, whitespace: false}), '/*##foo##*/\r\nbody{}'); 97 | 98 | t.is( 99 | stripCssComments('body{/*!##foo*/\n/*foo*/}', { 100 | preserve: comment => comment.endsWith('foo'), whitespace: false, 101 | }), 102 | 'body{/*!##foo*/\n/*foo*/}', 103 | ); 104 | 105 | t.is( 106 | stripCssComments('body{/*!##foo*/\r\n/*foo*/}', { 107 | preserve: comment => comment.endsWith('foo'), whitespace: false, 108 | }), 109 | 'body{/*!##foo*/\r\n/*foo*/}', 110 | ); 111 | }); 112 | --------------------------------------------------------------------------------