public.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762
  1. .mt10 {
  2. margin-top: 10px;
  3. }
  4. .mt20 {
  5. margin-top: 20px;
  6. }
  7. .mt40 {
  8. margin-top: 40px;
  9. }
  10. .mt100 {
  11. margin-top: 100px;
  12. }
  13. .mb10 {
  14. margin-bottom: 10px;
  15. }
  16. .ml10 {
  17. margin-left: 10px;
  18. }
  19. .txt-center {
  20. text-align: center;
  21. }
  22. .wrap {
  23. width: 1200px;
  24. margin: 0 auto;
  25. }
  26. @media screen and (max-width: 1024px) {
  27. .wrap {
  28. width: 100%;
  29. margin: 0;
  30. }
  31. }
  32. @media screen and (min-width:600px) and (max-width:1024px) {
  33. .activeTask {
  34. overflow-y: scroll;
  35. }
  36. }
  37. .glass {
  38. width: 932px;
  39. height: 593px;
  40. background: rgba(255, 255, 255, 0.39);
  41. border: 3px solid rgba(255, 255, 255, 0.6);
  42. box-shadow: 0px 3px 6px rgb(0, 0, 0);
  43. border-radius: 12px;
  44. position: relative;
  45. margin: 10vh auto;
  46. }
  47. /* 任务介绍样式 */
  48. .desc_wrap {
  49. width: 100%;
  50. height: 780px;
  51. margin: 30px auto;
  52. }
  53. #title {
  54. padding-top: 49px;
  55. font-size: 30px;
  56. font-family: PingFang SC;
  57. font-weight: bold;
  58. line-height: 48px;
  59. color: #FFFFFF;
  60. text-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  61. opacity: 1;
  62. text-align: center;
  63. }
  64. .right_part {
  65. float: right;
  66. width: 45%;
  67. height: 100%;
  68. background-size: 100% 100%;
  69. border-radius: 0 12px 12px 0;
  70. position: relative;
  71. #title {
  72. width: calc(100% - 20px);
  73. margin-left: 10px;
  74. }
  75. }
  76. .left_part {
  77. float: left;
  78. width: 55%;
  79. height: 100%;
  80. overflow: hidden;
  81. display: flex;
  82. flex-direction: column;
  83. #left_top {
  84. margin-top: 30px;
  85. .setting {
  86. width: 24px;
  87. height: 24px;
  88. margin-left: 36px;
  89. }
  90. .text {
  91. width: 150px;
  92. height: 32px;
  93. font-size: 22px;
  94. font-family: PingFang SC;
  95. font-weight: bold;
  96. line-height: 32px;
  97. color: #57ACBB;
  98. margin-left: 16px;
  99. }
  100. .voiceBg {
  101. width: 36px;
  102. height: 36px;
  103. background: url(../assets/voice.png);
  104. background-size: cover;
  105. float: left;
  106. margin-left: 60px;
  107. cursor: pointer;
  108. }
  109. .voiceBg.active {
  110. width: 36px;
  111. height: 36px;
  112. background: url(../assets/voice.gif);
  113. background-size: cover;
  114. }
  115. }
  116. .left-desc-80 {
  117. width: calc(100% - 72px);
  118. overflow-y: auto;
  119. height: 3.12rem;
  120. margin-top: 30px;
  121. margin-left: 36px;
  122. text-indent: 2em;
  123. font-size: 0.1rem;
  124. line-height: 1.75;
  125. }
  126. }
  127. .desc_content {
  128. width: 70%;
  129. height: 100%;
  130. background: rgb(248, 248, 248);
  131. opacity: 1;
  132. border-radius: 12px;
  133. margin: 0 auto;
  134. }
  135. .el-button.start {
  136. border: 2px solid rgb(255, 255, 255);
  137. box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  138. border-radius: 39px;
  139. height: 0.24rem;
  140. line-height: 0.24rem;
  141. font-size: 0.098rem;
  142. padding: 0 26px;
  143. }
  144. .el-progress-bar__innerText {
  145. color: #333333;
  146. }
  147. .taskHead {
  148. position: absolute;
  149. right: 140px;
  150. top: 104px;
  151. z-index: 999;
  152. .scale {
  153. width: 0.18rem;
  154. height: 0.18rem;
  155. cursor: pointer;
  156. img {
  157. width: 100%;
  158. height: 100%;
  159. }
  160. }
  161. &:hover {
  162. scale: 1.15;
  163. }
  164. .scale:active {
  165. transform: scale(0.95);
  166. opacity: 0.9;
  167. }
  168. }
  169. .countdownStr {
  170. width: 70%;
  171. position: absolute;
  172. top: 50%;
  173. left: 50%;
  174. transform: translate(-50%, -50%);
  175. color: black;
  176. font-size: 70px;
  177. text-align: center;
  178. line-height: 100px;
  179. }
  180. /* 认知任务结果显示公共样式 */
  181. .test_result {
  182. text-align: center;
  183. width: 500px;
  184. margin-top: 200px;
  185. }
  186. .test_result th {
  187. width: 50%;
  188. background: #57acbb;
  189. color: #ffffff;
  190. border: 1px solid #57acbb;
  191. font-size: 16px;
  192. line-height: 48px;
  193. }
  194. .test_result td {
  195. width: 50%;
  196. border: 1px solid #cccccc;
  197. font-size: 16px;
  198. line-height: 48px;
  199. }
  200. /* 表头样式统一处理 */
  201. .el-table th {
  202. background: rgba(0, 0, 0, 0.01);
  203. font-family: PingFang SC;
  204. color: #101010;
  205. }
  206. .modelName {
  207. font-size: 18px;
  208. color: #222222;
  209. margin: 20px 0 0 20px;
  210. }
  211. .display-row {
  212. display: flex;
  213. flex-direction: row;
  214. align-items: center;
  215. }
  216. .w100 {
  217. width: 100%;
  218. }
  219. .bgC {
  220. background-color: #57acbb;
  221. }
  222. .bdc {
  223. border-color: #57acbb;
  224. }
  225. .color_b {
  226. color: #57acbb;
  227. }
  228. .main_progress {
  229. .el-progress-bar__inner {
  230. position: absolute;
  231. left: 0;
  232. top: 0;
  233. height: 100%;
  234. background-color: #ff3c3c !important;
  235. text-align: right;
  236. border-radius: 100px;
  237. line-height: 0.84;
  238. white-space: nowrap;
  239. transition: width 0.6s ease;
  240. background-image: linear-gradient(to right, #ffd650, #ff8431) !important;
  241. .el-progress-bar__innerText {
  242. color: white !important;
  243. }
  244. }
  245. }
  246. .flex-row {
  247. display: flex;
  248. flex-direction: row;
  249. align-items: center;
  250. }
  251. .flex-column {
  252. display: flex;
  253. flex-direction: column;
  254. align-items: center;
  255. }
  256. .flex-center {
  257. display: flex;
  258. align-items: center;
  259. justify-content: center;
  260. }
  261. /* 滚动条整体样式 */
  262. ::-webkit-scrollbar {
  263. width: 5px; /* 滚动条宽度 */
  264. }
  265. /* 滚动条轨道样式 */
  266. ::-webkit-scrollbar-track {
  267. background-color: transparent; /* 轨道背景色 */
  268. }
  269. /* 滚动条滑块样式 */
  270. ::-webkit-scrollbar-thumb {
  271. border-radius: 3px;
  272. background-color: rgba(136, 136, 136, 0.6); /* 滑块背景色 */
  273. }
  274. /* 滚动条滑块在鼠标悬停时的样式 */
  275. ::-webkit-scrollbar-thumb:hover {
  276. background-color: rgba(136, 136, 136, 0.8); /* 悬停时滑块背景色 */
  277. }
  278. .content-container {
  279. position: fixed;
  280. left: 0;
  281. top: 72px;
  282. width: 100vw;
  283. height: calc(100vh - 74px);
  284. margin: 0;
  285. background-color: transparent;
  286. overflow: hidden;
  287. }
  288. .content-outline {
  289. position: absolute;
  290. left: 50%;
  291. top: calc(50% - 20px);
  292. transform: translate(-50%, -50%);
  293. width: 72%;
  294. margin: 0 auto;
  295. height: 3.85rem;
  296. background-color: white;
  297. border-radius: 20px;
  298. overflow: hidden;
  299. &.result-card-outline {
  300. top: 50%;
  301. width: 68%;
  302. height: 680px;
  303. }
  304. }
  305. .left-desc {
  306. width: 100%;
  307. font-size: 12px;
  308. overflow-y: auto;
  309. height: 440px;
  310. }
  311. /*全局处理el-dialog的内边距过大,导致内容空白区域大*/
  312. .el-dialog {
  313. .el-dialog__header {
  314. padding: 12px 12px 8px;
  315. .el-dialog__title {
  316. font-size: 0.106rem;
  317. }
  318. }
  319. .el-dialog__close {
  320. font-size: 0.143rem;
  321. }
  322. .el-dialog__body {
  323. padding: 12px 16px 10px;
  324. .el-form {
  325. .el-form-item {
  326. margin-bottom: 0.128rem;
  327. .el-form-item__label {
  328. font-size: 0.092rem;
  329. }
  330. .el-form-item__content {
  331. .el-form-item__error {
  332. font-size: 0.086rem;
  333. height: 0.108rem;
  334. }
  335. }
  336. }
  337. }
  338. .el-input {
  339. font-size: 0.083rem;
  340. .el-input__inner {
  341. height: 40px;
  342. line-height: 40px;
  343. }
  344. }
  345. .el-radio {
  346. .el-radio__input {
  347. .el-radio__original {
  348. width: 14px;
  349. height: 14px;
  350. }
  351. }
  352. .el-radio__label {
  353. font-size: 0.083rem;
  354. }
  355. }
  356. .el-checkbox {
  357. .el-checkbox__inner,
  358. .el-checkbox__label {
  359. font-size: 0.086rem;
  360. }
  361. }
  362. .el-select {
  363. .el-tag {
  364. font-size: 0.088rem;
  365. }
  366. }
  367. .el-table {
  368. font-size: 0.083rem;
  369. .el-table__cell {
  370. padding: 6px 0;
  371. }
  372. .el-button {
  373. padding: 6px 12px;
  374. font-size: 0.08rem;
  375. }
  376. .el-tag {
  377. height: 28px;
  378. line-height: 28px;
  379. font-size: 0.08rem;
  380. }
  381. }
  382. .el-pagination {
  383. .el-pagination__total,
  384. .el-pagination__jump {
  385. font-size: 0.083rem !important;
  386. height: 40px !important;
  387. line-height: 40px !important;
  388. }
  389. button {
  390. height: 40px;
  391. line-height: 40px;
  392. }
  393. }
  394. .el-pager li {
  395. font-size: 0.083rem;
  396. height: 36px;
  397. line-height: 36px;
  398. }
  399. }
  400. .el-button {
  401. height: 40px;
  402. font-size: 0.083rem;
  403. padding: 2px 18px;
  404. }
  405. }
  406. .el-pagination {
  407. .el-pagination__total,
  408. .el-pagination__jump {
  409. font-size: 0.083rem !important;
  410. height: 0.24rem !important;
  411. line-height: 0.24rem !important;
  412. }
  413. button {
  414. height: 0.24rem !important;
  415. line-height: 0.24rem !important;
  416. }
  417. }
  418. .el-pager li {
  419. font-size: 0.083rem;
  420. height: 0.24rem !important;
  421. line-height: 0.24rem !important;
  422. }
  423. .el-input--suffix .el-input__inner,
  424. .el-select-dropdown .el-scrollbar .el-select-dropdown__wrap .el-scrollbar__view .el-select-dropdown__item {
  425. font-size: 0.084rem;
  426. }
  427. .el-pagination {
  428. height: 42px;
  429. &.pagination-sty {
  430. width: 80%;
  431. margin: 8px auto 4px;
  432. text-align: center;
  433. }
  434. span {
  435. font-size: 12px !important;
  436. }
  437. li {
  438. width: 26px;
  439. height: 26px;
  440. }
  441. input {
  442. height: 26px;
  443. line-height: 26px;
  444. }
  445. button {
  446. height: 26px;
  447. line-height: 26px;
  448. }
  449. }
  450. .el-page-header {
  451. height: 26px;
  452. line-height: 26px;
  453. margin-bottom: 12px;
  454. .el-icon-back {
  455. font-size: 14px;
  456. }
  457. .el-page-header__title {
  458. font-size: 12px;
  459. }
  460. .el-page-header__content {
  461. font-size: 16px;
  462. }
  463. }
  464. .sys-container {
  465. .el-menu {
  466. padding: 0 !important;
  467. .el-menu--horizontal {
  468. border-bottom: transparent;
  469. }
  470. .el-dropdown-menu__item, .el-menu-item {
  471. font-size: 0.083rem;
  472. }
  473. .el-submenu__title,
  474. .el-submenu__title.is-active {
  475. font-size: 0.083rem;
  476. height: 50px;
  477. line-height: 50px;
  478. border-bottom: transparent !important;
  479. }
  480. .el-menu-item-group__title {
  481. padding: 0 !important;
  482. }
  483. }
  484. .el-form {
  485. .el-form-item {
  486. margin-bottom: 0.108rem;
  487. .el-form-item__label {
  488. font-size: 0.083rem;
  489. }
  490. .el-form-item__content {
  491. .el-form-item__error {
  492. font-size: 0.086rem;
  493. padding-top: 2px;
  494. height: 0.108rem;
  495. }
  496. .el-button {
  497. height: 40px;
  498. font-size: 0.078rem;
  499. }
  500. }
  501. }
  502. }
  503. .el-input {
  504. font-size: 0.086rem;
  505. .el-input__inner {
  506. height: 36px;
  507. line-height: 36px;
  508. }
  509. }
  510. .el-radio {
  511. .el-radio__input {
  512. .el-radio__original {
  513. width: 14px;
  514. height: 14px;
  515. }
  516. }
  517. .el-radio__label {
  518. font-size: 0.083rem;
  519. }
  520. }
  521. .main-header {
  522. height: 40px !important;
  523. }
  524. .el-table {
  525. font-size: 0.083rem;
  526. .el-table__cell {
  527. padding: 6px 0;
  528. }
  529. .el-button {
  530. padding: 6px 12px;
  531. font-size: 0.08rem;
  532. }
  533. .el-tag {
  534. height: 28px;
  535. line-height: 28px;
  536. font-size: 0.08rem;
  537. }
  538. &.center-table {
  539. height: calc(100vh - 1.3rem);
  540. .el-table__body-wrapper {
  541. height: calc(100% - 0.125rem);
  542. overflow: auto;
  543. overflow-x: hidden;
  544. }
  545. }
  546. }
  547. .el-input .el-input__inner {
  548. font-size: 0.083rem;
  549. }
  550. .headerRow {
  551. .el-input {
  552. min-width: 210px;
  553. .el-input__inner {
  554. height: 40px;
  555. line-height: 40px;
  556. }
  557. .el-input__suffix {
  558. display: flex;
  559. align-items: center;
  560. justify-content: center;
  561. }
  562. }
  563. .el-date-editor {
  564. height: 40px;
  565. line-height: 40px;
  566. .el-range__icon,
  567. .el-range-separator {
  568. display: flex;
  569. align-items: center;
  570. justify-content: center;
  571. }
  572. .el-range-input {
  573. height: 38px;
  574. line-height: 38px;
  575. font-size: 0.083rem;
  576. }
  577. }
  578. .el-select {
  579. min-width: 210px;
  580. }
  581. .el-button {
  582. height: 40px;
  583. padding: 9px 16px;
  584. font-size: 0.083rem;
  585. }
  586. }
  587. .el-button--small {
  588. height: 40px;
  589. font-size: 0.083rem;
  590. }
  591. h5 {
  592. font-size: 0.086rem
  593. }
  594. }
  595. .el-picker-panel {
  596. .el-date-range-picker__header {
  597. div {
  598. font-size: 0.084rem;
  599. }
  600. }
  601. .el-date-table {
  602. font-size: 0.083rem;
  603. }
  604. }
  605. .el-range-editor--small.el-input__inner {
  606. height: 40px;
  607. line-height: 40px;
  608. .el-range-input {
  609. font-size: 0.083rem;
  610. }
  611. }
  612. .el-date-editor .el-range__icon {
  613. font-size: 0.083rem;
  614. }
  615. .el-upload__tip,
  616. .el-page-header .el-page-header__title {
  617. font-size: 0.078rem;
  618. }
  619. input::-webkit-outer-spin-button,
  620. input::-webkit-inner-spin-button {
  621. -webkit-appearance: none;
  622. }
  623. input[type="number"] {
  624. -moz-appearance: textfield;
  625. }
  626. input {
  627. border: none
  628. }