public.scss 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448
  1. html,
  2. body {
  3. width : 100%;
  4. height : 100%;
  5. margin : 0;
  6. overflow : hidden;
  7. --padding-top: 0px;
  8. }
  9. a {
  10. color: var(--color-main-normal);
  11. }
  12. #app {
  13. width : 100%;
  14. height : 100%;
  15. position: absolute;
  16. overflow: hidden;
  17. left : 0;
  18. top : 0;
  19. }
  20. .clear-float::after {
  21. content: "";
  22. display: block;
  23. clear : both;
  24. }
  25. .require {
  26. position: relative;
  27. &::before {
  28. content : "*";
  29. position : absolute;
  30. top : 50%;
  31. transform : translateY(-50%);
  32. right : 100%;
  33. margin-right: 4px;
  34. color : #fa3f48;
  35. line-height : 1.5em;
  36. }
  37. }
  38. .more-menu {
  39. position : relative;
  40. // &::after {
  41. // content: '';
  42. // box-sizing: content-box;
  43. // font-size: 5px;
  44. // position: absolute;
  45. // bottom: 0;
  46. // right: 0;
  47. // width: 0;
  48. // height: 0;
  49. // border-bottom: 1em solid var(--colors-normal-base);
  50. // border-left: 1em solid transparent;
  51. // }
  52. }
  53. canvas {
  54. outline: none;
  55. }
  56. .ui-editor-toolbox {
  57. top : calc(var(--editor-head-height) + var(--header-top));
  58. transition: inset ease 0.3s;
  59. }
  60. .ui-editor-menu .ui-editor-menu-item {
  61. width: auto;
  62. }
  63. input::-ms-clear,
  64. input::-ms-reveal {
  65. display: none;
  66. }
  67. /*定义滚动条高宽及背景
  68. 高宽分别对应横竖滚动条的尺寸*/
  69. ::-webkit-scrollbar {
  70. width : 6px;
  71. height : 6px;
  72. background-color: rgba(0, 0, 0, 0);
  73. }
  74. /*定义滚动条轨道
  75. 内阴影+圆角*/
  76. ::-webkit-scrollbar-track {
  77. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  78. border-radius : 3px;
  79. background-color : rgba(255, 255, 255, 0);
  80. }
  81. /*定义滑块
  82. 内阴影+圆角*/
  83. ::-webkit-scrollbar-thumb {
  84. -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  85. border-radius : 3px;
  86. background-color : rgba(255, 255, 255, 0.5);
  87. }
  88. input:-webkit-autofill {
  89. /*自动填充文字颜色*/
  90. -webkit-text-fill-color: #fff !important;
  91. /*自动填充背景颜色*/
  92. -webkit-box-shadow : 0 0 0px 1000px #313131 inset;
  93. border-color : var(--colors-primary-base) !important;
  94. // -webkit-box-shadow: 0 0 0px 1000px #313131 inset !important;//关于解决输入框背景颜色
  95. // -webkit-text-fill-color: rgba(255,255,255,1)!important;//关于接输入框文字颜色
  96. // font-size: 14px !important;
  97. // border-color: 1px solid rgba(255, 255, 255, 0.2) !important;
  98. }
  99. .vc-switch {
  100. z-index: 99999999 !important;
  101. }
  102. code,
  103. kbd,
  104. pre,
  105. samp {
  106. font-family: inherit;
  107. }
  108. @font-face {
  109. font-family: "sr";
  110. src : url("./font/SimSun\ Regular.ttf") format("truetype");
  111. }
  112. @font-face {
  113. font-family: "st";
  114. src : url("./font/simsun.ttc") format("truetype");
  115. }
  116. :root.light {
  117. body {
  118. --colors-primary-base-fill: 23, 121, 237;
  119. --editor-head-back : rgba(255, 255, 255, 1);
  120. --editor-menu-back : rgba(255, 255, 255, 1);
  121. --colors-primary-fill : 0, 0, 0;
  122. --editor-men-color : rgb(0, 0, 0);
  123. .ui-menu-item.active {
  124. background-color: #EFF0F2;
  125. }
  126. .edit-fix-point {
  127. background-color: #fff;
  128. .ui-input {
  129. background: #F0F0F0 !important;
  130. input {
  131. color: #000 !important;
  132. }
  133. }
  134. .header h3 {
  135. color: #666;
  136. }
  137. .select span,
  138. .select p {
  139. color: #000;
  140. &.active {
  141. color : rgba(23, 121, 237, 1);
  142. background: #EFF0F2;
  143. }
  144. }
  145. }
  146. .ui-input .range .range-locus .range-slide {
  147. background-color: rgba(255, 255, 255, 1)
  148. }
  149. .ui-input {
  150. --base-border-color: rgba(0, 0, 0, 0.2);
  151. }
  152. .select-replace {
  153. --colors-content-color: #161A1A;
  154. background : #fff;
  155. }
  156. .back-icon {
  157. border: 1px solid #CCCCCC;
  158. }
  159. .fun-ctrl,
  160. .fun-ctrl:hover,
  161. .menu {
  162. &:not(.autonomous) {
  163. color: #000 !important;
  164. }
  165. }
  166. .menu.border:after {
  167. border-bottom-color: #ccc !important;
  168. }
  169. .button-pane.type {
  170. padding: 4px 18px !important;
  171. .menu {
  172. max-width: 56px;
  173. }
  174. .menu.active {
  175. color: rgba(23, 121, 237, 1) !important;
  176. }
  177. }
  178. .button-pane {
  179. .menu.active {
  180. color : rgba(23, 121, 237, 1) !important;
  181. background-color: #EFF0F2;
  182. }
  183. }
  184. .scene-mode-tabs {
  185. .menu.active {
  186. background-color: #fff;
  187. }
  188. }
  189. .occupying,
  190. .occupying,
  191. .photo img {
  192. background: #000;
  193. }
  194. .photos-layout {
  195. background: #fff;
  196. }
  197. .photos-header {
  198. .ui-button.normal {
  199. color : #000;
  200. border: 1px solid rgba(0, 0, 0, 0.7);
  201. }
  202. }
  203. .strengthen {
  204. border-color: #ccc;
  205. }
  206. .strengthen-right {
  207. border-right-color: #ccc;
  208. }
  209. .strengthen-bottom {
  210. border-bottom-color: #ccc;
  211. }
  212. .photo-select {
  213. i {
  214. color: #fff;
  215. }
  216. }
  217. .fill-slide {
  218. .foot,
  219. .header {
  220. background-color: #fff;
  221. color : rgb(22, 24, 26);
  222. .top-right {
  223. color: rgb(22, 24, 26);
  224. }
  225. }
  226. .foot .menus .menu {
  227. background-color: #E6E9F0;
  228. ;
  229. color: rgba(22, 24, 26, 1) !important
  230. }
  231. }
  232. .PhotoSlider__Backdrop {
  233. // background: #fff !important;
  234. }
  235. .graphic-child-menus {
  236. .header {
  237. color: #000;
  238. }
  239. .type-menu h2 {
  240. color: rgba(0, 0, 0, 1);
  241. }
  242. .menu .icon {
  243. background-color: #fff;
  244. }
  245. }
  246. .geo-teleport .font-size {
  247. color: #000;
  248. }
  249. .save-file.save {
  250. background: #E6E9F0 !important;
  251. color : #000;
  252. border : none;
  253. }
  254. .ui-dialog {
  255. color: #000;
  256. }
  257. .ui-dialog__box {
  258. background-color: #fff;
  259. .ui-input .input .input-div,
  260. .ui-input .input textarea,
  261. .ui-input .input input {
  262. --colors-content-color: #000;
  263. }
  264. header {
  265. color: #000;
  266. }
  267. .select-boxs span {
  268. color: #000;
  269. &:not(.active) {
  270. // background-color: rgba(0, 0, 0, 0.1);
  271. }
  272. }
  273. .ui-button.submit {
  274. color : #000;
  275. border : 1px solid rgba(0, 0, 0, 0);
  276. background: rgba(0, 0, 0, 0.1) !important;
  277. }
  278. }
  279. .info-layout {
  280. background: #fff;
  281. .info-bottom>div {
  282. background: rgba(0, 0, 0, 0);
  283. border : 1px solid #CCCCCC;
  284. color : #000;
  285. }
  286. .info-top .info-top-right {
  287. color: rgba(0, 0, 0, 0.8);
  288. .right-btn {
  289. background: rgba(0, 0, 0, 0);
  290. border : 1px solid #CCCCCC;
  291. }
  292. .text-item .info-textarea,
  293. .input-item input {
  294. color : rgba(0, 0, 0, 1);
  295. background: rgba(240, 240, 240, 1);
  296. border : 1px solid #CCCCCC;
  297. }
  298. }
  299. }
  300. .download-btn {
  301. border : 1px solid #3a3d3d !important;
  302. color : #3a3d3d !important;
  303. background: none !important;
  304. }
  305. }
  306. }
  307. :root.dark {
  308. body {
  309. --editor-menu-back : #161A1A;
  310. --editor-head-back : #252828;
  311. --colors-primary-fill: 255, 255, 255;
  312. .type-photos-layout {
  313. background: #252828;
  314. }
  315. .type-title {
  316. color: #ddd;
  317. }
  318. .setting-layout .ui-input .text input {
  319. background: var(--colors-normal-back);
  320. }
  321. .table .ui-input .text.ready input {
  322. color : #fff;
  323. border-color: #fff;
  324. }
  325. .fill-slide .foot .menus .menu {
  326. color: rgb(22, 24, 26) !important;
  327. }
  328. .select-boxs span {
  329. border: 1px solid #666;
  330. color : #ccc;
  331. &.active {
  332. border: 1px solid #1779ed;
  333. color : #1779ed;
  334. }
  335. }
  336. .text-input .ui-input .text.suffix .len {
  337. color: #000;
  338. }
  339. .empty-images div p {
  340. color: #fff;
  341. }
  342. .ui-menu-item.active {
  343. background: var(--editor-menu-bac);
  344. }
  345. .fun-ctrl,
  346. .fun-ctrl:hover,
  347. .menu {
  348. &:not(.autonomous) {
  349. color: #fff !important;
  350. }
  351. }
  352. .menu.border:after {
  353. border-bottom-color: rgba(255, 255, 255, 0.2);
  354. }
  355. .menu.active {
  356. background-color: rgba(255, 255, 255, 0.1);
  357. }
  358. }
  359. }