1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 19:08:21 +00:00

[repo trash] redesigned it for mobile (#7502)

This commit is contained in:
llj
2025-02-21 21:17:49 +08:00
committed by GitHub
parent e1eb01b439
commit f4be8814c5
8 changed files with 274 additions and 83 deletions

View File

@@ -1,18 +1,38 @@
.trash-dialog {
max-width: 1100px;
height: calc(100% - 56px);
overflow: hidden;
width: 100%;
height: 100%;
margin: 0;
}
.trash-dialog .modal-content {
height: 100%;
overflow: hidden;
border: none;
border-radius: 0;
}
@media (min-width: 768px) {
.trash-dialog {
max-width: 1100px;
height: calc(100% - 56px);
overflow: hidden;
margin: 1.75rem auto;
}
.trash-dialog .modal-content {
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 3px;
}
}
.trash-dialog .modal-header {
align-items: center;
}
.trash-dialog .back-icon {
color: #999;
}
.trash-dialog .modal-header .button-control {
display: flex;
justify-content: center;
@@ -45,6 +65,19 @@
background: #dfdfdf;
}
.trash-dialog .path-container {
border-bottom: 1px solid #eee;
height: 40px;
padding: 0 .5rem 1rem;
}
@media (min-width: 768px) {
.trash-dialog .path-container {
border-bottom: none;
padding: 0 0 1rem;
}
}
@media (max-width: 768px) {
.trash-dialog .modal-header .trash-dialog-old-page {
font-size: 14px;