123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280 |
- @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;
- }
- }
- }
|