1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-28 16:17:02 +00:00
Files
seahub/frontend/src/pages/wiki2/wiki.css

106 lines
2.0 KiB
CSS
Raw Normal View History

body {
overflow: hidden;
}
.wiki2-main-panel {
width: calc(100% - 300px);
display: flex;
flex-direction: column;
min-height: 0;
overflow: hidden;
}
.wiki2-main-panel .wiki2-main-panel-north {
height: 44px;
position: relative;
padding: 0.5rem 1rem;
display: flex;
z-index: 100;
justify-content: space-between;
}
2024-05-17 15:09:41 +08:00
.main-panel-center .cur-view-content {
padding: 0;
}
2024-07-08 18:04:16 +08:00
/* scroll container */
2024-05-17 15:09:41 +08:00
/* wiki editor */
2024-07-08 18:04:16 +08:00
.cur-view-content .sdoc-scroll-container {
display: flex;
2024-07-10 16:37:41 +08:00
min-height: 0;
2024-07-08 18:04:16 +08:00
overflow: auto;
2024-07-05 16:14:17 +08:00
}
2024-07-08 15:04:40 +08:00
2024-07-08 18:04:16 +08:00
.cur-view-content .wiki-editor-container {
2024-05-17 15:09:41 +08:00
flex: 1;
display: flex;
2024-07-08 18:04:16 +08:00
flex-direction: column;
2024-05-17 15:09:41 +08:00
min-height: 0;
2024-07-10 16:37:41 +08:00
align-items: center;
width: 100%;
2024-05-17 15:09:41 +08:00
}
2024-07-05 16:25:07 +08:00
.wiki-editor-container .sdoc-editor-container {
2024-05-17 15:09:41 +08:00
flex: 1;
display: flex;
flex-direction: column;
2024-07-10 16:37:41 +08:00
min-height: 0;
min-width: 0;
2024-05-17 15:09:41 +08:00
width: 100%;
}
2024-07-08 18:04:16 +08:00
.wiki-editor-container .sdoc-editor-container .sdoc-content-wrapper {
height: auto;
2024-05-17 15:09:41 +08:00
}
2024-07-08 18:04:16 +08:00
.wiki-editor-container .sdoc-editor-container .sdoc-editor-content {
2024-07-10 16:37:41 +08:00
display: flex;
2024-07-08 18:04:16 +08:00
flex-direction: column;
position: static;
2024-07-10 16:37:41 +08:00
min-width: 0;
width: 100%;
2024-05-17 15:09:41 +08:00
}
2024-07-08 18:04:16 +08:00
.sdoc-editor-container .sdoc-article-container {
padding-top: 0;
padding-bottom: 0;
width: 100%;
2024-05-17 15:09:41 +08:00
}
2024-07-08 18:04:16 +08:00
/* wiki editor article */
.sdoc-editor-container .sdoc-article-container .article {
2024-05-17 15:09:41 +08:00
flex: 1;
2024-07-02 12:15:55 +08:00
display: flex;
justify-content: center;
2024-07-08 18:04:16 +08:00
min-height: 800px;
width: 100%;
2024-07-10 16:37:41 +08:00
padding: 0 142px;
2024-07-08 18:04:16 +08:00
box-shadow: none;
border: none;
2024-05-17 15:09:41 +08:00
}
2024-07-08 18:04:16 +08:00
.sdoc-editor-container .sdoc-article-container .article h1,
.sdoc-editor-container .sdoc-article-container .article :first-child {
margin-top: 0;
}
.sdoc-editor-container .sdoc-article-container .article>div {
2024-05-17 15:09:41 +08:00
caret-color: blue;
}
2024-07-08 18:04:16 +08:00
.sdoc-editor-container .sdoc-article-container .article .sdoc-drag-cover::before {
2024-05-17 15:09:41 +08:00
content: ' ';
width: 59px;
display: inline-block;
position: absolute;
left: -60px;
}
2024-07-08 18:04:16 +08:00
.sdoc-editor-container .sdoc-article-container .article .sdoc-draging {
2024-05-17 15:09:41 +08:00
border-bottom: 2px solid rgba(35, 131, 226);
}
2024-07-08 18:04:16 +08:00
.sdoc-editor-container .sdoc-article-container .article #sdoc-editor {
2024-07-02 12:15:55 +08:00
width: 100%;
2024-06-07 15:15:42 +08:00
}