stu-cmd_leader.scss 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. @import "./stu-cmd";
  2. .box {
  3. .box-body {
  4. position: relative;
  5. .body {
  6. padding: 10px;
  7. background: #d8e7f9;
  8. background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%);
  9. display: flex;
  10. flex-direction: column;
  11. &.log-cmd-box {
  12. display: block;
  13. }
  14. &.txt-cmd-box {
  15. display: none;
  16. .btn {
  17. width: 150px;
  18. }
  19. }
  20. }
  21. }
  22. .logs-box {
  23. width: 100%;
  24. display: flex;
  25. flex-direction: column;
  26. .log-box {
  27. display: flex;
  28. padding: 10px;
  29. background: rgba(255, 255, 255, 0.6);
  30. border-radius: 8px;
  31. margin: 5px 0;
  32. overflow: hidden;
  33. .content {
  34. width: 100%;
  35. display: flex;
  36. flex-direction: column;
  37. padding: 5px;
  38. padding-right: 15px;
  39. .title {
  40. display: flex;
  41. align-items: flex-start;
  42. .role {
  43. font-weight: 600;
  44. font-size: 16px;
  45. color: #094888;
  46. }
  47. .scene-name {
  48. margin-left: 10px;
  49. font-size: 12px;
  50. padding: 1px 5px;
  51. border-radius: 3px;
  52. background: rgba(69, 133, 204, 0.1);
  53. border: 1px solid #094888;
  54. color: #094B88;
  55. }
  56. }
  57. .text {
  58. font-size: 14px;
  59. color: #36536D;
  60. padding-left: 15px;
  61. position: relative;
  62. &:before {
  63. content: "";
  64. position: absolute;
  65. width: 8px;
  66. height: 8px;
  67. border-radius: 8px;
  68. left: 0;
  69. top: 50%;
  70. transform: translateY(-50%);
  71. background: #999;
  72. }
  73. }
  74. }
  75. .btn-box {
  76. display: flex;
  77. justify-content: center;
  78. align-items: center;
  79. padding: 5px;
  80. .btn {
  81. font-size: 14px;
  82. width: 90px;
  83. }
  84. .btn-edit {
  85. background: transparent;
  86. border: none;
  87. color: #094888;
  88. margin-right: 10px;
  89. svg {
  90. width: 22px;
  91. fill: #36536D;
  92. margin-right: 5px;
  93. }
  94. }
  95. }
  96. &.send {
  97. .title .role {
  98. color: #03AEBC;
  99. }
  100. .text {
  101. &:before {
  102. background: #03AEBC;
  103. }
  104. }
  105. .btn {
  106. background: #36536D;
  107. color: #fff;
  108. }
  109. }
  110. }
  111. .empty, .end {
  112. width: 100%;
  113. height: 100%;
  114. display: flex;
  115. justify-content: center;
  116. align-items: center;
  117. font-size: 16px;
  118. opacity: .4;
  119. }
  120. .empty {
  121. color: #36536D;
  122. }
  123. .end {
  124. color: #dc3545;
  125. font-weight: 600;
  126. opacity: .8;
  127. }
  128. }
  129. .btn {
  130. &.btn-cmd {
  131. background: #094B88;
  132. }
  133. &.btn-back {
  134. background: #094B88;
  135. }
  136. }
  137. }
  138. .question {
  139. display: none;
  140. button {
  141. --w: 80px;
  142. width: var(--w);
  143. height: var(--w);
  144. border-radius: var(--w);
  145. position: absolute;
  146. left: 50%;
  147. top: 50%;
  148. transform: translateX(-50%) translateY(-50%);
  149. z-index: 5;
  150. color: #fff;
  151. border: none;
  152. outline: none;
  153. &:hover {
  154. background-color: #bd2130;
  155. }
  156. i {
  157. font-size: 40px;
  158. }
  159. &:not(:hover) {
  160. animation: 1s shine ease-in-out infinite;
  161. i {
  162. animation: 1s flashing ease-in-out infinite;
  163. }
  164. }
  165. }
  166. }
  167. .question-text {
  168. font-size: 16px;
  169. margin-bottom: 10px;
  170. font-weight: 600;
  171. color: var(--mc);
  172. }
  173. @keyframes shine {
  174. 0% {
  175. filter: drop-shadow(0 0 12px #dc3545);
  176. }
  177. 50% {
  178. filter: drop-shadow(0 0 12px #bd2130);
  179. }
  180. 100% {
  181. filter: drop-shadow(0 0 12px #dc3545);
  182. }
  183. }
  184. @keyframes flashing {
  185. 0% {
  186. opacity: 1;
  187. transform: scale(1)
  188. }
  189. 50% {
  190. opacity: 0.5;
  191. transform: scale(0.9)
  192. }
  193. 100% {
  194. opacity: 1;
  195. transform: scale(1)
  196. }
  197. }