bootstrap-modal-bs3patch.css 946 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*!
  2. * Bootstrap Modal
  3. *
  4. * Copyright Jordan Schroter
  5. * Licensed under the Apache License v2.0
  6. * http://www.apache.org/licenses/LICENSE-2.0
  7. *
  8. * Boostrap 3 patch for for bootstrap-modal. Include BEFORE bootstrap-modal.css!
  9. */
  10. body.modal-open,
  11. .modal-open .navbar-fixed-top,
  12. .modal-open .navbar-fixed-bottom {
  13. margin-right: 0;
  14. }
  15. .modal {
  16. left: 50%;
  17. bottom: auto;
  18. right: auto;
  19. padding: 0;
  20. width: 500px;
  21. margin-left: -250px;
  22. background-color: #ffffff;
  23. border: 1px solid #999999;
  24. border: 1px solid rgba(0, 0, 0, 0.2);
  25. border-radius: 6px;
  26. -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  27. box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  28. background-clip: padding-box;
  29. }
  30. .modal.container {
  31. max-width: none;
  32. }
  33. /** fix bootbox, by xingdonghai added **/
  34. .bootbox {
  35. width: auto;
  36. margin-left: -250px;
  37. background-color: transparent;
  38. border: none;
  39. border-radius: 0;
  40. -webkit-box-shadow: none;
  41. box-shadow: none;
  42. }