guest-gate.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. .zq-guest-gate-root {
  2. position: fixed;
  3. inset: 0;
  4. z-index: 99999;
  5. display: flex;
  6. align-items: center;
  7. justify-content: center;
  8. }
  9. .zq-guest-gate-mask {
  10. position: absolute;
  11. inset: 0;
  12. background: rgba(0, 0, 0, 0.45);
  13. }
  14. .zq-guest-gate-dialog {
  15. position: relative;
  16. width: 360px;
  17. max-width: calc(100vw - 32px);
  18. background: #fff;
  19. border-radius: 8px;
  20. padding: 24px;
  21. box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  22. }
  23. .zq-guest-gate-dialog h3 {
  24. margin: 0 0 8px;
  25. font-size: 18px;
  26. color: #303133;
  27. }
  28. .zq-guest-gate-desc {
  29. margin: 0 0 16px;
  30. font-size: 13px;
  31. color: #909399;
  32. }
  33. .zq-guest-gate-dialog label {
  34. display: block;
  35. margin: 10px 0 4px;
  36. font-size: 13px;
  37. color: #606266;
  38. }
  39. .zq-guest-gate-dialog input {
  40. width: 100%;
  41. box-sizing: border-box;
  42. height: 36px;
  43. padding: 0 10px;
  44. border: 1px solid #dcdfe6;
  45. border-radius: 4px;
  46. font-size: 14px;
  47. }
  48. .zq-guest-gate-error {
  49. min-height: 20px;
  50. margin: 8px 0 0;
  51. font-size: 12px;
  52. color: #f56c6c;
  53. }
  54. .zq-guest-gate-actions {
  55. display: flex;
  56. justify-content: flex-end;
  57. gap: 10px;
  58. margin-top: 16px;
  59. }
  60. .zq-guest-gate-cancel,
  61. .zq-guest-gate-submit {
  62. height: 36px;
  63. padding: 0 18px;
  64. border-radius: 4px;
  65. font-size: 14px;
  66. cursor: pointer;
  67. }
  68. .zq-guest-gate-cancel {
  69. border: 1px solid #dcdfe6;
  70. background: #fff;
  71. color: #606266;
  72. }
  73. .zq-guest-gate-submit {
  74. border: none;
  75. background: var(--hx-red, #8f000b);
  76. color: #fff;
  77. }
  78. .zq-guest-gate-submit:hover:not(:disabled) {
  79. background: var(--hx-red-bright, #b90311);
  80. }
  81. .zq-guest-gate-submit:active:not(:disabled) {
  82. background: var(--hx-red-dark, #700005);
  83. }
  84. .zq-guest-gate-submit:disabled {
  85. opacity: 0.6;
  86. cursor: not-allowed;
  87. }
  88. body.zq-guest-blocked .zq-guest-sensitive {
  89. filter: blur(6px);
  90. pointer-events: none;
  91. user-select: none;
  92. }