148 lines
2.1 KiB
Plaintext
148 lines
2.1 KiB
Plaintext
.container {
|
|
width: 100%;
|
|
height: 100%;
|
|
max-height: 100vh;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0px 12px 12px 12px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.top {
|
|
display: flex;
|
|
flex-direction: column;
|
|
position: sticky;
|
|
top: 0px;
|
|
z-index: 999;
|
|
box-sizing: border-box;
|
|
gap: 8px;
|
|
padding: 12px 0px;
|
|
}
|
|
|
|
.header {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 4px;
|
|
}
|
|
|
|
.title {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.toolbar {
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
flex: 1;
|
|
}
|
|
|
|
.contentContainer {
|
|
display: flex;
|
|
flex-direction: row;
|
|
flex: 1;
|
|
gap: 8px;
|
|
overflow-y: auto;
|
|
height: 100%;
|
|
}
|
|
|
|
.content {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
|
|
.editorContainer {
|
|
flex: 1;
|
|
width: 100%;
|
|
max-width: 794px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 20px 50px 50px 50px;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.editorExternalContainer {
|
|
overflow-y: unset;
|
|
max-height: unset;
|
|
}
|
|
|
|
.titleContainer {
|
|
padding: 5px 0;
|
|
border-bottom: 1px solid #e8e8e8;
|
|
}
|
|
|
|
.input {
|
|
border: unset !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.titleInput {
|
|
border: unset !important;
|
|
box-shadow: none !important;
|
|
font-size: 18px !important;
|
|
font-weight: bold !important;
|
|
}
|
|
|
|
.input:hover {
|
|
border: unset !important;
|
|
}
|
|
|
|
.footer {
|
|
bottom: 0;
|
|
height: 50px;
|
|
}
|
|
|
|
.highlight {
|
|
background-color: var(--highlight-bg-color);
|
|
transition: all 1s ease;
|
|
}
|
|
|
|
.catalogTitle {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-bottom: 1px solid #DDD;
|
|
padding: 34px 6px 10px 6px;
|
|
box-sizing: border-box;
|
|
position: sticky;
|
|
top: 0;
|
|
background-color: #fff;
|
|
}
|
|
|
|
.listItem {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
cursor: pointer;
|
|
line-height: 28px;
|
|
}
|
|
|
|
.listItem .icon {
|
|
opacity: 0;
|
|
margin-right: 8px;
|
|
transition: opacity 0.3s ease;
|
|
}
|
|
|
|
.listItem:hover .icon {
|
|
opacity: 1;
|
|
}
|
|
|
|
.listItem:hover .tocItem {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.iconFold {
|
|
transform: rotate(-90deg);
|
|
transform-origin: center;
|
|
}
|
|
|
|
.fold {
|
|
display: none;
|
|
} |