123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261 |
- $main-color: #049e9a;
- .stu-box {
- --h: 128px;
- display: flex;
- flex-direction: column;
- .box-h {
- color: #fff;
- height: var(--h);
- width: 100%;
- background-image: linear-gradient(45deg,#005f61,#007f61);
- /*background-image: url('../Image/Stu/bg-2.png');
- background-size: 100% 100%;
- background-repeat: no-repeat;*/
- display: flex;
- justify-content: center;
- align-items: center;
- .title {
- width: 100%;
- h3 {
- text-align: center;
- }
- button {
- margin-top: 10px;
- min-width: 250px;
- border-radius: 25px;
- display: flex;
- justify-content: center;
- align-items: center;
- margin: 5px auto;
- }
- }
- }
- .box-b {
- background: #f0faf9;
- width: 100%;
- height: calc(100vh - var(--h));
- .card {
- .card-header {
- a {
- color: $main-color;
- &.active {
- color: #fff;
- background: $main-color;
- & + .iwb-checkbox {
- color: #fff;
- }
- }
- }
- }
- .card-body {
- height: calc(100vh - var(--h) - 40px);
- padding: 10px;
- .content-box {
- display: flex;
- flex-wrap: wrap;
- }
- .role-info {
- border: 1px solid $main-color;
- background: #e2ebd7;
- border-radius: 4px;
- --h: 50px;
- height: var(--h);
- min-width: 150px;
- max-width: 190px;
- margin: 5px;
- padding: 0;
- display: flex;
- cursor: none;
- .image {
- width: var(--h);
- height: var(--h);
- padding: 8px;
- img {
- width: 100%;
- height: 100%;
- border-radius: 50%;
- }
- }
- .name {
- color: #3cb371;
- width: calc(100% - var(--h));
- padding: 0 8px;
- white-space: normal;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- &.self {
- max-width: 200px;
- .input {
- width: calc(100% - 100px);
- input {
- color: #3cb371;
- width: 100%;
- background: transparent;
- line-height: var(--h);
- padding: 0 0 0 5px;
- border: none;
- outline: none;
- }
- }
- .image {
- &.add {
- cursor: pointer;
- }
- }
- }
- }
- }
- .check-group {
- color: red;
- background: #e2ebd7;
- border: 1px solid $main-color;
- border-radius: 20px;
- text-align: center;
- margin: 0 auto 5px;
- width: 60%;
- line-height: 30px;
- transition: background-color .5s;
- &.hasCheck {
- color: #fff;
- background: $main-color;
- }
- }
- }
- .handle-box {
- display: flex;
- border: 1px solid $main-color;
- border-radius: 5px;
- padding: 5px;
- margin: 15px 10px;
- background: rgba(255,255,255,.4);
- .handle-role, .handle-content, .handle-button {
- padding: 5px 8px;
- display: flex;
- justify-content: center;
- align-items: center;
- .text {
- user-select: none;
- }
- }
- .handle-role {
- width: 200px;
- &.text-role {
- width: 150px;
- }
- .form-control {
- font-size: 0.875rem;
- }
- .text {
- text-align: right;
- width: 100%;
- font-size: 18px;
- font-weight: 600;
- word-break: break-word;
- }
- }
- .handle-content {
- width: calc(100% - 350px);
- padding: 5px;
- .form-control {
- border: 1px solid $main-color;
- border-radius: 5px;
- font-size: 0.875rem;
- }
- }
- .handle-button {
- padding: 10px 5px;
- width: 150px;
- .btn {
- min-height: 50px;
- border-radius: 5px;
- }
- }
- &.leader {
- margin: 5px 10px;
- &.has-send {
- .role-text, .text, .content-text {
- color: #666;
- }
- }
- .handle-content {
- width: calc(100% - 150px);
- padding: 5px 10px 5px 5px;
- justify-content: left;
- color: #3c3c3c;
- .role-text, .text {
- font-size: 18px;
- font-weight: 600;
- white-space: nowrap;
- }
- .text {
- padding: 0 5px;
- }
- .content-text {
- font-size: 16px;
- word-break: break-word;
- }
- }
- .handle-button {
- padding: 6px 5px;
- width: 150px;
- .btn {
- min-height: 30px;
- border-radius: 5px;
- }
- }
- }
- .select2-container .select2-selection--single {
- height: 38px;
- }
- .select2-container--default .select2-selection--single .select2-selection__arrow {
- top: 6px;
- }
- }
- }
- }
|