This commit is contained in:
Laurent Destailleur 2022-05-02 21:11:45 +02:00
parent 0e429ef058
commit 6656ccdb0f
4 changed files with 21 additions and 8 deletions

View File

@ -236,26 +236,28 @@ a.top-menu-dropdown-link {
clear: both;
}
.dropdown-menu > .bookmark-footer{
.dropdown-menu > .bookmark-footer {
border-top: 1px solid #f0f0f0;
background-color: #f9f9f9;
padding: 10px;
text-align: start;
}
.dropdown-menu > .user-body, .dropdown-body{
.dropdown-menu > .user-body, .dropdown-body {
padding: 15px;
border-bottom: 1px solid #f4f4f4;
border-top: 1px solid #dddddd;
white-space: normal;
}
.dropdown-menu > .bookmark-body, .dropdown-body{
.dropdown-menu > .bookmark-body, .dropdown-body {
overflow-y: auto;
max-height: 60vh ; /* fallback for browsers without support for calc() */
max-height: calc(90vh - 110px) ;
white-space: normal;
}
#topmenu-quickadd-dropdown .dropdown-menu > .bookmark-body, #topmenu-quickadd-dropdown .dropdown-body,
#topmenu-bookmark-dropdown .dropdown-menu > .bookmark-body, #topmenu-bookmark-dropdown .dropdown-body{
max-height: 60vh ; /* fallback for browsers without support for calc() */
max-height: calc(90vh - 200px) ;
@ -287,7 +289,7 @@ a.top-menu-dropdown-link {
#topmenuloginmoreinfo-btn, #topmenulogincompanyinfo-btn {
display: block;
text-align: right;
text-align: start;
color:#666;
cursor: pointer;
}
@ -298,6 +300,10 @@ a.top-menu-dropdown-link {
font-size: 0.95em;
}
a.dropdown-item {
text-align: start;
}
.button-top-menu-dropdown {
display: inline-block;
padding: 6px 12px;

View File

@ -1956,6 +1956,7 @@ div.blockvmenulogo
object-fit: contain;
width: inherit;
height: inherit;
image-rendering: -webkit-optimize-contrast;
}
#mainmenutd_companylogo::after, #mainmenutd_menu::after {
content: unset !important;

View File

@ -26,12 +26,12 @@ button.dropdown-item.global-search-item {
}
div#topmenu-quickadd-dropdown {
position: fixed;
right: 65px;
<?php echo $right; ?>: 65px;
top: 0px;
}
div#topmenu-bookmark-dropdown {
position: fixed;
right: 20px;
<?php echo $right; ?>: 20px;
top: 0px;
}
@ -221,7 +221,7 @@ a.top-menu-dropdown-link {
}
.dropdown-menu > .user-header{
background: rgb(<?php echo $colorbackhmenu1 ?>);
background: rgb(--colorbackhmenu1);
}
@ -244,6 +244,7 @@ a.top-menu-dropdown-link {
border-top: 1px solid #f0f0f0;
background-color: #f9f9f9;
padding: 10px;
text-align: start;
}
@ -293,7 +294,7 @@ a.top-menu-dropdown-link {
#topmenuloginmoreinfo-btn, #topmenulogincompanyinfo-btn {
display: block;
text-align: right;
text-align: start;
color:#666;
cursor: pointer;
}
@ -304,6 +305,10 @@ a.top-menu-dropdown-link {
font-size: 0.95em;
}
a.dropdown-item {
text-align: start;
}
.button-top-menu-dropdown {
display: inline-block;
padding: 6px 12px;

View File

@ -3085,6 +3085,7 @@ div.blockvmenulogo
object-fit: contain;
width: inherit;
height: inherit;
image-rendering: -webkit-optimize-contrast;
}
#mainmenutd_companylogo::after {
content: unset;