vr-shopxo-source/public/static/admin/default/css/goods.css

258 lines
5.5 KiB
CSS
Executable File

/**
* 详情
*/
.dl-content img {
max-width: 100%;
}
/**
* 滚动导航
*/
.goods-nav {
background:#fbfbfb;
top:10rem;
right:0;
width:8rem;
position:fixed;
z-index:10001;
border:0.1rem solid #f2f2f2;
border-right:0px;
border-top-left-radius: var(--border-radius);
border-bottom-left-radius: var(--border-radius);
}
.goods-nav ul {
margin:0;
padding:0;
}
.goods-nav li {
display:inline-block;
border-bottom:0.1rem solid #f2f2f2;
width:100%;
}
.goods-nav li:last-child {
border-bottom:0px;
}
.goods-nav li a {
color:#666;
padding:1rem 1.5rem;
display:inline-block;
width:100%;
}
.goods-nav li a:hover,.goods-nav-active {
color: #333 !important;
background: #f2f2f2;
}
.goods-nav li.nav-shrink-submit {
background: #efefef;
cursor: pointer;
}
.goods-nav-retract .nav-shrink-submit {
position: absolute;
}
/**
* 区域分割
*/
.division-block {
margin-bottom:3rem;
}
.division-block .nav-detail-title {
border-bottom:0.3rem ridge #c7c7c7;
padding:0.8rem 0.5rem 0.5rem 0.5rem;
margin-bottom:1rem;
background:#f3f3f3;
font-weight:bold;
}
/**
* 规格
*/
.specifications-table .title-nav th input {
width: calc(100% - 2.5rem);
}
.specifications-table .title-nav-remove {
position: absolute;
top: 0px;
right: 0px;
}
.specifications-table th {
min-width: 10rem;
}
.specifications-table th.operation-btn {
min-width: 15rem;
}
.specifications-table th.extend-btn {
min-width: 4.5rem;
}
#goods-nav-operations {
position: relative;
}
.spec-images-list .am-alert-warning {
margin-bottom: 1rem;
}
.spec-images-list {
border: 0.1rem solid #eee;
padding: 1rem;
margin-top: 1.5rem;
border-radius: var(--border-radius);
}
.spec-images-list li {
display: inline-block;
width: 10rem;
margin: 0.5rem 1rem 1rem 0;
}
.specifications-container {
border: 0.1rem solid #eee;
border-radius: var(--border-radius);
}
.specifications-table {
border: 0;
}
.specifications-table thead tr > th:first-child,
.specifications-table tbody tr > td:first-child {
border-left: 0;
}
.specifications-table thead th i {
cursor: pointer;
}
.specifications-line-images-auto-add input {
width: 3rem !important;
padding: 0.1rem !important;
}
.specifications-table thead tr > th:nth-last-child(-n+2),
.specifications-table tbody tr > td:nth-last-child(-n+2) {
position: sticky;
text-align: center;
z-index: 1;
right: 0;
background: #fff;
}
.specifications-table thead tr > th:nth-last-child(-n+2) {
background: #f5f7fa;
}
.specifications-table thead tr > th:nth-last-child(2),
.specifications-table tbody tr > td:nth-last-child(2) {
right: 15rem;
-webkit-box-shadow: 0px 0px 0.1rem #ddd;
-moz-box-shadow: 0px 0px 0.1rem #ddd;
box-shadow: 0px 0px 0.1rem #ddd;
-webkit-box-shadow: -0.5rem 0px 1rem rgba(136, 136, 136, 0.3);
-moz-box-shadow: -0.5rem 0px 1rem rgba(136, 136, 136, 0.3);
box-shadow: -0.5rem 0px 1rem rgba(136, 136, 136, 0.3);
}
/**
* app详情
*/
i.drag-sort-submit {
margin-left:3rem;
}
ul {
margin:0px;
padding:0px;
overflow:hidden;
}
.content-app-items > li {
border:0.1rem dashed #eee;
padding:1rem;
}
ul li {
list-style-type:none;
}
/**
* app详情
*/
.content-app-left,.content-app-right {
border-bottom:0 !important;
}
.content-app-items li {
padding-bottom:1rem;
margin-bottom:2rem;
overflow:hidden;
}
.content-app-left,.content-app-right {
width:45% !important;
display:inline-table;
margin-bottom:0.5rem;
padding-right:0.5rem !important;
}
/**
* 规格快捷添加
*/
.spec-quick table td,
.spec-quick table td.spec-quick-td-value .value-item {
position: relative;
}
.spec-quick table td.am-text-middle {
padding-right: 2.5rem;
}
.spec-quick-td-value .value-item input {
width: calc(100% - 2.3rem) !important;
}
.spec-quick table td.am-text-middle i.quick-title-remove,
.spec-quick table td.spec-quick-td-value i.quick-value-remove {
position: absolute;
top: 0px;
right: 0px;
z-index: 2;
}
.spec-quick table td.spec-quick-td-value i.quick-value-remove {
top: 0.2rem;
}
.spec-quick .goods-specifications {
border-bottom: 0;
padding-bottom: 0;
}
@media only screen and (min-width: 641px) {
.spec-quick-th-title {
width: 15rem;
}
.spec-quick-td-value .value-item {
width: calc(30% - 1.2rem) !important;
}
}
@media only screen and (min-width: 1025px) {
.spec-quick-td-value .value-item {
width: calc(20% - 1.2rem) !important;
}
}
@media only screen and (max-width: 640px) {
.spec-quick-th-title {
width: 20%;
}
.spec-quick-td-value .value-item {
width: calc(50% - 1.2rem) !important;
}
}
/**
* 规格模板快捷操作
*/
#specifications-quick-container {
padding: 0;
}
#specifications-quick-container .chosen-container {
min-width: 12rem;
}
#specifications-quick-container select {
border: 0px;
}
#specifications-quick-container .chosen-container-single .chosen-default,
#specifications-quick-container .chosen-container-single .chosen-single {
border-color: transparent !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
height: 2.9rem;
line-height: 2.9rem;
}
#specifications-quick-container .chosen-container .chosen-drop {
border-style: dashed;
left: -0.1rem;
width: calc(100% + 0.2rem);
}
#specifications-quick-container:hover .chosen-container .chosen-drop {
border-color: #666 !important;
}