80 lines
1.3 KiB
CSS
80 lines
1.3 KiB
CSS
/* 地址管理页面样式 */
|
|
.address-card {
|
|
transition: all 0.3s ease;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.address-card:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.address-card.border-primary {
|
|
border-width: 2px !important;
|
|
}
|
|
|
|
.address-card .card-body {
|
|
position: relative;
|
|
}
|
|
|
|
.dropdown-toggle::after {
|
|
display: none;
|
|
}
|
|
|
|
/* 空状态样式 */
|
|
.empty-state {
|
|
padding: 3rem 0;
|
|
}
|
|
|
|
.empty-state i {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
/* 地址卡片内容样式 */
|
|
.address-card .card-title {
|
|
font-size: 1.1rem;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.address-card .badge {
|
|
font-size: 0.75rem;
|
|
padding: 0.25rem 0.5rem;
|
|
}
|
|
|
|
.address-card .text-muted {
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
/* 下拉菜单样式 */
|
|
.dropdown-menu {
|
|
min-width: 120px;
|
|
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
|
|
border: 1px solid rgba(0,0,0,.125);
|
|
}
|
|
|
|
.dropdown-item {
|
|
padding: 0.5rem 1rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.dropdown-item:hover {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.dropdown-item.text-danger:hover {
|
|
background-color: #f8d7da;
|
|
color: #721c24 !important;
|
|
}
|
|
|
|
/* 响应式设计 */
|
|
@media (max-width: 768px) {
|
|
.address-card {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.col-md-6 {
|
|
padding-left: 0.75rem;
|
|
padding-right: 0.75rem;
|
|
}
|
|
}
|