diff --git a/zeppelin-web/src/app/home/home.css b/zeppelin-web/src/app/home/home.css index 9bf1e7bcb62..e2030e8a049 100644 --- a/zeppelin-web/src/app/home/home.css +++ b/zeppelin-web/src/app/home/home.css @@ -115,6 +115,65 @@ a.navbar-brand:hover { outline: 0; } +.dropdown-submenu { + position: relative; +} + +.dropdown-submenu a { + display: block; + padding: 3px 20px; + clear: both; + font-weight: normal; + line-height: 1.42857143; + color: #333; + white-space: nowrap; + text-decoration: none; +} + +.dropdown-submenu a:hover { + background-color: #f5f5f5; +} + +.dropdown-submenu > .dropdown-menu { + top:0; + left:100%; + margin-top:-6px; + margin-left:-1px; + -webkit-border-radius:0 6px 6px 6px; + -moz-border-radius:0 6px 6px 6px; + border-radius:0 6px 6px 6px; +} +.dropdown-submenu:hover > .dropdown-menu { + display:block; +} +.dropdown-submenu > a:after { + display:block; + content:" "; + float:right; + width:0; + height:0; + border-color:transparent; + border-style:solid; + border-width:5px 0 5px 5px; + border-left-color:#cccccc; + margin-top:5px; + margin-right:-10px; +} +.dropdown-submenu:hover > a:after { + border-left-color:#ffffff; +} +.dropdown-submenu.pull-left { + float:none; +} +.dropdown-submenu.pull-left > .dropdown-menu { + left:-100%; + margin-left:10px; + -webkit-border-radius:6px 0 6px 6px; + -moz-border-radius:6px 0 6px 6px; + border-radius:6px 0 6px 6px; +} + + @media (max-width: 767px) { .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { color: #D3D3D3; @@ -148,7 +207,6 @@ a.navbar-brand:hover { } } - #main { padding-left: 10px; padding-right: 10px; @@ -159,6 +217,7 @@ a.navbar-brand:hover { #notebook-list { position: relative; overflow: hidden; + display: inline; } @media (min-width: 768px) { diff --git a/zeppelin-web/src/app/home/home.html b/zeppelin-web/src/app/home/home.html index 9e7963c7dbd..7bf89040e79 100644 --- a/zeppelin-web/src/app/home/home.html +++ b/zeppelin-web/src/app/home/home.html @@ -30,8 +30,7 @@

Notebook

Create new note
diff --git a/zeppelin-web/src/components/navbar/navbar.html b/zeppelin-web/src/components/navbar/navbar.html index e5830987e0a..305f06ee8e4 100644 --- a/zeppelin-web/src/components/navbar/navbar.html +++ b/zeppelin-web/src/components/navbar/navbar.html @@ -10,7 +10,19 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ---> + --> + + +