runplay.css 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. .scroll {
  2. width: auto; }
  3. body {
  4. width: 100vw;
  5. height: 100vh;
  6. color: #f5f5dc;
  7. background: #111E25;
  8. --padding: 5px;
  9. padding: var(--padding);
  10. --mc: #049e9a; }
  11. .main-box {
  12. width: 100%;
  13. display: flex;
  14. flex-direction: column;
  15. height: calc(100vh - var(--padding)*2);
  16. --h: 30px;
  17. border: 3px solid var(--mc); }
  18. .main-box .main-box-header {
  19. background: var(--mc);
  20. height: var(--h);
  21. font-size: 16px;
  22. display: flex; }
  23. .main-box .main-box-header .user-name {
  24. width: 20%;
  25. padding-left: 20px;
  26. line-height: var(--h);
  27. cursor: pointer; }
  28. .main-box .main-box-header .menu {
  29. width: 80%;
  30. padding-right: 20px;
  31. line-height: var(--h);
  32. display: inline-block;
  33. list-style: none;
  34. display: flex;
  35. justify-content: flex-end; }
  36. .main-box .main-box-header .menu a {
  37. color: #f5f5dc;
  38. padding: 0 15px;
  39. line-height: var(--h); }
  40. .main-box-content {
  41. padding: 25px 5px 5px;
  42. height: calc(100% - var(--h));
  43. display: flex; }
  44. .main-box-content > div {
  45. margin: 0 10px; }
  46. .box {
  47. --mh: 10px;
  48. height: calc(100% - var(--mh));
  49. margin-top: var(--mh);
  50. border: 2px solid var(--mc);
  51. position: relative;
  52. border-radius: 5px;
  53. padding-top: 15px; }
  54. .box .box-header {
  55. position: absolute;
  56. color: var(--mc);
  57. background: #111E25;
  58. font-size: 24px;
  59. font-weight: 600;
  60. top: -20px;
  61. left: 30px;
  62. padding: 0 10px; }
  63. .box .box-content {
  64. --sh: 300px;
  65. padding: 12px;
  66. padding-top: 2px;
  67. height: calc(100% - var(--mh)*3); }
  68. .box.small {
  69. border-width: 1px; }
  70. .box.small .box-header {
  71. font-size: 20px;
  72. top: -15px;
  73. left: 50%; }
  74. .box.small .box-content {
  75. height: 100%; }
  76. .box .scene-info-box {
  77. --sh: 300px; }
  78. .box .log-cmd-box {
  79. --sh: 165px; }
  80. .box .log-cmd-box #current-scene-box {
  81. height: 35px;
  82. background: #FF3366;
  83. color: #fff;
  84. text-align: center;
  85. border-radius: 5px;
  86. margin: 10px 12px 5px; }
  87. .box .log-cmd-box #current-scene-box span {
  88. font-size: 16px;
  89. line-height: 35px; }
  90. .box .log-cmd-box .box-content {
  91. height: calc(100% - var(--mh)*3 - 45px); }
  92. .box .base-box {
  93. --sh: 250px; }
  94. .box #count-down {
  95. position: absolute;
  96. top: 20px;
  97. right: 20px;
  98. color: red;
  99. font-weight: 600;
  100. font-size: 24px; }
  101. #scene-info-box {
  102. display: flex;
  103. flex-direction: column; }
  104. #scene-info-box .round-box {
  105. line-height: 35px;
  106. font-weight: 600;
  107. font-size: 18px;
  108. text-align: center;
  109. color: #fff;
  110. border-radius: 5px;
  111. background: #FF3366;
  112. margin: 10px 0 5px; }
  113. #scene-info-box .scene-box {
  114. width: 100%;
  115. margin: 5px 0;
  116. display: flex;
  117. flex-direction: column;
  118. font-size: 1rem;
  119. border: 1px solid #e2ebd7;
  120. background: #e2ebd7;
  121. border-radius: 5px;
  122. cursor: pointer; }
  123. #scene-info-box .scene-box .title {
  124. padding: 4px 20px;
  125. font-weight: 600;
  126. width: 100%;
  127. text-align: left;
  128. color: var(--mc);
  129. border-bottom: 1px solid var(--mc);
  130. /*color: #fff;
  131. background: #0094ff;*/
  132. position: relative;
  133. border-radius: 5px 5px 0 0; }
  134. #scene-info-box .scene-box .title span {
  135. margin-right: 5px; }
  136. #scene-info-box .scene-box .title span.no-scene {
  137. margin-right: 5px; }
  138. #scene-info-box .scene-box .title .tool {
  139. position: absolute;
  140. right: 10px;
  141. top: 5px; }
  142. #scene-info-box .scene-box .title .attach-box {
  143. position: absolute;
  144. font-size: 0.875rem;
  145. right: 30px;
  146. top: 2px; }
  147. #scene-info-box .scene-box .title .attach {
  148. font-size: inherit; }
  149. #scene-info-box .scene-box .desc {
  150. padding: 5px;
  151. color: #3c3c3c;
  152. white-space: normal;
  153. word-break: break-word;
  154. text-indent: 2em;
  155. min-height: 40px; }
  156. #scene-info-box .scene-box .desc .guide-box {
  157. font-size: 85%; }
  158. #scene-info-box .scene-box .desc .guide-box .guide-title {
  159. font-weight: 600;
  160. color: var(--mc); }
  161. #scene-info-box .scene-box .desc .guide-box .guide-info {
  162. margin: 5px 0;
  163. color: #666; }
  164. #scene-info-box .scene-box.active .title {
  165. background: var(--mc);
  166. color: #fff; }
  167. #scene-info-box .scene-box.current-scene {
  168. border: 1px solid red; }
  169. #scene-info-box .scene-box.new-scene {
  170. border: 1px solid #ff6a00; }
  171. #scene-info-box .scene-box.flash-scene .title {
  172. background: #339999;
  173. border-bottom: 1px solid #339999;
  174. color: #fff; }
  175. #scene-info-box .scene-box.flash-scene .title span {
  176. animation: flash 2.0s infinite; }
  177. .role-change-box {
  178. display: none;
  179. min-height: 100px;
  180. border: 1px solid var(--mc);
  181. background: #3c3c3c;
  182. position: absolute;
  183. bottom: calc(100% + 20px);
  184. padding: 10px;
  185. bottom: calc(100% - 10px);
  186. padding: 5px 10px;
  187. left: -30%;
  188. right: 20%;
  189. z-index: 2;
  190. border-radius: 5px; }
  191. .role-change-box .role {
  192. margin: 6px;
  193. padding: 5px 10px;
  194. font-size: 14px;
  195. color: #fff;
  196. background: var(--mc); }
  197. .score-info-box {
  198. /*display: flex;
  199. flex-direction: column;*/ }
  200. .score-info-box .score-box {
  201. margin: 5px;
  202. padding: 8px 25px;
  203. border-radius: 5px;
  204. border: 1px solid #e2ebd7;
  205. color: #e2ebd7;
  206. display: block;
  207. float: left;
  208. width: auto;
  209. text-align: center;
  210. background: #3c3c3c; }
  211. .score-info-box .score-box.system-score {
  212. font-size: 18px;
  213. width: calc(100% - 10px); }
  214. .score-info-box .score-box.tag-score {
  215. font-size: 14px;
  216. padding: 5px 25px;
  217. width: calc(50% - 10px); }
  218. .score-info-box .score-box .name {
  219. font-weight: 600;
  220. white-space: nowrap; }
  221. .score-info-box .score-box .socre {
  222. word-break: break-word; }
  223. .media-box {
  224. width: 100%;
  225. height: 100%; }
  226. .media-box .body-content {
  227. width: 100%;
  228. height: 100%; }
  229. .cmd-box .tool-box {
  230. margin-bottom: 10px; }
  231. .cmd-box .tool-box .role {
  232. cursor: pointer;
  233. min-width: 100px;
  234. border-radius: 20px; }
  235. .cmd-box .msg-box {
  236. position: relative; }
  237. .cmd-box .msg-box span {
  238. position: absolute;
  239. bottom: 10px;
  240. right: 15px; }
  241. .cmd-box .msg-box textarea {
  242. border: 1px solid var(--mc);
  243. background: #111e25;
  244. color: #f5f5dc; }
  245. .cmd-box .msg-box textarea:focus, .cmd-box .msg-box textarea:active {
  246. background: #111e25;
  247. color: #f5f5dc; }
  248. .cmd-box .tool-footer {
  249. display: flex; }
  250. .cmd-box .tool-footer span {
  251. width: 50%;
  252. margin: 5px 10px; }
  253. .base-box .base-info-box dl {
  254. width: 100%;
  255. display: flex;
  256. font-size: 16px;
  257. margin-bottom: 0; }
  258. .base-box .base-info-box dt {
  259. width: 80px;
  260. text-align: right;
  261. font-weight: 600;
  262. cursor: none; }
  263. .base-box .base-info-box dd {
  264. width: calc(100% - 80px);
  265. text-align: left;
  266. word-break: break-all;
  267. padding-left: 10px;
  268. margin-bottom: 5px;
  269. cursor: none; }
  270. .base-box .base-info-box dd .role {
  271. margin: 3px 5px;
  272. cursor: pointer; }
  273. .base-box .base-info-box dd .role-help {
  274. margin: 0;
  275. width: 100%;
  276. text-align: center;
  277. color: #666; }
  278. .scene-path-box {
  279. width: auto; }
  280. .log-comment {
  281. display: flex;
  282. background: #e2ebd7;
  283. margin: 8px 0;
  284. padding: 8px;
  285. border-radius: 5px;
  286. border: 1px solid var(--mc); }
  287. .log-comment.split-line {
  288. padding: 0;
  289. height: 0;
  290. border: none;
  291. border-bottom: 2px dashed var(--mc); }
  292. .log-comment img {
  293. padding: 5px;
  294. width: 50px;
  295. height: 50px;
  296. border-radius: 50%; }
  297. .log-comment .comment-text {
  298. padding: 5px;
  299. width: 100%;
  300. display: flex;
  301. flex-direction: column; }
  302. .log-comment .comment-text .name {
  303. color: var(--mc);
  304. width: 100%;
  305. font-weight: 600;
  306. font-size: 1rem; }
  307. .log-comment .comment-text .name .log-state {
  308. float: right; }
  309. .log-comment .comment-text .name .log-state:not(:disabled) {
  310. cursor: pointer; }
  311. .log-comment .comment-text .log-text {
  312. width: 100%;
  313. word-break: break-all;
  314. color: #3c3c3c; }
  315. .environment {
  316. width: 100vw;
  317. height: 100vh;
  318. background: #000000;
  319. background: rgba(0, 0, 0, 0.7);
  320. position: fixed;
  321. top: 0;
  322. right: 0;
  323. bottom: 0;
  324. left: 0;
  325. z-index: 5; }
  326. .environment .close {
  327. position: absolute;
  328. top: 100px;
  329. right: 250px;
  330. font-size: 16px;
  331. padding: 8px 20px;
  332. color: #fff;
  333. border: 1px solid;
  334. font-weight: 500;
  335. opacity: .85;
  336. z-index: 6;
  337. cursor: pointer; }
  338. .environment .close:not(:disabled):not(.disabled):hover, .environment .close:not(:disabled):not(.disabled):focus {
  339. color: #fff;
  340. text-decoration: none;
  341. opacity: 1; }
  342. .environment .play-box {
  343. height: 80%;
  344. width: 80%;
  345. min-width: 600px;
  346. max-width: 800px;
  347. min-height: 400px;
  348. max-height: 700px;
  349. margin: 150px auto;
  350. text-align: center; }
  351. .environment .play-box img, .environment .play-box video {
  352. width: 100%;
  353. height: 100%;
  354. opacity: 1; }
  355. .environment .play-box audio {
  356. display: none; }
  357. .flash {
  358. animation: fade 1s infinite;
  359. -webkit-animation: fade 1s infinite; }
  360. @keyframes flash {
  361. from {
  362. opacity: 1.0;
  363. transform: scale(1); }
  364. 50% {
  365. opacity: 0.5;
  366. transform: scale(0.95); }
  367. to {
  368. opacity: 1.0;
  369. transform: scale(1); } }
  370. @-webkit-keyframes flash {
  371. from {
  372. opacity: 1.0;
  373. transform: scale(1); }
  374. 50% {
  375. opacity: 0.5;
  376. transform: scale(0.95); }
  377. to {
  378. opacity: 1.0;
  379. transform: scale(1); } }
  380. @keyframes fade {
  381. from {
  382. opacity: 1.0;
  383. transform: scale(1); }
  384. 50% {
  385. opacity: 0.9;
  386. transform: scale(0.9); }
  387. to {
  388. opacity: 1.0;
  389. transform: scale(1); } }
  390. @-webkit-keyframes fade {
  391. from {
  392. opacity: 1.0;
  393. transform: scale(1); }
  394. 50% {
  395. opacity: 0.8;
  396. transform: scale(0.9); }
  397. to {
  398. opacity: 1.0;
  399. transform: scale(1); } }