@choerodon/master
Version:
A package of Master for Choerodon platform.
290 lines (286 loc) • 6.26 kB
text/less
@c7n-boot-header: ~"c7n-boot-header";
.@{c7n-boot-header} {
&-wrap {
&-theme4 {
background-color: #fff ;
box-shadow: 0 2px 4px 0 rgba(15, 19, 88, 0.12);
z-index: 2;
.c7n-btn.c7n-btn.c7n-btn-flat.c7n-btn-flat:not(.c7n-btn-circle,.c7n-btn-dashed):enabled:focus, .c7n-btn.c7n-btn.c7n-btn-flat.c7n-btn-flat:not(.c7n-btn-circle,.c7n-btn-dashed):enabled:active {
background-color: rgba(104, 111, 255, 0.05);
border-radius: unset;
}
.theme4-headerButton:hover {
border-radius: unset ;
span {
color: var(--primary-color) ;
}
box-shadow: unset ;
&:after {
width: 100%;
height: 3px;
background: #6887E8 ;
content: '';
position: absolute;
left: 0;
top: 0;
}
}
}
}
&-logo {
&-theme4 {
color: black ;
}
&-wrap {
&-theme4 {
background-color: #fff ;
box-shadow: unset ;
height: 45px ;
line-height: 45px ;
width: auto ;
}
}
}
}
.theme4-headerButton {
height: 48px ;
margin-left: 20px;
i {
left: 0.04rem ;
}
span {
font-size: 14px ;
font-family: PingFangSC-Medium, PingFang SC ;
font-weight: 500 ;
color: rgba(15, 19, 88, 0.65) ;
}
}
.theme4-orgSelect {
border-radius: 0 ;
border-color: #d9e6f2 ;
color: rgba(15, 19, 88, 0.65) ;
height: 48px ;
.icon-domain {
position: absolute;
left: 7px;
font-size: 0.15rem ;
top: 16px;
}
.icon-expand_more {
color: rgba(15, 19, 88, 0.36) ;
top: 10px ;
right: 0 ;
left: unset ;
}
}
.theme4-setting {
margin-left: 8px;
padding: 0 ;
margin-top: 6px;
color: rgba(15, 19, 88, 0.65) ;
i {
font-size: 0.23rem ;
}
}
.theme4-setting-icon {
left: 0 ;
font-size: 20px ;
}
.theme4-skinPeeler {
margin-left: 20px;
position: relative;
bottom: 2px;
i {
font-size: 0.23rem ;
}
}
.theme4-external {
color: #5365EA ;
position: relative;
bottom: 2px;
i {
font-size: 0.23rem ;
}
}
.theme4-inbox {
bottom: 2px;
i {
font-size: 0.23rem ;
}
}
.theme4-inbox-badge {
.c7n-badge-count {
background-color: #F76776 ;
color: white ;
border-color: #F76776 ;
}
button {
padding: 0px;
width: 30px;
i {
left: -9px ;
font-size: 0.29rem ;
}
}
}
.theme4-common-menu {
//width: calc(250px - 54px) !important;
border-right: none ;
.common-menu-right-header {
i {
color: white;
}
}
}
.theme4-menu-ul {
border-right: 1px solid #d9e6f2 ;
height: 100%;
.c7n-menu-item-group-list {
position: relative;
padding-top: 10px;
}
//.c7n-menu-item-group-list::after {
// position: absolute;
// content: "";
// display: block;
// top: 8px;
// right: -1px;
// width: 15px;
// height: 40px;
// border-radius: 0 2px 2px 0;
// background: -webkit-radial-gradient(right 21px, white 50%, transparent 50%);
// background: radial-gradient(21px at right, white 50%, transparent 50%);
//}
.theme4-iconwrap {
display: inline-block;
border-radius: 4px;
width: 26px;
height: 26px;
position: relative;
top: 6px;
margin-right: 16px;
i {
position: absolute;
left: 4px;
top: -6px;
font-size: 20px ;
color: #0f1358 ;
}
&-text {
color: #0F1358;
}
}
.c7n-menu-submenu-title {
color: black ;
.c7n-menu-submenu-arrow {
}
}
.c7n-menu-inline {
//background: #0F1358 !important;
}
.c7ncd-iconwrap {
background: #5365EA;
border-radius: 4px;
}
.c7n-menu-item-group-title {
color: white ;
padding: 0 ;
}
.c7n-menu-submenu-title {
height: 44px ;
}
.c7n-menu-item {
height: 44px ;
}
li[aria-selected=true] {
background: var(--primary-color-background) ;
height: 44px ;
.theme4-iconwrap {
i {
color: var(--primary-color) ;
}
}
.theme4-iconwrap-text {
color: var(--primary-color);
}
}
li[aria-selected=true]:before {
display: none;
}
}
.theme4-toggleMenu {
position: absolute;
right: 0;
}
.c7ncd-theme4-menuSide {
width: 50px;
overflow: auto;
//background: #415BC9;
p {
margin: 8px 0 0 0 ;
}
&-item {
color: white;
padding: 15px 0;
display: flex;
flex-direction: column;
align-items: center;
cursor: pointer;
position: relative;
font-weight: 400;
&-hover:hover {
background: rgba(140, 158, 255, 0.35);
}
}
}
.theme4-iconToggle {
position: absolute;
right: -7.5px;
top: 10px;
z-index: 10;
i {
background: #5365EA;
border-radius: 50%;
width: 14px ;
height: 14px ;
display: flex ;
align-items: center;
justify-content: center;
}
}
.c7ncd-origin-menuSide {
i {
color: #5365EA ;
}
p {
color: #5365EA ;
}
}
.c7n-boot-header-logo-theme4 {
font-size: 20px ;
font-family: STHeitiSC-Medium, STHeitiSC, 'Monospaced Number', 'Chinese Quote', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 500 ;
color: #0F1358 ;
}
.c7ncd-origin-menuSide-item {
border-bottom: 1px solid #d9e6f2;
padding: 10px 0 ;
}
.c7ncd-origin-selected-line {
height: 100%;
width: 3px;
background: #5266d4;
position: absolute;
top: 0;
left: 0;
}
.c7ncd-theme4-bread-menu {
font-size: 18px;
font-weight: 400;
color: #0F1358;
}
.c7ncd-theme4-bread-name {
font-size: 16px;
font-weight: 300;
color: rgba(15, 19, 88, 0.65);
}