Prechádzať zdrojové kódy

Update sidebar styles.

Afshin T. Darian 5 rokov pred
rodič
commit
3db51b70cb
3 zmenil súbory, kde vykonal 27 pridanie a 12 odobranie
  1. 1 1
      style/index.css
  2. 26 0
      style/sidebar.css
  3. 0 11
      style/toolbar.css

+ 1 - 1
style/index.css

@@ -3,7 +3,7 @@
 | Distributed under the terms of the Modified BSD License.
 |----------------------------------------------------------------------------*/
 
-@import './toolbar.css';
+@import './sidebar.css';
 
 .jp-Debugger {
   background: var(--jp-layout-color1);

+ 26 - 0
style/sidebar.css

@@ -0,0 +1,26 @@
+/*-----------------------------------------------------------------------------
+| Copyright (c) Jupyter Development Team.
+| Distributed under the terms of the Modified BSD License.
+|----------------------------------------------------------------------------*/
+
+@import './icons.css';
+
+.jp-DebuggerSidebar header {
+  display: flex;
+  flex-direction: row;
+  align-items: center;
+  background-color: var(--jp-layout-color2);
+  border-bottom: var(--jp-border-width) solid var(--jp-border-color1);
+  height: 24px;
+  text-transform: uppercase;
+  font-weight: 600;
+  font-size: var(--jp-ui-font-size0);
+  color: var(--jp-ui-font-color1);
+  padding-left: 8px;
+  padding-right: 4px;
+}
+
+.jp-DebuggerSidebar .jp-Toolbar {
+  background: var(--jp-layout-color2);
+  box-shadow: none;
+}

+ 0 - 11
style/toolbar.css

@@ -1,11 +0,0 @@
-/*-----------------------------------------------------------------------------
-| Copyright (c) Jupyter Development Team.
-| Distributed under the terms of the Modified BSD License.
-|----------------------------------------------------------------------------*/
-
-@import './icons.css';
-
-.jp-DebuggerSidebar .jp-Toolbar {
-  background: var(--jp-layout-color2);
-  box-shadow: none;
-}