1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 23:02:26 +00:00

adaptation mobile (#2938)

* adaptation mobile

* improve style

* repair naming bug
This commit is contained in:
杨顺强
2019-02-13 18:09:01 +08:00
committed by Daniel Pan
parent 0b00d00006
commit 2430b4fb4f
8 changed files with 210 additions and 93 deletions

View File

@@ -53,6 +53,16 @@
border-bottom: 1px solid #e8e8e8;
}
@media (max-width: 767px) {
.side-panel-north {
border-right: 1px solid #eee;
}
.main-panel-north {
padding-bottom: 0.25rem;
}
}
.side-panel-center,
.main-panel-center {
display: flex;

View File

@@ -85,3 +85,45 @@
.item-content .item-text b {
font-weight: bold;
}
@media (max-width: 767px) {
.common-toolbar .search {
margin: 0;
}
.search-icon-container {
display: flex;
width: 2rem;
align-items: center;
justify-content: center;
}
.search-icon {
font-size: 1.25rem;
line-height: 1;
color: #999;
}
.search-container {
position: fixed;
z-index: 2;
top: 5rem;
left: 0;
right: 0;
display: flex;
justify-content: center;
}
.search-input {
height: 2.5rem;
width: 20rem !important;
box-shadow: 5px 5px 5px #888888;
}
.search-result-container {
position: absolute;
top: 2.5rem;
left: auto;
width: 20rem;
}
}