common.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745
  1. *,
  2. *:before,
  3. *:after {
  4. padding: 0;
  5. margin: 0;
  6. box-sizing: border-box;
  7. }
  8. html,
  9. body {
  10. height: 100%;
  11. font-size: 13px;
  12. background-color: #f3f3f3;
  13. font-family: 'Microsoft YaHei','Helvetica Neue',Helvetica,'PingFang SC','Hiragino Sans GB', Arial,sans-serif;
  14. /* overflow: hidden; */
  15. }
  16. .flex {
  17. display: flex;
  18. }
  19. .flex1 {
  20. flex: 1;
  21. }
  22. .flex-around {
  23. display: flex;
  24. justify-content: space-around;
  25. }
  26. .flex-between {
  27. display: flex;
  28. justify-content: space-between;
  29. align-items: center;
  30. }
  31. .flex-end {
  32. display: flex;
  33. justify-content: flex-end;
  34. }
  35. .flex-align-center {
  36. display: flex;
  37. align-items: center;
  38. }
  39. .text-center {
  40. text-align: center;
  41. }
  42. .font12 {
  43. font-size: 12px;
  44. }
  45. .main-color {
  46. color: #228af5;
  47. }
  48. .danger-color {
  49. color: #f56c6c;
  50. }
  51. .btm10 {
  52. margin-bottom: 10px;
  53. }
  54. .btm20 {
  55. margin-bottom: 20px;
  56. }
  57. a {
  58. text-decoration: none;
  59. cursor: pointer;
  60. }
  61. .dialog-full-icon {
  62. padding: 5px;
  63. color: #fff;
  64. position: absolute;
  65. right: 50px;
  66. top: 18px;
  67. font-size: 16px;
  68. cursor: pointer;
  69. }
  70. [v-cloak] {
  71. display: none;
  72. }
  73. #app {
  74. height: 100vh;
  75. }
  76. /* 头部 */
  77. .header {
  78. height: 77px;
  79. flex: 0 0 auto;
  80. background-color: #fff;
  81. display: flex;
  82. }
  83. .header-item {
  84. padding: 15px;
  85. text-align: center;
  86. color: #333;
  87. cursor: pointer;
  88. position: relative;
  89. }
  90. .header-item p {
  91. width: 150%;
  92. margin-left: -25%;
  93. }
  94. .header-item:hover {
  95. background-color: #cae5fb;
  96. color: #228af5;
  97. }
  98. .header-item.active {
  99. background-color: #cae5fb;
  100. color: #228af5;
  101. }
  102. .nav-dropdown {
  103. display: block;
  104. font-size: 13px;
  105. color: #333;
  106. }
  107. #designer {
  108. width: 100%;
  109. height: 100%;
  110. }
  111. .main-wrap {
  112. height: calc(100vh - 77px);
  113. padding: 10px 0;
  114. flex: 1;
  115. }
  116. .main {
  117. display: flex;
  118. padding: 0px;
  119. height: 100%;
  120. margin: 0 10px;
  121. background: #fff;
  122. border: 1px solid #e5e5e5;
  123. }
  124. /* 左侧 */
  125. .aside {
  126. height: 100%;
  127. background-color: #fff;
  128. border: 1px solid #e5e5e5;
  129. }
  130. .el-tree > .el-tree-node {
  131. display: inline-block;
  132. min-width: 100%;
  133. }
  134. /* el-tree 操作弹出 */
  135. .contextmenu__item {
  136. display: block;
  137. line-height: 34px;
  138. text-align: left;
  139. padding: 0 20px;
  140. }
  141. .contextmenu__item:not(:last-child) {
  142. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  143. }
  144. .menu {
  145. position: fixed;
  146. background-color: #fff;
  147. font-size: 14px;
  148. color: #444040;
  149. border-radius: 4px;
  150. border: 1px solid rgba(0, 0, 0, 0.15);
  151. box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  152. white-space: nowrap;
  153. z-index: 1000;
  154. }
  155. .contextmenu__item:hover {
  156. cursor: pointer;
  157. background: #66b1ff;
  158. border-color: #66b1ff;
  159. color: #fff;
  160. }
  161. .main > div.left {
  162. flex: 1;
  163. overflow: hidden;
  164. padding: 5px;
  165. }
  166. .main > div.right {
  167. flex: 1;
  168. overflow: hidden;
  169. padding: 5px;
  170. border-left: 1px solid #ccc;
  171. }
  172. .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
  173. background-color: #e8f3fe;
  174. }
  175. /* 公共弹框样式 */
  176. .el-dialog {
  177. border-radius: 8px;
  178. overflow: hidden;
  179. }
  180. .el-dialog__header {
  181. padding: 15px;
  182. background-color: #228af5;
  183. }
  184. .el-dialog__header .el-dialog__title {
  185. color: #fff;
  186. font-size: 16px;
  187. }
  188. .el-dialog__headerbtn .el-dialog__close {
  189. color: #fff;
  190. font-size: 20px;
  191. }
  192. .el-dialog__body {
  193. padding: 15px;
  194. border-top: 1px solid #f1f1f1;
  195. }
  196. .el-form-item--mini.el-form-item,
  197. .el-form-item--small.el-form-item {
  198. margin-bottom: 15px;
  199. }
  200. .build-modal .el-dialog__body {
  201. padding: 0;
  202. }
  203. .build-modal .el-card {
  204. margin-bottom: 10px;
  205. }
  206. .build-modal .el-card p {
  207. line-height: 1.6;
  208. }
  209. .build-modal .el-form {
  210. flex: 0 0 300px;
  211. margin-right: 30px;
  212. }
  213. .build-modal .el-card__header {
  214. padding: 10px;
  215. background-color: whitesmoke;
  216. }
  217. .build-modal .el-card__body {
  218. padding: 15px;
  219. }
  220. .inline-inputs .el-form-item__content {
  221. display: flex;
  222. justify-content: space-between;
  223. }
  224. .inline-inputs .el-form-item__content span {
  225. margin: 0 20px;
  226. }
  227. .select-box .el-radio-group {
  228. display: flex;
  229. flex-direction: column;
  230. margin-top: 15px;
  231. }
  232. .select-box .el-checkbox-group {
  233. display: flex;
  234. flex-direction: column;
  235. }
  236. .select-box .el-radio-group label {
  237. margin-bottom: 20px;
  238. }
  239. .select-box .el-checkbox-group label {
  240. margin-bottom: 15px;
  241. }
  242. .nav-icon {
  243. display: inline-block;
  244. width: 35px;
  245. height: 35px;
  246. margin-bottom: 3px;
  247. }
  248. .nav-icon1 {
  249. background: url(../images/navs/1.png) no-repeat;
  250. background-size: 100% 100%;
  251. }
  252. .nav-icon2 {
  253. background: url(../images/navs/2.png) no-repeat;
  254. background-size: 100% 100%;
  255. }
  256. .nav-icon3 {
  257. background: url(../images/navs/3.png) no-repeat;
  258. background-size: 100% 100%;
  259. }
  260. .nav-icon4 {
  261. background: url(../images/navs/4.png) no-repeat;
  262. background-size: 100% 100%;
  263. }
  264. .nav-icon5 {
  265. background: url(../images/navs/5.png) no-repeat;
  266. background-size: 100% 100%;
  267. }
  268. .nav-icon6 {
  269. background: url(../images/navs/6.png) no-repeat;
  270. background-size: 100% 100%;
  271. }
  272. .nav-icon7 {
  273. background: url(../images/navs/7.png) no-repeat;
  274. background-size: 100% 100%;
  275. }
  276. .nav-icon8 {
  277. background: url(../images/navs/8.png) no-repeat;
  278. background-size: 100% 100%;
  279. }
  280. .nav-icon9 {
  281. background: url(../images/navs/9.png) no-repeat;
  282. background-size: 100% 100%;
  283. }
  284. .nav-icon10 {
  285. background: url(../images/navs/10.png) no-repeat;
  286. background-size: 100% 100%;
  287. }
  288. .nav-icon11 {
  289. background: url(../images/navs/11.png) no-repeat;
  290. background-size: 100% 100%;
  291. }
  292. .nav-icon12 {
  293. background: url(../images/navs/12.png) no-repeat;
  294. background-size: 100% 100%;
  295. }
  296. .nav-icon13 {
  297. background: url(../images/navs/13.png) no-repeat;
  298. background-size: 100% 100%;
  299. }
  300. .nav-icon14 {
  301. background: url(../images/navs/14.png) no-repeat;
  302. background-size: 100% 100%;
  303. }
  304. .nav-icon15 {
  305. background: url(../images/navs/15.png) no-repeat;
  306. background-size: 100% 100%;
  307. }
  308. .nav-icon16 {
  309. background: url(../images/navs/16.png) no-repeat;
  310. background-size: 100% 100%;
  311. }
  312. .nav-icon17 {
  313. background: url(../images/navs/17.png) no-repeat;
  314. background-size: 100% 100%;
  315. }
  316. .nav-icon18 {
  317. background: url(../images/navs/18.png) no-repeat;
  318. background-size: 100% 100%;
  319. }
  320. .nav-icon19 {
  321. background: url(../images/navs/19.png) no-repeat;
  322. background-size: 100% 100%;
  323. }
  324. .tree-icon {
  325. display: inline-block;
  326. width: 14px;
  327. height: 14px;
  328. margin-right: 5px;
  329. vertical-align: -2px;
  330. }
  331. .tree-icon01 {
  332. background: url(../images/tree/project-1@2x.png) no-repeat;
  333. background-size: 100% 100%;
  334. }
  335. .tree-icon02 {
  336. background: url(../images/tree/project-2@2x.png) no-repeat;
  337. background-size: 100% 100%;
  338. }
  339. .tree-icon03 {
  340. background: url(../images/tree/project-3@2x.png) no-repeat;
  341. background-size: 100% 100%;
  342. }
  343. .tree-icon1, .tree-icon18, .tree-icon20, .tree-icon22 {
  344. background: url(../images/tree/project@2x.png) no-repeat;
  345. background-size: 100% 100%;
  346. }
  347. .tree-icon2 {
  348. background: url(../images/tree/class@2x.png) no-repeat;
  349. background-size: 100% 100%;
  350. }
  351. .tree-icon3 {
  352. background: url(../images/tree/sub-class@2x.png) no-repeat;
  353. background-size: 100% 100%;
  354. }
  355. .tree-icon4 {
  356. background: url(../images/tree/sub-class-child@2x.png) no-repeat;
  357. background-size: 100% 100%;
  358. }
  359. .tree-icon5 {
  360. background: url(../images/tree/form@2x.png) no-repeat;
  361. background-size: 100% 100%;
  362. }
  363. .tree-icon6, .tree-icon17, .tree-icon19, .tree-icon21 {
  364. background: url(../images/tree/floor@2x.png) no-repeat;
  365. background-size: 100% 100%;
  366. }
  367. .tree-icon7 {
  368. background: url(../images/tree/build@2x.png) no-repeat;
  369. background-size: 100% 100%;
  370. }
  371. .tree-icon8 {
  372. background: url(../images/tree/form8@2x.png) no-repeat;
  373. background-size: 100% 100%;
  374. }
  375. .tree-icon9 {
  376. background: url(../images/tree/floor@2x.png) no-repeat;
  377. background-size: 100% 100%;
  378. }
  379. .tree-icon10 {
  380. background: url(../images/tree/project@2x.png) no-repeat;
  381. background-size: 100% 100%;
  382. }
  383. .tree-icon11 {
  384. background: url(../images/tree/tong1.png) no-repeat;
  385. background-size: 100% 100%;
  386. }
  387. .tree-icon12 {
  388. background: url(../images/tree/tong2.png) no-repeat;
  389. background-size: 100% 100%;
  390. }
  391. .tree-icon13 {
  392. background: url(../images/tree/tong3.png) no-repeat;
  393. background-size: 100% 100%;
  394. }
  395. .tree-icon14 {
  396. background: url(../images/tree/tong4.png) no-repeat;
  397. background-size: 100% 100%;
  398. }
  399. .tree-icon15 {
  400. background: url(../images/tree/tong5.png) no-repeat;
  401. background-size: 100% 100%;
  402. }
  403. .tree-icon16 {
  404. background: url(../images/tree/tong6.png) no-repeat;
  405. background-size: 100% 100%;
  406. }
  407. .tree-icon100 {
  408. background: url(../images/tree/tong7.png) no-repeat;
  409. background-size: 100% 100%;
  410. }
  411. .tree-icon101 {
  412. background: url(../images/tree/tong8.png) no-repeat;
  413. background-size: 100% 100%;
  414. }
  415. .tree-icon102 {
  416. background: url(../images/tree/tong9.png) no-repeat;
  417. background-size: 100% 100%;
  418. }
  419. .tree-icon103 {
  420. background: url(../images/tree/tong10.png) no-repeat;
  421. background-size: 100% 100%;
  422. }
  423. .tree-icon104 {
  424. background: url(../images/tree/tong1.png) no-repeat;
  425. background-size: 100% 100%;
  426. }
  427. .tree-icon105 {
  428. background: url(../images/tree/tong2.png) no-repeat;
  429. background-size: 100% 100%;
  430. }
  431. .tree-icon-company {
  432. background: url(../images/icons/company.png) no-repeat;
  433. background-size: 110% 110%;
  434. }
  435. .home-content {
  436. display: flex;
  437. flex-direction: column;
  438. justify-content: center;
  439. align-items: center;
  440. flex: 1;
  441. }
  442. .home-content h1 {
  443. margin-bottom: 50px;
  444. }
  445. .home-content img {
  446. width: 80%;
  447. height: 50%;
  448. }
  449. .dialog-nowrap {
  450. pointer-events: none;
  451. }
  452. .dialog-nowrap .el-dialog {
  453. pointer-events: auto;
  454. }
  455. .el-drawer__wrapper {
  456. pointer-events: none;
  457. }
  458. .el-drawer__wrapper .el-drawer {
  459. pointer-events: auto;
  460. }
  461. /* 新建表格tab ...限制宽度 */
  462. .sheet-modal .el-tabs__item {
  463. max-width: 400px;
  464. overflow: hidden;
  465. padding: 0 15px 0 10px;
  466. text-overflow: ellipsis;
  467. }
  468. /* 使用element 滚动条样式 */
  469. ::-webkit-scrollbar {
  470. z-index: 11;
  471. width: 6px;
  472. height: 6px;
  473. }
  474. ::-webkit-scrollbar-thumb {
  475. border-radius: 5px;
  476. width: 6px;
  477. background: #b4bccc;
  478. }
  479. ::-webkit-scrollbar-corner {
  480. background: #fff;
  481. }
  482. ::-webkit-scrollbar-track {
  483. background: #fff;
  484. }
  485. ::-webkit-scrollbar-track-piece {
  486. background: #fff;
  487. width: 6px;
  488. }
  489. .ribbon-button-lock {
  490. background-image: url('../images/icons/lock.png');
  491. background-size: 100% 100% !important;
  492. }
  493. .ribbon-button-unlock {
  494. background-image: url('../images/icons/unlock.png');
  495. background-size: 100% 100% !important;
  496. }
  497. .ribbon-button-tags {
  498. background-image: url('../images/icons/tags.png');
  499. background-size: 100% 100% !important;
  500. }
  501. .ribbon-button-check {
  502. background-image: url('../images/icons/check.png');
  503. background-size: 100% 100% !important;
  504. }
  505. .ribbon-button-clear-source {
  506. background-image: url('../images/icons/clear.png');
  507. background-size: 100% 100% !important;
  508. }
  509. .ribbon-button-select {
  510. background-image: url('../images/icons/select.png');
  511. background-size: 100% 100% !important;
  512. }
  513. .gc-ribbon-bar .ribbon-button-item.ribbon-bigbutton {
  514. min-width: 40px;
  515. max-width: 60px;
  516. min-height: 0;
  517. }
  518. .grid-box {
  519. display: flex;
  520. flex-wrap: wrap;
  521. border-left: 1px solid #ccc;
  522. }
  523. .grid-box > div {
  524. width: 30px;
  525. height: 35px;
  526. text-align: center;
  527. line-height: 35px;
  528. color: #000;
  529. border-bottom: 1px solid #ccc;
  530. border-right: 1px solid #ccc;
  531. border-top: 1px solid #ccc;
  532. cursor: pointer;
  533. font-size: 18px;
  534. }
  535. .grid-box > div:nth-child(n + 21) {
  536. border-top: none;
  537. }
  538. .grid-box > div.checked {
  539. background-color: #409eff;
  540. color: #f1f1f1;
  541. }
  542. .char-tab .el-tabs__nav,
  543. .char-tab .el-tabs__content {
  544. max-height: 300px;
  545. overflow: auto;
  546. }
  547. .char-tab .el-tabs__item {
  548. height: 25px;
  549. line-height: 25px;
  550. font-family: 'chars';
  551. }
  552. .char-input .el-input__inner {
  553. font-family: 'chars';
  554. }
  555. .fonts {
  556. font-family: 'chars';
  557. }
  558. .char-pop {
  559. text-align: center;
  560. height: 80px;
  561. line-height: 60px;
  562. width: 80px;
  563. font-size: 60px;
  564. font-family: 'chars';
  565. }
  566. /* 拖拽的线 */
  567. #box {
  568. width: 100%;
  569. height: 100%;
  570. overflow: hidden;
  571. /* background-color:royalblue; */
  572. }
  573. #resize {
  574. width: 2px;
  575. height: 100%;
  576. cursor: w-resize;
  577. background-color: #ccc;
  578. float: left;
  579. position: relative;
  580. }
  581. #resize2 {
  582. height: 5px;
  583. width: 100%;
  584. background-color: #ccc;
  585. cursor: n-resize;
  586. position: relative;
  587. }
  588. #left {
  589. width: 350px;
  590. height: 100%;
  591. /* background:skyblue; */
  592. float: left;
  593. overflow: auto;
  594. }
  595. #right {
  596. float: right;
  597. width: calc(100% - 352px);
  598. height: 100%;
  599. /* background:tomato; */
  600. overflow: auto;
  601. }
  602. #top {
  603. height: 300px;
  604. width: 100%;
  605. /* background:skyblue; */
  606. overflow: auto;
  607. }
  608. #bottom {
  609. height: calc(100% - 305px);
  610. width: 100%;
  611. /* background:tomato; */
  612. overflow: auto;
  613. }
  614. .resImg {
  615. position: absolute;
  616. top: 0;
  617. bottom: 0;
  618. margin: auto;
  619. width: 12px;
  620. height: 60px;
  621. cursor: pointer;
  622. }
  623. #resize2 .resImg {
  624. position: absolute;
  625. left: 0;
  626. right: 0;
  627. margin: auto;
  628. height: 12px;
  629. width: 60px;
  630. cursor: pointer;
  631. }
  632. .left-tree {
  633. flex: 0 0 300px;
  634. padding: 10px 10px 10px 0;
  635. border: 1px solid #ccc;
  636. min-height: 400px;
  637. height: 100%;
  638. /* margin-right: 15px;
  639. border-radius: 5px; */
  640. overflow: auto;
  641. }
  642. .el-table tbody tr:hover > td {
  643. background-color: unset!important;
  644. }
  645. .el-table .cell {
  646. line-height: 1.2;
  647. }
  648. .capacity-cell {
  649. background-color: rgb(212, 243, 255);
  650. position: relative;
  651. }
  652. .capacity-cell:hover .xuan-btn {
  653. display: block;
  654. }
  655. .xuan-btn {
  656. position: absolute;
  657. top: 0;
  658. bottom: 0;
  659. margin: auto;
  660. right: 0;
  661. padding: 4px;
  662. display: none;
  663. }
  664. .bottom-cell {
  665. position: relative;
  666. padding-top: 20px!important;
  667. }
  668. .inline-input .el-input__inner {
  669. padding: 0 4px;
  670. }
  671. .scheme-table.el-table .cell {
  672. padding: 0 5px;
  673. line-height: 1.3;
  674. }
  675. .bottom-cell:hover .opration {
  676. display: block;
  677. }
  678. .opration {
  679. position: absolute;
  680. top: 0;
  681. right: 0;
  682. display: block;
  683. border: 1px solid #ccc;
  684. line-height: 1;
  685. display: none;
  686. }
  687. .opration i {
  688. cursor: pointer;
  689. font-size: 14px;
  690. color: #409EFF;
  691. border: 1px solid #409EFF;
  692. }
  693. .branch-list .el-radio-group {
  694. display: flex;
  695. flex-wrap: wrap;
  696. }
  697. .branch-list .el-radio-group label {
  698. flex: 0 0 50%;
  699. margin-right: 0px;
  700. margin: 6px 0;
  701. }
  702. .input-number input::-webkit-outer-spin-button {
  703. -webkit-appearance: none;
  704. }
  705. .input-number input::-webkit-inner-spin-button {
  706. -webkit-appearance: none;
  707. }
  708. .input-number input[type='number']{
  709. -moz-appearance: textfield;
  710. }
  711. /* table 行内编辑使用 */
  712. .item_input {
  713. display: none;
  714. }
  715. .item_input .el-input__inner {
  716. padding: 0px 2px;
  717. height: 18px;
  718. line-height: 18px;
  719. }
  720. .text-overflow {
  721. overflow: hidden;
  722. text-overflow: ellipsis;
  723. white-space: nowrap;
  724. }
  725. .is-tooltipStyle {
  726. max-width: 20%;
  727. color: #fff;
  728. background-color: #444040;
  729. }