jh-front-end-example-2/src/scss/Back/back.scss

61 lines
1.1 KiB
SCSS
Raw Normal View History

2022-01-10 21:25:36 +08:00
@import "../variables.scss";
// 自定义类
// 水平两列结构(左列溢出可垂直滚动,右列溢出隐藏)
.back-column-two {
display: flex;
height: 100%;
.column-left {
width: calc(100% * 0.186);
min-width: 300px;
padding: 20px;
box-sizing: border-box;
overflow: hidden;
overflow-y: auto;
}
.column-right {
flex: 1;
padding: 20px;
border-left: 2px solid $theme-background-light;
box-sizing: border-box;
}
}
// 水平一列结构
.back-column-one {
padding: 20px;
}
// 标题区域变量
$title-height: 36; // 标题区域高度(不包含外边距)
$title-margin-bottom: 20; // 标题下外边距
// 标题区域样式
.back-title {
height: #{$title-height + px}; // 减掉外边距
margin-bottom: #{$title-margin-bottom + px};
font-size: 16px;
font-weight: 700;
line-height: 16px;
color: #25262b;
box-sizing: border-box;
overflow: hidden;
}
.pagination {
margin-top: 20px;
overflow: hidden;
.el-pagination {
float: right;
}
}
// 清除默认样式
ul {
list-style: none;
margin: 0;
padding: 0;
}