Files
youlegames/codes/minipro/calculation/miniprogram/pages/history/history.wxss

85 lines
1.3 KiB
Plaintext

page {
background-color: #EBF4F8; /* Color 03 */
}
.container {
padding: 30rpx;
padding-bottom: 120rpx;
}
.history-list {
width: 100%;
display: flex;
flex-direction: column;
gap: 20rpx;
}
.history-item {
background-color: #fff;
padding: 30rpx;
border-radius: 20rpx;
box-shadow: 0 4rpx 12rpx rgba(17, 97, 107, 0.08);
}
.expression {
font-size: 28rpx;
color: #7BBDB6; /* Color 02 */
margin-bottom: 10rpx;
text-align: right;
}
.result {
font-size: 40rpx;
color: #11616B; /* Color 01 */
font-weight: bold;
text-align: right;
}
.footer-btn {
position: fixed;
bottom: 40rpx;
left: 0;
width: 100%;
padding: 0 40rpx;
box-sizing: border-box;
}
.clear-btn {
background-color: #DC8B70; /* Color 05 - Accent */
color: #fff;
border-radius: 40rpx;
font-size: 30rpx;
box-shadow: 0 8rpx 20rpx rgba(220, 139, 112, 0.4);
}
.btn-hover {
opacity: 0.9;
transform: scale(0.98);
}
.empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
margin-top: 200rpx;
}
.empty-icon {
font-size: 100rpx;
margin-bottom: 30rpx;
color: #7BBDB6; /* Color 02 */
}
.empty-text {
font-size: 34rpx;
color: #11616B; /* Color 01 */
margin-bottom: 10rpx;
font-weight: bold;
}
.empty-sub {
font-size: 26rpx;
color: #7BBDB6; /* Color 02 */
}