portrait.scss 10 KB

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