cxd 样式调整
This commit is contained in:
parent
686d4dcd39
commit
af233f3303
|
@ -177,6 +177,7 @@ $Layout-header-bg: $white !default;
|
|||
$Layout-header-boxShadow: 0 px2rem(2px) px2rem(2px) rgba(0, 0, 0, 0.05),
|
||||
0 1px 0 rgba(0, 0, 0, 0.05) !default;
|
||||
$Layout-nav-height: px2rem(40px) !default;
|
||||
$Layout-nav-lgHeight: px2rem(50px) !default;
|
||||
$Layout-nav--folded-height: px2rem(50px) !default;
|
||||
$Layout--offscreen-width: 75% !default;
|
||||
|
||||
|
|
|
@ -142,6 +142,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
&.is-lg {
|
||||
> a {
|
||||
padding: (
|
||||
$Layout-nav-lgHeight - $lineHeightBase *
|
||||
$Layout-asideLink-fontSize
|
||||
)/2 px2rem(15px);
|
||||
}
|
||||
}
|
||||
|
||||
.#{$ns}AsideNav-item {
|
||||
a {
|
||||
padding-left: $Layout-nav-height + px2rem(5px);
|
||||
|
@ -263,6 +272,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
.#{$ns}AsideNav-list > .#{$ns}AsideNav-item.is-lg > a {
|
||||
height: $Layout-nav-lgHeight;
|
||||
|
||||
.#{$ns}AsideNav-itemIcon {
|
||||
line-height: $Layout-nav-lgHeight;
|
||||
}
|
||||
}
|
||||
|
||||
.#{$ns}AsideNav-item .#{$ns}AsideNav-item a {
|
||||
padding-left: px2rem(20px) !important;
|
||||
}
|
||||
|
|
|
@ -45,6 +45,7 @@ $Layout-asideLink-onHover-arrowColor: #fff;
|
|||
$Layout-headerBar-borderBottom: px2rem(1px) solid $body-bg;
|
||||
$Layout-asideDivider-margin: 0 px2rem(10px);
|
||||
$Layout-asideDivider-bg: #3c3c4d;
|
||||
$Layout-nav--folded-height: px2rem(40px);
|
||||
|
||||
$Page-aside-bg: #ffffff;
|
||||
$Page-aside-width: px2rem(160px);
|
||||
|
|
Loading…
Reference in New Issue