PlayEdu-h5/src/pages/study/index.module.scss
2023-07-03 11:33:50 +08:00

102 lines
2.2 KiB
SCSS

.title {
width: 100%;
box-sizing: border-box;
padding: 20px;
text-align: left;
font-size: 16px;
font-weight: 500;
color: rgba(0, 0, 0, 0.88);
line-height: 24px;
}
.list-box {
width: 100%;
float: left;
height: auto;
box-sizing: border-box;
padding: 0px 20px 80px 20px;
text-align: left;
overflow-x: hidden;
overflow-y: auto;
.label {
width: 100%;
height: 40px;
font-size: 14px;
font-weight: 400;
color: rgba(0, 0, 0, 0.45);
line-height: 40px;
}
.item {
width: 100%;
height: 75px;
display: flex;
align-items: center;
margin-bottom: 30px;
.item-info {
flex: 1;
height: 75px;
display: flex;
flex-direction: column;
justify-content: space-between;
.item-title {
width: 100%;
height: 42px;
font-size: 15px;
font-weight: 400;
color: rgba(0, 0, 0, 0.88);
line-height: 21px;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.item-record {
width: 100%;
display: flex;
align-items: center;
.type {
width: 46px;
height: 24px;
background: rgba(255, 77, 79, 0.1);
border-radius: 4px;
font-size: 12px;
font-weight: 400;
color: #ff4d4f;
display: flex;
align-items: center;
justify-content: center;
margin-right: 20px;
}
.active-type {
width: 46px;
height: 24px;
background: rgba(#ff9900, 0.1);
border-radius: 4px;
font-size: 12px;
font-weight: 400;
color: #ff9900;
display: flex;
align-items: center;
justify-content: center;
margin-right: 20px;
}
.tip {
flex: 1;
height: 12px;
font-size: 12px;
font-weight: 400;
color: #ff4d4f;
line-height: 12px;
margin-left: 5px;
}
}
}
}
}
@media only screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
.list-box {
padding-bottom: 104px !important;
}
}