common.scss 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283
  1. @import "./index.scss";
  2. html {
  3. width: 100%;
  4. height: 100%;
  5. background: #fff;
  6. transition: color 300ms, background-color 300ms;
  7. &.dark {
  8. filter: contrast(100%) invert(100%);
  9. img {
  10. filter: hue-rotate(180deg);
  11. }
  12. }
  13. }
  14. body {
  15. width: 100%;
  16. height: 100%;
  17. line-height: 24px;
  18. font: 14px Helvetica Neue,Helvetica,Tahoma,Arial,sans-serif;
  19. overflow: hidden;
  20. margin: 0;
  21. padding: 0;
  22. border: 0;
  23. }
  24. #app {
  25. // background: #000;
  26. }
  27. img {
  28. vertical-align: middle;
  29. }
  30. h1, h2, h3, h4, h5, h6 {
  31. font-weight: 400;
  32. }
  33. .ve_header_row_class_name,
  34. .el-table__fixed-right-patch {
  35. background: $main-bg-color !important;
  36. }
  37. .ve_header_cell_class_name {
  38. background: $main-bg-color !important;
  39. }
  40. .ve_cell_class_name {
  41. background: $base-color !important;
  42. border-color: $base-color !important;
  43. }
  44. .ve_row_class_name {
  45. background: $base-color !important;
  46. }
  47. .ve_p_10 {
  48. padding: 10px;
  49. }
  50. .ve_select_option_slot {
  51. font-size: 12px;
  52. float: left;
  53. line-height: initial;
  54. padding-bottom: 10px;
  55. opacity: 0.7;
  56. }
  57. .ve_option_box {
  58. width: calc(50% - 132px);
  59. }
  60. .size-watch {
  61. width: 100%;
  62. height: 100%;
  63. // display: none;
  64. position: absolute;
  65. top: 0;
  66. z-index: -1;
  67. visibility: hidden;
  68. margin: 0;
  69. padding: 0;
  70. border: 0;
  71. }
  72. .ve_flex_col {
  73. display: flex;
  74. flex-direction: column;
  75. height: calc(100vh - #{$nav-height} - 80px);
  76. }
  77. .no-events{
  78. -webkit-pointer-events: none;
  79. -moz-pointer-events: none;
  80. -ms-pointer-events: none;
  81. -o-pointer-events: none;
  82. pointer-events: none;
  83. }
  84. .yse-events{
  85. -webkit-pointer-events: auto;
  86. -moz-pointer-events: auto;
  87. -ms-pointer-events: auto;
  88. -o-pointer-events: auto;
  89. pointer-events: auto;
  90. text-decoration: none;
  91. }
  92. .yse-events input{
  93. -webkit-pointer-events: auto;
  94. -moz-pointer-events: auto;
  95. -ms-pointer-events: auto;
  96. -o-pointer-events: auto;
  97. pointer-events: auto;
  98. text-decoration: none;
  99. }
  100. .pure-events{
  101. -webkit-pointer-events: auto;
  102. -moz-pointer-events: auto;
  103. -ms-pointer-events: auto;
  104. -o-pointer-events: auto;
  105. pointer-events: auto;
  106. }
  107. .inline{
  108. display: inline;
  109. }
  110. .general-font1{
  111. font-family:"microsoft yahei",Georgia,Serif;
  112. color: whitesmoke;
  113. }
  114. .general-font2{
  115. font-family:"KaiTi",Georgia,Serif;
  116. color: whitesmoke;
  117. }
  118. .label-bg{
  119. background-color: #ffffff50;
  120. border-radius: 5px;
  121. }
  122. .cursor-default{
  123. cursor:default;
  124. }
  125. .cursor-pointer{
  126. cursor:pointer;
  127. }
  128. div{
  129. // font-family: PingFangSC-Medium, PingFang SC;
  130. font-family: Helvetica Neue,Helvetica,Tahoma,Arial,sans-serif;
  131. }
  132. .ol-zoom{
  133. /*隐藏地图左上角的+-号*/
  134. display: none;
  135. }
  136. // 图片预览去除下载和翻转
  137. .PhotoSlider__BannerWrap {
  138. .PhotoSlider__BannerRight {
  139. svg {
  140. &:nth-child(1),
  141. &:nth-child(4),
  142. &:nth-child(5) {
  143. display: none;
  144. }
  145. }
  146. }
  147. }
  148. .v-select-group {
  149. display: flex;
  150. align-items: center;
  151. justify-content: space-between;
  152. .v-select{
  153. .el-select__wrapper{
  154. box-shadow: none;
  155. background: #C8F1F7;
  156. border: 1px solid #00D5F6;
  157. border-radius: 20px;
  158. color: #00BEDB;
  159. }
  160. .el-select__placeholder,.el-select__caret,.el-select__placeholder.is-transparent{
  161. color: #00BEDB;
  162. text-align: center;
  163. }
  164. }
  165. .v-select + .v-select{
  166. margin-left: 16px;
  167. }
  168. }
  169. .v-select-defalut-group{
  170. display: flex;
  171. align-items: center;
  172. justify-content: space-between;
  173. .v-select{
  174. .el-select__wrapper{
  175. box-shadow: none;
  176. border: 1px solid #DDDDDD;
  177. border-radius: 20px;
  178. }
  179. .el-select__placeholder,.el-select__caret,.el-select__placeholder.is-transparent{
  180. color: #000;
  181. text-align: center;
  182. }
  183. }
  184. .v-select + .v-select{
  185. margin-left: 8px;
  186. }
  187. }
  188. @font-face {
  189. font-family: "SOURCEHANSANSCN_0";
  190. src: url("@/assets/font/SOURCEHANSANSCN-REGULAR_0.OTF");
  191. }
  192. .SOURCEHANSANSCN_0 {
  193. font-family: 'SOURCEHANSANSCN_0', sans-serif; /* 使用自定义字体 */
  194. }
  195. @font-face {
  196. font-family: "SIMKAI";
  197. src: url("@/assets/font/SIMKAI.TTF");
  198. }
  199. .SIMKAI {
  200. font-family: 'SIMKAI', sans-serif; /* 使用自定义字体 */
  201. }
  202. @font-face {
  203. font-family: "PangMenZhengDao";
  204. src: url("@/assets/font/PangMenZhengDao.TTF");
  205. }
  206. .PangMenZhengDao-FONT {
  207. font-family: 'PangMenZhengDao', sans-serif; /* 使用自定义字体 */
  208. }
  209. @font-face {
  210. font-family: "YOUSHE";
  211. src: url("@/assets/font/YOUSHEBIAOTIHEI-2.TTF");
  212. }
  213. .YOUSHE-FONT {
  214. font-family: 'YOUSHE', sans-serif; /* 使用自定义字体 */
  215. }
  216. @font-face {
  217. font-family: "SOURCEHANSANSCN";
  218. src: url("@/assets/font/SOURCEHANSANSCN-BOLD.OTF");
  219. }
  220. .SOURCEHANSANSCN-FONT {
  221. font-family: 'SOURCEHANSANSCN', sans-serif; /* 使用自定义字体 */
  222. }
  223. @font-face {
  224. font-family: "SIMLI";
  225. src: url("@/assets/font/SIMLI.TTF");
  226. }
  227. .SIMLI-FONT {
  228. font-family: 'SIMLI', sans-serif; /* 使用自定义字体 */
  229. }
  230. @font-face {
  231. font-family: "SmileySans";
  232. src: url("@/assets/font/SmileySans-Oblique-2.ttf");
  233. }
  234. .SMILEYSANS-FONT {
  235. font-family: 'SmileySans', sans-serif; /* 使用自定义字体 */
  236. }
  237. .ellipsis-l2 {
  238. white-space: pre-line;
  239. overflow: hidden;
  240. text-overflow: ellipsis;
  241. word-break: break-all;
  242. display: -webkit-box !important;
  243. -webkit-line-clamp: 2;
  244. -webkit-box-orient: vertical !important;
  245. }
  246. .ellipsis-l1 {
  247. white-space: pre-line;
  248. overflow: hidden;
  249. text-overflow: ellipsis;
  250. word-break: break-all;
  251. display: -webkit-box !important;
  252. -webkit-line-clamp: 1;
  253. -webkit-box-orient: vertical !important;
  254. }