|
|
@@ -1,22 +1,49 @@
|
|
|
-@changesListWidth: 320px;
|
|
|
+@versions-list-width: 320px;
|
|
|
+@history-toolbar-height: 40px;
|
|
|
+
|
|
|
+history-root {
|
|
|
+ height: 100%;
|
|
|
+ display: block;
|
|
|
+}
|
|
|
|
|
|
.history-react {
|
|
|
- .point-in-time-panel {
|
|
|
- .full-size;
|
|
|
- margin-right: @changesListWidth;
|
|
|
+ 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;
|
|
|
}
|
|
|
|
|
|
- .change-list {
|
|
|
- border-left: 1px solid @editor-border-color;
|
|
|
- height: 100%;
|
|
|
- width: @changesListWidth;
|
|
|
- position: absolute;
|
|
|
- right: 0;
|
|
|
+ .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;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
- .editor-dark {
|
|
|
- .change-list {
|
|
|
- border-color: @editor-dark-toolbar-border-color;
|
|
|
+ .change-list {
|
|
|
+ width: @versions-list-width;
|
|
|
+ border-left: 1px solid @history-react-separator-color;
|
|
|
+ box-sizing: content-box;
|
|
|
+
|
|
|
+ .toggle-switch-container {
|
|
|
+ padding: 0 16px;
|
|
|
}
|
|
|
}
|
|
|
}
|