Drupal 8 Site using Vue
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
1.7 KiB

  1. .modal .modal__modal {
  2. display: -webkit-box;
  3. display: -ms-flexbox;
  4. display: flex;
  5. height: 100%; }
  6. .modal .modal__modal .modal__content {
  7. margin: auto;
  8. padding: 20px 30px;
  9. background-color: #FFF;
  10. -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
  11. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
  12. -webkit-transition: opacity 300ms ease;
  13. transition: opacity 300ms ease;
  14. width: 80%;
  15. max-width: 1000px;
  16. max-height: 70%;
  17. border-radius: 2px;
  18. position: relative; }
  19. @media (min-width: 992px) {
  20. .modal .modal__modal .modal__content {
  21. width: 55%; } }
  22. .modal .modal__modal:focus {
  23. outline: none; }
  24. .modal .modal__modal h1,
  25. .modal .modal__modal h2,
  26. .modal .modal__modal h3,
  27. .modal .modal__modal h4 {
  28. margin-top: 0; }
  29. .modal .modal__modal .modal__close {
  30. cursor: pointer;
  31. position: absolute;
  32. top: 10px;
  33. right: 10px; }
  34. .modal .modal__modal .modal__footer {
  35. border-radius: 0 0 2px 2px;
  36. background-color: #fafafa;
  37. padding: 4px 6px;
  38. height: 56px;
  39. width: 100%;
  40. text-align: right; }
  41. .modal .modal__modal .modal__footer .btn,
  42. .modal .modal__modal .modal__footer .btn-flat {
  43. margin: 6px 0; }
  44. .modal .modal__mask {
  45. position: fixed;
  46. z-index: 999;
  47. top: 0;
  48. left: 0;
  49. bottom: 0;
  50. right: 0;
  51. height: 100%;
  52. width: 100%;
  53. background: rgba(0, 0, 0, 0.6);
  54. opacity: 1;
  55. -webkit-transition: opacity 300ms ease;
  56. transition: opacity 300ms ease;
  57. will-change: opacity; }
  58. .modal .modal-enter {
  59. opacity: 0; }
  60. .modal .modal-leave-active {
  61. opacity: 0; }
  62. .modal .modal-enter .modal-container,
  63. .modal .modal-leave-active .modal-container {
  64. -webkit-transform: scale(1.1);
  65. transform: scale(1.1); }