history-react.less 922 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. @versions-list-width: 320px;
  2. @history-toolbar-height: 40px;
  3. history-root {
  4. height: 100%;
  5. display: block;
  6. }
  7. .history-react {
  8. display: flex;
  9. height: 100%;
  10. background-color: @history-main-bg;
  11. .history-header {
  12. height: @history-toolbar-height;
  13. background-color: @history-react-header-bg;
  14. color: @history-react-header-color;
  15. font-size: 14px;
  16. display: flex;
  17. flex-direction: column;
  18. justify-content: center;
  19. box-sizing: border-box;
  20. }
  21. .doc-panel {
  22. flex: 1;
  23. display: flex;
  24. flex-direction: column;
  25. .toolbar-container {
  26. border-bottom: 1px solid @history-react-separator-color;
  27. padding: 0 8px;
  28. }
  29. .doc-container {
  30. flex: 1;
  31. }
  32. }
  33. .change-list {
  34. width: @versions-list-width;
  35. border-left: 1px solid @history-react-separator-color;
  36. box-sizing: content-box;
  37. .toggle-switch-container {
  38. padding: 0 16px;
  39. }
  40. }
  41. }