2019-02-22 18:16:44 +08:00
|
|
|
body {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
#wrapper {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
.file-view-header {
|
2019-02-23 11:30:29 +08:00
|
|
|
padding: 4px 10px;
|
2023-08-09 18:54:58 +08:00
|
|
|
background: #fff;
|
2019-02-22 18:16:44 +08:00
|
|
|
border-bottom: 1px solid #c9c9c9;
|
|
|
|
flex-shrink: 0;
|
|
|
|
}
|
|
|
|
.file-title {
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-weight: bold;
|
2019-05-15 16:13:11 +08:00
|
|
|
line-height: 1.5;
|
|
|
|
margin-bottom: 0;
|
2019-02-22 18:16:44 +08:00
|
|
|
}
|
2023-05-12 11:24:34 +08:00
|
|
|
.file-star {
|
2019-02-22 18:16:44 +08:00
|
|
|
font-size: .875rem;
|
2019-02-28 17:53:43 +08:00
|
|
|
color: #999;
|
2019-02-22 18:16:44 +08:00
|
|
|
margin-left: .5rem;
|
|
|
|
}
|
|
|
|
.file-star:hover,
|
|
|
|
.file-star:focus {
|
|
|
|
text-decoration: none;
|
2019-02-28 17:53:43 +08:00
|
|
|
color: #999;
|
2019-02-22 18:16:44 +08:00
|
|
|
}
|
|
|
|
.file-locked-icon {
|
|
|
|
margin-left: .5rem;
|
|
|
|
}
|
2019-06-25 15:47:43 +08:00
|
|
|
.meta-info {
|
2019-02-22 18:16:44 +08:00
|
|
|
font-size: .8125rem;
|
|
|
|
}
|
|
|
|
.file-view-content {
|
|
|
|
padding: 30px 0;
|
|
|
|
background: #f4f4f4;
|
|
|
|
border-right: 4px solid transparent;
|
|
|
|
}
|
2019-03-23 14:15:45 +08:00
|
|
|
.tip {
|
|
|
|
color: #808080;
|
|
|
|
}
|
2021-03-18 17:31:21 +08:00
|
|
|
|
|
|
|
.file-details-container {
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
background-color: #fff;
|
|
|
|
width: 300px;
|
|
|
|
height: 100%;
|
|
|
|
box-shadow: -1px 0 3px 0 #ccc;
|
|
|
|
animation: move .5s ease-in-out 1;
|
|
|
|
z-index: 50;
|
|
|
|
}
|
|
|
|
@keyframes move {
|
|
|
|
from {
|
|
|
|
right: -500px;
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
to {
|
|
|
|
right: 0px;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2022-04-09 14:55:40 +08:00
|
|
|
/* for mobile */
|
2020-12-22 12:04:03 +08:00
|
|
|
.file-view-body .seafile-comment {
|
2019-04-18 18:19:54 +08:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
2020-12-22 12:04:03 +08:00
|
|
|
.file-view-body .seafile-comment {
|
2022-04-09 14:55:40 +08:00
|
|
|
width: 300px;
|
2022-04-11 17:57:24 +08:00
|
|
|
border-left: 1px solid #e6e6dd;
|
2019-04-18 18:19:54 +08:00
|
|
|
}
|
|
|
|
}
|