portrait.css 7.7 KB

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