修改顶部下拉菜单
This commit is contained in:
@@ -1029,4 +1029,61 @@ div.dropdown-menu.bootstrap-datetimepicker-widget {
|
||||
.o_searchview .o_searchview_icon {
|
||||
z-index: 9999 !important;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
|
||||
// 自定义的下拉
|
||||
.o_menu_sections_fix{
|
||||
display: flex!important;
|
||||
align-items: center;
|
||||
}
|
||||
.custom_dropdown {
|
||||
position: relative;
|
||||
.title {
|
||||
color: #1f2631;
|
||||
padding: 0 12px;
|
||||
line-height: var(--o-navbar-height);
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
}
|
||||
.custom_dropdown_fixed {
|
||||
position: absolute;
|
||||
top: var(--o-navbar-height);
|
||||
z-index: 1000;
|
||||
padding: 0.5rem 0;
|
||||
margin: 0;
|
||||
font-size: 1.08333333rem;
|
||||
color: #495057;
|
||||
text-align: left;
|
||||
background-color: #FFFFFF;
|
||||
box-shadow: 0 1rem 1.1rem rgba(0, 0, 0, 0.1);
|
||||
border-radius: 0.25rem;
|
||||
display: none;
|
||||
a {
|
||||
display: block;
|
||||
padding: 3px 20px;
|
||||
clear: both;
|
||||
font-weight: 400;
|
||||
color: #495057;
|
||||
text-align: inherit;
|
||||
white-space: nowrap;
|
||||
background-color: transparent;
|
||||
border: 0;
|
||||
&:hover {
|
||||
color: #00005A !important;
|
||||
background-color: #ebf0fd;
|
||||
transition: all 0.3s linear;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:hover {
|
||||
.title {
|
||||
background-color: rgba(0, 0, 0, 0.08);
|
||||
transition: all .3s;
|
||||
}
|
||||
.custom_dropdown_fixed{
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user