Skip to content

Commit

Permalink
Fix css
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-john committed Sep 29, 2019
1 parent 37f476b commit e5f1379
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
4 changes: 2 additions & 2 deletions htdocs/bookmarks/bookmarks.lib.php
Expand Up @@ -231,7 +231,7 @@ function printDropdownBookmarksList($aDb, $aLangs)
while ($i < $conf->global->BOOKMARKS_SHOW_IN_MENU && $obj = $db->fetch_object($resql))
{
$bookmarkList.='<a class="dropdown-item bookmark-item" id="bookmark-item-'.$obj->rowid.'" data-id="'.$obj->rowid.'" '.($obj->target == 1?' target="_blank"':'').' href="'.dol_escape_htmltag($obj->url).'" >';
$bookmarkList.=dol_escape_htmltag($obj->title);
$bookmarkList.= dol_escape_htmltag($obj->title);
$bookmarkList.='</a>';
$i++;
}
Expand Down Expand Up @@ -263,7 +263,7 @@ function printDropdownBookmarksList($aDb, $aLangs)
$html.= '
<!-- Menu Footer-->
<div class="bookmark-footer">
'.$newbtn.'<br/>'.$listbtn.'
'.$newbtn.$listbtn.'
<div style="clear:both;"></div>
</div>
';
Expand Down
23 changes: 21 additions & 2 deletions htdocs/theme/eldy/dropdown.inc.php
Expand Up @@ -181,17 +181,19 @@
border-color: #ddd;
}

.top-menu-dropdown-link {
.dropdown-menu a.top-menu-dropdown-link {
color: rgb(<?php print $colortextlink; ?>) !important;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
display: block;
margin: 5px 0px;
}

.dropdown-item {
display: block;
width: 100%;
padding: .25rem 1.5rem;
padding: .25rem 1.5rem .25rem 1rem;
clear: both;
font-weight: 400;
color: #212529 !important;
Expand All @@ -205,6 +207,23 @@
box-shadow: none;
}

.dropdown-item::before {
/* font part */
font-family: "Font Awesome 5 Free";
font-weight: 900;
font-style: normal;
font-variant: normal;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
text-align:center;
text-decoration:none;
margin-right: 5px;
display: inline-block;
content: "\f0da";
color: rgba(0,0,0,0.3);
}


.dropdown-item.active, .dropdown-item:hover {
color: #<?php echo $colortextbackhmenu; ?> !important;
text-decoration: none;
Expand Down

0 comments on commit e5f1379

Please sign in to comment.