index.acss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. .main .dialog-overlay {
  2. position: fixed;
  3. top: 0;
  4. left: 0;
  5. right: 0;
  6. bottom: 0;
  7. background: rgba(0, 0, 0, 0.5);
  8. color: rgb(0, 0, 0);
  9. display: flex;
  10. justify-content: center;
  11. align-items: center;
  12. z-index: 9999;
  13. }
  14. .main .dialog-overlay .dialog {
  15. position: absolute;
  16. top: calc(200vmax / 12.80);
  17. background: white;
  18. padding: calc(30vmax / 12.80);
  19. width: calc(492vmax / 12.80);
  20. /*height: calc(244vmax / 12.80);*/
  21. border-radius: calc(20vmax / 12.80);
  22. max-width: 90%;
  23. box-sizing: border-box;
  24. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  25. }
  26. .main .dialog-overlay .dialog .dialog-header {
  27. display: flex;
  28. justify-content: space-between;
  29. align-items: center;
  30. margin-bottom: 10px;
  31. }
  32. .main .dialog-overlay .dialog .dialog-body {
  33. margin-bottom: 20px;
  34. font-size: calc(32vmax / 12.80);
  35. padding: calc(30vmax / 12.80) 0;
  36. box-sizing: border-box;
  37. color: rgba(34, 79, 111, 1);
  38. }
  39. .main .dialog-overlay .dialog .dialog-footer {
  40. width: 100%;
  41. box-sizing: border-box;
  42. display: flex;
  43. justify-content: space-between;
  44. align-items: center;
  45. }
  46. .main .dialog-overlay .dialog .dialog-footer .dialog-footer-btn {
  47. width: calc(192vmax / 12.80);
  48. height: calc(60vmax / 12.80);
  49. line-height: calc(60vmax / 12.80);
  50. border-radius: calc(90vmax / 12.80);
  51. border: calc(2vmax / 12.80) solid rgba(19, 181, 177, 0.8);
  52. }
  53. .main .dialog-overlay .dialog .dialog-footer .cancel {
  54. background: #fff;
  55. color: rgba(19, 181, 177, 0.8);
  56. }
  57. .main .dialog-overlay .dialog .dialog-footer .confirm {
  58. background: rgba(19, 181, 177, 0.8);
  59. color: #fff;
  60. }
  61. /*竖屏样式*/
  62. .portrait-main .dialog-overlay {
  63. position: fixed;
  64. top: 0;
  65. left: 0;
  66. right: 0;
  67. bottom: 0;
  68. background: rgba(0, 0, 0, 0.5);
  69. color: rgb(0, 0, 0);
  70. display: flex;
  71. justify-content: center;
  72. align-items: center;
  73. }
  74. .portrait-main .dialog-overlay .dialog {
  75. position: absolute;
  76. top: calc(200vmin / 12.80);
  77. background: white;
  78. padding: calc(30vmin / 12.80);
  79. width: calc(492vmin / 12.80);
  80. /*height: calc(244vmin / 12.80);*/
  81. border-radius: calc(20vmin / 12.80);
  82. max-width: 90%;
  83. box-sizing: border-box;
  84. box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  85. }
  86. .portrait-main .dialog-overlay .dialog .dialog-header {
  87. display: flex;
  88. justify-content: space-between;
  89. align-items: center;
  90. margin-bottom: 10px;
  91. }
  92. .portrait-main .dialog-overlay .dialog .dialog-body {
  93. margin-bottom: 20px;
  94. font-size: calc(32vmin / 12.80);
  95. padding: calc(30vmin / 12.80) 0;
  96. box-sizing: border-box;
  97. color: rgba(34, 79, 111, 1);
  98. }
  99. .portrait-main .dialog-overlay .dialog .dialog-footer {
  100. width: 100%;
  101. box-sizing: border-box;
  102. display: flex;
  103. justify-content: space-between;
  104. align-items: center;
  105. }
  106. .portrait-main .dialog-overlay .dialog .dialog-footer .dialog-footer-btn {
  107. width: calc(192vmin / 12.80);
  108. height: calc(60vmin / 12.80);
  109. line-height: calc(60vmin / 12.80);
  110. border-radius: calc(90vmin / 12.80);
  111. border: calc(2vmin / 12.80) solid rgba(19, 181, 177, 0.8);
  112. }
  113. .portrait-main .dialog-overlay .dialog .dialog-footer .cancel {
  114. background: #fff;
  115. color: rgba(19, 181, 177, 0.8);
  116. }
  117. .portrait-main .dialog-overlay .dialog .dialog-footer .confirm {
  118. background: rgba(19, 181, 177, 0.8);
  119. color: #fff;
  120. }