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;
|
2023-04-11 04:35:33 -04:00
|
|
|
font-size: @font-size-small;
|
2023-03-23 10:54:00 -04:00
|
|
|
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;
|
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 {
|
2023-04-18 10:15:01 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-03-23 10:54:00 -04:00
|
|
|
width: @versions-list-width;
|
2023-04-11 04:35:33 -04:00
|
|
|
font-size: @font-size-small;
|
2023-03-23 10:54:00 -04:00
|
|
|
border-left: 1px solid @history-react-separator-color;
|
|
|
|
box-sizing: content-box;
|
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
|
|
|
|
2023-04-18 10:15:01 -04:00
|
|
|
.history-version-list-container {
|
|
|
|
flex: 1;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2023-04-11 04:35:33 -04:00
|
|
|
.history-toggle-switch-container,
|
|
|
|
.history-version-day,
|
|
|
|
.history-version-details {
|
|
|
|
padding: 0 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-day {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
|
|
|
display: block;
|
|
|
|
padding-top: 12px;
|
|
|
|
padding-bottom: 4px;
|
|
|
|
line-height: 20px;
|
|
|
|
background-color: @white;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-details {
|
2023-04-12 04:34:56 -04:00
|
|
|
padding-top: 8px;
|
|
|
|
padding-bottom: 8px;
|
2023-04-11 04:35:33 -04:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: @neutral-10;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-04-18 10:15:01 -04:00
|
|
|
.history-version-selected {
|
|
|
|
background-color: @green-10;
|
|
|
|
}
|
|
|
|
|
2023-04-11 04:35:33 -04:00
|
|
|
.history-version-metadata-time {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
color: @neutral-90;
|
2023-04-12 04:34:56 -04:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: initial;
|
|
|
|
}
|
2023-04-11 04:35:33 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-metadata-users,
|
|
|
|
.history-version-changes {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-metadata-users {
|
|
|
|
display: inline;
|
|
|
|
|
|
|
|
> li {
|
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-changes {
|
|
|
|
> li {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-user-badge-color {
|
|
|
|
@size: 8px;
|
|
|
|
display: inline-block;
|
|
|
|
width: @size;
|
|
|
|
height: @size;
|
|
|
|
margin-right: 4px;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-day,
|
|
|
|
.history-version-change-action,
|
|
|
|
.history-version-metadata-users,
|
2023-04-12 04:34:56 -04:00
|
|
|
.history-version-origin,
|
|
|
|
.history-version-saved-by {
|
2023-04-11 04:35:33 -04:00
|
|
|
color: @neutral-70;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-change-doc {
|
|
|
|
color: @neutral-90;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-divider {
|
|
|
|
margin: 6px 8px;
|
|
|
|
border-color: @neutral-20;
|
|
|
|
}
|
|
|
|
|
|
|
|
.history-version-badge {
|
2023-04-12 04:34:56 -04:00
|
|
|
margin-bottom: 4px;
|
2023-04-11 04:35:33 -04:00
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
2023-04-12 04:34:56 -04:00
|
|
|
.history-version-saved-by {
|
|
|
|
margin-bottom: 4px;
|
|
|
|
|
|
|
|
&-label {
|
|
|
|
margin-right: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: initial;
|
|
|
|
}
|
2023-04-11 04:35:33 -04:00
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
2023-04-11 04:35:33 -04:00
|
|
|
|
|
|
|
.history-version-label-tooltip {
|
|
|
|
padding: 6px;
|
|
|
|
text-align: initial;
|
|
|
|
|
|
|
|
&-row {
|
|
|
|
margin-bottom: 6.25px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: initial;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-04-14 06:57:15 -04:00
|
|
|
|
|
|
|
.document-diff-container {
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.cm-viewer-container,
|
|
|
|
.cm-editor {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.previous-highlight-button,
|
|
|
|
.next-highlight-button {
|
|
|
|
position: absolute;
|
|
|
|
right: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.previous-highlight-button {
|
|
|
|
top: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.next-highlight-button {
|
|
|
|
bottom: 16px;
|
|
|
|
}
|
|
|
|
}
|