stu-cmd_leader.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. .table-box {
  16. display: block;
  17. tr {
  18. border-top: 1px solid #36536d;
  19. &:nth-of-type(2n+1) {
  20. background: linear-gradient(rgba(0,0,0,.02),rgba(0,0,0,.02))
  21. }
  22. &.empty td {
  23. padding: 8px;
  24. }
  25. }
  26. th {
  27. color: #fff;
  28. background: #4585cc;
  29. text-align: center;
  30. }
  31. td {
  32. color: #36536d;
  33. text-align: center;
  34. padding: 6px 10px;
  35. }
  36. .state {
  37. border: 1px solid #4585cc;
  38. border-radius: 5px;
  39. font-size: 12px;
  40. padding: 2px 5px;
  41. color: #4585cc;
  42. }
  43. .btn {
  44. background: #4585cc;
  45. border-radius: 20px;
  46. padding: 2px 15px;
  47. color: #eee;
  48. }
  49. .send {
  50. .state {
  51. background: #4585cc;
  52. color: #fff;
  53. }
  54. }
  55. }
  56. }
  57. .question {
  58. display: none;
  59. button {
  60. --w: 80px;
  61. width: var(--w);
  62. height: var(--w);
  63. border-radius: var(--w);
  64. position: absolute;
  65. left: 50%;
  66. top: 50%;
  67. transform: translateX(-50%) translateY(-50%);
  68. z-index: 5;
  69. color: #fff;
  70. border: none;
  71. outline: none;
  72. &:hover {
  73. background-color: #bd2130;
  74. }
  75. i {
  76. font-size: 40px;
  77. }
  78. &:not(:hover) {
  79. animation: 1s shine ease-in-out infinite;
  80. i {
  81. animation: 1s flashing ease-in-out infinite;
  82. }
  83. }
  84. }
  85. }
  86. .question-text {
  87. font-size: 16px;
  88. margin-bottom: 10px;
  89. font-weight: 600;
  90. color: var(--mc);
  91. }
  92. @keyframes shine {
  93. 0% {
  94. filter: drop-shadow(0 0 12px #dc3545);
  95. }
  96. 50% {
  97. filter: drop-shadow(0 0 12px #bd2130);
  98. }
  99. 100% {
  100. filter: drop-shadow(0 0 12px #dc3545);
  101. }
  102. }
  103. @keyframes flashing {
  104. 0% {
  105. opacity: 1;
  106. transform: scale(1)
  107. }
  108. 50% {
  109. opacity: 0.5;
  110. transform: scale(0.9)
  111. }
  112. 100% {
  113. opacity: 1;
  114. transform: scale(1)
  115. }
  116. }