vue-ant-patterns
Version:
vue-ant-patterns
61 lines (55 loc) • 1.19 kB
text/less
@import '../../style/themes/index.less';
@import '../../style/mixins/flex.less';
@depot-prefix-cls: ~'@{depot-prefix}-header-tools';
.@{depot-prefix-cls} {
.flex;
.flex-center;
margin-right: -6px;
& .ant-badge-count {
background: @text-color-org;
color: @heading-color-dark;
box-shadow: none;
}
& .avatar-button {
& .avatar {
width: 32px;
height: 32px;
border: none;
padding: 0;
}
}
& .icon-button {
color: @heading-color-dark;
display: inline-block;
&:hover {
color: @heading-color-dark;
}
}
& .icon-button-avatar {
padding: 0;
width: 40px;
height: 40px;
display: flex;
margin-right: -6px;
margin-left: 4px;
}
}
.headr-avatar-dropmenu {
// min-width: 150px;
// width: 150px;
min-width: 150px;
width: 150px;
.ant-dropdown-menu-dark,
.ant-dropdown-menu-dark .ant-dropdown-menu,
.ant-dropdown-menu,
.ant-dropdown-menu .ant-dropdown-menu {
min-width: 150px ;
width: 150px ;
}
.ant-dropdown-menu-item-divider,
.ant-dropdown-menu-submenu-title-divider {
margin-left: 1px;
margin-right: 1px;
background: #999;
}
}