SamsaraDao/static/css/nftdetail.css
2025-04-19 15:31:22 +08:00

312 lines
4.6 KiB
CSS

.card-container {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
position: relative;
}
.card-header {
padding: 2vh;
display: flex;
flex-wrap: wrap;
border-bottom: 1px solid #ebeef5;
}
.item-image {
width: 15vh;
height: 15vh;
border-radius: 4px;
overflow: hidden;
margin-right: 2vh;
}
.item-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.card-container .card-header .card-item-info {
width: 30%;
display: flex;
flex-direction: column;
justify-content: center;
}
.item-title {
color: #303133;
font-size: 2vh;
margin-bottom: 1vh;
}
.item-id {
color: #606266;
font-size: 1.8vh;
}
.price-section {
margin-top: 1vh;
}
.price-label {
color: #909399;
font-size: 1.2vh;
}
.price-value {
display: flex;
align-items: center;
margin-top: 0.5vh;
}
.currency-icon {
width: 2vh;
height: 2vh;
margin-right: 0.5vh;
}
.price {
color: #409EFF;
font-size: 1.8vh;
font-weight: bold;
}
.secondary-price {
color: #909399;
font-size: 1.4vh;
margin-left: 1vh;
}
.action-buttons {
margin-top: 2vh;
width: 100%;
display: flex;
}
.action-buttons-item{
height: 3vh;
}
.main-content {
display: flex;
flex: 1;
overflow: hidden;
}
.sidebar {
width: 32vh;
border-right: 1px solid #ebeef5;
transition: all 0.3s;
overflow: hidden;
}
.sidebar-collapsed {
width: 0;
}
.sidebar-content {
padding: 2vh;
}
.property-row {
width: 100%;
display: flex;
margin-bottom: 1.2vh;
font-size: 1.4vh;
}
.property-label {
width: 31%;
color: #909399;
}
.property-value {
width: 69%;
color: #606266;
text-align: right;
word-wrap: break-word;
}
.table-section {
flex: 1;
padding: 0 2vh;
overflow: auto;
}
.tab-container {
margin-bottom: 2vh;
}
.toggle-sidebar {
position: absolute;
left: calc(5vw + 25vh);
top: 50vh;
z-index: 100;
transition: all 0.3s;
}
.toggle-sidebar.collapsed {
left: 5vw;
}
.heart-icon {
position: absolute;
right: 2vh;
top: 2vh;
}
.highlight {
color: #F56C6C;
}
/* 出价弹窗 */
.bid-dialog {
border-radius: 12px;
overflow: hidden;
}
.bid-dialog .el-dialog__header {
background-color: #4d7cfe;
padding: 15px 20px;
position: relative;
}
.bid-dialog .el-dialog__title {
color: white;
font-size: 18px;
font-weight: bold;
}
.bid-dialog .el-dialog__headerbtn .el-dialog__close {
color: white;
}
.bid-dialog .el-dialog__body {
padding: 20px;
background-color: #f5f7fa;
}
.bid-dialog .dia-card-item-info {
display: flex;
background-color: white;
padding: 15px;
border-radius: 8px;
margin-bottom: 10px;
}
.bid-dialog .item-image {
width: 80px;
height: 80px;
margin-right: 15px;
}
.bid-dialog .item-image img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 4px;
}
.bid-dialog .dia-item-title {
font-weight: bold;
}
.bid-dialog .dia-item-id {
color: #909399;
font-size: 12px;
}
.bid-dialog .dia-item-price {
display: flex;
justify-content: space-between;
color: #606266;
font-size: 14px;
}
.bid-dialog .price {
display: flex;
align-items: center;
}
.bid-dialog .price i {
margin-right: 5px;
}
.bid-dialog .price-section,
.duration-section {
margin-bottom: 15px;
}
.bid-dialog .section-title {
font-weight: bold;
margin-bottom: 10px;
}
.bid-dialog .balance-info {
display: flex;
justify-content: flex-end;
color: #909399;
font-size: 14px;
margin-bottom: 10px;
}
.bid-dialog .price-input {
margin-bottom: 10px;
}
.bid-dialog .currency {
display: flex;
align-items: center;
}
.bid-dialog .duration-options {
display: flex;
align-items: center;
margin-bottom: 10px;
}
.bid-dialog .duration-btn {
border-radius: 8px;
margin-right: 10px;
padding: 8px 15px;
}
.bid-dialog .duration-btn.active {
background-color: #4d7cfe;
color: white;
border-color: #4d7cfe;
}
.bid-dialog .date-picker {
width: 220px;
}
.bid-dialog .notice-section {
margin-bottom: 15px;
}
.bid-dialog .notice-item {
display: flex;
align-items: flex-start;
margin-bottom: 10px;
color: #909399;
font-size: 12px;
}
.bid-dialog .notice-item i {
margin-right: 5px;
flex-shrink: 0;
line-height: revert;
}
.bid-dialog .dialog-footer {
text-align: center;
}
.bid-dialog .confirm-btn {
background-color: #4d7cfe;
border-color: #4d7cfe;
width: 100%;
padding: 12px 20px;
font-size: 16px;
}