electron-ban-pai/src/assets/css/electron.css

603 lines
18 KiB
CSS
Raw Normal View History

2021-12-23 10:00:27 +08:00
* {
padding: 0;
margin: 0;
}
body {
background-color: #9c7cfa;
}
div {
box-sizing: border-box;
}
img {
width: 100%;
vertical-align: bottom;
}
.clips1{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;overflow: hidden;text-overflow: ellipsis;word-wrap: break-word;word-break:break-all;}
.clips2{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;text-overflow: ellipsis;word-wrap: break-word;word-break:break-all;}
.clips3{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 3;overflow: hidden;text-overflow: ellipsis;word-wrap: break-word;word-break:break-all;}
2021-12-23 19:27:42 +08:00
.clips4{display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 4;overflow: hidden;text-overflow: ellipsis;word-wrap: break-word;word-break:break-all;}
2021-12-25 13:09:46 +08:00
.flex-s0{flex-shrink: 0;}
2021-12-23 10:00:27 +08:00
/* 头部导航 */
.header-box {
position: sticky;
top: 0;
z-index: 10;
display: flex;
justify-content: space-between;
align-items: center;
background-color: #FFFFFF;
box-shadow: 0px 3px 7px 0px rgba(134, 105, 220, 0.35);
width: 100%;
height: 98px;
padding: 0 60px;
}
.header-box .logo-box {
display: flex;
justify-content: center;
align-items: center;
2021-12-26 15:21:26 +08:00
background: url(../../../static/img/home/logo-bottom.png) no-repeat;
2021-12-23 10:00:27 +08:00
background-size: 100% 100%;
width: 177px;
height: 162px;
2021-12-26 15:21:26 +08:00
margin-left: 16%;
2021-12-23 10:00:27 +08:00
margin-top: 20px;
}
.header-box .logo {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.logo img {
width: 76px;
height: 76px;
}
.logo div {
color: #b7cc56;
font-size: 12.5px;
margin-top: 6px;
}
.header-box .title-box {
display: flex;
align-items: center;
color: #9c7cfa;
font-weight: bold;
font-size: 20px;
}
.title-item {
padding: 30px 20px 12px 20px;
cursor: pointer;
}
.activeTitle {
color: #FFFFFF;
2021-12-26 15:21:26 +08:00
background: url(../../../static/img/home/title-bottom-01.png) no-repeat;
2021-12-23 10:00:27 +08:00
background-size: 100% 100%;
}
.activeTitle2 {
color: #FFFFFF;
2021-12-26 15:21:26 +08:00
background: url(../../../static/img/home/title-bottom-02.png) no-repeat;
2021-12-23 10:00:27 +08:00
background-size: 100% 100%;
}
/* 天气 */
.weather-box {
display: flex;
align-items: center;
font-size: 16px;
}
.weather-box img {
width: 60px;
height: 51px;
}
.weather-three {
display: flex;
align-items: center;
justify-content: space-around;
width: 234px;
height: 28px;
background-color: #FF9393;
border-radius: 10px;
color: #fff;
margin-top: 2px;
}
/* 内容主体 start */
.main {
margin: 60px 0 90px 0;
padding: 0 60px;
display: flex;
justify-content: space-between;
}
.main-left {
display: flex;
flex-direction: column;
flex-shrink: 0;
}
.left-one {
position: relative;
margin-bottom: 20px;
2021-12-26 15:21:26 +08:00
background: url(../../../static/img/home/left-kuang.png) no-repeat;
2021-12-23 10:00:27 +08:00
background-size: 100% 100%;
width: 390px;
height: 296px;
}
.left-content {
display: flex;
flex-direction: column;
padding: 0 20px;
color: #7557cc;
}
.left-title {
color: #FFE68F;
font-weight: bold;
text-align: center;
font-size: 36px;
margin: 0;
position: relative;
height: 70px;
display: flex;
align-items: center;
}
.pultitle {
position: absolute;
left: 50%;
transform: translateX(-50%);
}
.three-content {font-size: 18px;line-height: 30px;color: #7557CC;}
.left-last {
display: flex;
justify-content: space-around;
}
.left-last > div {
display: flex;
flex-direction: column;
align-items: center;
}
.left-last > div div:nth-child(1) {
font-weight: bold;font-size: 30px;
}
.left-last > div div:nth-child(2) {
color: #9C7CFA;font-size: 18px;
}
.left-notice {font-size: 18px;line-height: 30px;height: 60px;}
.notice-time {display: flex;justify-content: space-between;margin: 10px 0;font-size: 18px;color: #6E6E6E;margin-top: 30px;}
.notice-time div:nth-child(2) {
display: flex;align-items: center;
}
.notice-time img {
width: 20px;height: 15px;margin-right: 2px;
}
.line {border-bottom: 2px dashed #9C7CFA;margin: 10px 0;}
.eat-three {display: flex;justify-content: space-around;align-items: center; margin-top: 20px;font-size: 24px;}
.threeMealActive{
font-size: 30px!important;font-weight: bold!important;
}
.meal-box {padding-top: 10px;display: flex;align-items: center;}
2021-12-24 09:56:55 +08:00
.meal-box img {width: 130px;max-height: 106px; border-radius: 10px;object-fit: cover;margin-right: 34px;}
2021-12-23 10:00:27 +08:00
.meal-box div {font-size: 18px;line-height: 30px;}
.main-center {
margin: 0 20px;
width: 60%;
}
.center-title {color: #7557CC;font-size: 36px;text-align: center;line-height: 40px;padding-top: 40px;}
.center-img-box {
2021-12-26 15:21:26 +08:00
background: url(../../../static/img/home/class-dongt.png) no-repeat;
2021-12-23 10:00:27 +08:00
background-size: 100% 100%;
width: 967px;
height: 900px;
}
.img-box {margin: 76px 83px 192px 74px;}
.remind-box {display: flex;justify-content: center;margin-top: 10px;}
.remind-box > div {background-color: rgba(0,0,0,.3);color: #FFFFFF;border-radius: 50px;position: relative;width: 174px;height: 64px;display: flex;justify-content: center;align-items: center;}
.remind-box > div:nth-child(2) {margin: 0 88px;}
.remind-box img {width: 47px;height: 41px;}
.msg-box div:nth-child(1) {font-weight: bold;font-size: 30px;}
.msg-box div:nth-child(2) {position: absolute;right: -5px;top: -6px;width:33px;height: 33px;background-color:#FF9393;border-radius: 50%;text-align: center;line-height: 33px;}
.main-right {
position: relative;
display: inline-block;
width: 390px;
height: 900px;
flex-shrink: 0;
2021-12-26 15:21:26 +08:00
background: url(../../../static/img/home/right-back.png) no-repeat;
2021-12-23 10:00:27 +08:00
background-size: 100% 100%;
}
2021-12-24 09:56:55 +08:00
.right-content {color: #7557CC;text-align: center;height: 90%; overflow: hidden;overflow-y: scroll;}
2021-12-23 10:00:27 +08:00
.right-content::-webkit-scrollbar {
display: none;
}
.right-title {font-size: 30px;margin-bottom: 10px;margin-top: 10px;}
.right-item-box {display: flex;align-items: center;justify-content: space-between; color: #9C7CFA;font-size: 18px;padding: 10px 20px;margin: 0 6px;}
.right-item-box div:nth-child(1){
flex-shrink: 0;
margin-right: 50px;
}
.right-item-box div:nth-child(2){
text-align: left;
}
.oddActive {background-color: #F7F7F7;}
.popu-box {position: fixed;top: 50%;left: 50%;transform: translate(-50%,-50%);background-color: #FFFFFF;padding: 0px 34px;border-radius: 10px;width: 620px;height: 370px;font-size: 20px;color: #3F3F3F;box-shadow: 0px 15px 29px 3px rgba(93, 79, 133, 0.35);border-radius: 10px;}
.item-row {
display: flex;align-items: center;
padding: 33px 0 30px 0;
border-bottom: 1px solid #ACB0BE;
}
.item-row:last-child {
border-bottom: none;
}
.mode-box {display: flex;align-items: center;justify-content: space-between;width: 100%;}
.mode-box >div {display: flex;align-items: center;justify-content: space-between;}
.radio-box {background-color: #dbdce3;width: 18px;height: 18px;border-radius: 100%;display: flex;justify-content: center;align-items: center;margin-right: 12px;}
.radio-box span {display: block;background-color: #000;width: 6.5px;height: 6.5px;border-radius: 100%;}
.item-row .refresh-btn,.item-row .back-btn {width: 124px;height: 32px;line-height: 32px;font-size: 24px; background: #A68AFA;border-radius: 10px;color: #FFFFFF;text-align: center;margin-left: 20px;}
.item-row .back-btn {margin-left: 60px;}
/* 内容主体 end */
.footer {
margin-top: 50px;
position: relative;
}
.footer img {
position: absolute;bottom: 0;left: 0;z-index: -1;
}
/* 宝宝活动页面 */
.class-left-one {
position: relative;
margin-bottom: 20px;
2021-12-26 15:21:26 +08:00
background: url(../../../static/img/attendancedetail/babyactive-left.png) no-repeat;
2021-12-23 10:00:27 +08:00
background-size: 100% 100%;
width: 464px;
height: 826px;
}
.class-left-title {
color: #FFE68F;
font-weight: bold;
text-align: center;
font-size: 36px;
margin: 0;
height: 60px;
display: flex;
align-items: center;
flex-shrink: 0;
}
.class-left-title img {
width: 20px;
height: 20px;
margin-left: 15px;
}
.class-left-title img:first-child {
margin-left: 70px;
}
.second-title {
text-align: center;font-size: 30px;font-weight: bold;margin-top: 10px;color: #7557CC;
}
.baby-left-content {
display: flex;
flex-direction: column;
padding: 0 4px;
color: #7557cc;
}
.baby-content-box {
height: 760px;
overflow: hidden;
overflow-y: scroll;
background-color: #f7f7f7;
border-radius: 0px 0px 15px 15px;
padding: 7px;
}
.baby-content-box::-webkit-scrollbar {
display: none;
}
.class-situation {
font-size: 30px;color: #9C7CFA;font-weight: bold;
}
.class-item-box {
background: #FFFFFF;border-radius: 5px;padding: 7.5px;margin-bottom: 7px;
}
.teather-title {
font-size: 24px;color: #3F3F3F;font-weight: bold;
}
.teather-box {
display: flex;
padding-bottom: 40px;
2021-12-25 13:09:46 +08:00
width: 100%;
display: -webkit-box;
overflow-x: scroll;
-webkit-overflow-scrolling:touch;
}
.teather-box::-webkit-scrollbar{
display: none;
2021-12-23 10:00:27 +08:00
}
.teather-box div {
display: flex;
align-items: center;
flex-direction: column;
font-size: 18px;
color: #666666;
margin-top: 30px;
2021-12-25 13:09:46 +08:00
flex-shrink: 0;
margin-left: 30px;
2021-12-23 10:00:27 +08:00
}
.teather-box span {
margin-top: 10px;
}
.class-item-box img {
width: 90px;
height: 90px;
border-radius: 100%;
object-fit: cover;
border: 5px solid #F1ECFF;
}
.class-active {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 50px;
}
.class-active label:nth-child(1){font-size: 18px;color: #666666;}
.class-active label:nth-child(2){font-size: 24px; color: #9C7CFA;margin-top: 6px;}
.class-main-right {
position: relative;
display: inline-block;
width: 100%;
2021-12-26 15:21:26 +08:00
background: url(../../../static/img/attendancedetail/babyactive-right.png) no-repeat;
2021-12-23 10:00:27 +08:00
background-size: 100% 100%;
margin-left: 30px;
height: 826px;
}
.time-title-box {background-color: #9C7CFA;font-size: 18px;font-weight: bold;color: #FFFFFF; height: 34px;border-radius: 10px;line-height: 34px;display: flex;justify-content: space-around;}
.time-title-box div{width: 16%;text-align: center;}
2021-12-25 13:09:46 +08:00
.tiam-data-box {display: flex;position: relative;align-items: center;margin-top: 10px;min-height: 120px;}
2021-12-23 10:00:27 +08:00
.time-left {position: absolute;left: 0;top: 0;bottom: 0; width: 40px;background-color: #C3AEFF;padding: 10px 7px;font-size: 24px;color: #FFFFFF;line-height: 40px;border-radius: 10px;display: flex;justify-content: center;align-items: center;margin-right: 10px;}
.time-right-box {display: flex;justify-content: space-around;text-align: center;height: 37px;background: #FFFFFF;border-radius: 10px;line-height: 37px;margin-bottom: 5px;}
.time-right-box:last-child {margin-bottom: 0px;}
.time-item {width: 16%;}
.time-item div:nth-child(1){
background-color: #f7f7f7;height: 37px;width: 28%;flex-shrink: 0;
}
.time-item div:nth-child(2){
border-radius: 10px 0 0 10px;padding-left: 10px; background-color: #FFFFFF;height: 37px;margin-left: -10px;color: #9C7CFA;
}
/* 出勤详情 */
.attendance-box,.babyalbum-box {
width: 1200px;
height: 818px;
background: #FFFFFF;
border: 3px solid #7557CC;
border-radius: 15px;
margin: 0 auto;
margin-top: 57px;
margin-bottom: 110px;
display: flex;
2021-12-26 12:04:11 +08:00
overflow: hidden;
overflow-y: scroll;
}
.babyalbum-box::-webkit-scrollbar,.attendance-box::-webkit-scrollbar{
display: none;
2021-12-23 10:00:27 +08:00
}
.attendance-left {
min-width: 230px;
background-color: #7557cc;
height: 812px;
margin-left: -5px;
border-radius: 15px 0 0 15px;
flex-shrink: 0;
padding-top: 95px;
}
.attendance-right {
width: 100%;
height: 812px;
padding: 48px 40px;
display: flex;
flex-wrap: wrap;
}
.attendance-left-item-box {display: flex;align-items: center;font-size: 24px;color: #FFE68F;width: 100%;height: 76px;padding: 0 10px;}
.attendance-active {background-color: #6348b0;}
.attendance-left-item-box img{width: 20px;height: 20px;margin-right: 10px;}
2021-12-26 12:04:11 +08:00
.attendance-right-item-box {
2021-12-23 10:00:27 +08:00
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
margin-bottom: 64px;
width: 14.2%;
}
.attendance-right-item-box img {
width: 90px;
height: 90px;
border-radius: 100%;
object-fit: cover;
border: 5px solid #F1ECFF;
}
.attendance-right span,.babyalbum-item-box span {
margin: 10px 0 15px 0;
font-size: 18px;
color: #3F3F3F;
}
.attendance-right-item-box div {width: 80px;height: 21px;line-height: 21px;border-radius: 10px;}
.attendance-right-item-box div {
font-size: 16px;
color: #FFFFFF;
}
.nothing-box {width: 100%;height: 100%;display: flex;justify-content: center;align-items: center;box-sizing: border-box;}
.nothing-box img {width: 116px;height: 195px;margin-right: 36px;}
.nothing-box div {font-size: 24px;color: #3F3F3F;font-weight: bold;margin-top: 80px;}
/* 宝宝相册 */
.babyalbum-box {
padding: 35px 20px;
display: flex;
flex-wrap: wrap;
}
.babyalbum-item-box {
display: flex;
flex-direction: column;
align-items: center;
width: 16.6%;
height: 250px;
}
.babyalbum-item-box img {
width: 152px;
height: 152px;
border: 5px solid #F1ECFF;
object-fit: cover;
border-radius: 10px;
}
.babyalbum-item-box div {
width: 115px;
height: 21px;
line-height: 21px;
border-radius: 10px;
text-align: center;
color: #FFFFFF;
}
/* 疫情管理 */
.yiqing-box {
width: 1200px;
height: 818px;
background: #FFFFFF;
border: 3px solid #7557CC;
border-radius: 15px;
margin: 0 auto;
margin-top: 57px;
margin-bottom: 110px;
padding: 47px 58px;
}
.yiqing-title {
font-size: 24px;
font-weight: bold;
color: #3F3F3F;
text-align: center;
}
.yiqing-content {
height: 680px;
overflow: hidden;
overflow-y: scroll;
font-size: 16px;
font-weight: 400;
color: #666666;
line-height: 30px;
margin-top: 18px;
2021-12-23 19:27:42 +08:00
border-top: 1px solid #D3D3D3;
padding-top: 15px;
2021-12-23 10:00:27 +08:00
}
2021-12-23 19:27:42 +08:00
.back-img {width: 48px;height: 48px;position: absolute;top: 20px;right: 20px;}
2021-12-23 10:00:27 +08:00
.yiqing-content::-webkit-scrollbar {
display: none;
}
/* 幼儿园介绍 */
.introduction-item {display: flex;align-items: center;justify-content: space-between; font-size: 24px;color: #FFE68F;width: 100%;height: 76px;padding: 0 10px;}
.item-left img{width: 20px;height: 20px;margin-right: 10px;}
.item-left {display: flex;align-items: center;}
.introduction-item > img {width: 12px;height: 20px;margin-top: 4px;margin-right: 20px;}
.introduction-right {
width: 100%;
height: 812px;
padding: 46px 50px;
position: relative;
overflow: hidden;
overflow-y: scroll;
}
.introduction-right::-webkit-scrollbar {
display: none;
}
.yiqing-content img {object-fit: cover;width: 357px;height: 220px;margin-right: 10px;}
.teacherstyle-right {display: flex;flex-wrap: wrap;}
.teacherstyle-item-box {
width: 20%;
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 63px;
}
.teacherstyle-item-box img {
width: 133.5px;
height: 133.5px;
border-radius: 100%;
object-fit: cover;
border: 5px solid #F1ECFF;
}
.teacherstyle-item-box span {
color: #3F3F3F;
font-size: 18px;
margin-top: 16px;
}
.noticeInfo-item {
display: flex;align-items: center;justify-content: space-between;margin-bottom: 16px;border-bottom: 1px solid #D3D3D3;
}
2021-12-25 13:09:46 +08:00
.notice-title {display: flex;align-items: center;padding-bottom: 16px;margin-right: 20px;}
2021-12-23 10:00:27 +08:00
.notice-title img{width: 21px;height: 21px;margin-right: 12px;}
.notice-title div{font-size: 18px;color: #3F3F3F;font-weight: bold;}
.noticeInfo-time {font-size: 14px;color: #959595;}
2021-12-23 19:27:42 +08:00
/* 新闻动态 */
2021-12-26 12:04:11 +08:00
.news-box {display: flex;border-bottom: 1px solid #D3D3D3;padding-bottom: 18px;margin-top: 18px;height: 194px;}
2021-12-23 19:27:42 +08:00
.news-box:first-child {margin-top: 0px;}
.news-img {width: 202px;height: auto;object-fit: cover;margin-right: 20px;flex-shrink: 0;}
2021-12-26 12:04:11 +08:00
.news-right-box {display: flex;flex-direction: column;justify-content: space-between;width: 100%;}
2021-12-23 19:27:42 +08:00
.news-content-box {display: flex;justify-content: space-between;align-items: flex-end;}
.news-content-box .clips1 {font-size: 20px;font-weight: 800;color: #3F3F3F;margin-right: 30px;}
.new-time-box {font-size: 14px;font-weight: 500;color: #959595;flex-shrink: 0;width: 170px;display: flex;justify-content: space-between;}
.news-right-box .clips3 {font-size: 16px;font-weight: 400;color: #666666;line-height: 30px;margin-top: 16px;margin-bottom: 24px;}
.news-num-box {display: flex;align-items: center;}
.news-num-box img {width: 21px;height: 14px;margin-right: 10px;}
.news-num-box div {font-size: 14px;font-weight: 500;color: #9C7CFA;}
/* 教师风采 */
.teacher-title {text-align: left;padding-right: 50px;}
.teacher-content-box {border-top: 1px solid #D3D3D3;margin-top: 18px;padding-top: 23px;display: flex;}
2021-12-26 12:04:11 +08:00
.teacher-img {width: 208px;height: 208px;border-radius: 100%;border: 5px solid #ECE6FF;flex-shrink: 0;margin-right: 58px;object-fit: cover;}
2021-12-23 19:27:42 +08:00
.teacher-right-box {font-size: 16px;color: #666666;line-height: 30px;}
/* 宝宝相册详情 */
.babyalbum-detail-box {
width: 1200px;
height: 818px;
background: #FFFFFF;
border: 3px solid #7557CC;
border-radius: 15px;
margin: 0 auto;
margin-top: 57px;
margin-bottom: 110px;
padding: 32px 40px;
}
2021-12-23 19:37:32 +08:00
.baby-detail-top {
display: flex;align-items: center;justify-content: space-between;
}
.baby-top-box {display: flex;align-items: center;}
.baby-top-box div {width: 268px;height: 48px;line-height: 48px;text-align: center; background: #C3AEFF;border-radius: 10px;color: #fff;font-size: 24px;font-weight: bold;color: #FFFFFF;margin-right: 10px;}
.baby-top-box img {width: 48px;height: 48px;}
.baby-name {font-size: 24px;font-weight: 800;color: #3F3F3F;}
.baby-album-box {padding: 97px 0 126px 0;height: 100%; display: flex;align-items: center;justify-content: space-between;box-sizing: border-box;position: relative;}
.baby-album-box > img {width: 58px;height: 58px;}
2021-12-25 13:09:46 +08:00
.introduce-img {display: flex;flex-wrap: wrap;}
.introduce-img img {margin: 10px 10px 0 0;}
@media screen and (min-width:768px) and (max-width:1400px) {
2021-12-23 10:00:27 +08:00
.header-box {
2021-12-25 13:09:46 +08:00
height: 70px;
padding: 0 20px;
}
.main {
margin: 40px 0 70px 0;
padding: 0 20px;
}
.left-one {
width: 250px;
height: 200px;
2021-12-23 10:00:27 +08:00
}
2021-12-25 13:09:46 +08:00
.line {margin: 5px 0;}
.left-title {font-size: 18px;height: 46px;}
.left-content {padding: 0 10px;}
.second-title {font-size: 16px;}
.three-content {font-size: 14px;line-height: 24px;}
.left-last > div div:nth-child(1) {font-size: 16px;}
.left-last > div div:nth-child(2) {font-size: 14px;}
.threeMealActive {font-size: 20px!important;}
.eat-three {font-size: 18px;}
.meal-box img {width: 76px;
max-height: 70px;
margin-right: 15px;}
.meal-box div {font-size: 14px;line-height: 24px;}
.notice-time { margin-top: 10px;font-size: 14px;}
.main-center{width: auto;}
2021-12-23 10:00:27 +08:00
}