[Rt-commit] rt branch, 4.6/reduce-header-height, created. rt-4.4.4-730-gc0be0282f5

? sunnavy sunnavy at bestpractical.com
Thu Feb 6 17:19:12 EST 2020


The branch, 4.6/reduce-header-height has been created
        at  c0be0282f5ca946d50f4be1a7936698450ee19f4 (commit)

- Log -----------------------------------------------------------------
commit c0be0282f5ca946d50f4be1a7936698450ee19f4
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Feb 7 05:00:07 2020 +0800

    Reduce the height of page header to be a bit denser
    
    The height of top menu and subject rows are reduced by 0.5em and 0.3em,
    respectively.

diff --git a/share/static/css/elevator-light/layout.css b/share/static/css/elevator-light/layout.css
index 0b3c2aca91..c95b727454 100644
--- a/share/static/css/elevator-light/layout.css
+++ b/share/static/css/elevator-light/layout.css
@@ -74,8 +74,7 @@ div#footer p {
 div#logo {
     position: absolute;
     right: 2px;
-    top: 0.25em;
-    height: 2.8em;
+    height: 2.5rem;
 }
 
 div#logo a img {
@@ -118,13 +117,12 @@ div#quickbar {
     padding-top: 1em;
     padding-left: 1em;
     padding-bottom: 0.5em;
-    height: 3rem;
+    height: 2.5rem;
     box-shadow: 0px 3px 6px #70899929;
 }
 
 div#header {
-    margin-top: 1.2em;
-    padding-bottom: 0.2em;
+    margin-top: 1.1em;
     border-bottom-color: #547CCC;
     border-bottom-width: 2px;
     border-bottom-style: solid;
diff --git a/share/static/css/elevator-light/nav.css b/share/static/css/elevator-light/nav.css
index 0afff7780f..8c5315abff 100644
--- a/share/static/css/elevator-light/nav.css
+++ b/share/static/css/elevator-light/nav.css
@@ -102,7 +102,7 @@ ul.sf-menu li {
 
 #page-navigation {
     position: absolute;
-    top: 3.8em;
+    top: 3.3em;
     right: 2em;
 }
 
@@ -182,7 +182,7 @@ ul.sf-menu li {
     float: left;
     margin-left: 1em;
     text-align: right;
-    margin-top: 0.5em;
+    margin-top: 0.33rem;
 }
 
 #topactions form input.btn {
@@ -201,7 +201,7 @@ ul.sf-menu li {
 #topactions {
     position: absolute;
     background: transparent;
-    top: 0.15em;
+    top: 0;
     right: 18em;
     width: auto;
     font-size: 0.9em;
@@ -283,7 +283,7 @@ ul.sf-menu li {
 .create-narrow { display: none; }
 
 #app-nav {
-    padding: 0.5rem;
+    padding: 0.25rem 0.5rem;
 }
 
 /* to stop a "flash" of an unstyled menu on an older browser,  hide the menu until superfish has initialized it */

-----------------------------------------------------------------------


More information about the rt-commit mailing list