public - 复制.scss 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  1. $main-color: #049e9a;
  2. body {
  3. /*background: #3c3c3c;*/
  4. background: #005f61;
  5. /*background-image: linear-gradient(150deg,#005f61,#007f61);*/
  6. font-size: 22px;
  7. color: #ffffff;
  8. }
  9. .main-box {
  10. display: table;
  11. float: left;
  12. border: 4px solid #eee;
  13. border-left: 0;
  14. box-sizing: padding-box;
  15. .btn {
  16. position: absolute;
  17. top: 5px;
  18. margin-bottom: 0;
  19. z-index: 2;
  20. padding: 6px 20px;
  21. }
  22. }
  23. .box {
  24. float: left;
  25. border-left: 4px solid #eee;
  26. .box-title {
  27. text-align: center;
  28. line-height: 40px;
  29. border-bottom: 3px solid #eee;
  30. & > span {
  31. color: #ffffff;
  32. font-size: 1.25rem;
  33. font-weight: 600;
  34. padding: 0;
  35. line-height: 1;
  36. }
  37. }
  38. .box-body {
  39. overflow-y: auto;
  40. padding: 10px 10px 0;
  41. height: calc(100% - 50px)
  42. }
  43. .media-box {
  44. width: 98%;
  45. margin: 10px auto 0;
  46. border: 3px solid #eee;
  47. border-radius: 3px;
  48. .body-content {
  49. display: flex;
  50. justify-content: center;
  51. align-items: center;
  52. width: 100%;
  53. height: 100%;
  54. /*max-width: 100%;
  55. max-height: 100%;*/
  56. overflow: hidden;
  57. span {
  58. color: #ffffff;
  59. font-size: 30px;
  60. font-weight: 600;
  61. display: block;
  62. }
  63. img, video {
  64. width: auto;
  65. height: 100%;
  66. padding: 0;
  67. overflow: hidden;
  68. }
  69. }
  70. }
  71. .scene-box {
  72. width: 100%;
  73. margin: 5px 0;
  74. display: flex;
  75. flex-direction: column;
  76. //border: 1px solid #ddd;
  77. font-size: 1rem;
  78. border: 1px solid #e2ebd7;
  79. background: #e2ebd7;
  80. border-radius: 5px;
  81. .title {
  82. padding: 4px 20px;
  83. width: 100%;
  84. text-align: left;
  85. color: #fff;
  86. background: #0094ff;
  87. position: relative;
  88. border-radius: 5px 5px 0 0;
  89. .attach-box {
  90. position: absolute;
  91. font-size: 0.875rem;
  92. right: 10px;
  93. top: 2px;
  94. }
  95. .attach {
  96. font-size: inherit;
  97. }
  98. }
  99. .desc {
  100. padding: 5px;
  101. color: #3c3c3c;
  102. white-space: normal;
  103. word-break: break-word;
  104. text-indent: 2em;
  105. min-height: 40px;
  106. }
  107. &.current-scene {
  108. border: 2px solid red;
  109. //background: #36a3f7
  110. }
  111. &.flash-scene {
  112. .title {
  113. animation: flash 1.0s 20;
  114. }
  115. }
  116. }
  117. .log-box {
  118. font-size: 1rem;
  119. width: 90%;
  120. margin: 8px;
  121. float: left;
  122. display: flex;
  123. align-items: center;
  124. justify-content: left;
  125. color: #3c3c3c;
  126. border: 1px solid #e2ebd7;
  127. background: #e2ebd7;
  128. border-radius: 5px;
  129. min-height: 50px;
  130. padding: 5px 10px;
  131. .role {
  132. font-size: 120%;
  133. font-weight: 600;
  134. white-space: nowrap;
  135. }
  136. .name {
  137. word-break: break-word;
  138. }
  139. &.send {
  140. float: right;
  141. color: #ff0000;
  142. }
  143. }
  144. .role-box {
  145. font-size: 1rem;
  146. margin: 10px;
  147. display: flex;
  148. border-radius: 5px;
  149. border: 1px solid #e2ebd7;
  150. color: #3c3c3c;
  151. background: #e2ebd7;
  152. padding: 5px;
  153. .image {
  154. width: 50px;
  155. display: flex;
  156. justify-content: center;
  157. align-items: center;
  158. img {
  159. width: 35px;
  160. height: 35px;
  161. border-radius: 20px;
  162. }
  163. }
  164. .name {
  165. display: flex;
  166. justify-content: left;
  167. align-items: center;
  168. padding: 5px;
  169. padding-left: 10px;
  170. width: calc(100% - 50px);
  171. word-break: break-word;
  172. font-weight: 600;
  173. }
  174. }
  175. .score-box {
  176. font-size: 1rem;
  177. margin: 5px;
  178. padding: 8px 25px;
  179. display: flex;
  180. border-radius: 5px;
  181. border: 1px solid #e2ebd7;
  182. color: #e2ebd7;
  183. .name {
  184. font-size: 110%;
  185. font-weight: 600;
  186. white-space: nowrap;
  187. }
  188. .socre {
  189. word-break: break-word;
  190. }
  191. }
  192. &.plan-box {
  193. margin: 5px 10px;
  194. border: 1px solid $main-color;
  195. border-radius: 5px 5px 0 0;
  196. display: flex;
  197. flex-direction: column;
  198. .plan-name {
  199. width: 100%;
  200. background: $main-color;
  201. padding: 5px 0;
  202. text-align: center;
  203. cursor: pointer;
  204. }
  205. .plan-role {
  206. width: 100%;
  207. background: #f5f5f5;
  208. padding: 5px 15px;
  209. .role-box {
  210. min-width: 175px;
  211. max-width: 250px;
  212. margin: 5px;
  213. float: left;
  214. cursor: pointer;
  215. }
  216. }
  217. }
  218. }
  219. @keyframes flash {
  220. 0% {
  221. transform: scale(1.0);
  222. background: #f4516c;
  223. }
  224. 50% {
  225. transform: scale(0.98,0.85);
  226. background: #EF7148;
  227. }
  228. 100% {
  229. transform: scale(1.0);
  230. background: #f4516c;
  231. }
  232. }