@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: 1px; } ::-webkit-scrollbar-thumb { border-radius: 3px; background: #DEDEDE; &:hover { background: #999; } } ::-webkit-scrollbar-track { border-radius: 3px; 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; 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: #fff; &:last-child { color: rgba(255, 255, 255, 0.5); } } } .ui-message-main{ text-align: left; min-height: 80px; margin-top: 40px; } } } .message-material{ border-radius: 4px; @color:#0076F6; background: #fff; padding: 26px; .header-material{ border-bottom: none; line-height: 1; height: auto; >span { font-size: 18px; margin-left: 0; &:last-child { width: auto; cursor: pointer; >i{ font-size: 20px; color: #909090; } } } } .main-material{ .ui-message-icon,.ui-message-title{ display: none; } .ui-message-content{ line-height: 20px; font-size: 14px; color: #323233; text-align: left; margin: 40px 0; } } .footer-material{ margin: 0; margin-top: 60px; padding: 0; border-top: none; text-align: right; } } .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: 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; } } } // 覆盖element-ui的默认样式 .el-message--success, .el-message--info, .el-message--warning, .el-message--error { background: #FFFFFF; box-shadow: 0px 9px 28px 8px rgba(0, 0, 0, 0.05), 0px 6px 16px 0px rgba(0, 0, 0, 0.08), 0px 3px 6px -4px rgba(0, 0, 0, 0.12); border-radius: 2px; } .el-message__content { font-size: 14px; color: rgba(0, 0, 0, 0.65) !important; line-height: 22px; }