public.scss 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  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. .photo-select {
  124. // box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  125. }
  126. .ui-menu-item.active {
  127. background-color: #EFF0F2;
  128. }
  129. .edit-fix-point {
  130. background-color: #fff;
  131. .ui-input {
  132. background: #F0F0F0 !important;
  133. input {
  134. color: #000 !important;
  135. }
  136. }
  137. .header h3 {
  138. color: #666;
  139. }
  140. .select span,
  141. .select p {
  142. color: #000;
  143. &.active {
  144. color : rgba(23, 121, 237, 1);
  145. background: #EFF0F2;
  146. }
  147. }
  148. }
  149. .ui-input .range .range-locus .range-slide {
  150. background-color: rgba(255, 255, 255, 1)
  151. }
  152. .ui-input {
  153. --base-border-color: rgba(0, 0, 0, 0.2);
  154. }
  155. .select-replace {
  156. --colors-content-color: #161A1A;
  157. background : #fff;
  158. }
  159. .back-icon {
  160. border: 1px solid #CCCCCC;
  161. }
  162. .fun-ctrl,
  163. .fun-ctrl:hover,
  164. .menu {
  165. &:not(.autonomous) {
  166. color: #000 !important;
  167. }
  168. }
  169. .menu.border:after {
  170. border-bottom-color: #ccc !important;
  171. }
  172. .button-pane.type {
  173. padding: 4px 18px !important;
  174. .menu {
  175. max-width: 56px;
  176. }
  177. .menu.active {
  178. color: rgba(23, 121, 237, 1) !important;
  179. }
  180. }
  181. .button-pane {
  182. .menu.active {
  183. // color : rgba(23, 121, 237, 1) !important;
  184. background-color: #EFF0F2;
  185. }
  186. }
  187. .scene-mode-tabs {
  188. .menu.active {
  189. background-color: #fff;
  190. }
  191. }
  192. .occupying,
  193. .occupying,
  194. .photo img {
  195. background: #000;
  196. }
  197. .photos-layout {
  198. background: #fff;
  199. }
  200. .photos-header {
  201. .ui-button.normal {
  202. color : #000;
  203. border: 1px solid rgba(0, 0, 0, 0.7);
  204. }
  205. }
  206. .strengthen {
  207. border-color: #ccc;
  208. }
  209. .strengthen-right {
  210. border-right-color: #ccc;
  211. }
  212. .strengthen-bottom {
  213. border-bottom-color: #ccc;
  214. }
  215. .photo-select {
  216. i {
  217. // color: #000;
  218. }
  219. }
  220. .fill-slide {
  221. .header {
  222. border-bottom: 1px solid #B3B3B3;
  223. }
  224. .foot {
  225. border-top: 1px solid #B3B3B3;
  226. }
  227. .foot,
  228. .header {
  229. background-color: #fff;
  230. color : rgb(22, 24, 26);
  231. .top-right {
  232. color: rgb(22, 24, 26);
  233. }
  234. }
  235. .foot .menus .menu {
  236. background-color: #E6E9F0;
  237. ;
  238. color: rgba(22, 24, 26, 1) !important
  239. }
  240. }
  241. .PhotoSlider__Backdrop {
  242. // background: #fff !important;
  243. }
  244. .graphic-child-menus {
  245. .header {
  246. color: #000;
  247. }
  248. .type-menu h2 {
  249. color: rgba(0, 0, 0, 1);
  250. }
  251. .menu .icon {
  252. background-color: #fff;
  253. }
  254. }
  255. .geo-teleport .font-size {
  256. color: #000;
  257. }
  258. .save-file.save {
  259. background: #E6E9F0 !important;
  260. color : #000;
  261. border : none;
  262. }
  263. .ui-dialog {
  264. color: #000;
  265. }
  266. .ui-dialog__box {
  267. background-color: #fff;
  268. .ui-input .input .input-div,
  269. .ui-input .input textarea,
  270. .ui-input .input input {
  271. --colors-content-color: #000;
  272. }
  273. header {
  274. color: #000;
  275. }
  276. .select-boxs span {
  277. color: #000;
  278. &.active {
  279. // background-color: rgba(0, 0, 0, 0.1);
  280. color: #1779ed;
  281. }
  282. }
  283. .ui-button.submit {
  284. color : #000;
  285. border : 1px solid rgba(0, 0, 0, 0);
  286. background: rgba(0, 0, 0, 0.1) !important;
  287. }
  288. }
  289. .info-layout {
  290. background: #fff;
  291. .info-bottom>div {
  292. background : #E6E9F0;
  293. // border : 1px solid #CCCCCC;
  294. color : #000;
  295. }
  296. .info-top .info-top-right {
  297. color: rgba(0, 0, 0, 0.8);
  298. .right-btn {
  299. background : rgba(0, 0, 0, 0);
  300. // border : 1px solid #CCCCCC;
  301. background : #E6E9F0;
  302. }
  303. .text-item .info-textarea,
  304. .input-item input {
  305. color : rgba(0, 0, 0, 1);
  306. background: rgba(240, 240, 240, 1);
  307. border : 1px solid #CCCCCC;
  308. }
  309. }
  310. }
  311. .download-btn {
  312. // border : 1px solid #3a3d3d !important;
  313. color : #000 !important;
  314. // background: none !important;
  315. // background: rgba(0, 0, 0, 0);
  316. background: #E6E9F0 !important;
  317. ;
  318. }
  319. }
  320. }
  321. :root.dark {
  322. .menu.range {
  323. border-color: rgba(0, 0, 0, 0);
  324. }
  325. body {
  326. --editor-menu-back : #161A1A;
  327. --editor-head-back : #252828;
  328. --colors-primary-fill: 255, 255, 255;
  329. .type-photos-layout {
  330. background: #252828;
  331. }
  332. .type-title {
  333. color: #ddd;
  334. }
  335. .setting-layout .ui-input .text input {
  336. background: var(--colors-normal-back);
  337. }
  338. .table .ui-input .text.ready input {
  339. color : #fff;
  340. border-color: #fff;
  341. }
  342. .fill-slide .foot .menus .menu {
  343. color: rgb(22, 24, 26) !important;
  344. }
  345. .select-boxs span {
  346. border: 1px solid #666;
  347. color : #ccc;
  348. &.active {
  349. border: 1px solid #1779ed;
  350. color : #1779ed;
  351. }
  352. }
  353. .text-input .ui-input .text.suffix .len {
  354. color: #000;
  355. }
  356. .empty-images div p {
  357. color: #fff;
  358. }
  359. .ui-menu-item.active {
  360. background: var(--editor-menu-bac);
  361. }
  362. .fun-ctrl,
  363. .fun-ctrl:hover,
  364. .menu {
  365. &:not(.autonomous) {
  366. color: #fff !important;
  367. }
  368. }
  369. .menu.border:after {
  370. border-bottom-color: rgba(255, 255, 255, 0.2);
  371. }
  372. .menu.active {
  373. background-color: rgba(255, 255, 255, 0.1);
  374. }
  375. .info-layout {
  376. // background: #fff;
  377. .info-bottom>div {
  378. background:rgba(255,255,255,0.1);
  379. }
  380. }
  381. }
  382. }