You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

140 lines
2.3 KiB

/* pages/class_manage/class_manage.wxss */
/* page覆盖全页面 */
page{
width: 100%;
height: 100%;
}
.bg {
width: 100%;
height: 100vh;
position: fixed;
top: 0;
left: 0;
z-index: -1;
}
.bg image {
width: 100%;
height: 100%;
object-fit: cover;
}
.container {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
padding: 0 0;
position: relative;
}
.class_list {
position: absolute;
top: 20rpx;
left: 10rpx;
font-size: 65rpx;
font-weight: bold;
}
.add {
position: absolute;
right: 10rpx;
top: 30rpx;
display: inline-block;
padding: 10rpx 50rpx; /* 调整内边距以改变按钮大小 */
font-size: 40rpx;
color: rgba(0, 0, 0, 1);
background-color: #ffae00; /* 按钮背景色 */
border: none;
border-radius: 100rpx; /* 初始设置为圆角矩形 */
text-align: center;
text-decoration: none;
overflow: hidden; /* 隐藏超出按钮范围的内容 */
}
.add:before {
left: -10rpx; /* 圆形部分在按钮左侧的位置 */
}
.add:after {
right: -10px; /* 圆形部分在按钮右侧的位置 */
}
.add:hover {
background-color: #b30000; /* 鼠标悬停时按钮的背景色 */
}
.add:hover:before,
.add:hover:after {
background-color: #b30000; /* 鼠标悬停时圆形部分的背景色 */
}
.modal-input {
margin: 50rpx;
}
.first_modal {
border: 1rpx solid #ccc;
padding: 0rpx;
border-radius: 5rpx;
width: 100%;
box-sizing: border-box;
height: 100rpx;
font-size: 40rpx;
}
.list {
width: 100%;
position: absolute;
top: 120rpx;
display: flex;
flex-direction: column;
}
.class_item {
width: 100%;
padding: 20rpx;
background-color: #ffffff34;
margin-bottom: 5rpx;
border-radius: 5rpx;
display: flex;
flex-direction: row;
}
.class_item text {
font-size: 50rpx;
font-weight: bold;
}
.class_item image {
width: 40rpx;
height: 40rpx;
object-fit: cover;
position: absolute;
right: 20rpx;
margin: 13rpx;
}
.hide {
width: 100%;
height: 500rpx;
position: absolute;
bottom: 40rpx;
display: flex;
flex-direction: column;
justify-content: center;
}
.hide_item {
width: 600rpx;
margin: 10rpx 0;
padding: 10rpx;
font-size: 55rpx;
/* transition: font-style 0.3s; */
background-color: transparent;
color: rgb(255, 255, 255);
}
.hide_item:hover {
font-style: italic;
}