diff --git a/share/jupyter/hub/static/less/page.less b/share/jupyter/hub/static/less/page.less index e546acce..74eaf0ef 100644 --- a/share/jupyter/hub/static/less/page.less +++ b/share/jupyter/hub/static/less/page.less @@ -1,26 +1,15 @@ +@logo-height: 28px; + .jpy-logo { - height: 28px; - margin-top: 6px; + height: @logo-height; + margin-top: (@navbar-height - @logo-height) / 2; } #header { border-bottom: 1px solid #e7e7e7; - height: 40px; } .hidden { display: none; } -.dropdown.navbar-btn{ - padding:0 5px 0 0; -} - -#login_widget{ - - & .navbar-btn.btn-sm { - margin-top: 5px; - margin-bottom: 5px; - } - -} diff --git a/share/jupyter/hub/static/less/variables.less b/share/jupyter/hub/static/less/variables.less index 89b45e53..d366faaf 100644 --- a/share/jupyter/hub/static/less/variables.less +++ b/share/jupyter/hub/static/less/variables.less @@ -1,7 +1,8 @@ @border-radius-small: 2px; @border-radius-base: 2px; @border-radius-large: 3px; -@navbar-height: 20px; +@navbar-height: 40px; +@grid-float-breakpoint: @screen-xs-min; @jupyter-orange: #F37524; @jupyter-red: #E34F21; diff --git a/share/jupyter/hub/templates/home.html b/share/jupyter/hub/templates/home.html index 30bd88a3..a197e789 100644 --- a/share/jupyter/hub/templates/home.html +++ b/share/jupyter/hub/templates/home.html @@ -20,9 +20,6 @@ {% endif %} My Server - {% if user.admin %} - Admin - {% endif %} diff --git a/share/jupyter/hub/templates/page.html b/share/jupyter/hub/templates/page.html index d0c1eae0..d2c29c59 100644 --- a/share/jupyter/hub/templates/page.html +++ b/share/jupyter/hub/templates/page.html @@ -35,6 +35,8 @@ {% endblock %} + +