删掉一些没用的样式

This commit is contained in:
2betop 2020-09-01 20:08:18 +08:00
parent e6bed8f554
commit 1d55020bac

View File

@ -365,62 +365,12 @@ body {
}
}
// &--asideFixed.#{$ns}Layout--folded {
// .#{$ns}Layout-aside {
// position: static;
// }
// .#{$ns}Layout-brandBar {
// position: static;
// }
// .#{$ns}Layout-asideWrap {
// overflow: visible;
// position: relative;
// height: 100%;
// top: 0;
// z-index: 15;
// width: $Layout-aside--folded-width - px2rem(1px);
// }
// .#{$ns}Layout-asideInner {
// overflow: visible;
// width: $Layout-aside--folded-width + $scrollbar-width;
// > * {
// width: $Layout-aside--folded-width;
// }
// }
// }
&--sm:not(.#{$ns}Layout--folded) {
.#{$ns}Layout-brand,
.#{$ns}Layout-brandBar,
.#{$ns}Layout-aside {
width: $Layout-aside--sm-width;
}
&.#{$ns}Layout--withAside {
.#{$ns}Layout-headerBar,
.#{$ns}Layout-content,
.#{$ns}Layout-footer {
margin-left: $Layout-aside--sm-width;
}
}
&.#{$ns}Layout--asideFixed {
.#{$ns}Layout-asideWrap {
width: $Layout-aside--sm-width - px2rem(1px);
}
.#{$ns}Layout-asideInner {
width: $Layout-aside--sm-width + $scrollbar-width;
& > * {
width: $Layout-aside--sm-width;
}
}
}
}
&--md:not(.#{$ns}Layout--folded) {
@ -429,28 +379,6 @@ body {
.#{$ns}Layout-aside {
width: $Layout-aside--md-width;
}
&.#{$ns}Layout--withAside {
.#{$ns}Layout-headerBar,
.#{$ns}Layout-content,
.#{$ns}Layout-footer {
margin-left: $Layout-aside--md-width;
}
}
&.#{$ns}Layout--asideFixed {
.#{$ns}Layout-asideWrap {
width: $Layout-aside--md-width - px2rem(1px);
}
.#{$ns}Layout-asideInner {
width: $Layout-aside--md-width + $scrollbar-width;
& > * {
width: $Layout-aside--md-width;
}
}
}
}
&--lg:not(.#{$ns}Layout--folded) {
@ -459,28 +387,6 @@ body {
.#{$ns}Layout-aside {
width: $Layout-aside--lg-width;
}
&.#{$ns}Layout--withAside {
.#{$ns}Layout-headerBar,
.#{$ns}Layout-content,
.#{$ns}Layout-footer {
margin-left: $Layout-aside--lg-width;
}
}
&.#{$ns}Layout--asideFixed {
.#{$ns}Layout-asideWrap {
width: $Layout-aside--lg-width - px2rem(1px);
}
.#{$ns}Layout-asideInner {
width: $Layout-aside--lg-width + $scrollbar-width;
& > * {
width: $Layout-aside--lg-width;
}
}
}
}
}
}