public.css 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  1. body {
  2. --mc: #11998e; }
  3. body {
  4. /*background: #3c3c3c;*/
  5. /*background: #005f61;*/
  6. /*background-image: linear-gradient(150deg,#005f61,#007f61);*/
  7. font-size: 22px;
  8. color: var(--mc);
  9. width: 100vw; }
  10. .main-box {
  11. border-left: 0;
  12. box-sizing: padding-box;
  13. padding: 5px;
  14. background: #f3f3f3; }
  15. .main-box .btn {
  16. position: absolute;
  17. top: 5px;
  18. margin-bottom: 0;
  19. z-index: 2;
  20. padding: 6px 20px;
  21. background: #f3f3f3;
  22. border: 1px solid var(--mc);
  23. color: var(--mc); }
  24. .main-box .btn:hover {
  25. background: var(--mc);
  26. color: #f3f3f3; }
  27. .main-box .btn.btn.stop {
  28. color: #f3f3f3;
  29. background: var(--mc); }
  30. .main-box .btn.btn.stop:hover {
  31. background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)); }
  32. .main-box > div {
  33. width: calc(100vw - 20px) !important;
  34. height: calc(100% - 20px) !important;
  35. display: flex;
  36. flex: 1 auto;
  37. justify-content: center; }
  38. .box {
  39. background: #fff;
  40. margin: 10px;
  41. font-size: 1.25rem; }
  42. .box > .box {
  43. margin: 0; }
  44. .box .box-title {
  45. text-align: left;
  46. line-height: 45px;
  47. border-bottom: 2px solid #d9d9d9;
  48. position: relative; }
  49. .box .box-title > span {
  50. color: var(--mc);
  51. font-size: 1.25rem;
  52. font-weight: 600;
  53. padding-left: 40px;
  54. line-height: 1;
  55. position: relative; }
  56. .box .box-title > span:before {
  57. content: "";
  58. position: absolute;
  59. width: 5px;
  60. height: 30px;
  61. top: 2px;
  62. left: 25px;
  63. background: var(--mc);
  64. border-radius: 3px; }
  65. .box .box-body {
  66. overflow-y: auto;
  67. padding: 10px 10px 0;
  68. height: calc(100% - 50px); }
  69. .box .media-box {
  70. width: 98%;
  71. margin: 10px auto 0;
  72. border: 3px solid #d9d9d9;
  73. border-radius: 3px;
  74. background: #f3f3f3; }
  75. .box .media-box .body-content {
  76. display: flex;
  77. justify-content: center;
  78. align-items: center;
  79. width: 100%;
  80. height: 100%;
  81. /*max-width: 100%;
  82. max-height: 100%;*/
  83. overflow: hidden; }
  84. .box .media-box .body-content span {
  85. color: var(--mc);
  86. font-size: 30px;
  87. font-weight: 600;
  88. display: block;
  89. background: #f3f3f3; }
  90. .box .media-box .body-content img, .box .media-box .body-content video {
  91. width: auto;
  92. height: 100%;
  93. padding: 0;
  94. overflow: hidden; }
  95. .box .scene-box {
  96. width: 100%;
  97. margin: 8px 0;
  98. display: flex;
  99. flex-direction: column; }
  100. .box .scene-box .title {
  101. width: 100%;
  102. color: #fff;
  103. background: #fff;
  104. position: relative;
  105. height: 35px;
  106. border-bottom: 1px solid var(--mc); }
  107. .box .scene-box .title span.text {
  108. display: inline-block;
  109. padding: 0px 20px;
  110. line-height: 35px;
  111. text-align: center;
  112. min-width: 250px;
  113. max-width: 300px;
  114. background: var(--mc);
  115. position: relative;
  116. overflow: hidden;
  117. white-space: nowrap;
  118. text-overflow: ellipsis; }
  119. .box .scene-box .title span.text:after {
  120. position: absolute;
  121. content: "";
  122. right: -1px;
  123. height: 0;
  124. width: 0;
  125. border-left: 10px solid var(--mc);
  126. border-bottom: 18px solid var(--mc);
  127. border-right: 10px solid #fff;
  128. border-top: 18px solid #fff; }
  129. .box .scene-box .title .attach-box, .box .scene-box .title .tool {
  130. position: absolute;
  131. font-size: 0.875rem;
  132. right: 40px;
  133. top: 2px; }
  134. .box .scene-box .title .tool {
  135. right: 10px;
  136. color: var(--mc); }
  137. .box .scene-box .title .attach1 {
  138. color: #fff;
  139. background: var(--mc);
  140. margin: 0 5px;
  141. padding: 3px 8px; }
  142. .box .scene-box .desc {
  143. padding: 8px;
  144. color: #262626;
  145. background: #f3f3f3;
  146. white-space: normal;
  147. word-break: break-word;
  148. text-indent: 2em;
  149. min-height: 40px; }
  150. .box .scene-box.current-scene {
  151. border: 2px solid var(--mc); }
  152. .box .scene-box.flash-scene {
  153. animation: flash 2s 10; }
  154. .box .log-box {
  155. width: calc(100% - 20px);
  156. margin: 8px auto;
  157. display: flex;
  158. align-items: center;
  159. justify-content: left;
  160. color: #262626;
  161. background: #f3f3f3;
  162. min-height: 80px;
  163. padding: 5px 10px;
  164. position: relative;
  165. /*&:after {
  166. content: "";
  167. position: absolute;
  168. right: 0;
  169. bottom: 0;
  170. width: 0;
  171. height: 0;
  172. border-left: 15px solid transparent;
  173. border-top: 15px solid transparent;
  174. border-right: 15px solid #d9d9d9;
  175. border-bottom: 15px solid #d9d9d9;
  176. }*/ }
  177. .box .log-box .role {
  178. font-weight: 600;
  179. white-space: normal;
  180. color: var(--mc);
  181. width: 200px;
  182. text-align: center; }
  183. .box .log-box .name {
  184. word-break: break-word; }
  185. .box .log-box .word {
  186. word-break: break-word;
  187. text-align: left;
  188. width: calc(100% - 200px);
  189. text-indent: 2em; }
  190. .box .log-box:before {
  191. content: "";
  192. position: absolute;
  193. left: 0;
  194. top: 0;
  195. width: 0;
  196. height: 0;
  197. border-left: 15px solid #d9d9d9;
  198. border-top: 15px solid #d9d9d9;
  199. border-right: 15px solid transparent;
  200. border-bottom: 15px solid transparent; }
  201. .box .log-box.send {
  202. background-image: linear-gradient(-45deg, rgba(255, 255, 255, 0.2), transparent);
  203. /*&:after {
  204. border-right: 15px solid var(--mc);
  205. border-bottom: 15px solid var(--mc);
  206. }*/ }
  207. .box .log-box.send:before {
  208. border-left: 15px solid var(--mc);
  209. border-top: 15px solid var(--mc); }
  210. .box .log-box.send .word {
  211. color: #999; }
  212. .box .role-box {
  213. width: 85px;
  214. height: 85px;
  215. font-size: 1rem;
  216. margin: 6px;
  217. display: flex;
  218. flex-direction: column;
  219. justify-content: space-between;
  220. border-radius: 5px;
  221. border: 1px solid var(--mc);
  222. color: --mc;
  223. background: #f3f3f3;
  224. padding: 5px 0;
  225. float: left;
  226. cursor: pointer; }
  227. .box .role-box .image {
  228. width: 100%;
  229. height: 50%;
  230. display: flex;
  231. justify-content: center;
  232. align-items: center; }
  233. .box .role-box .image img {
  234. width: 35px;
  235. height: 35px;
  236. border-radius: 20px; }
  237. .box .role-box .name {
  238. width: 100%;
  239. height: 30px;
  240. font-size: 12px;
  241. display: flex;
  242. justify-content: center;
  243. align-items: center;
  244. text-align: center;
  245. white-space: normal;
  246. word-break: break-all;
  247. /*overflow: hidden;
  248. white-space: nowrap;
  249. text-overflow: ellipsis;*/ }
  250. .box .score-box {
  251. font-size: 1rem;
  252. margin: 5px;
  253. padding: 8px 15px;
  254. display: flex;
  255. justify-content: space-around;
  256. border-radius: 5px;
  257. color: #262626;
  258. background: #f3f3f3; }
  259. .box .score-box .name {
  260. width: 130px;
  261. line-height: 30px;
  262. border-radius: 20px;
  263. background: var(--mc);
  264. color: #fff;
  265. text-align: center;
  266. font-size: 100%;
  267. font-weight: 600;
  268. white-space: nowrap;
  269. overflow: hidden;
  270. text-overflow: ellipsis; }
  271. .box .score-box .score {
  272. font-size: 110%;
  273. font-weight: 600;
  274. color: #000;
  275. line-height: 30px;
  276. text-align: center; }
  277. .box .score-box .score span {
  278. padding-left: 10px;
  279. font-size: 1rem;
  280. font-weight: 400;
  281. color: #3c3c3c; }
  282. .box.plan-box {
  283. margin: 5px 10px;
  284. border: 1px solid #049e9a;
  285. border-radius: 5px 5px 0 0;
  286. display: flex;
  287. flex-direction: column; }
  288. .box.plan-box .plan-name {
  289. width: 100%;
  290. background: var(--mc);
  291. color: #fff;
  292. padding: 5px 0;
  293. text-align: center;
  294. cursor: pointer; }
  295. .box.plan-box .plan-role {
  296. width: 100%;
  297. background: #fff;
  298. padding: 5px 15px; }
  299. .box.plan-box .plan-role .role-box {
  300. /*min-width: 175px;
  301. max-width: 250px;*/
  302. width: 120px;
  303. height: 120px;
  304. border-radius: 5px;
  305. padding: 10px;
  306. margin: 10px 14px;
  307. float: left; }
  308. .box.plan-box .plan-role .role-box .image {
  309. width: 100%;
  310. height: 50%; }
  311. .box.plan-box .plan-role .role-box .image img {
  312. width: 50px;
  313. height: 50px;
  314. border-radius: 25px; }
  315. .box.plan-box .plan-role .role-box .name {
  316. width: 100%;
  317. height: 40px;
  318. font-size: 1.2rem; }
  319. @keyframes flash {
  320. 0% {
  321. transform: scale(1, 1.05); }
  322. 50% {
  323. transform: scale(0.98, 0.85); }
  324. 100% {
  325. transform: scale(1, 1.05); } }