.attendClassModal { width: 800px; border-radius: 16px; overflow: hidden; } .showUpdatePassword { width: 514px; } .homeSection { display: flex; background: #FFFFFF; border-radius: 20px; padding: 27px; } .homeLeft { display: flex; position: relative; background: url('./img/left-bg.png') no-repeat top center #FFFFFF; background-size: cover; border-radius: 20px; padding: 63px 22px 22px; width: 540px; min-height: 690px; flex-shrink: 0; .homeWindow { width: 96px; height: 23px; background: url('./img/icon-left-window.png') no-repeat top center; background-size: contain; position: absolute; left: 50%; top: 20px; margin-left: -48px; } .homeUserInfo { position: relative; height: inherit; background: rgba(255, 255, 255, 0.8); border-radius: 13px; border: 3px solid #FFFFFF; .homeTag { position: absolute; right: 33px; top: -6px; width: 28px; height: 35px; background: url('./img/icon-tag.png') no-repeat top center; background-size: contain; } } .desc { padding: 12px 34px 30px; font-size: 13Px; color: rgba(0, 0, 0, 0.7); line-height: 25px; letter-spacing: 1px; } .homeEchats { position: absolute; bottom: 34px; box-sizing: content-box; display: block; width: calc(100% - 68px); margin: 54px 34px 0; } .teacherMan { position: absolute; bottom: 0; right: -23px; width: 353px; height: 432px; } .teacherBook { position: absolute; bottom: -40px; right: 137px; z-index: 9; width: 131px; height: 131px; background: url('./img/icon-book.png') no-repeat center; background-size: contain; } .teacherWoman { position: absolute; bottom: 0; right: 20px; width: 218px; height: 442px; } } .homeUsers { display: flex; align-items: center; padding: 20px 34px; .userImg { margin-right: 12px; width: 56px; height: 56px; border: 2px solid #FFFFFF; border-radius: 50%; } .userName { font-size: 18Px; color: #131415; line-height: 29px; font-weight: bold; } } .homeBtnGroup { display: flex; align-items: center; justify-content: center; .btnBk, .btnClass { width: 178px; height: 64px; cursor: pointer; transition: all .2s ease; &:hover { transform: scale(1.05); transition: all .2s ease; } } .btnClass { margin-left: 12px; } .btnBk { background: url('./img/icon-bk.png') no-repeat center center; background-size: contain; } .btnClass { background: url('./img/icon-class.png') no-repeat center center; background-size: contain; } } .homeRight { flex: 1 auto; margin-left: 26px; .rightTop { display: flex; } .topSection { position: relative; flex: 1; display: flex; align-items: center; flex-direction: column; transition: all .2s ease; cursor: pointer; &::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; top: 0; background: url('./img/t1-3.png') no-repeat top left, url('./img/t1-2.png') no-repeat bottom center; background-size: 108px 91px, 100% 129px; } &:last-child { margin-left: 25px; } .tFun { margin-top: 27px; width: 258px; height: 224px; } .tTxt { margin-top: -22px; width: 196px; height: 38px; } .tTitle { margin-top: 47px; margin-bottom: 34px; width: 336px; height: 23px; } } .topSection1 { background: linear-gradient(135deg, #99BBFF 0%, #9CA6FF 20%, #A5A1FF 50%, #C686FF 100%); border-radius: 20px; &:hover { box-shadow: 5px 5px 17px 0px #DCCBFF; transform: scale(1.01); transition: all .2s ease; } } .topSection2 { background: linear-gradient(135deg, #FFA891 0%, #FF8EAB 22%, #FF96AE 50%, #FF7DAA 67%, #FF7ABC 100%); border-radius: 20px; &:hover { box-shadow: 5px 5px 17px 0px #FFBBD5; transform: scale(1.01); transition: all .2s ease; } &::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; top: 0; background: url('./img/t2-3.png') no-repeat top left, url('./img/t1-2.png') no-repeat bottom center; background-size: 108px 91px, 100% 129px; } } } .rightBottom { display: flex; align-items: center; margin-top: 25px; .bottomSection { cursor: pointer; margin-left: 23px; padding-bottom: 38px; padding-top: 28px; flex: 1; background: linear-gradient(135deg, #F4FDFF 0%, #E5E2FF 100%); border-radius: 20px; text-align: center; transition: all .2s ease; &:first-child { margin-left: 0; } &:hover { transform: scale(1.02); transition: all .2s ease; box-shadow: 5px 5px 17px 0px rgba(153, 154, 218, 0.4); } .bFun { padding: 23px 0 12px; width: 100%; } .bTxt { width: 148px; height: 52px; } .bTxt2 { width: 74px; } .bTxt3 { width: 98px; } } } .subjectSyncModal { width: 920px; }