@doreamonjs/gate
Version:
gate for doreamonjs
74 lines (60 loc) • 1.25 kB
text/less
@import '~antd/lib/style/themes/default.less';
@gate-layout-header: doreamonjs-design-gate-layout-header;
.@{gate-layout-header}.headerBar {
position: sticky;
top: 0px;
width: 100%;
background: #fff;
padding: 0;
// box-shadow: 0 1px 4px rgba(0,21,41,.08);
border-bottom: 1px solid #eee;
z-index: 1000;
.headerLeftItem {
float: left;
margin-left: 16px;
}
.headerRightItem {
float: right;
margin-right: 12px;
}
.avatar {
width: 30px;
height: 30px;
border-radius: 50%;
margin-right: 8px;
}
.forShort {
display: inline-block;
width: 24px;
height: 24px;
line-height: 24px;
text-align: center;
border-radius: 50%;
// background-color: fade(@primary-color, 10%);
// color: @primary-color;
background-color: rgba(35, 35, 35, 0.1);
color: #f0f0f0;
margin-right: 4px;
text-transform: uppercase;
}
.name {}
.dropMenu {
// width: 300px;
}
.barIcon {
display: inline-block;
padding: 0 12px;
cursor: pointer;
// &:hover {
// background-color: #e6f7ff;
// }
&.disableHover {
background-color: transparent
}
}
.env {
padding: 12px;
padding-right: 0;
width: 100px;
}
}