浏览代码

Cleaned up the menu bar

Elliot Kirk 8 年之前
父节点
当前提交
828c313f64
共有 4 个文件被更改,包括 20 次插入1 次删除
  1. 0 1
      src/default-theme/index.css
  2. 1 0
      src/filebrowser/theme.css
  3. 1 0
      src/index.css
  4. 18 0
      src/mainmenu/index.css

+ 0 - 1
src/default-theme/index.css

@@ -272,7 +272,6 @@ body {
   padding-left: 5px;
   background: #FAFAFA;
   color: rgba(0, 0, 0, 0.87);
-  border-bottom: 1px solid #DDDDDD;
   font-size: 14px;
 }
 

+ 1 - 0
src/filebrowser/theme.css

@@ -33,6 +33,7 @@
 
 .jp-FileButtons {
   border-bottom: 1px solid #E0E0E0;
+  padding-bottom: 1px;
 }
 
 

+ 1 - 0
src/index.css

@@ -8,3 +8,4 @@
 @import './iframe/index.css';
 @import './notebook/completion/index.css';
 @import './terminal/index.css';
+@import './mainmenu/index.css';

+ 18 - 0
src/mainmenu/index.css

@@ -0,0 +1,18 @@
+/*-----------------------------------------------------------------------------
+| Copyright (c) Jupyter Development Team.
+| Distributed under the terms of the Modified BSD License.
+|----------------------------------------------------------------------------*/
+
+#jp-MainMenu.p-Widget.p-MenuBar {
+   background: #EEEEEE;
+}
+
+#p-top-panel.p-Widget.p-Panel {
+   border-bottom: 1px solid #BDBDBD;
+   background: #EEEEEE;
+   top: 0px;
+   left: 0px;
+   min-height: 24px;
+   height: 24px;
+   position: absolute;
+}