body { --mc: #11998e; } .body { background: #f3f3f3; display: flex; flex-direction: column; width: 100vw; box-sizing: padding-box; padding: 30px; } .select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[aria-selected]:hover { background-color: var(--mc); color: #eee; outline: none; &:focus, &:active { outline: none; } } .select2-container--default .select2-results__option[aria-selected=true] { background-color: var(--mc); color: #fff; } .select2-search { display: none; } .box { width: 100%; background: #fff; border-radius: 8px; padding: 15px 30px; .btn { cursor: pointer; &.btn-submit { background: var(--mc); color: #fff; &:hover { background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1)) } } &.btn-lg { width: 120px; font-size: 20px !important; } } .left-box, .right-box { display: flex; flex-direction: row; justify-content: flex-start; align-items: center; height: 100%; } &.title-box { height: 80px; display: flex; flex-direction: row; align-items: center; justify-content: space-between; .line { width: 5px; height: 100%; background: var(--mc); border-radius: 3px; } .title { font-size: 30px; font-weight: 600; color: var(--mc); padding-left: 15px; } } } .box { &.group-box { margin-top: 20px; height: 120px; display: flex; flex-direction: row; justify-content: space-between; align-items: center; overflow-x: auto; .group-info { display: flex; flex-direction: column; justify-content: space-between; align-items: center; margin-right: 20px; height: 100%; position: relative; .img-box { width: 60px; height: 60px; border-radius: 5px; border: 3px solid #bfbfbf; display: flex; justify-content: center; align-items: center; transition: all 0.3s ease-in-out; .img { width: 40px; height: 40px; /*width: 64px; height: 66px;*/ overflow: hidden; /*.img { width: 100%; height: 100%; }*/ img { width: 100%; height: 100%; } } } .name { font-weight: 600; color: #bfbfbf; font-size: 16px; white-space: nowrap; } .gou { position: absolute; top: 6px; left: 6px; width: 18px; height: 14px; overflow: hidden; } &.active, &.check { .img-box { border-color: var(--mc); background: #f3f3f3; /*.img{}*/ /*.img .img { position: relative; left: -64px; border-right: 64px solid transparent; filter: drop-shadow(64px 0 var(--mc)); }*/ } .name { color: var(--mc); } } &.active { .img-box { background: #f3fbf9; } } &.check { .gou { .img { width: 100%; height: 100%; /*position: relative; left: -18px; border-right: 18px solid transparent; filter: drop-shadow(18px 0 var(--mc));*/ background-image: url('../../Content/Image/Stu/zhb/gou.png'); background-size: 100% 100%; } } } } &.stu { .group-info { .gou { display: none; } &.active { .img-box { border-color: var(--mc); background: #f3f3f3; .img .img { position: relative; left: -64px; border-right: 64px solid transparent; filter: drop-shadow(64px 0 var(--mc)); } } .name { color: var(--mc); } } } } } &.role-box { margin-top: 10px; height: calc(100vh - 310px); overflow: hidden; position: relative; min-height: 300px; .content-box { height: calc(100% - 30px); width: calc(100% - 60px); position: absolute; .role-content { position: absolute; top: -200%; width: 100%; height: 100%; display: flex; flex-direction: column; /*justify-content: center;*/ align-items: center; display: flex; flex-wrap: wrap; opacity: 0; transition: all 1s ease-in-out; &.active { top: 0; display: flex; opacity: 1; transition: all 1s ease-in-out; } .top { width: 100%; height: 50px; line-height: 50px; font-size: 20px; color: #3c3c3c; border-bottom: 2px solid #bfbfbf; span { color: #bfbfbf; padding-left: 15px; } } &.check { .top { color: var(--mc); border-bottom-color: var(--mc); } } .bottom { width: 100%; height: calc(100% - 80px); padding: 15px 0; float: left; position: relative; } &.self { .bottom { height: 100%; } } .role-info { position: relative; display: flex; flex-direction: column; justify-content: space-between; align-items: center; height: 100px; width: 100px; border: 1px solid var(--mc); border-radius: 10px; background: #f3fbf9; padding: 10px 5px 15px; margin-bottom: 10px; margin-right: 20px; float: left; .name { height: 30px; color: var(--mc); text-align: center; white-space: normal; font-size: 14px; } .user-icon { display: flex; width: 50px; height: 50px; justify-content: center; align-items: center; background-image: url('../../Content/Image/Stu/zhb/user.png'); background-size: 100% 100%; } .add-icon { width: 50px; height: 50px; border-radius: 50px; overflow: hidden; /*.add { width: 100%; height: 100%; background: url('../../Content/Image/Stu/zhb/add.png'); /*&.add-dl { position: relative; left: -50px; border-right: 50px solid transparent; filter: drop-shadow(50px 0 var(--mc)); } }*/ } .close { position: absolute; right: 5px; top: 0; color: var(--mc); } &.add-box { display: none; left: calc(50% - 150px); top: 100px; padding: 25px 20px 20px; position: absolute; width: 300px; } input { width: 90%; padding: 5px 10px; font-size: 14px; border: 1px solid var(--mc); border-radius: 4px; outline: none; &:active, &:focus { border: 1px solid var(--mc); outline: none; } } } } } &.stu { .top { display: none; } .bottom { height: 100%; } } } &.role-box.build { margin-top: 20px; height: calc(100vh - 160px); .content-box { .role-content { display: flex; flex-direction: row; justify-content: flex-start; top: 0; opacity: 1; } } } } .box { &.handle-box { margin-top: 20px; display: flex; flex-direction: column; height: calc(100vh - 130px); .form-box { display: flex; flex-direction: column; position: relative; padding: 5px 10px; height: 50%; &:not(:first-child) { margin-top: 10px; } .help-box { position: absolute; width: 250px; left: 20px; bottom: 20px; } .role, .help-box { /*width: 250px;*/ display: flex; justify-content: center; align-items: center; .select2-container .select2-selection--single { height: 38px; border: 2px solid var(--mc); margin-bottom: 8px; } .select2-container--default .select2-selection--single .select2-selection__arrow { top: 6px; } } .form-control { width: 100%; padding: 8px 10px; border: 2px solid var(--mc); border-radius: 5px; font-size: 1rem; margin: 8px 0; &.txt { padding: 8px 15px; height: 100%; } } .btn { width: 100px; position: absolute; right: 25px; bottom: 20px; } } } } .box { &.leader-box { margin-top: 20px; display: flex; flex-direction: column; height: calc(100vh - 130px); .table { tr { td, th { text-align: center; border: none; font-size: 14px; padding: 0; height: 45px; } th { background: var(--mc); color: #fff; font-size: 16px; line-height: 45px; } } tbody { tr { color: #bfbfbf; &:nth-of-type(2n+1) { background: #fafafa; } &:nth-of-type(2n) { background: #f3fbf9; } &.wait { color: #262626; .state { color: var(--mc); font-weight: 600; } } td.action { .btn.btn-submit { cursor: pointer; width: 90px; padding: 5px; border-radius: 25px; font-size: 10px !important; } } &.empty { font-size: 16px; font-weight: 600; color: var(--mc); } } } } } } .question { display: none; button { --w: 80px; width: var(--w); height: var(--w); border-radius: var(--w); position: absolute; left: 50%; top: 50%; transform: translateX(-50%) translateY(-50%); z-index: 5; color: #fff; border: none; outline: none; &:hover { background-color: #bd2130; } i { font-size: 40px; } &:not(:hover) { animation: 1s shine ease-in-out infinite; i { animation: 1s flashing ease-in-out infinite; } } } } .question-text { font-size: 16px; margin-bottom: 10px; font-weight: 600; color: var(--mc); } @keyframes shine { 0% { filter: drop-shadow(0 0 12px #dc3545); } 50% { filter: drop-shadow(0 0 12px #bd2130); } 100% { filter: drop-shadow(0 0 12px #dc3545); } } @keyframes flashing { 0% { opacity: 1; transform: scale(1) } 50% { opacity: 0.5; transform: scale(0.9) } 100% { opacity: 1; transform: scale(1) } } @keyframes fadeIn { from { visibility: hidden; /*opacity: 1;*/ } to { visibility: visible; /*opacity: 0;*/ } }