123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- // 资源图片目录地址(必要)
- $img-base-path: "bill/assets/img/";
- @import "bill/assets/scss/theme-editor.scss";
- html,
- body {
- width: 100%;
- height: 100%;
- margin: 0;
- overflow: hidden;
- }
- :root body {
- --hide-header-top: calc(-1 * var(--editor-head-height));
- --show-header-top: 0px;
- // mini-map size
- --simle-map-width: 400px;
- --simle-map-height: 200px;
- --scale-simle-map-width: 600px;
- --scale-simle-map-height: 300px;
- // 搜索框
- --global-search-width: 340px;
- --taggle-btn-width: 30px;
- --body-right-margin: 20px;
- --left-pano-width: 340px;
- }
- h1, h2, h3, h4, h5, h6 {
- color: inherit;
- }
- a {
- color: var(--color-main-normal);
- cursor: pointer;
- }
- p {
- margin: 0;
- }
- #app {
- width: 100%;
- height: 100%;
- }
- .clear-float::after {
- content: '';
- display: block;
- clear: both;
- }
- .require {
- position: relative;
- &::before {
- content: '*';
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- right: 100%;
- margin-right: 4px;
- color: #FA3F48;
- line-height: 1.5em;
- }
- }
- .more-menu {
- position: relative;
- &::after {
- content: '';
- box-sizing: content-box;
- font-size: 5px;
- position: absolute;
- bottom: 0;
- right: 0;
- width: 0;
- height: 0;
- border-bottom: 1em solid var(--colors-normal-base);
- border-left: 1em solid transparent;
- }
- }
- canvas {
- outline: none;
- }
- .ui-editor-toolbox {
- top: calc(var(--editor-head-height) + var(--header-top));
- transition: inset ease 0.3s;
- }
- .ui-editor-menu .ui-editor-menu-item {
- width: auto;
- }
- input::-ms-clear,input::-ms-reveal {
- display: none;
- }
- /*定义滚动条高宽及背景
- 高宽分别对应横竖滚动条的尺寸*/
- ::-webkit-scrollbar
- {
- width: 6px;
- height: 6px;
- background-color:rgba(0,0,0,0);
- }
- /*定义滚动条轨道
- 内阴影+圆角*/
- ::-webkit-scrollbar-track
- {
- -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.3);
- border-radius: 3px;
- background-color:rgba(255, 255, 255, 0);
- }
- /*定义滑块
- 内阴影+圆角*/
- ::-webkit-scrollbar-thumb
- {
- -webkit-box-shadow:inset 0 0 6px rgba(0,0,0,0.3);
- border-radius: 3px;
- background-color:rgba(255, 255, 255, 0.5);
- }
- input:-webkit-autofill {
- /*自动填充文字颜色*/
- -webkit-text-fill-color: #fff !important;
- /*自动填充背景颜色*/
- -webkit-box-shadow: 0 0 0px 1000px #313131 inset;
- border-color: var(--colors-primary-base) !important;
- // -webkit-box-shadow: 0 0 0px 1000px #313131 inset !important;//关于解决输入框背景颜色
- // -webkit-text-fill-color: rgba(255,255,255,1)!important;//关于接输入框文字颜色
- // font-size: 14px !important;
- // border-color: 1px solid rgba(255, 255, 255, 0.2) !important;
- }
- .vc-switch {
- z-index: 99999999 !important;
- }
- [contenteditable=true]:empty:before{
- content:attr(placeholder);
- color:grey;
- // font-style:italic;
- }
|