162 lines
2.7 KiB
Plaintext
162 lines
2.7 KiB
Plaintext
.content {
|
|
background-color: #fff;
|
|
}
|
|
|
|
.results {
|
|
width: 90%;
|
|
height: 300rpx;
|
|
background-color: #fff;
|
|
position: absolute;
|
|
top: 100rpx;
|
|
left: 5%;
|
|
border-radius: 20rpx;
|
|
box-shadow: 6rpx 6rpx 40rpx 0 rgba(27, 87, 178, 0.3), -6rpx 0 40rpx 0 rgba(27, 87, 178, 0.3);
|
|
}
|
|
|
|
.results .image {
|
|
background-color: #fff;
|
|
border-radius: 50%;
|
|
box-shadow: 6rpx 0 40rpx 0 rgba(27, 87, 178, 0.3);
|
|
width: 180rpx;
|
|
height: 180rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
position: absolute;
|
|
top: -90rpx;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.results .title {
|
|
text-align: center;
|
|
width: 100%;
|
|
font-weight: bold;
|
|
font-size: 36rpx;
|
|
position: absolute;
|
|
top: 40%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.results .title.success {
|
|
color: #5ea908;
|
|
}
|
|
|
|
.results .title.error {
|
|
color: #ff3c02;
|
|
}
|
|
|
|
.results .score {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-around;
|
|
text-align: center;
|
|
position: absolute;
|
|
bottom: 30rpx;
|
|
font-size: 24rpx;
|
|
}
|
|
|
|
.results .score .value {
|
|
font-weight: bold;
|
|
font-size: 36rpx;
|
|
}
|
|
|
|
.results .score .value.total-score {
|
|
color: #247bff;
|
|
}
|
|
|
|
.results .score .value.this-score {
|
|
color: #60a808;
|
|
}
|
|
|
|
.results .score .value.earn-points {
|
|
color: #f65a4b;
|
|
}
|
|
|
|
.results .score .label {
|
|
color: #b6b6b6;
|
|
}
|
|
|
|
.tip {
|
|
width: 90%;
|
|
background-color: #ecf2fd;
|
|
margin: 150rpx 5% 40rpx;
|
|
font-size: 24rpx;
|
|
padding: 10rpx 0;
|
|
text-align: center;
|
|
border-radius: 10rpx;
|
|
color: #db8b84;
|
|
}
|
|
|
|
.placeholder {
|
|
margin-top: 160rpx;
|
|
height: 0;
|
|
}
|
|
|
|
.exercises>.title {
|
|
font-weight: bold;
|
|
position: relative;
|
|
padding-left: 20rpx;
|
|
margin-left: 5%;
|
|
}
|
|
|
|
.exercises>.title::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 10rpx;
|
|
left: 0;
|
|
width: 8rpx;
|
|
height: 30rpx;
|
|
background-color: #257cff;
|
|
border-radius: 10rpx;
|
|
}
|
|
|
|
.exercises .container .item {
|
|
padding: 20rpx 5%;
|
|
border-bottom: 10rpx solid #f0f0f0;
|
|
}
|
|
|
|
.exercises .container .index {
|
|
padding-left: 10rpx;
|
|
}
|
|
|
|
.exercises .container .stem {
|
|
padding-left: 10rpx;
|
|
line-height: 55rpx;
|
|
}
|
|
|
|
.exercises .container .options .option {
|
|
margin-top: 50rpx;
|
|
}
|
|
|
|
.exercises .container .options .option .choice {
|
|
display: inline-block;
|
|
border-radius: 50%;
|
|
border: 1px solid #f1f1f1;
|
|
width: 50rpx;
|
|
height: 50rpx;
|
|
line-height: 50rpx;
|
|
text-align: center;
|
|
box-shadow: #f1f1f1;
|
|
}
|
|
|
|
.exercises .container .options .option .choice.error {
|
|
background-color: #f65a4b;
|
|
color: #fff;
|
|
}
|
|
|
|
.exercises .container .options .option .choice.success {
|
|
background-color: #3676f2;
|
|
color: #fff;
|
|
}
|
|
|
|
.exercises .container .options .option .title {
|
|
margin-left: 20rpx;
|
|
}
|
|
|
|
.exercises .container .answer {
|
|
background-color: #ecf2fe;
|
|
padding: 20rpx;
|
|
margin-top: 50rpx;
|
|
border-radius: 10rpx;
|
|
} |