stu-spec.scss 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  1. body {
  2. height: 100vh;
  3. }
  4. .main-box {
  5. margin: 0 !important;
  6. .btn-box {
  7. .vb-btn {
  8. padding: 8px 20px;
  9. font-size: 16px;
  10. position: relative;
  11. .tag {
  12. --w: 20px;
  13. display: flex;
  14. justify-content: center;
  15. align-items: center;
  16. font-size: 12px;
  17. width: var(--w);
  18. height: var(--w);
  19. position: absolute;
  20. top: 4px;
  21. right: 4px;
  22. transform: translate(50%,-50%);
  23. background: red;
  24. color: #fff;
  25. border-radius: 15px;
  26. &:empty {
  27. display: none;
  28. }
  29. &.tag-lg {
  30. --w: 25px;
  31. }
  32. }
  33. }
  34. }
  35. .carousel {
  36. display: flex;
  37. flex-direction: column;
  38. position: unset;
  39. padding: 0 10px;
  40. .carousel-inner {
  41. width: 100%;
  42. position: unset;
  43. padding: 0 10px;
  44. .carousel-item {
  45. position: unset;
  46. padding: 0 10px;
  47. }
  48. }
  49. .carousel-indicators {
  50. margin: 0;
  51. z-index: 10;
  52. position: relative;
  53. top: auto;
  54. bottom: auto;
  55. left: auto;
  56. right: auto;
  57. align-items: flex-end;
  58. li {
  59. color: #fff;
  60. height: 100%;
  61. width: auto;
  62. text-indent: 0;
  63. background: none;
  64. border-radius: 0;
  65. margin: 0;
  66. padding: 0;
  67. border: none;
  68. position: relative;
  69. display: none;
  70. cursor: default;
  71. img {
  72. cursor: pointer;
  73. position: absolute;
  74. width: 40px;
  75. right: -50px;
  76. top: 50%;
  77. transform: translateY(-50%);
  78. }
  79. &.active {
  80. display: flex;
  81. font-size: 100%;
  82. display: flex;
  83. margin: 0;
  84. padding: 0;
  85. border: none;
  86. }
  87. }
  88. }
  89. .groups {
  90. position: absolute;
  91. left: 50%;
  92. transform: translateX(-50%);
  93. top: 100%;
  94. width: 300px;
  95. padding: 5px 0;
  96. display: none;
  97. flex-direction: column;
  98. background: #fff;
  99. border: 1px solid rgba(255, 255, 255, 0.2);
  100. border-radius: 8px;
  101. z-index: 10;
  102. .group {
  103. font-size: 16px;
  104. padding: 10px;
  105. color: #36536D;
  106. font-weight: 400;
  107. cursor: pointer;
  108. }
  109. &.active {
  110. background: rgba(9, 75, 136, 0.1);
  111. }
  112. &:hover {
  113. font-weight: 600;
  114. }
  115. }
  116. }
  117. }
  118. .question-list-box {
  119. display: none;
  120. position: absolute;
  121. top: 70px;
  122. right: 30px;
  123. width: 625px;
  124. background: #fff;
  125. z-index: 2;
  126. border-radius: 10px;
  127. padding: 10px 0;
  128. .question-header {
  129. padding: 0 15px;
  130. display: flex;
  131. width: 100%;
  132. align-items: center;
  133. justify-content: space-between;
  134. margin-bottom: 15px;
  135. .title {
  136. position: relative;
  137. font-size: 22px;
  138. font-weight: 600;
  139. padding-left: 15px;
  140. &:before {
  141. position: absolute;
  142. content: "";
  143. display: block;
  144. width: 5px;
  145. height: 15px;
  146. background: #03aebc;
  147. border-radius: 3px;
  148. left: 0px;
  149. top: 50%;
  150. transform: translateY(-50%);
  151. }
  152. }
  153. .btn {
  154. cursor: pointer;
  155. margin: 0;
  156. }
  157. }
  158. .question-body {
  159. width: 100%;
  160. max-height: 600px;
  161. overflow-y: auto;
  162. padding: 0 15px 5px;
  163. display: flex;
  164. flex-direction: column;
  165. height: 450px;
  166. overflow-y: auto;
  167. .question-item {
  168. display: flex;
  169. padding: 10px;
  170. margin: 5px 0;
  171. border-radius: 10px;
  172. border: 1px solid #ddd;
  173. background: #EFF6FD;
  174. padding: 10px 0;
  175. font-size: 14px;
  176. .img {
  177. display: flex;
  178. justify-content: center;
  179. padding: 8px;
  180. svg {
  181. --w: 40px;
  182. width: var(--w);
  183. height: var(--w);
  184. }
  185. }
  186. .content {
  187. padding: 0 10px;
  188. width: 100%;
  189. .question {
  190. display: flex;
  191. justify-content: space-between;
  192. .text {
  193. color: #36536D;
  194. font-weight: 600;
  195. }
  196. .group {
  197. height: 25px;
  198. justify-content: center;
  199. align-items: center;
  200. display: flex;
  201. margin-left: 10px;
  202. font-size: 12px;
  203. padding: 0 5px;
  204. border-radius: 3px;
  205. background: rgba(69, 133, 204, 0.1);
  206. border: 1px solid #094888;
  207. color: #094B88;
  208. white-space: nowrap;
  209. }
  210. }
  211. .answers {
  212. display: flex;
  213. flex-direction: column;
  214. border-radius: 5px;
  215. .answer {
  216. padding-top: 8px;
  217. color: #36536D;
  218. .title {
  219. font-size: 18px;
  220. padding-right: 5px;
  221. }
  222. &.anwser-empty {
  223. width: 100%;
  224. color: #aaa;
  225. }
  226. }
  227. }
  228. }
  229. }
  230. .empty {
  231. width: 100%;
  232. height: 100%;
  233. display: flex;
  234. justify-content: center;
  235. align-items: center;
  236. flex-direction: column;
  237. font-size: 14px;
  238. font-weight: 600;
  239. margin-top: -30px;
  240. img {
  241. width: 80px;
  242. height: 84px;
  243. }
  244. .text {
  245. margin-top: 10px;
  246. color: #aaa;
  247. }
  248. }
  249. }
  250. }