[Rt-commit] rt branch, 4.6/fix-subnav-and-topactions, created. rt-4.4.4-570-g6cc9cd4831
Blaine Motsinger
blaine at bestpractical.com
Fri Dec 27 12:26:05 EST 2019
The branch, 4.6/fix-subnav-and-topactions has been created
at 6cc9cd4831429540013f9d1654f19de11f4122e3 (commit)
- Log -----------------------------------------------------------------
commit fb7e91e3aa101002f9c3e8c33376d031e2b691b2
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Tue Dec 24 16:50:34 2019 -0600
Fix page-menu display issues
The inner elements of page-menu had an incorrect border-radius,
alignment, and margin-top being set. This showed in the superfish
dropdown center aligning the text and rounded hover on square
buttons.
diff --git a/share/static/css/elevator-light/nav.css b/share/static/css/elevator-light/nav.css
index 30ba4b78ed..c229cfa49f 100644
--- a/share/static/css/elevator-light/nav.css
+++ b/share/static/css/elevator-light/nav.css
@@ -79,6 +79,8 @@ ul.sf-menu li {
#main-navigation .sf-menu a:hover {
padding-top: 0.5em;
padding-bottom: 0.5em;
+ border-radius: 0;
+ text-align: left;
}
#main-navigation a {
@@ -112,7 +114,6 @@ ul.sf-menu li {
}
#page-navigation #page-menu {
- margin-top: 0.2em;
float: right;
width: auto;
}
@@ -321,6 +322,7 @@ ul.sf-menu li {
#page-menu.sf-menu > li > a {
padding-top: .3em;
padding-bottom: .3em;
+ border-radius: 0;
}
#page-menu.sf-menu li {
commit 7d14ba87df203e86386da052cc7ebb77b4caa880
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Tue Dec 24 16:52:14 2019 -0600
Fix centering on topactions, logo, and not-logged-in
This commit fixes the topactions, logo, and not-logged-in elements
to be correctly vertically centered.
diff --git a/share/static/css/elevator-light/layout.css b/share/static/css/elevator-light/layout.css
index f629171c55..770ab85a26 100644
--- a/share/static/css/elevator-light/layout.css
+++ b/share/static/css/elevator-light/layout.css
@@ -80,7 +80,7 @@ div#footer p {
div#logo {
position: absolute;
right: 2px;
- top: 0;
+ top: 0.25em;
height: 2.8em;
}
diff --git a/share/static/css/elevator-light/login.css b/share/static/css/elevator-light/login.css
index 0440293a87..6a43419b5b 100644
--- a/share/static/css/elevator-light/login.css
+++ b/share/static/css/elevator-light/login.css
@@ -22,7 +22,7 @@
#quick-personal #not-logged-in {
display: block;
- padding-top: 0.5em;
+ padding-top: 0.82em;
padding-left: 1em;
}
diff --git a/share/static/css/elevator-light/nav.css b/share/static/css/elevator-light/nav.css
index c229cfa49f..13d060d6f2 100644
--- a/share/static/css/elevator-light/nav.css
+++ b/share/static/css/elevator-light/nav.css
@@ -203,7 +203,7 @@ ul.sf-menu li {
#topactions {
position: absolute;
background: transparent;
- top: 0;
+ top: 0.15em;
right: 18em;
width: auto;
min-width: 20em;
commit 6cc9cd4831429540013f9d1654f19de11f4122e3
Author: Blaine Motsinger <blaine at bestpractical.com>
Date: Thu Dec 26 18:06:47 2019 -0600
Fix bookmark and timer positioning
This commit corrects the height of the bookmark and timer within
the page-menu to remove the padding gap at the bottom.
Because of this fix, the page-navigation position and padding
needed to be updated to fit into the area correctly.
diff --git a/share/static/css/elevator-light/nav.css b/share/static/css/elevator-light/nav.css
index 13d060d6f2..b9ed28a364 100644
--- a/share/static/css/elevator-light/nav.css
+++ b/share/static/css/elevator-light/nav.css
@@ -98,7 +98,7 @@ ul.sf-menu li {
#page-navigation {
position: absolute;
- top: 3.6em;
+ top: 3.8em;
right: 2em;
}
@@ -194,10 +194,9 @@ ul.sf-menu li {
height: auto;
}
-#li-page-bookmark a img,
-#li-page-timer a img {
- height: 1.25em;
- width: 1.25em;
+#li-page-bookmark .toggle-bookmark a svg,
+#li-page-timer a svg {
+ height: 1.3em;
}
#topactions {
@@ -321,7 +320,7 @@ ul.sf-menu li {
#page-menu.sf-menu > li > span > a,
#page-menu.sf-menu > li > a {
padding-top: .3em;
- padding-bottom: .3em;
+ padding-bottom: .25em;
border-radius: 0;
}
-----------------------------------------------------------------------
More information about the rt-commit
mailing list