650 lines
17 KiB
CSS
650 lines
17 KiB
CSS
@charset "UTF-8";
|
|
/**
|
|
* @copyright 2022 beikeshop.com - All Rights Reserved.
|
|
* @link https://beikeshop.com
|
|
* @Author pu shuo <pushuo@guangda.work>
|
|
* @Date 2022-08-09 10:53:07
|
|
* @LastEditTime 2022-09-16 19:07:03
|
|
*/
|
|
@font-face {
|
|
font-family: "iconfont";
|
|
src: url("/fonts/design/iconfont.woff") format("woff"), url("/fonts/design/iconfont.ttf") format("truetype"); /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
|
|
}
|
|
body.page-design {
|
|
background-color: #fff;
|
|
padding: 0;
|
|
margin: 0;
|
|
font-size: 14px;
|
|
height: 100vh;
|
|
overflow: hidden;
|
|
}
|
|
body.page-design .iconfont {
|
|
font-family: "iconfont" !important;
|
|
font-size: 16px;
|
|
font-style: normal;
|
|
-webkit-font-smoothing: antialiased;
|
|
-webkit-text-stroke-width: 0;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
body.page-design [class*=" el-icon-"], body.page-design [class^=el-icon-] {
|
|
font-weight: 600;
|
|
}
|
|
body.page-design .el-tabs__header {
|
|
margin-bottom: 0;
|
|
}
|
|
body.page-design .tag {
|
|
margin: 8px 0;
|
|
color: #777;
|
|
font-size: 12px;
|
|
}
|
|
body.page-design .icon-rank {
|
|
cursor: move;
|
|
}
|
|
body.page-design .design-box {
|
|
display: flex;
|
|
height: 100vh;
|
|
}
|
|
body.page-design .design-box .design-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
body.page-design .design-box .design-head > div {
|
|
flex: 1;
|
|
height: 40px;
|
|
color: #fff;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background-color: #0072ff;
|
|
text-align: center;
|
|
font-size: 0.8rem;
|
|
transition: all 0.2s ease-in-out;
|
|
border-right: 1px solid #5692ff;
|
|
}
|
|
body.page-design .design-box .design-head > div:last-of-type {
|
|
border-right: none;
|
|
}
|
|
body.page-design .design-box .design-head > div i {
|
|
margin-right: 7px;
|
|
}
|
|
body.page-design .design-box .design-head > div:hover {
|
|
background-color: #005bcc;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap {
|
|
width: 300px;
|
|
background-color: #fff;
|
|
border-right: 1px solid #eee;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .module-edit {
|
|
padding: 0 10px 14px;
|
|
overflow-y: auto;
|
|
height: 100%;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .module-edit .module-editor-row {
|
|
height: 47px;
|
|
line-height: 47px;
|
|
background-color: #f5f5f5;
|
|
padding: 0 20px;
|
|
margin: 0 -14px 14px;
|
|
font-size: 16px;
|
|
color: #212121;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .module-edit .module-edit-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .module-edit .module-edit-group:last-of-type {
|
|
border-bottom: none;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .module-edit .module-edit-group .module-edit-title {
|
|
margin-bottom: 10px;
|
|
position: relative;
|
|
padding-left: 6px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .module-edit .module-edit-group .module-edit-title:before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 3px;
|
|
width: 2px;
|
|
height: 14px;
|
|
background: #0072ff;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .modules-list {
|
|
background: #e6e9ec;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
padding: 0 3px 30px;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .module-list {
|
|
text-align: center;
|
|
padding: 4px;
|
|
cursor: pointer;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .module-list .module-info {
|
|
background: #fff;
|
|
color: #556068;
|
|
transition: all 0.25s ease-in-out;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .module-list .module-info:hover {
|
|
color: #0072ff;
|
|
box-shadow: 0 6px 23px rgba(0, 0, 0, 0.2);
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .module-list .icon {
|
|
padding: 12px 0 7px;
|
|
height: 36px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .module-list .icon .img-icon {
|
|
width: 36px;
|
|
height: 36px;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .module-list .icon .img-icon img {
|
|
max-width: 100%;
|
|
max-height: auto;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .module-list .icon i {
|
|
font-size: 26px;
|
|
}
|
|
body.page-design .design-box .sidebar-edit-wrap .module-list .name {
|
|
font-size: 12px;
|
|
height: 27px;
|
|
overflow: hidden;
|
|
}
|
|
body.page-design .design-box .preview-iframe {
|
|
flex: 1;
|
|
}
|
|
body.page-design .pb-images-selector {
|
|
border: 1px solid #eee;
|
|
margin-bottom: 10px;
|
|
border-radius: 2px;
|
|
}
|
|
body.page-design .pb-images-selector:hover {
|
|
border-color: #ddd;
|
|
}
|
|
body.page-design .pb-images-selector:hover .selector-head {
|
|
background: #eee;
|
|
}
|
|
body.page-design .pb-images-selector .pb-images-selector-add {
|
|
width: 100%;
|
|
margin-top: 16px;
|
|
padding: 10px 20px;
|
|
}
|
|
body.page-design .pb-images-selector .selector-head {
|
|
display: flex;
|
|
align-items: center;
|
|
background-color: #f5f5f5;
|
|
padding: 4px 10px;
|
|
cursor: pointer;
|
|
justify-content: space-between;
|
|
}
|
|
body.page-design .pb-images-selector .selector-head > div.left {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
body.page-design .pb-images-selector .selector-head > div.left i {
|
|
margin-right: 10px;
|
|
}
|
|
body.page-design .pb-images-selector .selector-head > div.left img {
|
|
width: 24px;
|
|
}
|
|
body.page-design .pb-images-selector .selector-head > div.right {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
body.page-design .pb-images-selector .selector-head > div.right i {
|
|
color: #999;
|
|
font-size: 20px;
|
|
}
|
|
body.page-design .pb-images-selector .selector-head > div.right .remove-item {
|
|
margin-right: 8px;
|
|
padding-right: 8px;
|
|
position: relative;
|
|
}
|
|
body.page-design .pb-images-selector .selector-head > div.right .remove-item:after {
|
|
content: "";
|
|
border-right: 1px solid #ccc;
|
|
position: absolute;
|
|
right: 1px;
|
|
top: 20%;
|
|
height: 60%;
|
|
}
|
|
body.page-design .pb-images-selector .selector-head > div.right .remove-item i {
|
|
font-size: 15px;
|
|
}
|
|
body.page-design .pb-images-selector .pb-images-list {
|
|
padding: 7px;
|
|
padding-bottom: 8px;
|
|
position: relative;
|
|
display: none;
|
|
}
|
|
body.page-design .pb-images-selector .pb-images-list.active {
|
|
display: block;
|
|
}
|
|
body.page-design .pb-images-selector .pb-images-list .remove-item {
|
|
margin-top: 20px;
|
|
background: #ffc8c8;
|
|
color: #c70000;
|
|
z-index: 9;
|
|
height: 20px;
|
|
line-height: 20px;
|
|
padding: 5px 10px;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
}
|
|
body.page-design .pb-images-selector .pb-images-list .remove-item i {
|
|
font-size: 14px;
|
|
}
|
|
body.page-design .pb-images-selector .pb-images-list .pb-image-selector {
|
|
cursor: pointer;
|
|
min-width: 50px;
|
|
min-height: 50px;
|
|
}
|
|
body.page-design .pb-images-selector .pb-images-list .pb-images-btns button {
|
|
margin-left: 0 !important;
|
|
padding: 9px 10px;
|
|
}
|
|
body.page-design .pb-images-selector .pb-images-list .el-input-group__prepend {
|
|
padding: 0 10px;
|
|
}
|
|
body.page-design .module-editor-tab-product-template .tab-info {
|
|
margin-top: 10px;
|
|
padding: 10px;
|
|
background: #f2f2f2;
|
|
border-radius: 6px;
|
|
}
|
|
body.page-design .module-editor-tab-product-template .manufacturer-list > div {
|
|
margin-bottom: 10px;
|
|
border: 1px solid #f4f4f4;
|
|
padding: 5px;
|
|
border-radius: 6px;
|
|
background: #f4f4f4;
|
|
padding-bottom: 8px;
|
|
position: relative;
|
|
}
|
|
body.page-design .module-editor-tab-product-template .manufacturer-list > div:hover .remove-btn {
|
|
display: block;
|
|
}
|
|
body.page-design .module-editor-tab-product-template .manufacturer-list > div .remove-btn {
|
|
position: absolute;
|
|
display: none;
|
|
top: 0;
|
|
right: 0;
|
|
background: red;
|
|
color: #fff;
|
|
z-index: 9;
|
|
padding: 0 2px;
|
|
cursor: pointer;
|
|
border-radius: 0 0 0 4px;
|
|
}
|
|
body.page-design .module-editor-tab-product-template .manufacturer-list > div .remove-btn:hover {
|
|
background: #c70000;
|
|
}
|
|
body.page-design .module-editor-tab-product-template .add-category {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
body.page-design .module-editor-tab-product-template .manufacturers .module-edit-group {
|
|
margin-top: 5px;
|
|
}
|
|
body.page-design .module-editor-tab-product-template .tab-edit-category > .el-tabs__header > .el-tabs__nav-wrap .el-tabs__item {
|
|
padding: 0 10px !important;
|
|
}
|
|
body.page-design .module-editor-tab-product-template .autocomplete-group-wrapper .item-group-wrapper {
|
|
background: #fff;
|
|
}
|
|
body.page-design .autocomplete-group-wrapper .inline-input {
|
|
margin-bottom: 10px;
|
|
width: 100%;
|
|
}
|
|
body.page-design .autocomplete-group-wrapper .item-group-wrapper {
|
|
padding: 10px;
|
|
min-height: 230px;
|
|
overflow: auto;
|
|
background-color: #f5f5f5;
|
|
border-radius: 6px;
|
|
}
|
|
body.page-design .autocomplete-group-wrapper .item-group-wrapper .item {
|
|
overflow: hidden;
|
|
position: relative;
|
|
padding: 5px 8px;
|
|
margin-bottom: 4px;
|
|
background: #fff;
|
|
border: 1px solid #eee;
|
|
cursor: move;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
body.page-design .autocomplete-group-wrapper .item-group-wrapper .item:hover {
|
|
border-color: #aaa;
|
|
}
|
|
body.page-design .autocomplete-group-wrapper .item-group-wrapper .item div {
|
|
display: flex;
|
|
line-height: 1;
|
|
width: calc(100% - 16px);
|
|
align-items: center;
|
|
}
|
|
body.page-design .autocomplete-group-wrapper .item-group-wrapper .item div i {
|
|
margin-right: 4px;
|
|
}
|
|
body.page-design .autocomplete-group-wrapper .item-group-wrapper .item span {
|
|
font-size: 12px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
body.page-design .autocomplete-group-wrapper .item-group-wrapper .item i {
|
|
color: #999;
|
|
font-weight: 400;
|
|
}
|
|
body.page-design .autocomplete-group-wrapper .item-group-wrapper .item i.right {
|
|
cursor: pointer;
|
|
}
|
|
body.page-design .autocomplete-group-wrapper .item-group-wrapper .item i.right:hover {
|
|
color: #222;
|
|
}
|
|
|
|
.footer-link-item {
|
|
padding: 6px 10px;
|
|
background: #f5f5f5;
|
|
margin-bottom: 10px;
|
|
position: relative;
|
|
}
|
|
.footer-link-item:hover .remove-item {
|
|
display: block;
|
|
}
|
|
.footer-link-item .icon-rank {
|
|
position: absolute;
|
|
top: 11px;
|
|
left: 10px;
|
|
z-index: 9;
|
|
}
|
|
.footer-link-item .link-selector-wrap > .title {
|
|
padding-left: 20px;
|
|
}
|
|
.footer-link-item .remove-item {
|
|
position: absolute;
|
|
display: none;
|
|
top: 0;
|
|
right: 0;
|
|
background: red;
|
|
color: #fff;
|
|
z-index: 9;
|
|
padding: 0 4px;
|
|
cursor: pointer;
|
|
border-radius: 0 0 0 4px;
|
|
}
|
|
.footer-link-item .remove-item:hover {
|
|
background: #c70000;
|
|
}
|
|
|
|
.file-manager-box .layui-layer-title {
|
|
background-color: #293042;
|
|
color: #fff;
|
|
border-color: #404e72;
|
|
}
|
|
.file-manager-box .layui-layer-ico {
|
|
background: url("/image/close.png") no-repeat;
|
|
background-size: cover;
|
|
background-position: center center;
|
|
}
|
|
|
|
.link-selector-wrap > .title {
|
|
margin-bottom: 6px;
|
|
position: relative;
|
|
font-size: 12px;
|
|
}
|
|
.link-selector-wrap > .title i {
|
|
margin-right: 4px;
|
|
color: #0072ff;
|
|
}
|
|
.link-selector-wrap .selector-type {
|
|
position: relative;
|
|
outline: none;
|
|
}
|
|
.link-selector-wrap .selector-type .title {
|
|
border: 1px solid #eee;
|
|
padding: 6px 16px 6px 6px;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
border-radius: 2px;
|
|
background-color: #fff;
|
|
}
|
|
.link-selector-wrap .selector-type .title:hover {
|
|
border-color: #ddd;
|
|
}
|
|
.link-selector-wrap .selector-type .title:before {
|
|
content: "\f282";
|
|
font-family: "bootstrap-icons";
|
|
position: absolute;
|
|
right: 10px;
|
|
top: 8px;
|
|
}
|
|
.link-selector-wrap .selector-type .selector-content {
|
|
position: absolute;
|
|
z-index: 999;
|
|
top: calc(100% + 2px);
|
|
border-radius: 2px;
|
|
left: 0;
|
|
width: 100%;
|
|
background-color: #fff;
|
|
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
|
|
display: none;
|
|
}
|
|
.link-selector-wrap .selector-type .selector-content.active {
|
|
display: block;
|
|
}
|
|
.link-selector-wrap .selector-type .selector-content > div {
|
|
padding: 6px 10px;
|
|
cursor: pointer;
|
|
}
|
|
.link-selector-wrap .selector-type .selector-content > div:hover {
|
|
background-color: #e0fcf6;
|
|
}
|
|
|
|
.link-dialog-box .el-dialog__header {
|
|
padding: 0;
|
|
}
|
|
.link-dialog-box .el-dialog__header .el-dialog__headerbtn {
|
|
top: 14px;
|
|
font-size: 20px;
|
|
}
|
|
.link-dialog-box .el-dialog__header .el-dialog__headerbtn i {
|
|
color: #fff;
|
|
}
|
|
.link-dialog-box .el-dialog__body {
|
|
padding-bottom: 10px;
|
|
}
|
|
.link-dialog-box .el-dialog__footer .el-button {
|
|
padding: 10px 20px;
|
|
min-width: 80px;
|
|
}
|
|
.link-dialog-box .link-dialog-header {
|
|
padding: 10px 20px;
|
|
background-color: #409eff;
|
|
}
|
|
.link-dialog-box .link-dialog-header .title {
|
|
font-weight: bold;
|
|
color: #fff;
|
|
font-size: 16px;
|
|
}
|
|
.link-dialog-box .link-dialog-header div.input-with-select {
|
|
margin-top: 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.link-dialog-box .link-dialog-header div.input-with-select input {
|
|
height: 34px;
|
|
border: none;
|
|
border-radius: 4px 0 0 4px;
|
|
flex: 1;
|
|
padding: 0 10px;
|
|
outline: none;
|
|
}
|
|
.link-dialog-box .link-dialog-header div.input-with-select button {
|
|
color: #333;
|
|
border: none;
|
|
background-color: #eee;
|
|
height: 34px;
|
|
line-height: 36px;
|
|
border-radius: 0 4px 4px 0;
|
|
padding: 0 14px;
|
|
overflow: hidden;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-search {
|
|
margin: -30px -20px 10px;
|
|
padding: 6px 20px;
|
|
text-align: left;
|
|
background-color: #f3f4f7;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-search > a {
|
|
border: 1px solid #ccc;
|
|
background-color: #fff;
|
|
padding: 0 10px;
|
|
border-radius: 4px;
|
|
height: 26px;
|
|
line-height: 26px;
|
|
color: #333;
|
|
text-decoration: none;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-search .el-input-group__append {
|
|
background-color: #0072ff;
|
|
color: #fff;
|
|
margin-top: -1px;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info {
|
|
height: 340px;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-info-title {
|
|
background-color: #dee1e9;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 6px 20px 6px 38px;
|
|
text-align: left;
|
|
color: #30344f;
|
|
font-size: 14px;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list {
|
|
padding-left: 0;
|
|
list-style: none;
|
|
margin-top: 4px;
|
|
margin-bottom: 0;
|
|
height: 314px;
|
|
overflow-y: auto;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list.static {
|
|
height: 340px;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list li {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 5px 10px;
|
|
border-bottom: 1px solid #eee;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list li:not(.no-status) {
|
|
cursor: pointer;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list li:not(.no-status):hover {
|
|
background-color: #e0fcf6;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list li .left {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
margin-right: 20px;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list li .left .checkbox-plus {
|
|
margin-right: 12px;
|
|
flex: 0 0 14px;
|
|
height: 14px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
position: relative;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list li .left .checkbox-plus:not(.no-status) {
|
|
cursor: pointer;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list li .left .checkbox-plus:before {
|
|
content: "";
|
|
width: 10px;
|
|
height: 10px;
|
|
background-color: #0072ff;
|
|
border-radius: 50%;
|
|
display: none;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list li .left .checkbox-plus.active {
|
|
border-color: #0072ff;
|
|
box-shadow: 0px 0px 4px #0072ff;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list li .left .checkbox-plus.active:before {
|
|
display: block;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list li .left .checkbox-plus.no-status {
|
|
background-color: #ddd;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list li .left > div {
|
|
display: -webkit-box;
|
|
text-overflow: ellipsis;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
word-break: break-all;
|
|
overflow: hidden;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list li .right {
|
|
border: 1px solid #ddd;
|
|
border-radius: 2px;
|
|
padding: 2px 6px;
|
|
color: #aaa;
|
|
font-size: 12px;
|
|
background-color: #fff;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list li .right.ok {
|
|
color: #52c41a;
|
|
border-color: #b7eb8f;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info .product-list li img {
|
|
width: 46px;
|
|
margin-right: 10px;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info-no {
|
|
text-align: center;
|
|
font-size: 14px;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info-no > div {
|
|
display: block;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info-no .icon {
|
|
margin: 50px 0 20px;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info-no .icon i {
|
|
font-size: 100px;
|
|
color: #8c8c8c;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info-no .no-text {
|
|
font-size: 16px;
|
|
}
|
|
.link-dialog-box .link-dialog-content .product-info-no a {
|
|
color: #0072ff;
|
|
text-decoration: underline;
|
|
}
|
|
.link-dialog-box .el-dialog__footer {
|
|
background-color: #f6f6f6;
|
|
padding: 10px 20px;
|
|
}
|