react-confirm-alert.css 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. body.react-confirm-alert-body-element {
  2. overflow: hidden;
  3. }
  4. .react-confirm-alert-blur {
  5. filter: blur(2px);
  6. }
  7. .react-confirm-alert-overlay {
  8. position: fixed;
  9. top: 0;
  10. left: 0;
  11. right: 0;
  12. bottom: 0;
  13. z-index: 260;
  14. background: rgba(0, 0, 0, 0.4);
  15. display: flex;
  16. justify-content: center;
  17. align-items: center;
  18. opacity: 0;
  19. animation: react-confirm-alert-fadeIn 0.3s 0.2s forwards;
  20. }
  21. .react-confirm-alert-body {
  22. font-family: Arial, Helvetica, sans-serif;
  23. width: 400px;
  24. padding: 30px;
  25. text-align: left;
  26. background-color: var(--color-blueGrey);
  27. color: var(--font-color);
  28. border-radius: 5px;
  29. box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
  30. }
  31. .react-confirm-alert-svg {
  32. position: absolute;
  33. top: 0;
  34. left: 0;
  35. }
  36. .react-confirm-alert-body > h1 {
  37. margin-top: 0;
  38. }
  39. .react-confirm-alert-body > h3 {
  40. margin: 0;
  41. font-size: 16px;
  42. }
  43. .react-confirm-alert-button-group {
  44. display: flex;
  45. justify-content: flex-end;
  46. margin-top: 40px;
  47. }
  48. .react-confirm-alert-button-group > button {
  49. outline: none;
  50. background: #333;
  51. border: none;
  52. display: inline-block;
  53. padding: 6px 18px;
  54. color: var(--font-color);
  55. margin-right: 10px;
  56. border-radius: 2px;
  57. font-size: 16px;
  58. cursor: pointer;
  59. }
  60. @keyframes react-confirm-alert-fadeIn {
  61. from {
  62. opacity: 0;
  63. }
  64. to {
  65. opacity: 1;
  66. }
  67. }