1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-23 12:27:48 +00:00

improved dialogs (#4505)

* improved dialogs

* redesigned 'share' dialog and 'folder permission' dialog for mobile
* improved 'API token' dialog

* [dialogs] modification for mobile

* [dialogs] improvement & bugfix
This commit is contained in:
llj
2020-04-04 14:32:11 +08:00
committed by GitHub
parent ab1babef38
commit 2796c7a648
11 changed files with 88 additions and 83 deletions

View File

@@ -2,14 +2,29 @@
padding: 0;
min-height: 27rem;
display: flex;
flex-direction: column;
}
@media (min-width: 768px) {
.share-dialog .share-dialog-content {
flex-direction: row;
}
}
.share-dialog-content .share-dialog-side {
display: flex;
flex: 0 0 22%;
padding: 1rem;
border-bottom: 1px solid #eee;
}
@media (min-width: 768px) {
.share-dialog-content .share-dialog-side {
padding: 1rem 0 0 1rem;
border: 0;
border-right: 1px solid #eee;
}
.share-dialog-side .nav {
flex-direction: column;
}
}
.share-dialog-side .nav-pills .nav-item .nav-link {
@@ -28,11 +43,12 @@
.share-dialog-content .share-dialog-main .tab-pane {
height: 100%;
overflow: auto;
}
.share-list-container {
max-height: 18rem;
height: 100%;
min-height: 10rem;
}
.share-dialog-content label {