1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-07-12 14:38:58 +00:00
seahub/frontend/src/css/lib-content-view.css

169 lines
2.6 KiB
CSS
Raw Normal View History

2019-02-20 03:54:25 +00:00
.view-mode-container {
display: flex;
flex-direction: row !important;
}
.dir-side-nav {
flex: 0 0 25%;
display: flex;
flex-direction: column;
background-color: #fff;
overflow: hidden;
}
.dir-main-content {
flex: 1 0 75% !important;
display: flex;
flex-direction: column;
}
.dir-nav-heading {
position: relative;
display: flex;
align-items: center;
justify-content: center;
background: #f4f4f7;
border-bottom: solid 1px #e8e8e8;
font-size: 1rem;
font-weight: normal;
height: 49px;
margin: 0;
}
.dir-nav-container {
flex: 1 1;
overflow: hidden;
padding: 12px 0;
border-right: 1px solid #eee;
}
.dir-nav-container:hover {
overflow: auto;
}
.heading-icon {
position: absolute;
right: 1rem;
top: 30%;
color: #888;
font-size: 0.8125rem;
}
/*tree view */
.tree-view {
padding: 0 12px 0 0;
line-height: 1.5;
}
.tree-node-inner {
position: relative;
height: 26px;
cursor: pointer;
line-height: 1.625;
}
.tree-node-inner-hover {
background-color: rgb(255,239,178);
}
.tree-node-inner .tree-node-text {
padding-left: 2.8rem;
width: calc(100% - 2.8rem);
font-size: 15px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.tree-node-inner .left-icon {
position: absolute;
display:flex;
justify-content:center;
align-items:center;
top: 0;
left: 0;
padding-left: 1.5rem;
}
.folder-toggle-icon {
position: absolute;
left: 0.5rem;
color: #c0c0c0;
line-height: 1.625;
width: 1.5rem;
display: flex;
align-content: center;
justify-content: center;
}
.tree-node-icon {
display: inline-block;
width: 1rem;
text-align: center;
color: #b0b0b0;
}
.tree-node-inner .right-icon {
position: absolute;
top: 0;
right: 1rem;
bottom: 0;
width: 1.5rem;
color: #888;
z-index: 2;
font-size: 0.8125rem;
text-align: center;
}
.tree-node-inner .right-icon i {
width: 100%;
height: 100%;
vertical-align: middle;
font-size: 0.8125rem;
line-height: 1.625rem !important;
}
.tree-node-hight-light {
color: #fff;
border-radius: 4px;
background-color: #feac74 !important;
}
.tree-node-hight-light i {
color:#fff;
}
.dropdown-menu {
min-width: 8rem;
}
.parent-path {
position: relative;
}
.parent-path .form-text {
position: absolute;
top: 50%;
transform: translateY(-50%);
margin-top: 0;
margin-left: 0.25rem;
font-size: 0.9375rem;
}
.dir-main-content .wiki-page-content .ml-2 {
text-decoration: underline;
}
.dir-main-content .wiki-page-content .ml-2:hover {
text-decoration: underline;
color:#eb8205;
}
/* todo optimized */
#wiki-page-last-modified {
padding: 40px 10px;
font-size:12px;
color: #666;
}