180 lines
3.4 KiB
Plaintext
180 lines
3.4 KiB
Plaintext
.container {
|
|
min-height: 600px;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: stretch;
|
|
overflow-x: hidden;
|
|
|
|
.menu {
|
|
width: 320px;
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
|
|
.menuHeader {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 320px;
|
|
padding: 0px 10px;
|
|
position: sticky;
|
|
z-index: 99;
|
|
background: #ffffff;
|
|
top: 0;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
height: 50px;
|
|
|
|
.menuTitle {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.menuActions {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
}
|
|
}
|
|
|
|
.menu_hidden {
|
|
height: 100%;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
|
|
.menuHeader {
|
|
padding: 8px 10px;
|
|
}
|
|
}
|
|
|
|
.editor {
|
|
flex: 1;
|
|
overflow-x: auto;
|
|
}
|
|
}
|
|
|
|
.docContainer {
|
|
max-width: 100vw;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: stretch;
|
|
|
|
.menuFixed {
|
|
position: fixed;
|
|
width: 320px;
|
|
height: 100vh;
|
|
overflow-y: scroll;
|
|
overflow-x: hidden;
|
|
background-image: linear-gradient(-90deg, rgba(0, 0, 0, .01), transparent);
|
|
}
|
|
|
|
.menu {
|
|
width: 320px;
|
|
}
|
|
|
|
.editor {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.docHeader {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.topBar {
|
|
position: fixed;
|
|
z-index: 99;
|
|
|
|
.menuHeader {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 10px;
|
|
height: 50px;
|
|
width: 100vw;
|
|
}
|
|
}
|
|
|
|
.editor2 {
|
|
margin-top: 50px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
z-index: 98;
|
|
}
|
|
}
|
|
}
|
|
|
|
.drawerPanel {
|
|
:global {
|
|
.ant-drawer-content-wrapper {
|
|
width: auto !important;
|
|
}
|
|
|
|
.ant-drawer-body {
|
|
padding: 0 !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.previewContainer {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: stretch;
|
|
|
|
.menu {
|
|
padding: 20px 15px;
|
|
min-width: 320px;
|
|
height: 100%;
|
|
overflow-y: scroll;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.editor {
|
|
flex: 1;
|
|
|
|
.actions {
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
padding: 20px 15px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.dropdownItem {
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-size: 14px;
|
|
width: 268px;
|
|
|
|
.topBox {
|
|
display: flex;
|
|
flex-direction: row;
|
|
height: 30px;
|
|
align-items: center;
|
|
|
|
.title {
|
|
font-weight: bold;
|
|
max-width: 150px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.tag {
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
} |