public.css 9.2 KB

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