index.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. * {
  2. box-sizing: border-box;
  3. margin: 0;
  4. padding: 0;
  5. outline: none;
  6. }
  7. html,
  8. body {
  9. width: 100vw;
  10. height: 100vh;
  11. overflow: hidden;
  12. }
  13. #app {
  14. width: 100vw;
  15. height: 100vh;
  16. position: absolute;
  17. transform-origin: 50% 50%;
  18. }
  19. .message-wrap {
  20. position: fixed;
  21. top: 50px;
  22. left: 0;
  23. right: 0;
  24. justify-content: center;
  25. font-size: 13px;
  26. z-index: 20;
  27. display: none;
  28. }
  29. .message-wrap .body {
  30. display: flex;
  31. width: fit-content;
  32. background-color: #ffffff;
  33. color: rgba(0, 0, 0, 0.9);
  34. box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 30px 5px,
  35. rgba(0, 0, 0, 0.04) 0px 16px 24px 2px, rgba(0, 0, 0, 0.08) 0px 8px 10px -5px,
  36. rgb(220, 220, 220) 0px 0.5px 0px 0px inset,
  37. rgb(220, 220, 220) 0.5px 0px 0px 0px inset,
  38. rgb(220, 220, 220) 0px -0.5px 0px 0px inset,
  39. rgb(220, 220, 220) -0.5px 0px 0px 0px inset;
  40. box-sizing: border-box;
  41. border-radius: 6px;
  42. padding: 12px 16px;
  43. }
  44. .message-wrap svg {
  45. color: rgb(213, 73, 65);
  46. fill: rgb(213, 73, 65);
  47. margin-right: 8px;
  48. font-size: 16px;
  49. margin-top: 2px;
  50. }
  51. .login-wrap {
  52. position: fixed;
  53. top: 0;
  54. bottom: 0;
  55. left: 0;
  56. right: 0;
  57. justify-content: center;
  58. align-items: center;
  59. font-size: 14px;
  60. z-index: 10;
  61. display: none;
  62. text-align: center;
  63. }
  64. .login-wrap .body {
  65. margin-top: -100px;
  66. width: fit-content;
  67. background-color: #ffffff;
  68. color: rgba(0, 0, 0, 0.9);
  69. box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 30px 5px,
  70. rgba(0, 0, 0, 0.04) 0px 16px 24px 2px, rgba(0, 0, 0, 0.08) 0px 8px 10px -5px,
  71. rgb(220, 220, 220) 0px 0.5px 0px 0px inset,
  72. rgb(220, 220, 220) 0.5px 0px 0px 0px inset,
  73. rgb(220, 220, 220) 0px -0.5px 0px 0px inset,
  74. rgb(220, 220, 220) -0.5px 0px 0px 0px inset;
  75. box-sizing: border-box;
  76. border-radius: 6px;
  77. padding: 20px;
  78. }
  79. .login-wrap .head {
  80. font-size: 24px;
  81. line-height: 2;
  82. margin-bottom: 12px;
  83. }
  84. .login-wrap input {
  85. line-height: 1;
  86. margin-bottom: 12px;
  87. display: block;
  88. width: 300px;
  89. padding: 10px 12px;
  90. background: none;
  91. outline: none;
  92. border-radius: 2px;
  93. border: 1px solid #cccccc;
  94. }
  95. .login-wrap input:hover,
  96. .login-wrap input:focus {
  97. border-color: #4583ff;
  98. }
  99. .login-wrap button {
  100. line-height: 1;
  101. display: block;
  102. width: 300px;
  103. padding: 12px;
  104. background: #0c56eb;
  105. color: #ffffff;
  106. outline: none;
  107. border-radius: 2px;
  108. border: none;
  109. cursor: pointer;
  110. margin-bottom: 20px;
  111. }
  112. .login-wrap button:hover,
  113. .login-wrap button:focus {
  114. background: #4583ff;
  115. }