ide-redesign.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. :root {
  2. --ide-redesign-background: var(--bg-dark-primary);
  3. --ide-redesign-color: var(--content-primary-dark);
  4. --ide-redesign-resizing-background: var(--bg-dark-primary);
  5. --ide-redesign-color-scheme: dark;
  6. }
  7. @include theme('light') {
  8. --ide-redesign-background: var(--bg-light-primary);
  9. --ide-redesign-color: var(--content-primary);
  10. --ide-redesign-resizing-background: var(--white);
  11. --ide-redesign-color-scheme: light;
  12. }
  13. .ide-redesign-body {
  14. color-scheme: var(--ide-redesign-color-scheme);
  15. display: flex;
  16. flex-grow: 1;
  17. background-color: var(--ide-redesign-background);
  18. color: var(--ide-redesign-color);
  19. overflow-y: hidden;
  20. z-index: 0;
  21. }
  22. .ide-redesign-main {
  23. height: 100%;
  24. display: flex;
  25. flex-direction: column;
  26. .ide-panel-group-resizing {
  27. background-color: var(--ide-redesign-resizing-background);
  28. }
  29. }
  30. .ide-skeleton-block {
  31. border: 1px solid grey;
  32. background-color: white;
  33. }
  34. .ide-redesign-full-height {
  35. height: 100%;
  36. }
  37. .ide-redesign-pdf-container {
  38. position: relative;
  39. }
  40. .ide-redesign-editor-container {
  41. position: relative;
  42. height: 100%;
  43. display: flex;
  44. flex-direction: column;
  45. }
  46. .ide-redesign-editor-content {
  47. flex: 1 1 auto;
  48. position: relative;
  49. }
  50. .ide-redesign-python-editor-split {
  51. height: 100%;
  52. }
  53. .ide-redesign-python-output-pane {
  54. height: 100%;
  55. display: flex;
  56. flex-direction: column;
  57. background-color: var(--ide-redesign-background);
  58. color: var(--ide-redesign-color);
  59. border-top: 1px solid var(--border-divider);
  60. .compile-button-group {
  61. border-radius: var(--ds-border-radius-300);
  62. }
  63. }
  64. .ide-redesign-python-output-pane-body {
  65. flex: 1;
  66. overflow: auto;
  67. padding: var(--spacing-06);
  68. font-family: 'DM Mono', monospace;
  69. font-size: var(--font-size-02);
  70. line-height: var(--line-height-03);
  71. }
  72. .ide-redesign-python-output-pane-placeholder {
  73. color: var(--content-secondary);
  74. }
  75. .ide-redesign-python-output-pane-line {
  76. white-space: pre-wrap;
  77. word-break: break-word;
  78. }
  79. .ide-redesign-python-output-pane-placeholder,
  80. .ide-redesign-python-output-pane-error {
  81. white-space: pre-wrap;
  82. }
  83. .ide-redesign-python-output-pane-error {
  84. margin-bottom: var(--spacing-03);
  85. color: var(--red-50);
  86. }
  87. .ide-redesign-labs-user-beta-promo {
  88. position: absolute;
  89. top: 60px;
  90. right: 28px;
  91. z-index: 100000;
  92. max-width: 560px;
  93. font-size: var(--font-size-03);
  94. line-height: var(--line-height-03);
  95. .notification-content {
  96. display: flex;
  97. flex-direction: column;
  98. gap: var(--spacing-02);
  99. align-items: flex-start;
  100. }
  101. }
  102. .ide-redesign-labs-user-beta-promo-title {
  103. font-weight: bold;
  104. }
  105. .ide-redesign-labs-user-beta-promo-button {
  106. margin-top: var(--spacing-05);
  107. }