mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-14 06:11:16 +00:00
Style bug repair (#2394)
* optimized css code * repair search module * repair response bug * repair notificition bug * repair file-history bug * repair search info bug * optimized code
This commit is contained in:
committed by
Daniel Pan
parent
490a15deed
commit
5ce1b15fb2
@@ -35,7 +35,7 @@
|
||||
.side-panel {
|
||||
position:fixed;
|
||||
left:-300px;
|
||||
z-index:1; /* important! */
|
||||
z-index: 99; /* important! */
|
||||
width:300px;
|
||||
height:100%;
|
||||
background:#f8f8f8;
|
||||
@@ -47,9 +47,9 @@
|
||||
|
||||
.side-panel-north,
|
||||
.main-panel-north {
|
||||
padding: .5rem 1rem;
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
padding: .5rem 1rem;
|
||||
background: #f4f4f7;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
@@ -68,43 +68,45 @@
|
||||
}
|
||||
|
||||
.cur-view-container {
|
||||
display:flex;
|
||||
flex-direction:column;
|
||||
flex:1 1 auto;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1 1 auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.cur-view-path {
|
||||
flex-shrink:0;
|
||||
min-height:40px;
|
||||
padding:8px 16px 0;
|
||||
position: relative; /* for the ':after' */
|
||||
padding: 8px 16px;
|
||||
max-height: 40px;
|
||||
background:#f9f9f9;
|
||||
position:relative; /* for the ':after' */
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.cur-view-path:after {
|
||||
content:'';
|
||||
border-bottom:1px solid #e8e8e8;
|
||||
position:absolute;
|
||||
left:16px;
|
||||
right:16px;
|
||||
bottom:0;
|
||||
position: absolute;
|
||||
left: 16px;
|
||||
right: 16px;
|
||||
bottom: 0;
|
||||
content: '';
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
|
||||
.cur-view-content {
|
||||
padding:10px 16px 20px;
|
||||
flex:1;
|
||||
padding: 10px 16px 20px;
|
||||
height: calc(100% - 40px);
|
||||
overflow:auto;
|
||||
flex: 1;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.cur-view-content .hd {
|
||||
padding-bottom:0;
|
||||
height:48px;
|
||||
padding:9px 10px;
|
||||
background:#f2f2f2;
|
||||
margin-bottom:.5em;
|
||||
border-radius:2px;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: .5em;
|
||||
height: 48px;
|
||||
padding: 9px 10px;
|
||||
background: #f2f2f2;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
[role=group] {
|
||||
|
Reference in New Issue
Block a user