element-plus/website/demo-styles/container.scss

46 lines
802 B
SCSS
Raw Normal View History

2021-02-04 16:29:23 +08:00
.#{$namespace}-header,
.#{$namespace}-footer {
background-color: #b3c0d1;
color: #333;
line-height: 60px;
}
2021-02-04 16:29:23 +08:00
.#{$namespace}-aside {
color: #333;
}
2021-01-06 14:12:22 +08:00
.demo-container .common-layout {
2021-02-04 16:29:23 +08:00
.#{$namespace}-header,
.#{$namespace}-footer {
text-align: center;
}
2021-02-04 16:29:23 +08:00
.#{$namespace}-aside {
background-color: #d3dce6;
text-align: center;
line-height: 200px;
}
2021-02-04 16:29:23 +08:00
.#{$namespace}-main {
background-color: #e9eef3;
color: #333;
text-align: center;
line-height: 160px;
}
2021-02-04 16:29:23 +08:00
.#{$namespace}-container {
margin-bottom: 40px;
&:last-child {
margin-bottom: 0;
}
2021-02-04 16:29:23 +08:00
&:nth-child(5) .#{$namespace}-aside,
&:nth-child(6) .#{$namespace}-aside {
line-height: 260px;
}
2021-02-04 16:29:23 +08:00
&:nth-child(7) .#{$namespace}-aside {
line-height: 320px;
}
}
}