diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index f73b1888c1..2ad28b5a01 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -643,17 +643,33 @@ nav.navbar .nav > li > button:focus right: -2px; background-color: #ff8989; } +#myNavmenu { + top: 50px; + background-color: $background_color; + border-top: 0; + border-right: 0; + border-bottom: 0; + border-left-color: $nav_icon_color; + box-shadow: 0 0 3px black; +} +#myNavmenu ul, #myNavmenu ul li:first-child, #myNavmenu ul, #myNavmenu ul li:last-child { + border-radius: 0; +} #myNavmenu li, #myNavmenu a { background-color: $nav_bg; color: $nav_icon_color; } + +#myNavmenu li.list-group-item { + border-color: $background_color; +} +#myNavmenu a { + display: block; +} #myNavmenu li.nav-sitename { font-weight: bold; } -#myNavmenu { - top: 50px; -} #topbar-first .dropdown.account li#nav-sitename { padding-left: 15px; padding-right: 15px; @@ -2045,6 +2061,10 @@ ul.tabs li a { ul.tabs li:hover, ul.tabs li.active { border-bottom-width: 4px; } +ul.tabbar ul.tabs-extended:hover li.dropdown { + border-bottom: 0; +} + ul.tabbar ul.tabs-extended li.active { width: 100%; border-bottom-width: 2px; @@ -2053,14 +2073,18 @@ ul.tabbar ul.tabs-extended li.active a { background: none; } ul.dropdown-menu li:hover { - border-bottom-width: 0; + border-bottom: 0; +} +.dropdown-menu li { + display: block; + width: 100%; + box-sizing: border-box; } - - /* Dropdown Menu */ .dropdown-menu li a, .dropdown-menu li .btn-link { - color: $link_color; + color: $font_color_darker; + } .dropdown-menu li > :hover, .dropdown-menu li > :visited, diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index b630739668..18ead816e1 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -136,7 +136,7 @@ $(document).ready(function(){ // initialize the bootstrap-select $('.selectpicker').selectpicker(); - // add search-heading to the seccond navbar + // add search-heading to the second navbar if( $(".search-heading").length) { $(".search-heading").appendTo("#topbar-second > .container > #tabmenu"); } @@ -147,6 +147,13 @@ $(document).ready(function(){ // get the text of the heading (we catch the plain text because we don't // want to have a h4 heading in the navbar var searchText = $(".section-title-wrapper > h2").html(); + + // temporary workaround to avoid 'undefined' being displayed (issue #9789) + // https://github.com/friendica/friendica/issues/9789 + // TODO: find a way to localize this string + if(typeof searchText === "undefined") { + searchText = "No results"; + } // insert the plain text in a

heading and give it a class var newText = '

'+searchText+'

'; // append the new heading to the navbar