_modals.scss 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. .modal {
  2. display: none;
  3. position: fixed;
  4. z-index: 2000;
  5. padding-top: 100px;
  6. left: 0;
  7. top: 0;
  8. width: 100%;
  9. height: 100%;
  10. overflow: auto;
  11. background-color: rgb(0, 0, 0);
  12. background-color: rgba(0, 0, 0, 0.5);
  13. }
  14. .modal-content {
  15. background-color: #fefefe;
  16. margin: auto;
  17. padding: 20px;
  18. width: 80%;
  19. #myInput {
  20. width: 80%;
  21. margin-left: auto;
  22. margin-right: auto;
  23. background-color: #e9e9e9;
  24. padding: 20px;
  25. border-radius: 10px;
  26. margin-bottom: 20px;
  27. }
  28. .modal-close {
  29. text-align: right;
  30. margin-top: -13px;
  31. margin-bottom: 13px;
  32. }
  33. .close {
  34. color: #aaaaaa;
  35. float: none;
  36. font-size: 35px;
  37. font-weight: bold;
  38. &:hover,
  39. &:focus {
  40. color: #000;
  41. text-decoration: none;
  42. cursor: pointer;
  43. }
  44. }
  45. .btn {
  46. width: 100%;
  47. max-width: 200px;
  48. margin-left: auto;
  49. margin-right: auto;
  50. }
  51. }