app.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. :root {
  2. --z-index-normal: 1;
  3. --z-index-top: 1000;
  4. --z-index-popper: 2000;
  5. --z-hot-popper: 2001;
  6. }
  7. body,
  8. ol,
  9. ul,
  10. h1,
  11. h2,
  12. h3,
  13. h4,
  14. h5,
  15. h6,
  16. p,
  17. th,
  18. td,
  19. dl,
  20. dd,
  21. form,
  22. fieldset,
  23. legend,
  24. input,
  25. textarea,
  26. select {
  27. margin: 0;
  28. padding: 0;
  29. }
  30. * {
  31. box-sizing: border-box;
  32. user-select: none;
  33. }
  34. html,
  35. body,
  36. #app {
  37. width: 100%;
  38. height: 100%;
  39. overflow: hidden;
  40. }
  41. body {
  42. margin: 0px;
  43. font-size: 14px;
  44. color: rgba(255, 255, 255, 0.9);
  45. font-family: OpenSans, sans-serif;
  46. -webkit-tap-highlight-color: transparent;
  47. }
  48. a {
  49. color: #fff;
  50. cursor: pointer;
  51. text-decoration: none;
  52. }
  53. em {
  54. font-style: normal;
  55. }
  56. li {
  57. list-style: none;
  58. }
  59. img {
  60. border: 0;
  61. vertical-align: middle;
  62. }
  63. table {
  64. border-collapse: collapse;
  65. border-spacing: 0;
  66. }
  67. p {
  68. word-wrap: break-word;
  69. }
  70. iframe {
  71. border: none;
  72. }
  73. @font-face {
  74. font-family: OpenSans;
  75. src: url('/public/fonts/open-sans/OpenSansRegular.woff2') format('woff2');
  76. font-weight: 400;
  77. }
  78. @font-face {
  79. font-family: OpenSans;
  80. src: url('/public/fonts/open-sans-light/OpenSansLight.eot');
  81. src: url('/public/fonts/open-sans-light/OpenSansLight.eot') format('embedded-opentype'),
  82. url('/public/fonts/open-sans-light/OpenSansLight.woff2') format('woff2'),
  83. url('/public/fonts/open-sans-light/OpenSansLight.woff') format('woff'),
  84. url('/public/fonts/open-sans-light/OpenSansLight.ttf') format('truetype'),
  85. url('/public/fonts/open-sans-light/OpenSansLight.svg#OpenSansLight') format('svg');
  86. font-weight: 100;
  87. }
  88. @font-face {
  89. font-family: OpenSans;
  90. src: url('/public/fonts/open-sans-semibold/OpenSansSemibold.eot');
  91. src: url('/public/fonts/open-sans-semibold/OpenSansSemibold.eot') format('embedded-opentype'),
  92. url('/public/fonts/open-sans-semibold/OpenSansSemibold.woff2') format('woff2'),
  93. url('/public/fonts/open-sans-semibold/OpenSansSemibold.woff') format('woff'),
  94. url('/public/fonts/open-sans-semibold/OpenSansSemibold.ttf') format('truetype'),
  95. url('/public/fonts/open-sans-semibold/OpenSansSemibold.svg#OpenSansSemibold') format('svg');
  96. font-weight: 700;
  97. }
  98. .limit-line {
  99. display: -webkit-box;
  100. overflow: hidden;
  101. text-overflow: ellipsis;
  102. -webkit-line-clamp: 1;
  103. -webkit-box-orient: vertical;
  104. word-break: break-all;
  105. word-wrap: break-word;
  106. }
  107. .line-2 {
  108. -webkit-line-clamp: 2;
  109. }
  110. .line-3 {
  111. -webkit-line-clamp: 3;
  112. }
  113. .hidden {
  114. display: none !important;
  115. visibility: hidden !important;
  116. }
  117. .darkGlass {
  118. background-color: rgba(0, 0, 0, 0.5);
  119. }
  120. .message-outer {
  121. position: absolute;
  122. display: table;
  123. height: 100%;
  124. width: 100%;
  125. * {
  126. transition: all 0.3s;
  127. }
  128. }