@color:#1983F6; .con { .top { display: flex; justify-content: space-between; align-items: center; > div { font-size: 18px; font-weight: bold; color: #333333; line-height: 28px; } } .ui-button{ font-size: @color; } .second-line { margin-top: 18px; display: flex; // justify-content: space-between; align-items: center; .btn{ margin-right: 16px; .ui-button{ font-size: 14px; position: relative; padding: 0 20px; display: flex; align-items: center; border-radius: 4px; >span{ display: inline-block; margin-right: 4px; } &:hover{ .upload-list{ display: block; } } i { font-size: 12px; transform: scale(0.923); cursor: default; } } } > button { margin-right: 16px; } > .filter { margin-left: auto; } } >.list{ margin-top: 32px; position: relative; .img{ width: 50px; height: 50px; position: relative; overflow: hidden; cursor: pointer; > img{ width: 100%; height: 100%; object-fit: cover; background: #F5F7FA; } } .img.dirIcon { > img { object-fit: contain; background: initial; } } .audio{ position: relative; text-align: left; } .textItem.dirName { cursor: pointer; } .total-number { margin-top: 14px; text-align: right; font-size: 14px; color: #646566; } // TODO:受到src/assets/style/component.less里.nodata的干扰 .nodata { position: absolute; text-align: center; width: 100%; margin: 0; top: 150px; > span { color: #646566; } } .upload-task-list { z-index: 1; position: absolute; right: 0; bottom: 32px; } } } .handle{ display: flex; justify-content: center; .iconfont{ cursor: pointer; margin: 0 7.5px; color: #202020; } .oper { cursor: pointer; position: relative; align-items: center; >i{ z-index: 9; } &:hover { > ul { display: block; } } > ul { max-width: 124px; display: none; background: #fff; box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.16); top: 18px; left: 50%; z-index: 999; transform: translateX(-50%); position: absolute; &::before{ border: 10px solid transparent; border-bottom: 10px solid #fff; width: 0; height: 0px; content: ""; display: inline-block; position: absolute; top: -20px; left: 50%; transform: translateX(-50%); } > li { line-height: 35px; height: 35px; padding-left: 15px; text-align: left!important; min-width: 98px; &:hover { background: #EBEBEB; } } } } } .filter > div { min-width: 290px; height: 40px; border: 1px solid #EBEDF0; display: flex; align-items: center; border-radius: 20px; position: relative; font-size: 14px; vertical-align: middle; background: #F7F8FA; padding: 10px 20px 10px 20px; color: #C8C9CC; &.active{ border: 1px solid #0076F6; } } .filter>div>.search { flex: 0 0 auto; margin-right: 12px; font-size: 18px; } .filter > div > select, .filter > div > input { flex: 1 0 auto; box-sizing: border-box; height: 100%; border: none; background: none; outline: none; // 为啥不生效? &::-webkit-input-placeholder { color: #C8C9CC; } &::-moz-placeholder{ /* Mozilla Firefox 19+ */ color: #C8C9CC; } &:-moz-placeholder{ /* Mozilla Firefox 4 to 18 */ color: #C8C9CC; } &:-ms-input-placeholder{ /* Internet Explorer 10-11 */ color: #C8C9CC; } } .filter > div >.del{ cursor: pointer; flex: 0 0 auto; font-size: 20px; } .submit { background-color: #0076F6 !important; border: 1px solid #0076F6 !important; } .cancel{ background: #EBEBEB; } .ui-button-rect{ border-radius: 4px !important; align-items: center; vertical-align: middle; color: #fff; display: flex; justify-content: center; padding: 0 16px; line-height: 36px; height: 36px; text-align: center; >i{ margin-left: 4px; } } .ui-input{ background-color: #fff; border: 1px solid rgba(#909090,0.5); color: #909090; } .ma-line{ background-color: #EBEBEB; height: 1px; width: 100%; } .panorama{ padding: 24px 30px; } .comfirmhover{ &:hover{ color: @color!important; } &:active{ color: rgba(255, 255, 255, 0.5)!important; } } .cancelhover{ &:hover{ color: #FA5555!important; } } // 列表为空时,上传按钮的样式。因为在“我的作品”和“我的素材”里位置不一样,所以只能写在这里。 .upload-btn-in-table { cursor: pointer; // width: 100px; height: 36px; background: linear-gradient(144deg, #00AEFB 0%, #0076F6 100%); border-radius: 22px; border: none; font-size: 14px; color: #FFFFFF; margin-top: 20px; padding: 0 16px; } // 左上角上传素材按钮的提示icon,hover时的样式和一般的有tooltip的元素不一样 .hover-tips.hover-tips-upload-icon { &:hover { color: #fff !important; cursor: default; } // tip的方框 > div { top: -30px; left: -30px; transform: translateX(0); // tip的箭头 &::before { position: absolute; bottom: -14px; transform: translateX(0); left: 30px; } .remark { line-height: 20px; } } }