screen.scss 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
  1. @import "./_stu-body";
  2. @import "./_stu-box_header";
  3. @import "./_stu-form";
  4. body {
  5. /*background: #3c3c3c;*/
  6. /*background: #005f61;*/
  7. /*background-image: linear-gradient(150deg,#005f61,#007f61);*/
  8. font-size: 22px;
  9. color: var(--mc);
  10. width: 100vw;
  11. }
  12. .main-box {
  13. border-left: 0;
  14. box-sizing: padding-box;
  15. padding: 0;
  16. margin:0;
  17. .main-box-body {
  18. margin: 0 30px 0;
  19. }
  20. > div {
  21. /* width: calc(100vw - 20px) !important;
  22. height: calc(100% - 20px) !important;*/
  23. display: flex;
  24. flex: 1 auto;
  25. }
  26. }
  27. .box {
  28. margin:0 10px;
  29. font-size: 1.25rem;
  30. > .box {
  31. margin: 0;
  32. width: 100%;
  33. height: 100%;
  34. border: 2px solid #fff;
  35. border-radius: 10px;
  36. }
  37. .box-header {
  38. height: 50px;
  39. border-radius: 10px 10px 0 0;
  40. position: relative;
  41. .title {
  42. --w: 50px;
  43. font-size: 22px;
  44. }
  45. }
  46. .box-body {
  47. background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%);
  48. overflow-y: auto;
  49. margin: 0;
  50. padding: 10px 10px 0;
  51. height: calc(100% - 50px);
  52. }
  53. .scene-box-body {
  54. background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%);
  55. overflow-y: auto;
  56. margin: 0;
  57. padding: 10px 10px 0;
  58. height: calc(100% - 50px);
  59. .box-body {
  60. background: none;
  61. margin: 0;
  62. padding: 0;
  63. }
  64. }
  65. .media-box {
  66. width: 98%;
  67. margin: 10px auto 0;
  68. border: 2px solid #4585CC;
  69. border-radius: 5px;
  70. background: var(--bg);
  71. .body-content {
  72. display: flex;
  73. justify-content: center;
  74. align-items: center;
  75. width: 100%;
  76. height: 100%;
  77. /*max-width: 100%;
  78. max-height: 100%;*/
  79. overflow: hidden;
  80. span {
  81. color: #4585CC;
  82. font-size: 30px;
  83. font-weight: 600;
  84. display: block;
  85. }
  86. img, video {
  87. width: auto;
  88. height: 100%;
  89. padding: 0;
  90. overflow: hidden;
  91. }
  92. }
  93. }
  94. .scene-box {
  95. width: 100%;
  96. margin: 8px 0;
  97. display: flex;
  98. flex-direction: column;
  99. .title {
  100. width: 100%;
  101. color: #fff;
  102. background: none;
  103. position: relative;
  104. height: 35px;
  105. border-bottom: 2px solid #4585CC;
  106. span.text {
  107. display: inline-block;
  108. padding: 0px 20px;
  109. line-height: 35px;
  110. text-align: center;
  111. min-width: 250px;
  112. max-width: 300px;
  113. background: #4585CC;
  114. position: relative;
  115. overflow: hidden;
  116. white-space: nowrap;
  117. text-overflow: ellipsis;
  118. font-weight: 600;
  119. &:after {
  120. position: absolute;
  121. content: "";
  122. right: -1px;
  123. height: 0;
  124. width: 0;
  125. border-left: 10px solid #4585CC;
  126. border-bottom: 18px solid #4585CC;
  127. border-right: 10px solid none;
  128. border-top: 18px solid none;
  129. }
  130. }
  131. .attach-box, .tool {
  132. position: absolute;
  133. font-size: 0.875rem;
  134. right: 40px;
  135. top: 5px;
  136. }
  137. .tool {
  138. right: 10px;
  139. top: 10px;
  140. color: #4585CC;
  141. opacity: 1;
  142. }
  143. .attach1 {
  144. color: #fff;
  145. background: #4585CC;
  146. margin: 0 5px;
  147. padding: 3px 8px;
  148. }
  149. }
  150. .desc {
  151. padding: 8px;
  152. color: #36536D;
  153. background: var(--bg);
  154. white-space: normal;
  155. word-break: break-word;
  156. min-height: 40px;
  157. font-size: 16px;
  158. }
  159. &.handled {
  160. //--bc: rgba(0,0,0,.1);
  161. /* --bc: #e5e5e5;
  162. --bc2: #108F85;*/
  163. .title {
  164. background: var(--bc);
  165. span.text {
  166. font-size: 90%;
  167. font-weight: 400;
  168. background: #4585CC;
  169. &:after {
  170. //background-image: linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1));
  171. border-left-color: #4585CC;
  172. border-bottom-color: #4585CC;
  173. border-right-color: none;
  174. border-top-color: none;
  175. }
  176. }
  177. }
  178. }
  179. &.current-scene {
  180. border: 2px solid #4585CC;
  181. }
  182. &.flash-scene {
  183. animation: flash 2s 10;
  184. }
  185. }
  186. .log-box {
  187. font-size: 18px;
  188. width: calc(100% - 20px);
  189. margin: 8px auto;
  190. display: flex;
  191. align-items: center;
  192. justify-content: left;
  193. color: #415B73;
  194. background: var(--bg);
  195. min-height: 60px;
  196. padding: 5px 10px;
  197. position: relative;
  198. .role {
  199. font-weight: 600;
  200. white-space: normal;
  201. color: #415B73;
  202. width: 180px;
  203. text-align: center;
  204. }
  205. .name {
  206. word-break: break-word;
  207. }
  208. .word {
  209. word-break: break-word;
  210. text-align: left;
  211. width: calc(100% - 200px);
  212. color: var(--tc);
  213. text-indent: 2em;
  214. }
  215. .reviews-box {
  216. position: absolute;
  217. right: 20px;
  218. bottom: 5px;
  219. color: var(--mc);
  220. cursor: pointer;
  221. .disabled {
  222. cursor: not-allowed;
  223. }
  224. i {
  225. font-size: 15px;
  226. margin: 0 5px;
  227. }
  228. .fas:nth-child(1) {
  229. color: #007bff;
  230. }
  231. .fas:nth-child(2) {
  232. color: #dc3545;
  233. }
  234. }
  235. &:before {
  236. content: "";
  237. position: absolute;
  238. left: 0;
  239. top: 0;
  240. width: 0;
  241. height: 0;
  242. border-left: 15px solid transparent;
  243. border-top: 15px solid transparent;
  244. border-right: 15px solid transparent;
  245. border-bottom: 15px solid transparent;
  246. }
  247. /*&:after {
  248. content: "";
  249. position: absolute;
  250. right: 0;
  251. bottom: 0;
  252. width: 0;
  253. height: 0;
  254. border-left: 15px solid transparent;
  255. border-top: 15px solid transparent;
  256. border-right: 15px solid #d9d9d9;
  257. border-bottom: 15px solid #d9d9d9;
  258. }*/
  259. &.send {
  260. background-image: linear-gradient(-45deg, rgba(255,255,255,.2), transparent);
  261. &.specialist {
  262. padding: 5px 10px 25px;
  263. min-height: 90px;
  264. }
  265. &:before {
  266. border-left: 15px solid var(--mc);
  267. border-top: 15px solid var(--mc);
  268. }
  269. .role {
  270. color: #03AEBC;
  271. }
  272. /*&:after {
  273. border-right: 15px solid var(--mc);
  274. border-bottom: 15px solid var(--mc);
  275. }*/
  276. }
  277. }
  278. .role-box {
  279. display: flex;
  280. flex-wrap: wrap;
  281. justify-content: center;
  282. .role {
  283. width: calc(50% - 20px);
  284. height: 50px;
  285. margin: 6px;
  286. padding: 0 5px;
  287. font-size: 14px;
  288. display: flex;
  289. justify-content: center;
  290. align-items: center;
  291. text-align: center;
  292. white-space: normal;
  293. word-break: break-all;
  294. color: var(--tc);
  295. border: 1px solid var(--brc);
  296. background: var(--bg);
  297. border-radius: 5px;
  298. cursor: pointer;
  299. overflow: hidden;
  300. }
  301. }
  302. .score-box {
  303. font-size: 14px;
  304. margin: 5px;
  305. padding: 8px 15px;
  306. display: flex;
  307. justify-content: space-between;
  308. border-radius: 5px;
  309. color: #262626;
  310. background: var(--bg);
  311. .name {
  312. width: 130px;
  313. line-height: 30px;
  314. border-radius: 5px;
  315. background: #03AEBC;
  316. color: #fff;
  317. text-align: center;
  318. font-size: 100%;
  319. white-space: nowrap;
  320. overflow: hidden;
  321. text-overflow: ellipsis;
  322. }
  323. .score {
  324. font-size: 110%;
  325. font-weight: 600;
  326. color: #094B88;
  327. line-height: 30px;
  328. text-align: center;
  329. span {
  330. padding-left: 10px;
  331. font-size: 1rem;
  332. font-weight: 400;
  333. }
  334. }
  335. }
  336. &.plan-box {
  337. margin: 5px 10px;
  338. border: 1px solid #a5d4f4;
  339. border-radius: 5px 5px 0 0;
  340. display: flex;
  341. flex-direction: column;
  342. background: linear-gradient(174.54deg, rgba(204, 224, 248, 0.76) 0.23%, rgba(242, 249, 255, 0.76) 120.71%);
  343. .plan-name {
  344. width: 100%;
  345. background: #a5d4f4;
  346. color: #fff;
  347. padding: 5px 0;
  348. text-align: center;
  349. cursor: pointer;
  350. }
  351. .plan-role {
  352. width: 100%;
  353. padding: 5px 15px;
  354. display: flex;
  355. flex-wrap: wrap;
  356. justify-content: flex-start;
  357. .role {
  358. width: calc(25% - 12px);
  359. height: 50px;
  360. font-size: 14px;
  361. padding: 0 5px;
  362. margin: 6px;
  363. display: flex;
  364. justify-content: center;
  365. align-items: center;
  366. text-align: center;
  367. white-space: normal;
  368. word-break: break-all;
  369. color: var(--tc);
  370. border: 1px solid var(--brc);
  371. background: var(--bg);
  372. border-radius: 5px;
  373. cursor: pointer;
  374. overflow: hidden;
  375. }
  376. }
  377. }
  378. }
  379. #modal-role-plan {
  380. .modal-title-span{
  381. color:var(--tc);
  382. }
  383. }
  384. .load-box {
  385. position: fixed;
  386. top: 0;
  387. bottom: 0;
  388. left: 0;
  389. right: 0;
  390. display: flex;
  391. justify-content: center;
  392. align-items: center;
  393. font-size: 40px;
  394. font-weight: 400;
  395. color: #094B88;
  396. z-index: 1000;
  397. background: rgba(255,255,255,0.6);
  398. .loading {
  399. margin-top: -10%;
  400. }
  401. .loading:after {
  402. overflow: hidden;
  403. display: inline-block;
  404. vertical-align: bottom;
  405. animation: ellipsis 2s infinite;
  406. content: "\2026";
  407. }
  408. }
  409. .question {
  410. display: none;
  411. button {
  412. --w: 80px;
  413. width: var(--w);
  414. height: var(--w);
  415. border-radius: var(--w);
  416. position: absolute;
  417. left: 50%;
  418. top: 40%;
  419. transform: translateX(-50%) translateY(-50%);
  420. z-index: 5;
  421. background-color: #dc3545;
  422. color: #fff;
  423. border: none;
  424. outline: none;
  425. &:hover {
  426. background-color: #bd2130;
  427. }
  428. i {
  429. font-size: 40px;
  430. }
  431. &:not(:hover) {
  432. animation: 1s shine ease-in-out infinite;
  433. i {
  434. animation: 1s flashing ease-in-out infinite;
  435. }
  436. }
  437. }
  438. }
  439. @keyframes shine {
  440. 0% {
  441. filter: drop-shadow(0 0 12px #dc3545);
  442. }
  443. 50% {
  444. filter: drop-shadow(0 0 12px #bd2130);
  445. }
  446. 100% {
  447. filter: drop-shadow(0 0 12px #dc3545);
  448. }
  449. }
  450. @keyframes flashing {
  451. 0% {
  452. opacity: 1;
  453. transform: scale(1)
  454. }
  455. 50% {
  456. opacity: 0.5;
  457. transform: scale(0.9)
  458. }
  459. 100% {
  460. opacity: 1;
  461. transform: scale(1)
  462. }
  463. }
  464. @keyframes shine {
  465. 0% {
  466. filter: drop-shadow(0 0 5px #c82333);
  467. }
  468. 100% {
  469. filter: drop-shadow(0 0 15px #c82333);
  470. }
  471. }
  472. @keyframes flash {
  473. 0% {
  474. transform: scale(1.0,1.05);
  475. //background-image: linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))
  476. }
  477. 50% {
  478. transform: scale(0.98,0.85);
  479. //background-image: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5))
  480. }
  481. 100% {
  482. transform: scale(1.0,1.05);
  483. //background-image: linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2));
  484. }
  485. }