stu-cmd_leader.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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. .content {
  26. width: 100%;
  27. display: flex;
  28. flex-direction: column;
  29. padding: 5px;
  30. padding-right: 15px;
  31. .title {
  32. font-weight: 600;
  33. color: #03AEBC;
  34. font-size: 14px;
  35. }
  36. .text {
  37. color: #36536D;
  38. }
  39. }
  40. .btn-box {
  41. display: flex;
  42. justify-content: center;
  43. align-items: center;
  44. padding: 5px;
  45. .btn {
  46. font-size: 14px;
  47. width: 90px;
  48. }
  49. }
  50. &.send {
  51. .btn {
  52. background: #DE5E5E;
  53. }
  54. }
  55. }
  56. .empty {
  57. width: 100%;
  58. height:100%;
  59. display: flex;
  60. justify-content: center;
  61. align-items: center;
  62. color: #36536D;
  63. font-size:16px;
  64. opacity:.4;
  65. }
  66. }
  67. }
  68. .question {
  69. display: none;
  70. button {
  71. --w: 80px;
  72. width: var(--w);
  73. height: var(--w);
  74. border-radius: var(--w);
  75. position: absolute;
  76. left: 50%;
  77. top: 50%;
  78. transform: translateX(-50%) translateY(-50%);
  79. z-index: 5;
  80. color: #fff;
  81. border: none;
  82. outline: none;
  83. &:hover {
  84. background-color: #bd2130;
  85. }
  86. i {
  87. font-size: 40px;
  88. }
  89. &:not(:hover) {
  90. animation: 1s shine ease-in-out infinite;
  91. i {
  92. animation: 1s flashing ease-in-out infinite;
  93. }
  94. }
  95. }
  96. }
  97. .question-text {
  98. font-size: 16px;
  99. margin-bottom: 10px;
  100. font-weight: 600;
  101. color: var(--mc);
  102. }
  103. @keyframes shine {
  104. 0% {
  105. filter: drop-shadow(0 0 12px #dc3545);
  106. }
  107. 50% {
  108. filter: drop-shadow(0 0 12px #bd2130);
  109. }
  110. 100% {
  111. filter: drop-shadow(0 0 12px #dc3545);
  112. }
  113. }
  114. @keyframes flashing {
  115. 0% {
  116. opacity: 1;
  117. transform: scale(1)
  118. }
  119. 50% {
  120. opacity: 0.5;
  121. transform: scale(0.9)
  122. }
  123. 100% {
  124. opacity: 1;
  125. transform: scale(1)
  126. }
  127. }