Browse Source

[editor] Lightened up the main workspace

Enrico Berti 10 years ago
parent
commit
0f552be

+ 0 - 9
apps/metastore/src/metastore/static/metastore/css/metastore.css

@@ -84,15 +84,6 @@ h2.card-heading {
   margin-right: 4px;
 }
 
-body, .main-content {
-  background-color: #FFF;
-}
-
 .metastore-main {
   padding: 20px;
 }
-
-.navbar-fixed-top .navbar-inner {
-  box-shadow: none;
-  border-bottom: #F1F1F1;
-}

+ 7 - 0
desktop/libs/notebook/src/notebook/static/notebook/css/notebook.css

@@ -23,6 +23,12 @@ body {
   height:100%;
   margin: 0;
   padding: 0;
+  background-color: #FFF;
+}
+
+.navbar-fixed-top .navbar-inner {
+  box-shadow: none;
+  border-bottom: 1px solid #DDD;
 }
 
 .vertical-full {
@@ -35,6 +41,7 @@ body {
   position: absolute;
   top: 82px;
   bottom: 0;
+  background-color: #FFF;
 }
 
 .snippet-move-placeholder {

+ 1 - 1
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -300,7 +300,7 @@ ${ require.config() }
 
 <div data-bind="css: {'main-content': true, 'editor-mode': $root.editorMode}">
   <div class="vertical-full container-fluid">
-    <div class="vertical-full tab-content" data-bind="foreach: notebooks">
+    <div class="vertical-full" data-bind="foreach: notebooks">
       <div class="vertical-full tab-pane row-fluid panel-container" data-bind="css: { active: $parent.selectedNotebook() === $data }, template: { name: 'notebook'}">
       </div>
     </div>