2023-12-12 12:26:41 +08:00
|
|
|
.main-panel {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
2019-04-17 14:18:12 +08:00
|
|
|
.cur-view-content.lib-content-container {
|
|
|
|
padding: 0;
|
2024-06-17 14:48:16 +08:00
|
|
|
background-color: #fff;
|
|
|
|
position: absolute;
|
|
|
|
top: 48px;
|
|
|
|
width: 100%;
|
2024-06-17 15:15:12 +08:00
|
|
|
height: calc(100% - 48px);
|
2024-06-17 14:48:16 +08:00
|
|
|
border-top: 1px solid #e8e8e8;
|
2024-08-20 16:38:43 +08:00
|
|
|
flex-direction: row;
|
2019-02-21 17:37:04 +08:00
|
|
|
min-height: 0;
|
2019-02-20 11:54:25 +08:00
|
|
|
}
|
|
|
|
|
2024-07-09 17:31:49 +08:00
|
|
|
.dir-column-view {
|
2019-03-01 11:02:24 +08:00
|
|
|
display: flex;
|
2024-07-31 21:30:09 +08:00
|
|
|
height: 100%;
|
2024-07-09 17:31:49 +08:00
|
|
|
position: relative;
|
2024-08-07 14:01:01 +08:00
|
|
|
flex: 1;
|
|
|
|
overflow-x: hidden;
|
2019-03-01 11:02:24 +08:00
|
|
|
}
|
|
|
|
|
2024-07-26 16:58:23 +08:00
|
|
|
@media (max-width: 767px) {
|
|
|
|
.dir-content-nav {
|
|
|
|
position:fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1031;
|
|
|
|
width: 300px;
|
|
|
|
max-width: calc(100% - 40px);
|
|
|
|
height:100%;
|
|
|
|
-webkit-transition: all 0.3s ease;
|
|
|
|
-moz-transition: all 0.3s ease;
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-21 17:37:04 +08:00
|
|
|
.dir-content-nav {
|
2019-02-20 11:54:25 +08:00
|
|
|
flex: 0 0 25%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: hidden;
|
2019-02-21 17:37:04 +08:00
|
|
|
background-color: #fff;
|
2019-02-20 11:54:25 +08:00
|
|
|
border-right: 1px solid #eee;
|
|
|
|
}
|
|
|
|
|
2019-02-21 17:37:04 +08:00
|
|
|
.dir-content-nav:hover {
|
2019-02-20 11:54:25 +08:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
2019-02-21 17:37:04 +08:00
|
|
|
.dir-content-main {
|
2024-07-26 17:15:18 +08:00
|
|
|
position: relative;
|
2019-04-17 14:18:12 +08:00
|
|
|
flex: 1 0 74.5%;
|
2019-02-21 17:37:04 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: auto;
|
2019-02-20 14:43:55 +08:00
|
|
|
}
|
|
|
|
|
2019-02-20 11:54:25 +08:00
|
|
|
/*tree view */
|
|
|
|
.tree-view {
|
2024-06-17 14:48:16 +08:00
|
|
|
margin-left: -12px;
|
2019-03-04 17:45:28 +08:00
|
|
|
padding: 12px 12px 12px 0;
|
2019-02-20 11:54:25 +08:00
|
|
|
line-height: 1.5;
|
2019-03-23 14:16:48 +08:00
|
|
|
flex: 1;
|
2024-06-19 21:15:56 +08:00
|
|
|
border: 1px solid rgba(69, 170, 242, 0);
|
2019-04-09 14:58:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tree-view-drop {
|
2024-06-19 21:15:56 +08:00
|
|
|
border: 1px solid rgba(69, 170, 242);
|
2019-04-09 14:58:40 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tree-view-drop::before {
|
2024-06-19 21:15:56 +08:00
|
|
|
border-left: 1px solid rgba(69, 170, 242);
|
2019-04-09 14:58:40 +08:00
|
|
|
content: '';
|
|
|
|
margin-left: 8px;
|
|
|
|
height: calc(100% + 24px);
|
|
|
|
display: block;
|
|
|
|
margin-top: -12px;
|
|
|
|
float: left;
|
2019-02-20 11:54:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-inner {
|
|
|
|
position: relative;
|
2024-06-19 13:45:11 +08:00
|
|
|
height: 28px;
|
|
|
|
padding: 2px;
|
2019-02-20 11:54:25 +08:00
|
|
|
cursor: pointer;
|
|
|
|
line-height: 1.625;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-inner-hover {
|
2024-06-20 18:32:46 +08:00
|
|
|
background-color: #f0f0f0;
|
2019-02-20 14:43:55 +08:00
|
|
|
border-radius: 0.25rem;
|
2019-02-20 11:54:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-inner .tree-node-text {
|
|
|
|
padding-left: 2.8rem;
|
2019-02-22 15:35:31 +08:00
|
|
|
width: calc(100% - 1.5rem);
|
2019-04-08 11:37:28 +08:00
|
|
|
font-size: 14px;
|
2019-02-20 11:54:25 +08:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2019-04-17 18:25:38 +08:00
|
|
|
line-height: 24px;
|
2019-02-20 11:54:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-inner .left-icon {
|
|
|
|
position: absolute;
|
|
|
|
display:flex;
|
|
|
|
align-items:center;
|
2024-06-19 13:45:11 +08:00
|
|
|
top: 2px;
|
2019-02-20 11:54:25 +08:00
|
|
|
left: 0;
|
|
|
|
padding-left: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.folder-toggle-icon {
|
|
|
|
position: absolute;
|
2019-02-20 17:08:00 +08:00
|
|
|
left: 0;
|
2024-06-21 12:07:58 +08:00
|
|
|
color: #666666;
|
2019-02-20 11:54:25 +08:00
|
|
|
line-height: 1.625;
|
|
|
|
width: 1.5rem;
|
|
|
|
display: flex;
|
|
|
|
align-content: center;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
2019-03-27 11:25:27 +08:00
|
|
|
.tree-node-drop {
|
2024-07-27 12:04:33 +08:00
|
|
|
background-color: #FFEFB2;
|
2019-03-27 11:25:27 +08:00
|
|
|
}
|
|
|
|
|
2019-02-20 11:54:25 +08:00
|
|
|
.tree-node-icon {
|
|
|
|
display: inline-block;
|
|
|
|
width: 1rem;
|
|
|
|
text-align: center;
|
2024-06-21 12:07:58 +08:00
|
|
|
color: #666666;
|
2019-02-20 11:54:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-inner .right-icon {
|
|
|
|
position: absolute;
|
2024-06-19 13:45:11 +08:00
|
|
|
top: 2px;
|
2019-02-22 15:35:31 +08:00
|
|
|
right: 0.5rem;
|
2019-02-20 11:54:25 +08:00
|
|
|
bottom: 0;
|
2019-02-22 15:35:31 +08:00
|
|
|
width: 1rem;
|
2024-06-21 12:07:58 +08:00
|
|
|
color: #666666;
|
2024-01-12 16:02:53 +08:00
|
|
|
z-index: 2;
|
2019-02-20 11:54:25 +08:00
|
|
|
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;
|
2024-06-21 12:07:58 +08:00
|
|
|
color: #666666;
|
2019-02-20 11:54:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.tree-node-hight-light {
|
|
|
|
border-radius: 4px;
|
2024-06-20 18:32:46 +08:00
|
|
|
background-color: #f5f5f5 !important;
|
2019-02-20 11:54:25 +08:00
|
|
|
}
|
|
|
|
|
2024-06-20 18:32:46 +08:00
|
|
|
.tree-node-hight-light::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
display: block;
|
|
|
|
width: 4px;
|
|
|
|
height: 24px;
|
|
|
|
left: -8px;
|
|
|
|
top: 2px;
|
|
|
|
background-color: #FF8000;
|
|
|
|
border-radius: 2px;
|
|
|
|
z-index: 0;
|
2019-02-20 11:54:25 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2019-02-22 15:35:31 +08:00
|
|
|
/* file layout */
|
|
|
|
.dir-content-main .wiki-page-container {
|
2019-03-05 12:17:06 +08:00
|
|
|
padding: 0 1rem 1.25rem;
|
2019-02-20 14:43:55 +08:00
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2023-12-26 14:35:44 +08:00
|
|
|
.dir-content-main .wiki-page-content {
|
2019-02-20 14:43:55 +08:00
|
|
|
flex: 1;
|
2024-02-06 17:25:00 +08:00
|
|
|
width: 100%;
|
2019-02-20 14:43:55 +08:00
|
|
|
}
|
|
|
|
|
2023-12-26 14:35:44 +08:00
|
|
|
/* wiki-page-content children */
|
|
|
|
.dir-content-main .wiki-open-file {
|
2019-02-27 17:34:39 +08:00
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
2024-06-28 08:39:44 +08:00
|
|
|
line-height: 40px;
|
|
|
|
text-align: center;
|
2019-02-27 17:34:39 +08:00
|
|
|
font-size: 16px;
|
|
|
|
border-radius: 50%;
|
2024-07-08 10:34:05 +08:00
|
|
|
box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12);
|
2019-02-27 17:34:39 +08:00
|
|
|
user-select: none;
|
|
|
|
border: none;
|
|
|
|
right: 10px;
|
|
|
|
bottom: 10px;
|
|
|
|
color: #999;
|
|
|
|
z-index: 1050;
|
|
|
|
background-color: #fff;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2023-12-26 14:35:44 +08:00
|
|
|
.dir-content-main .wiki-open-file:hover {
|
2019-02-27 17:34:39 +08:00
|
|
|
background-color: #f6f6f6;
|
|
|
|
}
|
|
|
|
|
2023-12-26 14:35:44 +08:00
|
|
|
.dir-content-main .sf-slate-viewer-scroll-container {
|
2023-12-08 11:20:12 +08:00
|
|
|
padding: 0;
|
|
|
|
background-color: #fff;
|
|
|
|
border: none;
|
|
|
|
overflow: inherit;
|
|
|
|
}
|
|
|
|
|
2023-12-26 14:35:44 +08:00
|
|
|
.dir-content-main .sf-slate-viewer-article-container {
|
2023-12-12 12:26:41 +08:00
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2019-05-20 10:49:56 +08:00
|
|
|
.readonly-tip-message {
|
|
|
|
display: flex;
|
|
|
|
padding: 0.25rem 0;
|
|
|
|
background-color: #FEFBDC;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2022-10-19 19:04:57 +08:00
|
|
|
}
|
2024-05-16 20:14:26 +08:00
|
|
|
|
|
|
|
.op-btn {
|
|
|
|
background: #fff;
|
|
|
|
border: 1px solid #dbdbdb;
|
|
|
|
border-radius: 3px;
|
|
|
|
height: 32px;
|
|
|
|
padding: 0 .5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.op-btn:hover {
|
|
|
|
background: #f5f5f5;
|
|
|
|
}
|
2024-05-27 16:47:19 +08:00
|
|
|
|
2024-06-17 22:17:47 +08:00
|
|
|
.dir-view-path .cur-view-path-btn {
|
|
|
|
margin-left: -4px;
|
|
|
|
}
|
|
|
|
|
2024-05-27 16:47:19 +08:00
|
|
|
.dir-view-path .path-item {
|
|
|
|
min-width: 0; /* overwrite some styles */
|
|
|
|
padding: 0 6px;
|
|
|
|
font-size: 1rem;
|
|
|
|
color: inherit;
|
|
|
|
border-radius: 3px;
|
|
|
|
text-decoration: none;
|
2024-06-21 17:00:51 +08:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2024-05-27 16:47:19 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.dir-view-path .path-item:hover {
|
|
|
|
background: #efefef;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dir-view-path .path-item-dropdown-toggle {
|
2024-06-13 15:27:20 +08:00
|
|
|
color: #666;
|
2024-05-27 16:47:19 +08:00
|
|
|
}
|
|
|
|
|
2024-07-27 12:04:33 +08:00
|
|
|
.dir-view-path .path-item-drop{
|
|
|
|
background-color: #FFEFB2;
|
|
|
|
}
|
|
|
|
|
2024-05-27 16:47:19 +08:00
|
|
|
.dir-view-path .path-split {
|
|
|
|
padding: 0 2px;
|
|
|
|
}
|
2024-08-05 10:48:16 +08:00
|
|
|
|
|
|
|
.custom-modal {
|
|
|
|
box-sizing: border-box;
|
2024-08-13 10:21:32 +08:00
|
|
|
font-size: 0.875rem;
|
2024-08-05 10:48:16 +08:00
|
|
|
max-width: 740px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-modal .row {
|
|
|
|
flex: 1;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-modal .modal-content {
|
|
|
|
min-height: 534px;
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-modal .modal-body {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
gap: 1rem;
|
|
|
|
padding: 1rem 0;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-modal .modal-body .alert-message {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
z-index: 10;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-modal .repo-list-col {
|
|
|
|
max-width: 240px;
|
|
|
|
padding: 1rem;
|
|
|
|
line-height: 24px;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-modal .repo-list-item {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
position: relative;
|
|
|
|
height: 32px;
|
|
|
|
padding: 0 10px;
|
|
|
|
cursor: pointer;
|
|
|
|
transition: background-color 0.3s ease, font-weight 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-modal .repo-list-item.active {
|
|
|
|
background-color: #f5f5f5;
|
|
|
|
font-weight: 500;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-modal .repo-list-item:hover{
|
|
|
|
background-color: #f0f0f0;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-modal .repo-list-item.active::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
top: 2px;
|
|
|
|
left: -8px;
|
|
|
|
width: 4px;
|
|
|
|
height: 24px;
|
|
|
|
background-color: #ff8000;
|
|
|
|
border-radius: 2px;
|
|
|
|
z-index: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-modal .file-list-col {
|
|
|
|
max-width: 500px;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.custom-modal .file-list-col .file-chooser-container,
|
|
|
|
.custom-modal .file-list-col .file-chooser-search-input {
|
|
|
|
padding: 0 1rem;
|
|
|
|
}
|
2024-08-20 11:20:30 +08:00
|
|
|
|
|
|
|
.cur-view-container .cur-view-path {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-start;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.cur-view-container .cur-view-path .cur-view-path-left {
|
2024-08-20 18:16:05 +08:00
|
|
|
flex: 1;
|
2024-08-20 11:20:30 +08:00
|
|
|
border-bottom: none;
|
|
|
|
transition-property: all;
|
|
|
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
transition-duration: 200ms;
|
|
|
|
}
|