stu-cmd_leader.scss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. @import "./_stu-body";
  2. @import "./_stu-box";
  3. @import "./_stu-form";
  4. .box {
  5. .box-body {
  6. position: relative;
  7. .body {
  8. padding: 10px;
  9. background: #d8e7f9;
  10. background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%);
  11. display: flex;
  12. flex-direction: column;
  13. }
  14. }
  15. .logs-box {
  16. width: 100%;
  17. display: flex;
  18. flex-direction: column;
  19. .log-box {
  20. display: flex;
  21. padding: 10px;
  22. background: rgba(255, 255, 255, 0.6);
  23. border-radius: 8px;
  24. margin: 5px 0;
  25. overflow: hidden;
  26. .content {
  27. width: 100%;
  28. display: flex;
  29. flex-direction: column;
  30. padding: 5px;
  31. padding-right: 15px;
  32. .title {
  33. font-weight: 600;
  34. color: #03AEBC;
  35. font-size: 14px;
  36. }
  37. .text {
  38. color: #36536D;
  39. }
  40. }
  41. .btn-box {
  42. display: flex;
  43. justify-content: center;
  44. align-items: center;
  45. padding: 5px;
  46. .btn {
  47. font-size: 14px;
  48. width: 90px;
  49. }
  50. }
  51. &.send {
  52. .btn {
  53. background: #DE5E5E;
  54. }
  55. }
  56. }
  57. .empty {
  58. width: 100%;
  59. height: 100%;
  60. display: flex;
  61. justify-content: center;
  62. align-items: center;
  63. color: #36536D;
  64. font-size: 16px;
  65. opacity: .4;
  66. }
  67. }
  68. }
  69. .question {
  70. display: none;
  71. button {
  72. --w: 80px;
  73. width: var(--w);
  74. height: var(--w);
  75. border-radius: var(--w);
  76. position: absolute;
  77. left: 50%;
  78. top: 50%;
  79. transform: translateX(-50%) translateY(-50%);
  80. z-index: 5;
  81. color: #fff;
  82. border: none;
  83. outline: none;
  84. &:hover {
  85. background-color: #bd2130;
  86. }
  87. i {
  88. font-size: 40px;
  89. }
  90. &:not(:hover) {
  91. animation: 1s shine ease-in-out infinite;
  92. i {
  93. animation: 1s flashing ease-in-out infinite;
  94. }
  95. }
  96. }
  97. }
  98. .question-text {
  99. font-size: 16px;
  100. margin-bottom: 10px;
  101. font-weight: 600;
  102. color: var(--mc);
  103. }
  104. @keyframes shine {
  105. 0% {
  106. filter: drop-shadow(0 0 12px #dc3545);
  107. }
  108. 50% {
  109. filter: drop-shadow(0 0 12px #bd2130);
  110. }
  111. 100% {
  112. filter: drop-shadow(0 0 12px #dc3545);
  113. }
  114. }
  115. @keyframes flashing {
  116. 0% {
  117. opacity: 1;
  118. transform: scale(1)
  119. }
  120. 50% {
  121. opacity: 0.5;
  122. transform: scale(0.9)
  123. }
  124. 100% {
  125. opacity: 1;
  126. transform: scale(1)
  127. }
  128. }