diff --git a/roles/apps-fp-o/files/fedmenu-staging/css/fedmenu.css b/roles/apps-fp-o/files/fedmenu-staging/css/fedmenu.css index 436f25478c..dfb988dcd2 100644 --- a/roles/apps-fp-o/files/fedmenu-staging/css/fedmenu.css +++ b/roles/apps-fp-o/files/fedmenu-staging/css/fedmenu.css @@ -7,22 +7,22 @@ .fedmenu-bottom-left { position: fixed; - bottom: 10; - left: 10; + bottom: 10px; + left: 10px; } .fedmenu-bottom-right { position: fixed; - bottom: 10; - right: 10; + bottom: 10px; + right: 10px; } .fedmenu-bottom-left:hover .fedmenu-bottom-left.fedmenu-active { - bottom: 2; - left: 2; + bottom: 2px; + left: 2px; } .fedmenu-bottom-right:hover .fedmenu-bottom-right.fedmenu-active { - bottom: 2; - right 2; + bottom: 2px; + right 2px; } #fedmenu-tray { @@ -61,14 +61,14 @@ filter: drop-shadow(4px 4px 6px #222); } -.fedmenu-button .img { +.fedmenu-button div.img { width: 100%; height: 100%; background-repeat: no-repeat; background-size: 100% 100%; } -#fedmenu-main-button .img { background-image: url("../img/logo.png"); } -#fedmenu-user-button .img { border-radius: 50%; /* Make avatars into a circle */ } +#fedmenu-main-button div.img { background-image: url("../img/logo.png"); } +#fedmenu-user-button div.img { border-radius: 50%; /* Make avatars into a circle */ } #fedmenu-wrapper { position: fixed; @@ -158,6 +158,7 @@ font-family: Montserrat; font-weight: bold; border-bottom: 2px solid; + color: #294172; } .fedmenu-panel { @@ -167,9 +168,13 @@ font-size: 8pt; padding: 15px; } +.fedmenu-panel ul { + margin-top: 10px; + padding-left: 0px; +} .fedmenu-panel li { list-style: none; - margin-left: -40px; + margin-left: 0px; } .fedmenu-panel a, diff --git a/roles/apps-fp-o/files/fedmenu-staging/js/fedmenu.js b/roles/apps-fp-o/files/fedmenu-staging/js/fedmenu.js index 71d5135602..ca8417b5e5 100644 --- a/roles/apps-fp-o/files/fedmenu-staging/js/fedmenu.js +++ b/roles/apps-fp-o/files/fedmenu-staging/js/fedmenu.js @@ -16,7 +16,10 @@ var fedmenu = function(options) { $(document).ready(function() { if (o['package'] != null) buttons += '
'; buttons += ' '; - $('body').append(''); + var script = $("script[src$='fedmenu.js']").attr('src'); + var base = script.slice(0, -13); + + $('body').append(''); $('body').append( ' ');