123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614 |
- 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;*/
- }
- }
|