public.scss 13 KB

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