@import './base/normalize.css'; @color: #0076F6; @hoverclr: #1983F6; @activeclr: #0069DC; @cancelcolor: #EBEDF0; @cancelhoverclr: #EBEDF0; @cancelactiveclr: #D3D4D7; @deepcancelcolor: #313131; @deepcancelhoverclr: #3d3d3d; @deepcancelactiveclr: #3d3d3d; @fontcolor: #323233; ::-webkit-scrollbar { width: 6px; height: 0; } /*宽度是对垂直滚动条而言,高度是对水平滚动条而言*/ ::-webkit-scrollbar-thumb { background: #47484A; border-radius: 3px; } ::-webkit-scrollbar-button { background-color: transparent; height: 0; } ::-webkit-scrollbar-track { background: transparent; border-radius: 6px; } ::-webkit-scrollbar-corner { background: transparent; border-radius: 6px; } ::-webkit-scrollbar-resizer { background: transparent;} input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: rgba(255, 255, 255, 0.2) !important; font-weight: normal !important; } input:-moz-placeholder, textarea:-moz-placeholder { color: rgba(255, 255, 255, 0.2) !important; font-weight: normal !important; } input::-moz-placeholder, textarea::-moz-placeholder { color: rgba(255, 255, 255, 0.2) !important; font-weight: normal !important; } input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: rgba(255, 255, 255, 0.2) !important; font-weight: normal !important; } .disable { opacity: 0.5; pointer-events: none !important; * { pointer-events: none !important; } } .hover-tips:hover { color: #0076F6 !important; } .hover-tips-warn:hover { color: #FA5555 !important; } .hover-tips, .hover-tips-warn { position: relative; font-size: 18px; &:hover { > div { display: block; } } // tip的方框 > div { background: #FFFFFF; box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06); border: 1px solid #EBEDF0; cursor: default; display: none; z-index: 10000; position: absolute; left: 50%; transform: translateX(-50%); top: -46px; color: #fff; white-space: nowrap; pointer-events: none; text-align: center; word-break: keep-all; padding: 0 8px; font-size: 12px; border-radius: 3px; // tip的箭头 &::before { border: 7px solid transparent; border-top: 7px solid #fff; width: 0; height: 0px; content: ""; display: inline-block; position: absolute; bottom: -14px; left: 50%; transform: translateX(-50%); } // tip的文字 .remark { line-height: 2.5; color: #323233; } } } .shenglve { display: inline-block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; max-width: 100%; } .nodata { width: 100%; min-height: 40%; text-align: center; margin: 80px auto; font-size: 14px; > img { max-width: 100px; } > div, > span { display: block; font-weight: 400; margin-top: 10px; color: #646566; } } .fdcheck { position: relative; cursor: pointer; &::before { content: ''; border: #CCCCCC 1px solid; width: 14px; height: 14px; position: absolute; left: -20px; top: 50%; transform: translateY(-50%); display: inline-block; } } .check_active { &::before { content: ''; background: #1fe4dc; border: #1fe4dc 1px solid; } &::after { left: -17px; top: 50%; position: absolute; display: table; border: 2px solid #000; border-top: 0; border-left: 0; transform: rotate(45deg) translate(-50%, -50%); opacity: 1; transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s; width: 6px; height: 10px; content: " "; } } .menu { > ul { display: flex; > li { white-space: nowrap; margin: 0 0 10px 10px; border-radius: 2px; padding: 0 32px 0 10px; height: 30px; line-height: 30px; color: rgba(255, 255, 255, 0.5); background: rgba(255, 255, 255, 0.08); position: relative; cursor: pointer; max-width: 126px; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; &.hidden { padding: 0 10px; .oper { display: none !important; } } &:hover { .oper { display: flex; } } &:first-of-type { margin-left: 0; } .oper { position: absolute; right: 6px; height: 100%; top: 0px; z-index: 999; cursor: pointer; display: none; align-items: center; &:hover { > ul { display: block; } } > ul { display: none; box-shadow: 0 0 6px rgb(255 255 255 / 40%); background: #161a1a; top: 26px; left: 0; position: fixed; border: 1px solid #555a5a; float: right; > li { line-height: 35px; height: 35px; text-align: center; min-width: 98px; &:hover { color: @color; background: #252828; } } } } &.li-add { background-color: @color; width: 30px; min-width: unset; max-width: 30px; height: 30px; color: #fff; padding: 0; > i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 26px; } } } .active { color: rgba(255, 255, 255, 0.88); background: rgba(255, 255, 255, 0.16); } } } .w-menu { > ul { > li { color: #909090; background: #F7F7F7; } .active { color: #202020; background: #EBEBEB; } } } .preview { position: relative; background-color: #161a1a; width: 240px; height: 240px; margin-right: 30px; color: #a0a0a0; display: flex; align-items: center; justify-content: center; background-repeat: no-repeat; background-size: 100% 100%; .tips { display: flex; align-items: center; justify-content: center; flex-direction: column; overflow: hidden; > div { font-size: 12px; } } } @gap: 10px; .pano-con { background: #161a1a; height: 700px; position: relative; padding: 30px @gap; > ul { display: flex; flex-wrap: wrap; > li { position: relative; margin: @gap @gap @gap*3; width: 170px; height: 170px; border: 2px solid rgba(0, 0, 0, 0); .ui-title { width: 100%; > span { width: 100%; display: inline-block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size: 14px; cursor: pointer; color: rgba(255, 255, 255, 0.88); } } .typeli, .oper { position: absolute; width: 32px; height: 32px; z-index: 11; top: 10px; left: 10px; background: rgba(0, 0, 0, 0.5); > i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); } } .oper { top: auto; left: auto; bottom: 10px; right: 10px; width: 62px; height: 32px; cursor: pointer; background: none; > ul { display: none; box-shadow: 0 0 6px rgba(255, 255, 255, 0.4); background: #161a1a; position: absolute; bottom: 32px; right: 0; > li { line-height: 35px; height: 35px; text-align: center; min-width: 98px; &:hover { color: @color; background: #252828; } } } > i { position: absolute; top: 50%; right: 8px; left: auto; transform: translateY(-50%); } &::before { content: ""; display: inline-block; width: 32px; position: absolute; right: 0; bottom: 0; height: 100%; background: rgba(0, 0, 0, 0.5); border-radius: 50%; } &:hover { > ul { display: block; } } } .img { width: 100%; overflow: hidden; height: 100%; position: relative; > img { width: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); height: 100%; } } } .li-active { border-color: @color; &::before { content: ""; display: inline-block; background: rgba(0, 0, 0, 0.3); z-index: 99; position: absolute; width: 100%; height: 100%; left: 0; top: 0; } } .li-uploading { &::before { content: ""; display: inline-block; background: rgba(0, 0, 0, 0.3); z-index: 99; position: absolute; width: 100%; height: 100%; left: 0; top: 0; z-index: 9; } &::after { content: "\56fe\7247\5904\7406\4e2d..."; display: inline-block; position: absolute; left: 50%; width: 100%; text-align: center; top: 50%; transform: translate(-50%, -50%); z-index: 10; } } .li-fail { &::before { content: ""; display: inline-block; background: rgba(0, 0, 0, 0.5); position: absolute; width: 100%; height: 100%; left: 0; z-index: 9; top: 0; } &::after { content: "\751f\6210\5931\8d25"; display: inline-block; position: absolute; left: 50%; width: 100%; text-align: center; z-index: 10; top: 50%; transform: translate(-50%, -50%); } } } .add-btn { position: absolute; bottom: 30px; right: 30px; .ui-button { padding: 0 15px; > i { margin-right: 4px; } } } } .pano-label { width: 100%; > ul { display: flex; > li { cursor: pointer; width: 100px; height: 32px; line-height: 32px; padding: 0 5px; text-align: center; border-top: solid 1px #5d5d5d; border-right: solid 1px #5d5d5d; border-bottom: solid 1px #5d5d5d; overflow: hidden; text-overflow: ellipsis; &:first-child { border-left: solid 1px #5d5d5d; } &.active { background-color: @color; } } } } .ui-title-big { display: block; white-space: normal; font-size: 16px; font-weight: bold; line-height: 1.5; margin-bottom: 10px; color: #fff; } .ui-title { display: flex; justify-content: space-between; white-space: normal; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.6); margin-bottom: 10px; } .ui-remark { display: block; white-space: normal; font-size: 12px; line-height: 1.5; color: rgba(255, 255, 255, 0.3); } .require { position: relative; &::before { content: "*"; display: inline-block; color: #f56c6c; width: 10px; height: 10px; position: absolute; right: -15px; top: 0; } } .ui-hidden { display: none !important; } .ui-between { display: flex; align-items: center; justify-content: space-between; } .ui-button { height: 36px; line-height: 1; border-radius: 4px; border: 1px solid @color; padding: 0 16px; background-color: transparent; text-align: center; letter-spacing: 1px; min-width: 88px; font-size: 14px; outline: none; white-space: nowrap; cursor: pointer; color: @activeclr; &.submit { color: #fff !important; background-color: @color; &:hover { background-color: @hoverclr !important; border-color: @hoverclr !important; color: #fff !important; } &:active { background-color: @activeclr !important; border-color: @activeclr !important; color: #fff !important; } } &.cancel { background-color: @cancelcolor !important; border-color: @cancelcolor !important; color: @fontcolor !important; &:hover { background-color: @cancelhoverclr !important; border-color: @cancelhoverclr !important; color: @fontcolor !important; } &:active { background-color: @cancelactiveclr !important; border-color: @cancelactiveclr !important; color: @fontcolor !important; } } &.deepcancel { background-color: @deepcancelcolor !important; border-color: @deepcancelcolor !important; color: #fff !important; &:hover { background-color: @deepcancelhoverclr !important; border-color: @deepcancelhoverclr !important; color: #fff !important; } &:active { background-color: @deepcancelactiveclr !important; border-color: @deepcancelactiveclr !important; color: #fff !important; } } &.block { width: 100%; } &.link { display: inline-block; text-decoration: none; line-height: 36px; } &.danger { background-color: #c80303; border-color: #c80303; color: #fff; } &:hover { background-color: transparent !important; color: @hoverclr !important; border-color: @hoverclr !important; } &:active { background-color: transparent !important; color: @activeclr !important; border-color: @activeclr !important; } } .ui-input { outline: none; border: 1px solid rgba(151, 151, 151, 0.2); background: #252526; padding: 0 16px; color: #fff; letter-spacing: 1px; border-radius: 2px; height: 36px; width: 100%; font-size: 14px; } .ui-textarea { height: 180px; padding-top: 10px; resize: none; } .ui-warning { position: relative; .ui-input { animation: warn-flash 0.6s linear; animation-direction: alternate; animation-iteration-count: infinite; border-color: #a7a7a7 !important; } .ui-warning-label { transform: scale(1, 1); opacity: 1; } } .ui-warning-label { position: fixed; pointer-events: none; transform: scale(0, 1); right: 241px; width: 300px; height: 32px; line-height: 32px; text-align: center; background: #fff; z-index: 10000; margin-top: 0px; color: @color !important; font-size: 14px; box-shadow: -1px 2px 8px 0px rgba(0, 0, 0, 0.25); transition: opacity 0.3s, transform 0.2s; transform-origin: right; &::after { content: ""; display: block; width: 0; height: 0; border-style: solid; border-width: 7px 0 6px 10px; border-color: transparent transparent transparent #ffffff; position: absolute; right: -10px; top: 9px; } } .ui-message { position: absolute; left: 50%; top: 50%; z-index: 999; max-width: 90%; background: #fff; width: 500px; color: #323233; text-align: center; transform: translate(-50%, -50%); overflow: hidden; box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06); border-radius: 4px; border: 1px solid #E4E7ED; padding: 26px; &.dark { background: #1A1B1D; color: rgba(255, 255, 255, 0.6); box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.06); border: 1px solid #404040; .ui-message-header { span { font-size: 18px; color: rgba(255, 255, 255, 0.6); &:last-child { color: rgba(255, 255, 255, 0.5); } } } .ui-message-main { text-align: left; min-height: 80px; margin-top: 40px; } } } .ui-message-header { width: 100%; font-size: 18px; display: flex; justify-content: space-between; span { &:last-child { cursor: pointer; } } } .ui-message-footer { text-align: right; .ui-button { margin-left: 16px; } } .ui-message-main { .ui-message-icon { height: 108px; margin: 18px 0; background-image: url(~@/assets/images/icons/icon-ask.png); background-size: contain; background-repeat: no-repeat; background-position: center center; &.ok { background-image: url(~@/assets/images/icons/icon-ok.png); } } .ui-message-title { font-size: 18px; font-weight: bold; } .ui-message-content { font-size: 14px; margin-top: 20px; margin-bottom: 30px; word-break: break-all; } } .animated.speed { -webkit-animation-duration: 0.2s; animation-duration: 0.2s; } @keyframes word-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-100% + 60px)); } } @keyframes warn-flash { 0% { background-color: rgba(2, 200, 174, 0); } 100% { background-color: rgba(2, 200, 174, 1); } } @keyframes bouncedelay { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } } @keyframes spinner { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } } .message-mobile { width: 80%; .ui-button.cancel { color: #fff; border: 1px solid #ccc; background-color: transparent; } .ui-message-header { display: none; } .ui-message-title { font-weight: 600; margin-bottom: 0; color: #595959; } .ui-message-content { font-size: 14px; font-weight: 400; color: #595959; margin: 5px; margin-top: 2px; } .ui-message-footer { margin-bottom: 0; white-space: nowrap; a.link, button { //float: right; width: 50%; letter-spacing: 1px; margin: 0; border-radius: 0; border: none; &:last-child { background-color: fade(@color, 40%); } &:first-child:last-child { width: 100%; background-color: @color; } } a.link { line-height: 1.4rem; } } } .widgets-design-option { width: 100%; height: 100%; z-index: 4; position: absolute; user-select: none; overflow: hidden; pointer-events: none; left: 0; top: 0; i { margin: 0 5px; &:before { font-family: "iconfont" !important; font-size: 32px; line-height: 36px; font-style: normal; } } li { cursor: pointer; } > div { height: 36px; background: #262729; position: absolute; transform: translate(-100%, -50%) translateX(-15px); border-top-left-radius: 18px; border-bottom-left-radius: 18px; padding-left: 10px; pointer-events: auto; box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.4); &:after { position: absolute; right: -15px; top: 0; content: ''; width: 0; height: 0; border-style: solid; border-width: 18px 0 18px 15px; border-color: transparent transparent transparent #262729; } } &.right > div { transform: translate(15px, -50%); border-top-left-radius: 0; border-bottom-left-radius: 0; border-top-right-radius: 18px; border-bottom-right-radius: 18px; padding: 0 10px 0 0; &:after { right: auto; left: -15px; border-width: 18px 15px 18px 0; border-color: transparent #262729 transparent transparent; } } .delete-ruler li { line-height: 36px; padding: 0 10px; word-break: keep-all; list-style: none; } } .widgets-rulers { position: absolute; pointer-events: none; top: 0; left: 0; bottom: 0; right: 0; } .widgets-rulers .ruler-line { position: absolute; -webkit-transform-origin: left 0.875px; transform-origin: left 0.875px; width: 0; height: 1.75px; } .widgets-rulers .ruler-line em { background: -webkit-gradient(linear, left top, right top, from(hsla(0, 0%, 100%, .5)), to(hsla(0, 0%, 100%, .3))); background: linear-gradient(90deg, hsla(0, 0%, 100%, .5), hsla(0, 0%, 100%, .3)); display: block; height: 100%; -webkit-animation: ruler-line .5s ease 1s; animation: ruler-line .5s ease 1s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-box-shadow: 0 0 3.5px rgba(0, 0, 0, .6); box-shadow: 0 0 3.5px rgba(0, 0, 0, .6); } .widgets-rulers .ruler-label { position: absolute; /* width: 0; */ height: 0; top: 0.875px; left: 38%; } .widgets-rulers .ruler-label .ruler-label-point { position: absolute; width: 28px; height: 11.375px; right: 0; bottom: 0; background-position: bottom; background-repeat: no-repeat; // background-image: url(~/static/img/ruler-point.svg); background-size: 28px 11.375px; -webkit-transform: translateZ(0); transform: translateZ(0); transform-origin: right center; -webkit-animation: ruler-point .3s ease 1.3s; animation: ruler-point .3s ease 1.3s; -webkit-animation-fill-mode: both; animation-fill-mode: both; } .widgets-rulers .ruler-label .ruler-label-name { position: absolute; height: 15.75px; font-size: 12px; line-height: 15.75px; right: 28px; bottom: 0.875px; white-space: nowrap; /* max-width: 0; */ overflow: hidden; -webkit-animation: ruler-label 1s ease 1.6s; animation: ruler-label 1s ease 1.6s; -webkit-animation-fill-mode: both; animation-fill-mode: both; text-shadow: 0 0 3.5px rgba(0, 0, 0, .6); } .widgets-rulers .ruler-label.reverse .ruler-label-point { -webkit-transform: rotateY(180deg); transform: rotateY(180deg); } .widgets-rulers .ruler-label.reverse .ruler-label-name { /* -webkit-transform: rotateY(-180deg); */ /* transform: rotateY(-180deg); */ right: auto; left: 28px; } .widgets-rulers .measure .ruler-label .ruler-label-name { color: #f0ff00; } .widgets-rulers .ruler-intersection { position: absolute; width: 0; height: 0 } .widgets-rulers .ruler-intersection .ruler-intersection-point { position: absolute; left: 0; bottom: 0; width: 18.375px; height: 7px; //background-image: url(~/static/img/intersection-label.svg); background-repeat: no-repeat; background-size: 18.375px 7px; background-position: 50% } .widgets-rulers .ruler-intersection .ruler-intersection-text { position: absolute; left: 18.375px; bottom: 0; font-size: 12px; line-height: 12px; white-space: nowrap; color: #12fffb; text-shadow: 0 0 3.5px rgba(0, 0, 0, .3); -webkit-transform-origin: left center; transform-origin: left center; -webkit-transform: scale(.85); transform: scale(.85) } .measure .ruler-label .ruler-label-name { font-size: 14px; line-height: 14px; } .measure .ruler-label { position: absolute; } .measure .ruler-label .ruler-label-point { // background-image: url(~/static/img/ruler-point-yellow.svg); animation-delay: .3s; } .measure .ruler-label .ruler-label-name { animation-delay: .6s; } /* edit 界面 ruler立刻出现 */ body[edit-mode="mobile"] .ruler-line em, body[edit-mode="pc"] .ruler-line em { animation-delay: 0s; } body[edit-mode="mobile"] .ruler-label .ruler-label-point, body[edit-mode="pc"] .ruler-label .ruler-label-point, .wallLine .ruler-label .ruler-label-point { animation-delay: 0s; } body[edit-mode="mobile"] .ruler-label .ruler-label-name, body[edit-mode="pc"] .ruler-label .ruler-label-name, .wallLine .ruler-label .ruler-label-name { animation-delay: .3s; } /* widgets-doll-labels: */ .widgets-doll-labels, .widgets-plan-labels { overflow: hidden; position: absolute; pointer-events: none; top: 0; left: 0; bottom: 0; right: 0 } .widgets-doll-labels .room-label { position: absolute; width: 0; height: 0; /* display: none; */ -webkit-transform: translateZ(0); transform: translateZ(0); -webkit-animation: room-label .3s ease .1s; animation: room-label .3s ease .1s; -webkit-animation-fill-mode: both; animation-fill-mode: both; cursor: pointer; } /* .widgets-doll-labels .room-label.visible { display: block } */ .widgets-doll-labels .room-label:after { content: ""; display: block; position: absolute; width: 1px; height: 66px; // background-image: url(~/static/img/labelline.png); background-size: contain; bottom: 0; left: 50%; -webkit-transform: translate(-50%); transform: translate(-50%); } .widgets-doll-labels .room-label a { display: block; position: absolute; line-height: 32px; top: -66px; transform: translate(-50%, -100%); text-align: center; white-space: nowrap; font-size: 14px; font-style: normal; pointer-events: auto; border: 1px solid #bbb; border-radius: 18.375px; padding: 0px 14px; background: rgba(30, 30, 30, 0.38); } .widgets-doll-labels .room-label a span { white-space: nowrap; user-select: none; //transform: translate(-50%, -50%); } // .widgets-doll-labels .room-label.with-small-font a span { // transform: translate(-50%, -50%) scale(.83) // } .widgets-doll-labels .room-label.with-entrance:after { display: none } .widgets-doll-labels .room-label.with-entrance a { top: 50%; width: 38.5px; height: 15.75px; background-size: 38.5px 15.75px; //background-image: url(~/static/img/room-label-entrance.svg); -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%) } .widgets-doll-labels .room-label.with-entrance a span { margin-left: -0.875px; margin-top: -0.875px } .widgets-plan-labels .room-label { position: absolute; -webkit-animation: room-label .3s ease .1s; animation: room-label .3s ease .1s; -webkit-animation-fill-mode: both; animation-fill-mode: both } .widgets-plan-labels .room-label a { display: block; position: absolute; /* width: 38.5px; */ line-height: 24px; /* top: -99px; */ /* left: 50%; */ -webkit-transform: translate(-50%); transform: translate(-50%, -50%); text-align: center; white-space: nowrap; font-size: 14px; font-style: normal; /* pointer-events: auto */ text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); } .widgets-doors { position: absolute; pointer-events: none; top: 0; left: 0; bottom: 0; right: 0 } .widgets-doors[data-camera-toward=forward] .door.show-arrow.right a:before { margin-right: 3.5px; -webkit-transform: rotate(180deg); transform: rotate(180deg) } .widgets-doors[data-camera-toward=forward] .door.show-arrow.left a:after, .widgets-doors[data-camera-toward=forward] .door.show-arrow.right a:before { content: ""; position: relative; display: inline-block; width: 10.5px; height: 10.5px; //background: url(../images/room-arrow-label.svg) no-repeat 50%; background-size: 100% 100%; vertical-align: middle } .widgets-doors[data-camera-toward=forward] .door.show-arrow.left a:after { margin-left: 3.5px } .widgets-doors[data-camera-toward=forward] .door.show-arrow.back a:after, .widgets-doors[data-camera-toward=right] .door.show-arrow.left a:after { content: ""; display: inline-block; vertical-align: middle; width: 10.5px; height: 10.5px; //background: url(../images/room-arrow-label.svg) no-repeat 50%; background-size: 100% 100%; margin-left: 3.5px; -webkit-transform: rotate(-90deg); transform: rotate(-90deg) } .widgets-doors[data-camera-toward=right] .door.show-arrow.back a:before { margin-right: 3.5px; -webkit-transform: rotate(180deg); transform: rotate(180deg) } .widgets-doors[data-camera-toward=right] .door.show-arrow.back a:before, .widgets-doors[data-camera-toward=right] .door.show-arrow.forward a:after { content: ""; position: relative; display: inline-block; width: 10.5px; height: 10.5px; //background: url(../images/room-arrow-label.svg) no-repeat 50%; background-size: 100% 100%; vertical-align: middle } .widgets-doors[data-camera-toward=right] .door.show-arrow.forward a:after { margin-left: 3.5px } .widgets-doors[data-camera-toward=left] .door.show-arrow.right a:after { -webkit-transform: rotate(-90deg); transform: rotate(-90deg) } .widgets-doors[data-camera-toward=left] .door.show-arrow.back a:after, .widgets-doors[data-camera-toward=left] .door.show-arrow.right a:after { content: ""; display: inline-block; vertical-align: middle; width: 10.5px; height: 10.5px; //background: url(../images/room-arrow-label.svg) no-repeat 50%; background-size: 100% 100%; margin-left: 3.5px } .widgets-doors[data-camera-toward=left] .door.show-arrow.back a:after { position: relative } .widgets-doors[data-camera-toward=left] .door.show-arrow.forward a:before { position: relative; margin-right: 3.5px; -webkit-transform: rotate(180deg); transform: rotate(180deg) } .widgets-doors[data-camera-toward=back] .door.show-arrow.forward a:after, .widgets-doors[data-camera-toward=left] .door.show-arrow.forward a:before { content: ""; display: inline-block; width: 10.5px; height: 10.5px; //background: url(../images/room-arrow-label.svg) no-repeat 50%; background-size: 100% 100%; vertical-align: middle } .widgets-doors[data-camera-toward=back] .door.show-arrow.forward a:after { margin-left: 3.5px; -webkit-transform: rotate(-90deg); transform: rotate(-90deg) } .widgets-doors[data-camera-toward=back] .door.show-arrow.right a:after { margin-left: 3.5px } .widgets-doors[data-camera-toward=back] .door.show-arrow.left a:before, .widgets-doors[data-camera-toward=back] .door.show-arrow.right a:after { content: ""; position: relative; display: inline-block; width: 10.5px; height: 10.5px; //background: url(../images/room-arrow-label.svg) no-repeat 50%; background-size: 100% 100%; vertical-align: middle } .widgets-doors[data-camera-toward=back] .door.show-arrow.left a:before { margin-right: 3.5px; -webkit-transform: rotate(180deg); transform: rotate(180deg) } .widgets-doors .door { position: absolute; width: 0; height: 0; /* display: none; */ -webkit-animation: viewport-door-label .3s ease 1s; animation: viewport-door-label .3s ease 1s; -webkit-animation-fill-mode: both; animation-fill-mode: both; -webkit-transform: translateZ(0); transform: translateZ(0) } /* .widgets-doors .door.visible { display: block } */ .widgets-doors .door a { display: block; position: absolute; top: 50%; left: 50%; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); border-radius: 1.75px; background: rgba(0, 0, 0, .3); line-height: 10.5px; padding: 3.5px 4.375px; white-space: nowrap; font-size: 10.5px; font-style: normal; pointer-events: auto; -webkit-transition: background .3s ease, color .3s ease, -webkit-transform 1s ease; transition: background .3s ease, color .3s ease, -webkit-transform 1s ease; transition: transform 1s ease, background .3s ease, color .3s ease; transition: transform 1s ease, background .3s ease, color .3s ease, -webkit-transform 1s ease } .widgets-doors .door a:after { -webkit-transition: opacity .3s ease; transition: opacity .3s ease } .widgets-doors .door a:active { background: rgba(0, 0, 0, .5); color: hsla(0, 0%, 100%, .5) } .widgets-doors .door a:active:after { opacity: .5 } @-webkit-keyframes ruler-point { 0% { height: 0 } to { height: 11.375px } } @keyframes ruler-point { 0% { height: 0 } to { height: 11.375px } } @-webkit-keyframes ruler-label { 0% { max-width: 0 } to { max-width: 131.25px } } @keyframes ruler-label { 0% { max-width: 0 } to { max-width: 131.25px } } @-webkit-keyframes door-label { 0% { opacity: 0; margin-top: 8.75px } to { opacity: 1; margin-top: 0 } } @keyframes door-label { 0% { opacity: 0; margin-top: 8.75px } to { opacity: 1; margin-top: 0 } } @-webkit-keyframes room-label { 0% { opacity: 0; margin-top: 8.75px } to { opacity: 1; margin-top: 0 } } @keyframes room-label { 0% { opacity: 0; margin-top: 8.75px } to { opacity: 1; margin-top: 0 } } @-webkit-keyframes ruler-line { 0% { width: 0 } to { width: 100% } } @keyframes ruler-line { 0% { width: 0 } to { width: 100% } } [app-border] { position: relative; &[dir-top], &[dir-left], &[dir-right], &[dir-bottom] { &::after { content: ""; position: absolute; background-color: #000; } } &[dir-top] { border-top: solid 1px #47484a; &::after { top: 0; left: 0; width: 100%; height: 1px; } } &[dir-left] { border-left: solid 1px #47484a; &::after { top: 0; left: 0; height: 100%; width: 1px; } } &[dir-right] { border-right: solid 1px #47484a; &::after { top: 0; right: 0; height: 100%; width: 1px; } } &[dir-bottom] { border-bottom: solid 1px #47484a; &::after { left: 0; bottom: 0; width: 100%; height: 1px; } } } .mCSB_inside > .mCSB_container { margin-right: 0 !important; } .mCSB_horizontal.mCSB_inside > .mCSB_container { margin-bottom: 14px !important; } .mCSB_scrollTools.mCSB_scrollTools_vertical { width: 6px !important; } .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar { background-color: rgba(98, 102, 102, 0.75) } .mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar { background-color: rgba(153, 153, 153, .85); } .mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar, .mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar { background-color: rgba(153, 153, 153, .9); } .dialog { position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); } a { text-decoration: none; } // 覆盖element-ui的默认样式 .el-message--success, .el-message--info, .el-message--warning, .el-message--error { background: #1F1F1F !important; box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.2), 0px 6px 16px 0px rgba(0, 0, 0, 0.32), 0px 3px 6px -4px rgba(0, 0, 0, 0.48) !important; border-radius: 20px !important; border: 1px solid #333333 !important; min-width: 0; padding: 0 15px; height: 40px; .el-message__content { color: rgba(255, 255, 255, 0.6) !important; font-size: 14px; } .el-icon-success { color: #49AA19 !important; } .el-icon-warning { color: #D89614 !important; } .el-icon-error { color: #A61D24 !important; } }