[Rt-commit] rt branch, 4.6/upgrade-superfish, repushed
? sunnavy
sunnavy at bestpractical.com
Tue Jan 7 09:18:31 EST 2020
The branch 4.6/upgrade-superfish was deleted and repushed:
was ddadc697eecf22479986790a5ff038ebbf895b2f
now 0ac9715f9375376c9f52606d50391f05c1fd65be
1: a5bd93668a = 1: a5bd93668a Upgrade jquery.supposition.js to 0.3a to be compatible with recent superfish
2: 3294eefb13 = 2: 3294eefb13 Drop deprecated supersubs.js
3: fed83e0f04 = 3: fed83e0f04 Upgrade to superfish 1.7.10
4: ce5d572744 ! 4: 26607c130d Adjust menu css to work with superfish 1.7.10
@@ -1,10 +1,27 @@
Author: sunnavy <sunnavy at bestpractical.com>
Adjust menu css to work with superfish 1.7.10
+
+ The goal is the menu should look like the old version, but without
+ issues(see fed83e0f04) we found.
diff --git a/share/static/css/elevator-light/nav.css b/share/static/css/elevator-light/nav.css
--- a/share/static/css/elevator-light/nav.css
+++ b/share/static/css/elevator-light/nav.css
+@@
+ .sf-menu {
+ width: 100%;
+ margin-bottom: 0;
++ line-height: 1;
+ }
+
+ .sf-menu ul {
+ background-image: none;
+ padding: 0;
++ min-width: auto;
+ }
+
+ .sf-menu.sf-shadow ul {
@@
box-shadow: 2px 2px 8px -2px #999;
}
@@ -18,6 +35,17 @@
}
.sf-menu li,
+@@
+ padding-right: 1rem;
+ }
+
++.sf-menu ul a.sf-with-ul {
++ padding-right: 1.5rem;
++}
++
+ .sf-menu a.sf-with-ul:after {
+ content: '';
+ width: 10px;
@@
border-top: none
}
@@ -62,7 +90,6 @@
background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' id='i-chevron-right' viewBox='0 0 7 12' height='100%' width='100%' fill='none' stroke='%2331363E' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'><path d='M1 1 l5 5 -5 5' /></svg>") no-repeat center center;
position: absolute;
- margin-top: 2px;
-+ margin-top: -4px;
right: 5px;
}
5: ddadc697ee = 5: 0ac9715f93 Drop workaround for menu width under "More" on old superfish
More information about the rt-commit
mailing list