123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332 |
- // 资源图片目录地址(必要)
- $img-base-path: '~@/global_components/assets/img/';
- @import '~@/global_components/assets/scss/theme-editor.scss';
- :root {
- --editor-main-color: #0076f6;
- --editor-font-color: #999;
- --editor-toolbox-top: 0;
- --editor-toolbox-left: 0;
- --editor-toolbox-width: 240px;
- --editor-toolbox-padding: 0 10px;
- --editor-menu-active: rgba(0, 200, 175, 0.16);
- --colors-primary-base: var(--editor-main-color);
- --colors-primary-click: #005046;
- }
- ::-webkit-scrollbar {
- width: 4px;
- height: 1px;
- }
- ::-webkit-scrollbar-thumb {
- border-radius: 4px;
- box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
- background: #ccc;
- }
- ::-webkit-scrollbar-thumb:hover {
- background: #999;
- }
- ::-webkit-scrollbar-track {
- box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
- border-radius: 4px;
- background: #000000;
- }
- ul,
- li {
- margin: 0;
- padding: 0;
- list-style: none;
- }
- html {
- line-height: 1.15;
- -webkit-text-size-adjust: 100%;
- }
- html,
- body {
- width: 100%;
- height: 100%;
- margin: 0;
- font-size: 14px;
- overflow: hidden;
- user-select: none;
- }
- #app {
- width: 100%;
- height: 100%;
- overflow: hidden;
- color: #fff;
- background-color: #232323;
- }
- .disable * {
- opacity: 0.85;
- pointer-events: none;
- }
- .enable {
- opacity: 1 !important;
- pointer-events: all !important;
- * {
- opacity: 1 !important;
- pointer-events: all !important;
- }
- }
- .hidden {
- visibility: hidden !important;
- pointer-events: none !important;
- z-index: -1;
- }
- .scene {
- position: absolute;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- overflow: hidden;
- z-index: 1;
- }
- .slide-right-enter-active,
- .slide-right-leave-active {
- will-change: transform;
- transition: all 0.2s ease-in-out;
- }
- .slide-right-enter-from {
- opacity: 0;
- transform: translate3d(100%, 0, 0);
- }
- .slide-right-enter {
- opacity: 1;
- transform: translate3d(-100%, 0, 0);
- }
- .slide-right-leave-active {
- opacity: 0;
- transform: translate3d(100%, 0, 0);
- }
- // .slide-right-enter-active,
- // .slide-right-leave-active,
- // .slide-left-enter-active,
- // .slide-left-leave-active {
- // will-change: transform;
- // transition: all 0.35s ease-in-out;
- // position: absolute;
- // }
- .fade-enter,
- .fade-leave-to {
- opacity: 0;
- }
- .fade-enter-to,
- .fade-leave {
- opacity: 1;
- }
- .fade-enter-active,
- .fade-leave-active {
- transition: all 3s;
- }
- .slide-right-enter {
- opacity: 1;
- transform: translate3d(-100%, 0, 0);
- }
- .slide-right-leave-active {
- opacity: 1;
- transform: translate3d(100%, 0, 0);
- }
- .slide-left-enter {
- opacity: 1;
- transform: translate3d(-100%, 0, 0);
- }
- .slide-left-leave-active {
- opacity: 1;
- transform: translate3d(100%, 0, 0);
- }
- .ui-view-layout {
- width: 100%;
- height: 100%;
- visibility: hidden;
- &.show {
- visibility: visible;
- }
- }
- input[type="password"]::-ms-reveal{
- display:none
- }
- .ui-editor-toolbox {
- .edit-list {
- li {
- margin-top: 20px;
- color: var(--editor-font-color);
- border-bottom: solid 1px rgba(255, 255, 255, 0.16);
- &:last-child {
- border-bottom: none;
- }
- > div {
- margin-bottom: 14px;
- }
- label {
- color: #fff;
- i {
- cursor: pointer;
- }
- }
- .title {
- display: flex;
- justify-content: space-between;
- align-items: center;
- span {
- font-weight: bold;
- font-size: 16px;
- }
- }
- .between {
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- }
- }
- }
- .ql-editor {
- padding: 0;
- }
- a {
- color: #ED5D18;
- }
- [xui_min_map] {
- top: 20px !important;
- right: 20px !important;
- }
- .slider-box {
- position: fixed;
- top: 0;
- right: 0;
- width: var(--editor-toolbox-width);
- height: 100%;
- background: rgba(20, 20, 20, 1);
- z-index: 1;
- .slider-content {
- color: rgba(255, 255, 255, 0.6);
- .content-item {
- padding: 20px 10px;
- box-sizing: border-box;
- border-bottom: 1px solid rgba(255, 255, 255, 0.16);
- box-sizing: border-box;
- &:last-of-type {
- border-bottom: 1px solid transparent;
- }
- }
- .item-title {
- font-size: 16px;
- font-weight: bold;
- color: #999;
- margin-bottom: 14px;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- }
- .slider-title {
- height: 64px;
- border-bottom: 1px solid rgba(255, 255, 255, 0.16);
- color: #999;
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 20px 10px;
- box-sizing: border-box;
- span {
- font-size: 18px;
- color: #999;
- font-weight: bold;
- }
- i {
- cursor: pointer;
- }
- }
- }
- [is-mobile] {
- [xui_min_map] {
- width: 100px;
- height: 100px;
- top: 2.3rem !important;
- right: 15px !important;
- background-color: rgba(0, 0, 0, 0.2) !important;
- border-radius: 4px 4px 0 0 !important;
- border-top-left-radius: 0 !important;
- transition: all .3s;
- &.collapse{
- transform: translateX(calc(100% + 15px));
- .button-switch{
- >.iconfont{
- font-size: 12px;
- transform: rotate(180deg) scale(.7);
- }
-
- }
- }
- .button-switch {
- position: absolute;
- top: 0;
- left: -16px;
- background-color: rgba(0, 0, 0, 0.2);
- height: 32px;
- width: 16px;
- border-radius: 32px 0 0 32px;
- display: flex;
- align-items: center;
- justify-content: center;
- transition: rotate .3s;
- >.iconfont{
- font-size: 12px;
- transform: scale(.7);
- }
- }
- .change{
- position: absolute;
- bottom: -29px;
- left: 0;
- height: 28px;
- background-color: rgba(0, 0, 0, 0.2);
- width: 100%;
- text-align: center;
- margin: 0;
- display: flex;
- align-items: center;
- justify-content: center;
- border-radius: 0 0 4px 4px!important;
- >i{
- margin-right: 4px;
- }
- }
- }
- .ui-dialog{
- .ui-dialog__box{
- min-width: 100px;
- width: 90%;
- }
- }
- }
- .v-enter,
- .v-leave-to {
- opacity: 0;
- transform: translateY(100px);
- }
- .v-enter-active,
- .v-leave-active {
- transition: all 0.25s ease;
- }
|