2023-03-23 10:54:00 -04:00
|
|
|
@versions-list-width: 320px;
|
|
|
|
@history-toolbar-height: 40px;
|
|
|
|
|
|
|
|
history-root {
|
|
|
|
height: 100%;
|
|
|
|
display: block;
|
|
|
|
}
|
2023-03-23 04:35:20 -04:00
|
|
|
|
|
|
|
.history-react {
|
2023-03-23 10:54:00 -04:00
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
background-color: @history-main-bg;
|
|
|
|
|
|
|
|
.history-header {
|
|
|
|
height: @history-toolbar-height;
|
|
|
|
background-color: @history-react-header-bg;
|
|
|
|
color: @history-react-header-color;
|
|
|
|
font-size: 14px;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
box-sizing: border-box;
|
2023-03-23 04:35:20 -04:00
|
|
|
}
|
|
|
|
|
2023-03-23 10:54:00 -04:00
|
|
|
.doc-panel {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.toolbar-container {
|
|
|
|
border-bottom: 1px solid @history-react-separator-color;
|
|
|
|
padding: 0 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.doc-container {
|
|
|
|
flex: 1;
|
2023-03-30 05:16:26 -04:00
|
|
|
overflow-y: auto;
|
|
|
|
|
|
|
|
.document-diff-container {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
.cm-editor {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
2023-03-23 10:54:00 -04:00
|
|
|
}
|
2023-03-23 04:35:20 -04:00
|
|
|
}
|
|
|
|
|
2023-03-23 10:54:00 -04:00
|
|
|
.change-list {
|
|
|
|
width: @versions-list-width;
|
|
|
|
border-left: 1px solid @history-react-separator-color;
|
|
|
|
box-sizing: content-box;
|
|
|
|
|
|
|
|
.toggle-switch-container {
|
|
|
|
padding: 0 16px;
|
2023-03-23 04:35:20 -04:00
|
|
|
}
|
|
|
|
}
|
2023-03-29 03:54:53 -04:00
|
|
|
|
|
|
|
.toggle-switch-label {
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2023-03-30 05:16:26 -04:00
|
|
|
|
|
|
|
.history-loading-panel {
|
|
|
|
padding-top: 10rem;
|
|
|
|
font-family: @font-family-serif;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2023-04-04 12:00:30 -04:00
|
|
|
|
|
|
|
.history-file-entity-operation-badge {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
text-transform: lowercase;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
font-size: 0.7em;
|
|
|
|
background: @history-file-badge-bg;
|
|
|
|
color: @history-file-badge-color;
|
|
|
|
border-radius: 8px;
|
|
|
|
line-height: 1;
|
|
|
|
padding: 2px 4px 3px;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
2023-03-23 04:35:20 -04:00
|
|
|
}
|