screen.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620
  1. @charset "UTF-8";
  2. body {
  3. --mc: #03AEBC;
  4. --tc: #36536D;
  5. --brc: #80BAEF;
  6. --bgc: #e9f2fd;
  7. --bg: rgba(255,255,255,0.4);
  8. font-family: "Source Han Sans";
  9. }
  10. .box .box-header {
  11. display: flex;
  12. height: 35px;
  13. width: 100%;
  14. /*background: linear-gradient(90deg,#b2d9f5,#c2d8f4);*/
  15. background: linear-gradient(90deg, rgba(82, 197, 233, 0.411765) 0%, rgba(59, 221, 243, 0.12549) 35.99%, rgba(67, 219, 252, 0.00784314) 87.02%);
  16. box-shadow: inset 0px -2px 4px rgba(117, 185, 248, 0.52);
  17. border-bottom: 1px solid rgba(98, 156, 215, 0.05);
  18. position: relative;
  19. }
  20. .box .box-header .title {
  21. --w: 47px;
  22. display: flex;
  23. position: relative;
  24. height: 100%;
  25. padding-left: 5px;
  26. margin-left: var(--w);
  27. font-size: 18px;
  28. font-weight: 600;
  29. color: #094B88;
  30. align-items: center;
  31. }
  32. .box .box-header .title:before {
  33. content: "";
  34. position: absolute;
  35. left: calc(1px - var(--w));
  36. height: 100%;
  37. width: var(--w);
  38. background: url("/Content/Image/ExerciseV2/title_icon.svg") no-repeat;
  39. background-size: 100% 100%;
  40. }
  41. .btn {
  42. margin: 5px auto;
  43. padding: 8px 20px;
  44. background: #03AEBC;
  45. border-radius: 8px;
  46. color: #DAEDFF;
  47. font-size: 16px;
  48. }
  49. .btn.btn-small {
  50. font-size: 14px;
  51. padding: 3px 12px;
  52. border-radius: 4px;
  53. }
  54. .btn:hover {
  55. background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
  56. border-color: rgba(0, 0, 0, 0.1);
  57. color: #DAEDFF;
  58. }
  59. .vb-btn {
  60. color: #176bbc;
  61. font-size: 14px;
  62. padding: 5px 10px;
  63. background-image: url("/Content/Image/ExerciseV2/btn.png");
  64. background-repeat: no-repeat;
  65. background-size: 100% 100%;
  66. font-weight: 600;
  67. }
  68. .vb-btn.active {
  69. color: #fff;
  70. background-image: url("/Content/Image/ExerciseV2/btn-active.png");
  71. }
  72. .form .form-control {
  73. background: var(--bgc);
  74. color: var(--tc);
  75. border-radius: 4px;
  76. border: 1px solid #b5cce2;
  77. font-size: 1rem;
  78. }
  79. .form .form-control:active, .form .form-control:focus {
  80. border: 1px solid var(--brc);
  81. }
  82. .select2-container {
  83. --h: 38px;
  84. font-size: 1rem;
  85. }
  86. .select2-container.select2-container--open .select2-selection--single {
  87. border-color: var(--brc);
  88. }
  89. .select2-container .select2-selection--single {
  90. border-radius: 4px !important;
  91. background: var(--bgc);
  92. border: 1px solid #b5cce2;
  93. height: var(--h);
  94. line-height: var(--h);
  95. color: var(--tc);
  96. padding: 0 15px;
  97. }
  98. .select2-container .select2-selection--single .select2-selection__rendered {
  99. color: inherit;
  100. margin: 0;
  101. padding: 0;
  102. line-height: var(--h);
  103. font-size: 1rem;
  104. }
  105. .select2-container .select2-selection--single .select2-selection__arrow {
  106. right: 8px;
  107. height: var(--h);
  108. }
  109. .select2-container .select2-dropdown {
  110. background: #fefefe;
  111. border: 1px solid #b5cce2;
  112. border-radius: 4px;
  113. margin-top: 2px;
  114. }
  115. .select2-container .select2-dropdown .select2-search {
  116. padding: 8px 10px;
  117. }
  118. .select2-container .select2-dropdown .select2-search .select2-search__field {
  119. border: 1px solid var(--brc);
  120. background: var(--bgc);
  121. color: var(--tc);
  122. border-radius: 4px;
  123. }
  124. .select2-container .select2-dropdown .select2-results .select2-results__option {
  125. color: var(--tc);
  126. }
  127. .select2-container .select2-dropdown .select2-results .select2-results__option.select2-results__option--highlighted {
  128. background: #e7edf4;
  129. }
  130. .select2-container .select2-dropdown .select2-results .select2-results__option.select2-results__option[aria-selected=true] {
  131. background: #ecf3fc;
  132. font-weight: 600;
  133. }
  134. body {
  135. /*background: #3c3c3c;*/
  136. /*background: #005f61;*/
  137. /*background-image: linear-gradient(150deg,#005f61,#007f61);*/
  138. font-size: 22px;
  139. color: var(--mc);
  140. width: 100vw;
  141. }
  142. .main-box {
  143. border-left: 0;
  144. box-sizing: padding-box;
  145. padding: 0;
  146. margin: 0;
  147. }
  148. .main-box .main-box-body {
  149. margin: 0 30px 0;
  150. }
  151. .main-box > div {
  152. /* width: calc(100vw - 20px) !important;
  153. height: calc(100% - 20px) !important;*/
  154. display: flex;
  155. flex: 1 auto;
  156. }
  157. .box {
  158. margin: 0 10px;
  159. font-size: 1.25rem;
  160. }
  161. .box > .box {
  162. margin: 0;
  163. width: 100%;
  164. height: 100%;
  165. border: 2px solid #fff;
  166. border-radius: 10px;
  167. }
  168. .box .box-header {
  169. height: 50px;
  170. border-radius: 10px 10px 0 0;
  171. position: relative;
  172. }
  173. .box .box-header .title {
  174. --w: 50px;
  175. font-size: 22px;
  176. }
  177. .box .box-body {
  178. background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%);
  179. overflow-y: auto;
  180. margin: 0;
  181. padding: 10px 10px 0;
  182. height: calc(100% - 50px);
  183. }
  184. .box .scene-box-body {
  185. background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%);
  186. overflow-y: auto;
  187. margin: 0;
  188. padding: 10px 10px 0;
  189. height: calc(100% - 50px);
  190. }
  191. .box .scene-box-body .box-body {
  192. background: none;
  193. margin: 0;
  194. padding: 0;
  195. }
  196. .box .media-box {
  197. width: 98%;
  198. margin: 10px auto 0;
  199. border: 2px solid #4585CC;
  200. border-radius: 5px;
  201. background: var(--bg);
  202. }
  203. .box .media-box .body-content {
  204. display: flex;
  205. justify-content: center;
  206. align-items: center;
  207. width: 100%;
  208. height: 100%;
  209. /*max-width: 100%;
  210. max-height: 100%;*/
  211. overflow: hidden;
  212. }
  213. .box .media-box .body-content span {
  214. color: #4585CC;
  215. font-size: 30px;
  216. font-weight: 600;
  217. display: block;
  218. }
  219. .box .media-box .body-content img, .box .media-box .body-content video {
  220. width: auto;
  221. height: 100%;
  222. padding: 0;
  223. overflow: hidden;
  224. }
  225. .box .scene-box {
  226. width: 100%;
  227. margin: 8px 0;
  228. display: flex;
  229. flex-direction: column;
  230. }
  231. .box .scene-box .title {
  232. width: 100%;
  233. color: #fff;
  234. background: none;
  235. position: relative;
  236. height: 35px;
  237. border-bottom: 2px solid #4585CC;
  238. }
  239. .box .scene-box .title span.text {
  240. display: inline-block;
  241. padding: 0px 20px;
  242. line-height: 35px;
  243. text-align: center;
  244. min-width: 250px;
  245. max-width: 300px;
  246. background: #4585CC;
  247. position: relative;
  248. overflow: hidden;
  249. white-space: nowrap;
  250. text-overflow: ellipsis;
  251. font-weight: 600;
  252. }
  253. .box .scene-box .title span.text:after {
  254. position: absolute;
  255. content: "";
  256. right: -1px;
  257. height: 0;
  258. width: 0;
  259. border-left: 10px solid #4585CC;
  260. border-bottom: 18px solid #4585CC;
  261. border-right: 10px solid none;
  262. border-top: 18px solid none;
  263. }
  264. .box .scene-box .title .attach-box, .box .scene-box .title .tool {
  265. position: absolute;
  266. font-size: 0.875rem;
  267. right: 40px;
  268. top: 5px;
  269. }
  270. .box .scene-box .title .tool {
  271. right: 10px;
  272. top: 10px;
  273. color: #4585CC;
  274. opacity: 1;
  275. }
  276. .box .scene-box .title .attach1 {
  277. color: #fff;
  278. background: #4585CC;
  279. margin: 0 5px;
  280. padding: 3px 8px;
  281. }
  282. .box .scene-box .desc {
  283. padding: 8px;
  284. color: #36536D;
  285. background: var(--bg);
  286. white-space: normal;
  287. word-break: break-word;
  288. min-height: 40px;
  289. font-size: 16px;
  290. }
  291. .box .scene-box.handled {
  292. /* --bc: #e5e5e5;
  293. --bc2: #108F85;*/
  294. }
  295. .box .scene-box.handled .title {
  296. background: var(--bc);
  297. }
  298. .box .scene-box.handled .title span.text {
  299. font-size: 90%;
  300. font-weight: 400;
  301. background: #4585CC;
  302. }
  303. .box .scene-box.handled .title span.text:after {
  304. border-left-color: #4585CC;
  305. border-bottom-color: #4585CC;
  306. border-right-color: none;
  307. border-top-color: none;
  308. }
  309. .box .scene-box.current-scene {
  310. border: 2px solid #4585CC;
  311. }
  312. .box .scene-box.flash-scene {
  313. animation: flash 2s 10;
  314. }
  315. .box .log-box {
  316. font-size: 18px;
  317. width: calc(100% - 20px);
  318. margin: 8px auto;
  319. display: flex;
  320. align-items: center;
  321. justify-content: left;
  322. color: #415B73;
  323. background: var(--bg);
  324. min-height: 60px;
  325. padding: 5px 10px;
  326. position: relative;
  327. /*&:after {
  328. content: "";
  329. position: absolute;
  330. right: 0;
  331. bottom: 0;
  332. width: 0;
  333. height: 0;
  334. border-left: 15px solid transparent;
  335. border-top: 15px solid transparent;
  336. border-right: 15px solid #d9d9d9;
  337. border-bottom: 15px solid #d9d9d9;
  338. }*/
  339. }
  340. .box .log-box .role {
  341. font-weight: 600;
  342. white-space: normal;
  343. color: #415B73;
  344. width: 180px;
  345. text-align: center;
  346. }
  347. .box .log-box .name {
  348. word-break: break-word;
  349. }
  350. .box .log-box .word {
  351. word-break: break-word;
  352. text-align: left;
  353. width: calc(100% - 200px);
  354. color: var(--tc);
  355. text-indent: 2em;
  356. }
  357. .box .log-box .reviews-box {
  358. position: absolute;
  359. right: 20px;
  360. bottom: 5px;
  361. color: var(--mc);
  362. cursor: pointer;
  363. }
  364. .box .log-box .reviews-box .disabled {
  365. cursor: not-allowed;
  366. }
  367. .box .log-box .reviews-box i {
  368. font-size: 15px;
  369. margin: 0 5px;
  370. }
  371. .box .log-box .reviews-box .fas:nth-child(1) {
  372. color: #007bff;
  373. }
  374. .box .log-box .reviews-box .fas:nth-child(2) {
  375. color: #dc3545;
  376. }
  377. .box .log-box:before {
  378. content: "";
  379. position: absolute;
  380. left: 0;
  381. top: 0;
  382. width: 0;
  383. height: 0;
  384. border-left: 15px solid transparent;
  385. border-top: 15px solid transparent;
  386. border-right: 15px solid transparent;
  387. border-bottom: 15px solid transparent;
  388. }
  389. .box .log-box.send {
  390. background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.2), transparent);
  391. /*&:after {
  392. border-right: 15px solid var(--mc);
  393. border-bottom: 15px solid var(--mc);
  394. }*/
  395. }
  396. .box .log-box.send.specialist {
  397. padding: 5px 10px 25px;
  398. min-height: 90px;
  399. }
  400. .box .log-box.send:before {
  401. border-left: 15px solid var(--mc);
  402. border-top: 15px solid var(--mc);
  403. }
  404. .box .log-box.send .role {
  405. color: #03AEBC;
  406. }
  407. .box .role-box {
  408. display: flex;
  409. flex-wrap: wrap;
  410. justify-content: center;
  411. }
  412. .box .role-box .role {
  413. width: calc(50% - 20px);
  414. height: 50px;
  415. margin: 6px;
  416. padding: 0 5px;
  417. font-size: 14px;
  418. display: flex;
  419. justify-content: center;
  420. align-items: center;
  421. text-align: center;
  422. white-space: normal;
  423. word-break: break-all;
  424. color: var(--tc);
  425. border: 1px solid var(--brc);
  426. background: var(--bg);
  427. border-radius: 5px;
  428. cursor: pointer;
  429. overflow: hidden;
  430. }
  431. .box .score-box {
  432. font-size: 14px;
  433. margin: 5px;
  434. padding: 8px 15px;
  435. display: flex;
  436. justify-content: space-between;
  437. border-radius: 5px;
  438. color: #262626;
  439. background: var(--bg);
  440. }
  441. .box .score-box .name {
  442. width: 130px;
  443. line-height: 30px;
  444. border-radius: 5px;
  445. background: #03AEBC;
  446. color: #fff;
  447. text-align: center;
  448. font-size: 100%;
  449. white-space: nowrap;
  450. overflow: hidden;
  451. text-overflow: ellipsis;
  452. }
  453. .box .score-box .score {
  454. font-size: 110%;
  455. font-weight: 600;
  456. color: #094B88;
  457. line-height: 30px;
  458. text-align: center;
  459. }
  460. .box .score-box .score span {
  461. padding-left: 10px;
  462. font-size: 1rem;
  463. font-weight: 400;
  464. }
  465. .box.plan-box {
  466. margin: 5px 10px;
  467. border: 1px solid #a5d4f4;
  468. border-radius: 5px 5px 0 0;
  469. display: flex;
  470. flex-direction: column;
  471. background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%);
  472. }
  473. .box.plan-box .plan-name {
  474. width: 100%;
  475. background: #a5d4f4;
  476. color: #fff;
  477. padding: 5px 0;
  478. text-align: center;
  479. cursor: pointer;
  480. }
  481. .box.plan-box .plan-role {
  482. width: 100%;
  483. padding: 5px 15px;
  484. display: flex;
  485. flex-wrap: wrap;
  486. justify-content: flex-start;
  487. }
  488. .box.plan-box .plan-role .role {
  489. width: calc(25% - 12px);
  490. height: 50px;
  491. font-size: 14px;
  492. padding: 0 5px;
  493. margin: 6px;
  494. display: flex;
  495. justify-content: center;
  496. align-items: center;
  497. text-align: center;
  498. white-space: normal;
  499. word-break: break-all;
  500. color: var(--tc);
  501. border: 1px solid var(--brc);
  502. background: var(--bg);
  503. border-radius: 5px;
  504. cursor: pointer;
  505. overflow: hidden;
  506. }
  507. #modal-role-plan .modal-title-span {
  508. color: var(--tc);
  509. }
  510. .load-box {
  511. position: fixed;
  512. top: 0;
  513. bottom: 0;
  514. left: 0;
  515. right: 0;
  516. display: flex;
  517. justify-content: center;
  518. align-items: center;
  519. font-size: 40px;
  520. font-weight: 400;
  521. color: #094B88;
  522. z-index: 1000;
  523. background: rgba(255, 255, 255, 0.6);
  524. }
  525. .load-box .loading {
  526. margin-top: -10%;
  527. }
  528. .load-box .loading:after {
  529. overflow: hidden;
  530. display: inline-block;
  531. vertical-align: bottom;
  532. animation: ellipsis 2s infinite;
  533. content: "…";
  534. }
  535. .question {
  536. display: none;
  537. }
  538. .question button {
  539. --w: 80px;
  540. width: var(--w);
  541. height: var(--w);
  542. border-radius: var(--w);
  543. position: absolute;
  544. left: 50%;
  545. top: 40%;
  546. transform: translateX(-50%) translateY(-50%);
  547. z-index: 5;
  548. background-color: #dc3545;
  549. color: #fff;
  550. border: none;
  551. outline: none;
  552. }
  553. .question button:hover {
  554. background-color: #bd2130;
  555. }
  556. .question button i {
  557. font-size: 40px;
  558. }
  559. .question button:not(:hover) {
  560. animation: 1s shine ease-in-out infinite;
  561. }
  562. .question button:not(:hover) i {
  563. animation: 1s flashing ease-in-out infinite;
  564. }
  565. @keyframes shine {
  566. 0% {
  567. filter: drop-shadow(0 0 12px #dc3545);
  568. }
  569. 50% {
  570. filter: drop-shadow(0 0 12px #bd2130);
  571. }
  572. 100% {
  573. filter: drop-shadow(0 0 12px #dc3545);
  574. }
  575. }
  576. @keyframes flashing {
  577. 0% {
  578. opacity: 1;
  579. transform: scale(1);
  580. }
  581. 50% {
  582. opacity: 0.5;
  583. transform: scale(0.9);
  584. }
  585. 100% {
  586. opacity: 1;
  587. transform: scale(1);
  588. }
  589. }
  590. @keyframes shine {
  591. 0% {
  592. filter: drop-shadow(0 0 5px #c82333);
  593. }
  594. 100% {
  595. filter: drop-shadow(0 0 15px #c82333);
  596. }
  597. }
  598. @keyframes flash {
  599. 0% {
  600. transform: scale(1, 1.05);
  601. }
  602. 50% {
  603. transform: scale(0.98, 0.85);
  604. }
  605. 100% {
  606. transform: scale(1, 1.05);
  607. }
  608. }