diff --git a/zeppelin-web/src/app/notebook/notebook.css b/zeppelin-web/src/app/notebook/notebook.css index 699a29632a8..b1e549c5e99 100644 --- a/zeppelin-web/src/app/notebook/notebook.css +++ b/zeppelin-web/src/app/notebook/notebook.css @@ -55,7 +55,11 @@ top: 50px; width: 100%; height: 54px; - z-index: 3; + z-index: 4; +} + +.noBoxShadow { + box-shadow: none !important; } .noteAction h3 { @@ -112,12 +116,34 @@ .setting { background-color: white; - padding: 10px 15px 15px 15px; - margin-left: -10px; - margin-right: -10px; + padding: 0px 0px 15px 0px; + margin: 44px -10px 0px -10px; font-family: 'Roboto', sans-serif; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); border-bottom: 1px solid #E5E5E5; + position: fixed; + width: 100%; + z-index: 3; + /* max-height = page - (Navbar 54px + ActionBar 49px + Style Margin 30px) */ + max-height: calc(100% - 133px); + overflow: auto; +} + +.setting .settings-header { + position: fixed; + background-color: white; + width: 100%; +} +.setting .settings-body { + margin-top: 55px; +} + +.settings-content-padding { + padding: 0px 15px 0px 15px; +} + +.setting hr { + margin: 10px 0px 10px 0px; } .setting .interpreterSettings { diff --git a/zeppelin-web/src/app/notebook/notebook.html b/zeppelin-web/src/app/notebook/notebook.html index 9c5440d886b..c40c12f852d 100644 --- a/zeppelin-web/src/app/notebook/notebook.html +++ b/zeppelin-web/src/app/notebook/notebook.html @@ -12,7 +12,7 @@ limitations under the License. --> -
+

@@ -135,38 +135,41 @@

-
- -
+ +
+

Settings


-
-
Interpreter binding
-

- Bind interpreter for this note. - Click to Bind/Unbind interpreter. - Drag and drop to reorder interpreters.
- The first interpreter on the list becomes default. To create/remove interpreters, go to Interpreter menu. -

+
+
+
Interpreter binding
+

+ Bind interpreter for this note. + Click to Bind/Unbind interpreter. + Drag and drop to reorder interpreters.
+ The first interpreter on the list becomes default. To create/remove interpreters, go to Interpreter menu. +

-
-
-
{{item.name}} , %{{intp.name}}
-
+
+
+
{{item.name}} , %{{intp.name}}
-
-
- - -
+
+
+ + +
+
+ +