@import "./_stu-body"; @import "./_stu-box"; @import "./_stu-form"; .box { .box-body { .body { padding: 10px; background: #d8e7f9; background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%); display: flex; flex-direction: column; .stu { display: none !important; } .check-box-icon { background: url("/Content/Image/ExerciseV2/zhb/zh_icon-checkbox.svg") no-repeat; background-size: 100% 100%; } .check { .check-box-icon { background-image: url("/Content/Image/ExerciseV2/zhb/zh_icon-checkbox-selected.svg"); } } .select { justify-content: space-between; .select-box { display: flex; .select-item { height: 100px; margin-left: 15px; display: flex; flex-direction: column; align-items: center; position: relative; .check-box-icon { position: absolute; top: 5px; left: -8px; width: 15px; height: 15px; } .icon { width: 80px; height: 80px; display: flex; justify-content: center; align-items: center; background: url("/Content/Image/ExerciseV2/zhb/zh_icon_bg.svg") no-repeat; background-size: 100% 100%; img { width: 35px; height: 35px; } } .text { text-align: center; color: #094B88; } &.active { .icon { background-image: url("/Content/Image/ExerciseV2/zhb/zh_icon_bg-select.svg") } .text { font-weight: 600; } } } } .add-role { position: relative; width: 100px; height: 100px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #4585cc; border-radius: 8px; .icon { width: 80px; height: 50px; display: flex; justify-content: center; align-items: center; img { width: 35px; height: 35px; } } .text { margin-top: 5px; text-align: center; color: #fff; } &:before { content: ""; position: absolute; left: -20px; height: 80%; border-left: 1px solid #c0dffb; } } } .role { .content-box { width: 100%; height: calc(100vh - 380px); } .role-content { display: none; &.active { display: flex; flex-direction: column; } } .role-select { height: 35px; margin-bottom: 10px; color: #094B88; padding-left: 20px; display: flex; align-items: center; .check-box-icon { margin-right: 10px; width: 20px; height: 20px; } span { color: #5f8bb6; font-weight: 400; padding-left: 3px; } &.check { font-weight: 600; } } .role-box { display: flex; flex-wrap: wrap; .role-item { position: relative; width: 100px; height: 100px; margin-left: 15px; margin-bottom: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #FFFFFF; border: 1px solid #b2d9f5; border-radius: 8px; .icon { width: 100%; height: 40px; display: flex; justify-content: center; align-items: center; img { width: 35px; height: 35px; } } .text { width: 100%; margin-top: 10px; padding: 0 10px; line-height: 1.3; text-align: center; color: #094B88; font-size: 14px; } .close { position: absolute; top: 5px; right: 8px; font-size: 1.5rem; font-weight: 700; line-height: 1; color: #094B88; text-shadow: 0 1px 0 #fff; opacity: 0.8; } &.check { .text { font-weight: 600; } } &.add { flex-direction: column; background: #FFFFFF; .text { font-size: 12px; } } } } } .add-box { position: absolute; display: none; left: calc(50% - 150px); top: 100px; padding: 25px 20px 20px; width: 300px; flex-direction: column; input { padding: 5px 10px; font-size: 14px; border: 1px solid #DAEDFF; border-radius: 5px; outline: none; &:active, &:focus { border: 1px solid #DAEDFF; outline: none; } } .btn-box { display: flex; justify-content: center; margin-top: 15px } .btn { margin: 0 10px; min-width: 80px; &.cancel { background: #DAEDFF; color: #03AEBC; border: 1px solid; } } } } .btn { min-width: 150px; } } }