portrait.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253
  1. @charset "UTF-8";
  2. .nav-box {
  3. position: absolute;
  4. top: 5px;
  5. left: 300px;
  6. z-index: 1089; }
  7. .nav-box .nav .nav-item .nav-link {
  8. color: #007bff;
  9. border: 1px solid #007bff;
  10. border-left: none;
  11. border-radius: 0;
  12. cursor: pointer; }
  13. .nav-box .nav .nav-item .nav-link.active, .nav-box .nav .nav-item .nav-link:active, .nav-box .nav .nav-item .nav-link:focus {
  14. color: #fff;
  15. background: #007bff; }
  16. .nav-box .nav .nav-item:first-child .nav-link {
  17. border-left: 1px solid #007bff;
  18. border-radius: 20px 0 0 20px; }
  19. .nav-box .nav .nav-item:last-child .nav-link {
  20. border-radius: 0 20px 20px 0; }
  21. .nav-box .nav .nav-item:first-child:last-child .nav-link {
  22. border-radius: 20px;
  23. min-width: 80px;
  24. text-align: center; }
  25. .portrait-box {
  26. margin: 10px auto; }
  27. .portrait-box .title-box {
  28. border: 1px solid #27303f;
  29. border-right-width: 3px;
  30. min-height: 50px;
  31. display: flex;
  32. border-radius: 5px;
  33. flex-wrap: nowrap;
  34. background: #27303f;
  35. color: #27303f; }
  36. .portrait-box .title-box.ra {
  37. border-radius: 5px 5px 0 0; }
  38. .portrait-box .title-box .left {
  39. color: #fff;
  40. width: 200px;
  41. padding: 0 30px;
  42. font-size: 22px;
  43. font-weight: 600; }
  44. .portrait-box .title-box .left:after {
  45. content: "";
  46. width: 0;
  47. height: 0;
  48. border-left: 16px solid;
  49. border-bottom: 24px solid;
  50. border-right: 16px solid !important;
  51. border-top: 24px solid !important;
  52. right: -16px;
  53. top: 0;
  54. position: absolute;
  55. z-index: 1; }
  56. .portrait-box .title-box .right {
  57. background: #fff;
  58. background-clip: padding-box;
  59. color: #333;
  60. width: calc(100% - 200px);
  61. padding-left: 40px; }
  62. .portrait-box .title-box .right:after {
  63. position: absolute;
  64. content: "";
  65. width: 1px;
  66. height: 0;
  67. border-right: 16px solid;
  68. border-top: 24px solid;
  69. border-left: 16px solid transparent !important;
  70. border-bottom: 24px solid transparent !important;
  71. border-color: #27303f;
  72. right: 0;
  73. top: 0;
  74. z-index: 1; }
  75. .portrait-box .title-box > div {
  76. display: flex;
  77. justify-content: center;
  78. align-items: center;
  79. position: relative;
  80. border-color: inherit; }
  81. .portrait-box .title-box dl.line, .portrait-box .title-box dl.line dt, .portrait-box .title-box dl.line dd {
  82. display: block;
  83. float: left;
  84. font-weight: 400;
  85. font-size: 16px;
  86. line-height: 1.5;
  87. text-overflow: ellipsis;
  88. overflow: hidden;
  89. white-space: nowrap;
  90. margin: 0;
  91. cursor: none; }
  92. .portrait-box .title-box dl.line {
  93. width: 100%; }
  94. .portrait-box .title-box dl.line dt {
  95. font-weight: 600;
  96. width: 80px;
  97. text-align: right; }
  98. .portrait-box .title-box dl.line dd {
  99. width: calc(100% - 80px);
  100. text-align: left;
  101. padding-left: 5px; }
  102. .portrait-box .title-box dl.line dd .mid {
  103. padding-right: 5px; }
  104. .portrait-box .content-box {
  105. border: 3px solid #27303f;
  106. border-top: none;
  107. border-radius: 0 0 5px 5px;
  108. padding: 5px;
  109. display: flex; }
  110. .portrait-box .content-box .inner-box {
  111. margin: 1px 0;
  112. display: flex;
  113. flex-direction: column; }
  114. .portrait-box .content-box .inner-box .inner-title {
  115. display: flex;
  116. justify-content: center;
  117. align-items: center;
  118. height: 40px;
  119. width: 100%;
  120. color: #fff;
  121. background: #1976d2;
  122. font-size: 16px;
  123. font-weight: 600;
  124. border-radius: 4px 4px 0 0; }
  125. .portrait-box .content-box .inner-box .inner-content {
  126. display: flex;
  127. flex-direction: row;
  128. height: calc(100% - 40px);
  129. border: 2px solid #1976d2;
  130. padding: 5px;
  131. background: #fff;
  132. border-radius: 0 0 4px 4px; }
  133. .portrait-box .content-box .inner-box .remark-box .inner-title {
  134. height: 30px;
  135. width: 100%;
  136. font-size: 14px;
  137. font-weight: 600;
  138. background: #2d8aea; }
  139. .portrait-box .content-box .inner-box .remark-box .inner-content {
  140. height: calc(100% - 30px);
  141. border: 1px solid #1976d2; }
  142. .portrait-box .content-box .inner-box .tab-box {
  143. width: 100%;
  144. height: auto;
  145. min-height: 300px;
  146. display: flex;
  147. flex-direction: row; }
  148. .portrait-box .content-box .inner-box .tab-box .tab-header {
  149. height: 40px;
  150. width: 100%;
  151. display: flex;
  152. justify-content: center;
  153. align-items: center; }
  154. .portrait-box .content-box .inner-box .tab-box .tab-header .nav .nav-item .nav-link {
  155. width: auto;
  156. padding: 2px 20px;
  157. margin: 0 8px;
  158. color: #007bff;
  159. border: 1px solid #007bff;
  160. border-radius: 4px; }
  161. .portrait-box .content-box .inner-box .tab-box .tab-header .nav .nav-item .nav-link.active, .portrait-box .content-box .inner-box .tab-box .tab-header .nav .nav-item .nav-link:active, .portrait-box .content-box .inner-box .tab-box .tab-header .nav .nav-item .nav-link:focus {
  162. color: #fff;
  163. background: #007bff; }
  164. .portrait-box .content-box .inner-box .tab-box .tab-header .nav.nav-role {
  165. width: 100%;
  166. flex-direction: column; }
  167. .portrait-box .content-box .inner-box .tab-box .tab-header .nav.nav-role .nav-item {
  168. width: 100%; }
  169. .portrait-box .content-box .inner-box .tab-box .tab-header .nav.nav-role .nav-item .nav-link {
  170. width: 100%;
  171. text-align: center;
  172. padding: 2px 0px;
  173. margin: 0;
  174. color: #007bff;
  175. border: none;
  176. border-top: 1px solid #007bff;
  177. border-radius: 0; }
  178. .portrait-box .content-box .inner-box .tab-box .tab-header .nav.nav-role .nav-item .nav-link.active, .portrait-box .content-box .inner-box .tab-box .tab-header .nav.nav-role .nav-item .nav-link:active, .portrait-box .content-box .inner-box .tab-box .tab-header .nav.nav-role .nav-item .nav-link:focus {
  179. color: #fff;
  180. background: #007bff; }
  181. .portrait-box .content-box .inner-box .tab-box .tab-header .nav.nav-role .nav-item:last-child .nav-link {
  182. border-bottom: 1px solid #007bff; }
  183. .portrait-box .content-box .inner-box .tab-box .tab-content {
  184. height: calc(100% - 40px);
  185. width: 100%;
  186. border: 1px solid #2d8aea;
  187. border-radius: 4px; }
  188. .portrait-box .content-box .inner-box .tab-box .tab-content .tab-pane {
  189. height: 100%; }
  190. .portrait-box .content-box .inner-box .tab-box .tab-content .tab-pane .body-content {
  191. height: 100%; }
  192. .portrait-box .content-box .inner-box .tab-box .tab-content .scene-box, .portrait-box .content-box .inner-box .tab-box .tab-content .cmd-box {
  193. cursor: pointer;
  194. margin: 7px 7px 0;
  195. padding: 5px 8px;
  196. border: 1px solid #2d8aea;
  197. font-size: 12px;
  198. border-radius: 3px;
  199. color: #3c3c3c;
  200. background: #f5f5f5; }
  201. .portrait-box .content-box .inner-box .tab-box .tab-content .scene-box .name, .portrait-box .content-box .inner-box .tab-box .tab-content .cmd-box .name {
  202. font-weight: 600;
  203. color: #FF4500; }
  204. .portrait-box .content-box .inner-box .tab-box .tab-content .scene-box .content, .portrait-box .content-box .inner-box .tab-box .tab-content .cmd-box .content {
  205. font-weight: 400;
  206. word-break: break-word;
  207. padding-left: 5px; }
  208. .portrait-box .content-box .inner-box .tab-box .tab-content .cmd-box.not-send {
  209. color: #aaa; }
  210. .portrait-box .content-box .inner-box .tab-box .tab-content .chart-box {
  211. width: 100%;
  212. height: 100%; }
  213. .portrait-box .content-box .inner-box .eval-box {
  214. background: #27303f; }
  215. .portrait-box .content-box .inner-box .eval-box .chart-box {
  216. min-height: 350px; }
  217. .portrait-box .content-box .span-textarea {
  218. height: 100%;
  219. width: 100%;
  220. display: flex;
  221. position: relative; }
  222. .portrait-box .content-box .span-textarea .span-remark {
  223. padding: 5px;
  224. background: inherit;
  225. font-weight: 600;
  226. font-family: 楷体;
  227. color: #333;
  228. border: none;
  229. overflow: auto;
  230. width: 100%; }
  231. .portrait-box .content-box .span-textarea button {
  232. display: none;
  233. width: auto;
  234. padding: 3px 10px;
  235. position: absolute;
  236. top: -5px;
  237. right: 30px; }
  238. .portrait-box .content-box .span-textarea textarea {
  239. display: none;
  240. height: 100%;
  241. width: 100%; }
  242. .portrait-box .content-box .eval-box {
  243. color: #fff; }
  244. .portrait-box .content-box .eval-box .span-textarea .span-remark {
  245. color: #eee; }
  246. .portrait-box .content-box .eval-box .span-textarea .span-remark.generate {
  247. color: #fff;
  248. background: rgba(255, 255, 255, 0.3);
  249. border: 2px solid #fff;
  250. border-radius: 5px; }
  251. .portrait-box .fdc {
  252. flex-direction: column !important; }