wbs.scss 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305
  1. .hc-layout-box {
  2. display: flex;
  3. position: relative;
  4. height: 100%;
  5. .hc-layout-left-box {
  6. width: 382px;
  7. position: relative;
  8. background: #f1f5f8;
  9. border-radius: 10px;
  10. transition: 0.2s;
  11. margin-right: 24px;
  12. margin-left: -24px;
  13. visibility: hidden;
  14. box-shadow: -2px 0 10px 0 rgba(32, 37, 50, 0.03), 0 10px 21px 20px rgba(32, 37, 50, 0.03);
  15. .horizontal-drag-line {
  16. position: absolute;
  17. right: 0;
  18. top: 0;
  19. width: 4px;
  20. height: 100%;
  21. user-select: none;
  22. cursor: col-resize;
  23. background-color: #00000000;
  24. }
  25. .hc-project-box {
  26. position: relative;
  27. padding: 15px 24px;
  28. display: flex;
  29. align-items: flex-start;
  30. border-bottom: 1px solid #E9E9E9;
  31. .hc-project-icon-box {
  32. font-size: 30px;
  33. color: var(--el-color-primary);
  34. }
  35. .project-name-box {
  36. flex: auto;
  37. position: relative;
  38. overflow: hidden;
  39. .project-alias {
  40. color: var(--el-color-primary);
  41. }
  42. .project-name {
  43. margin-top: 6px;
  44. color: #838791;
  45. }
  46. }
  47. }
  48. .hc-tree-box {
  49. position: relative;
  50. padding: 15px 20px;
  51. height: calc(100% - 187px);
  52. .hc-search-tree-val {
  53. position: relative;
  54. margin-bottom: 24px;
  55. }
  56. .hc-tree-scrollbar {
  57. position: relative;
  58. height: calc(100% - 68px);
  59. }
  60. }
  61. .hc-tree-foot-tip-box {
  62. position: absolute;
  63. border-top: 1px solid #E9E9E9;
  64. padding: 15px 24px;
  65. width: 100%;
  66. bottom: 0;
  67. .dot-view {
  68. position: relative;
  69. display: inline-flex;
  70. width: 50%;
  71. align-items: center;
  72. padding-left: 24px;
  73. margin-top: 15px;
  74. &:before {
  75. position: absolute;
  76. left: 0;
  77. content: "";
  78. width: 15px;
  79. height: 15px;
  80. background-color: inherit;
  81. border-radius: 25px;
  82. }
  83. &.green:before {
  84. background-color: #1ECC95;
  85. }
  86. &.black:before {
  87. background-color: #111111;
  88. }
  89. &.orange:before {
  90. background-color: #f37b1d;
  91. }
  92. &.blue:before {
  93. background-color: #0081ff;
  94. }
  95. }
  96. }
  97. &.on-transition {
  98. transition: none;
  99. }
  100. &.show {
  101. margin-left: 0;
  102. visibility: visible;
  103. }
  104. }
  105. .hc-layout-content-box {
  106. flex: 1;
  107. display: inline-grid;
  108. position: relative;
  109. .data-fill-foot-box {
  110. position: absolute;
  111. bottom: 0;
  112. right: 24px;
  113. padding: 24px;
  114. left: 20px;
  115. box-shadow: 0px -3px 6px rgb(0 0 0 / 6%);
  116. text-align: center;
  117. }
  118. }
  119. }
  120. .hc-tree-mp-tip-box {
  121. position: relative;
  122. display: flex;
  123. align-items: center;
  124. justify-content: center;
  125. .dot-view {
  126. position: relative;
  127. display: flex;
  128. align-items: center;
  129. &:before {
  130. position: relative;
  131. left: 0;
  132. content: "";
  133. width: 15px;
  134. height: 15px;
  135. background-color: inherit;
  136. border-radius: 25px;
  137. margin-right: 6px;
  138. }
  139. &.green:before {
  140. background-color: #1ECC95;
  141. }
  142. &.black:before {
  143. background-color: #111111;
  144. }
  145. &.orange:before {
  146. background-color: #f37b1d;
  147. }
  148. &.blue:before {
  149. background-color: #0081ff;
  150. }
  151. & + .dot-view {
  152. margin-left: 80px;
  153. }
  154. }
  155. }
  156. .upload-drawing {
  157. display: none;
  158. }
  159. .lr-dialog-footer {
  160. position: relative;
  161. display: flex;
  162. align-items: flex-end;
  163. justify-content: space-between;
  164. .left {
  165. .el-button + .el-button {
  166. margin-left: 10px;
  167. }
  168. }
  169. }
  170. .copy-node-many-box {
  171. position: relative;
  172. height: 51vh;
  173. display: flex;
  174. // margin-top: 24px;
  175. margin-bottom: -30px;
  176. border-top: 1px solid #efeff5;
  177. .copy-node-many-tree {
  178. position: relative;
  179. flex: 1;
  180. height: 100%;
  181. padding: 20px 20px 20px 0;
  182. border-right: 1px solid #efeff5;
  183. }
  184. .copy-node-many-table {
  185. position: relative;
  186. flex: 1;
  187. height: 100%;
  188. padding: 20px 0 20px 20px;
  189. }
  190. }
  191. .sort-node-body-box.list-group {
  192. position: relative;
  193. min-height: 20px;
  194. border: 1px solid #EEEEEE;
  195. .list-group-item {
  196. position: relative;
  197. display: flex;
  198. align-items: center;
  199. padding: 6px 15px;
  200. cursor: move;
  201. transition: background 0.2s;
  202. .index-box {
  203. position: relative;
  204. width: 50px;
  205. }
  206. .title-box {
  207. position: relative;
  208. padding-right: 24px;
  209. flex: 1;
  210. }
  211. .icon-box {
  212. position: relative;
  213. font-size: 18px;
  214. display: flex;
  215. align-items: center;
  216. .icon {
  217. cursor: pointer;
  218. display: flex;
  219. align-items: center;
  220. }
  221. }
  222. &:first-child .icon-box i:last-child,
  223. &:last-child .icon-box i:first-child {
  224. cursor: default;
  225. color: #aaaaaa;
  226. }
  227. &:hover {
  228. background: var(--el-color-primary-light-9);
  229. }
  230. }
  231. .list-group-item + .list-group-item {
  232. border-top: 1px solid #EEEEEE;
  233. }
  234. &.header {
  235. border-bottom: 0;
  236. .list-group-item {
  237. cursor: default;
  238. padding: 8px 15px;
  239. background-color: #F8F8F8;
  240. .index-box, .title-box, .icon-box {
  241. font-size: 14px;
  242. }
  243. }
  244. }
  245. }
  246. .flip-list-move {
  247. transition: transform 0.5s;
  248. }
  249. .no-move {
  250. transition: transform 0s;
  251. }
  252. .hc-attachment-card {
  253. position: relative;
  254. .hc-attachment-header {
  255. position: relative;
  256. background: #E7EEF4;
  257. font-size: 18px;
  258. padding: 10px 18px;
  259. border-radius: 4px 4px 0 0;
  260. }
  261. .hc-attachment-content {
  262. position: relative;
  263. background: white;
  264. padding: 2px;
  265. border-radius: 0 0 4px 4px;
  266. .hc-attachment-item {
  267. position: relative;
  268. padding: 8px 16px;
  269. display: flex;
  270. align-items: center;
  271. border-radius: 4px;
  272. cursor: pointer;
  273. transition: background 0.2s;
  274. .hc-attachment-file-name {
  275. position: relative;
  276. flex: 1;
  277. display: flex;
  278. align-items: center;
  279. .name {
  280. position: relative;
  281. flex: 1;
  282. margin-left: 6px;
  283. }
  284. }
  285. .hc-attachment-btn-box {
  286. position: relative;
  287. }
  288. &:hover {
  289. background: var(--el-color-primary-light-9);
  290. }
  291. }
  292. .hc-attachment-item + .hc-attachment-item {
  293. border-top: 1px dashed #efeded;
  294. }
  295. }
  296. }
  297. .hc-attachment-card + .hc-attachment-card {
  298. margin-top: 24px;
  299. }