public.scss 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436
  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. &:after {
  138. position: absolute;
  139. content: "";
  140. right: -1px;
  141. height: 0;
  142. width: 0;
  143. border-left: 10px solid var(--mc);
  144. border-bottom: 18px solid var(--mc);
  145. border-right: 10px solid #fff;
  146. border-top: 18px solid #fff;
  147. }
  148. }
  149. .attach-box, .tool {
  150. position: absolute;
  151. font-size: 0.875rem;
  152. right: 40px;
  153. top: 2px;
  154. }
  155. .tool {
  156. right: 10px;
  157. color: var(--mc);
  158. }
  159. .attach1 {
  160. color: #fff;
  161. background: var(--mc);
  162. margin: 0 5px;
  163. padding: 3px 8px;
  164. }
  165. }
  166. .desc {
  167. padding: 8px;
  168. color: #262626;
  169. background: #f3f3f3;
  170. white-space: normal;
  171. word-break: break-word;
  172. text-indent: 2em;
  173. min-height: 40px;
  174. }
  175. &.current-scene {
  176. border: 2px solid var(--mc);
  177. }
  178. &.flash-scene {
  179. animation: flash 2s 10;
  180. }
  181. }
  182. .log-box {
  183. width: calc(100% - 20px);
  184. margin: 8px auto;
  185. display: flex;
  186. align-items: center;
  187. justify-content: left;
  188. color: #262626;
  189. background: #f3f3f3;
  190. min-height: 80px;
  191. padding: 5px 10px;
  192. position: relative;
  193. .role {
  194. font-weight: 600;
  195. white-space: normal;
  196. color: var(--mc);
  197. width: 200px;
  198. text-align: center;
  199. }
  200. .name {
  201. word-break: break-word;
  202. }
  203. .word {
  204. word-break: break-word;
  205. text-align: left;
  206. width: calc(100% - 200px);
  207. text-indent: 2em;
  208. }
  209. &:before {
  210. content: "";
  211. position: absolute;
  212. left: 0;
  213. top: 0;
  214. width: 0;
  215. height: 0;
  216. border-left: 15px solid #d9d9d9;
  217. border-top: 15px solid #d9d9d9;
  218. border-right: 15px solid transparent;
  219. border-bottom: 15px solid transparent;
  220. }
  221. /*&:after {
  222. content: "";
  223. position: absolute;
  224. right: 0;
  225. bottom: 0;
  226. width: 0;
  227. height: 0;
  228. border-left: 15px solid transparent;
  229. border-top: 15px solid transparent;
  230. border-right: 15px solid #d9d9d9;
  231. border-bottom: 15px solid #d9d9d9;
  232. }*/
  233. &.send {
  234. background-image: linear-gradient(-45deg, rgba(255,255,255,.2), transparent);
  235. &:before {
  236. border-left: 15px solid var(--mc);
  237. border-top: 15px solid var(--mc);
  238. }
  239. .word {
  240. color: #999;
  241. }
  242. /*&:after {
  243. border-right: 15px solid var(--mc);
  244. border-bottom: 15px solid var(--mc);
  245. }*/
  246. }
  247. }
  248. .role-box {
  249. width: 85px;
  250. height: 85px;
  251. font-size: 1rem;
  252. margin: 6px;
  253. display: flex;
  254. flex-direction: column;
  255. justify-content: space-between;
  256. border-radius: 5px;
  257. border: 1px solid var(--mc);
  258. color: (--mc);
  259. background: #f3f3f3;
  260. padding: 5px 0;
  261. float: left;
  262. cursor: pointer;
  263. .image {
  264. width: 100%;
  265. height: 50%;
  266. display: flex;
  267. justify-content: center;
  268. align-items: center;
  269. img {
  270. width: 35px;
  271. height: 35px;
  272. border-radius: 20px;
  273. }
  274. }
  275. .name {
  276. width: 100%;
  277. height: 30px;
  278. font-size: 12px;
  279. display: flex;
  280. justify-content: center;
  281. align-items: center;
  282. text-align: center;
  283. white-space: normal;
  284. word-break: break-all;
  285. /*overflow: hidden;
  286. white-space: nowrap;
  287. text-overflow: ellipsis;*/
  288. }
  289. }
  290. .score-box {
  291. font-size: 1rem;
  292. margin: 5px;
  293. padding: 8px 15px;
  294. display: flex;
  295. justify-content: space-around;
  296. border-radius: 5px;
  297. color: #262626;
  298. background: #f3f3f3;
  299. .name {
  300. width: 130px;
  301. line-height: 30px;
  302. border-radius: 20px;
  303. background: var(--mc);
  304. color: #fff;
  305. text-align: center;
  306. font-size: 100%;
  307. font-weight: 600;
  308. white-space: nowrap;
  309. overflow: hidden;
  310. text-overflow: ellipsis;
  311. }
  312. .score {
  313. font-size: 110%;
  314. font-weight: 600;
  315. color: #000;
  316. line-height: 30px;
  317. text-align: center;
  318. span {
  319. padding-left: 10px;
  320. font-size: 1rem;
  321. font-weight: 400;
  322. color: #3c3c3c;
  323. }
  324. }
  325. }
  326. &.plan-box {
  327. margin: 5px 10px;
  328. border: 1px solid $main-color;
  329. border-radius: 5px 5px 0 0;
  330. display: flex;
  331. flex-direction: column;
  332. .plan-name {
  333. width: 100%;
  334. background: var(--mc);
  335. color: #fff;
  336. padding: 5px 0;
  337. text-align: center;
  338. cursor: pointer;
  339. }
  340. .plan-role {
  341. width: 100%;
  342. background: #fff;
  343. padding: 5px 15px;
  344. .role-box {
  345. /*min-width: 175px;
  346. max-width: 250px;*/
  347. width: 120px;
  348. height: 120px;
  349. border-radius: 5px;
  350. padding: 10px;
  351. margin: 10px 14px;
  352. float: left;
  353. .image {
  354. width: 100%;
  355. height: 50%;
  356. img {
  357. width: 50px;
  358. height: 50px;
  359. border-radius: 25px;
  360. }
  361. }
  362. .name {
  363. width: 100%;
  364. height: 40px;
  365. font-size: 1.2rem;
  366. }
  367. }
  368. }
  369. }
  370. }
  371. @keyframes flash {
  372. 0% {
  373. transform: scale(1.0,1.05);
  374. //background-image: linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))
  375. }
  376. 50% {
  377. transform: scale(0.98,0.85);
  378. //background-image: linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.5))
  379. }
  380. 100% {
  381. transform: scale(1.0,1.05);
  382. //background-image: linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2));
  383. }
  384. }