Files
Foxel/Web/src/components/image/ShareImageDialog.css

73 lines
1.0 KiB
CSS

.share-image-dialog .ant-modal-body {
padding: 24px;
}
.share-image-content {
display: flex;
flex-direction: column;
}
.share-image-preview {
display: flex;
justify-content: center;
margin-bottom: 16px;
background-color: #f0f0f0;
border-radius: 8px;
padding: 16px;
overflow: hidden;
}
.share-preview-img {
max-width: 100%;
max-height: 200px;
object-fit: contain;
border-radius: 4px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.share-image-controls {
display: flex;
justify-content: center;
margin-bottom: 16px;
}
.share-type-switch {
margin-bottom: 16px;
}
.share-tabs {
margin-top: 8px;
}
.share-tab-content {
width: 100%;
}
.share-input-group {
display: flex;
width: 100%;
margin-top: 8px;
}
.share-input {
flex: 1;
}
.share-copy-btn {
width: 40px;
transition: all 0.3s;
}
.share-copy-btn.copied {
background-color: #52c41a;
border-color: #52c41a;
color: white;
}
/* 响应式调整 */
@media (max-width: 576px) {
.share-image-dialog {
max-width: 90%;
}
}