common.scss 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. @charset "utf-8";
  2. *{
  3. font-family: "Microsoft YaHei" !important;
  4. }
  5. // 滚动条
  6. /*滚动条宽度*/
  7. ::-webkit-scrollbar {
  8. width: 10px;
  9. height: 10px;
  10. background-color: #071A29;
  11. }
  12. /*滚动条里面小方块*/
  13. ::-webkit-scrollbar-thumb {
  14. border-radius: 5px;
  15. -webkit-box-shadow: inset 0 0 5px rgba(144, 147, 153, 0.3);
  16. background: rgba(144, 147, 153, 0.3);
  17. }
  18. /*滚动条里面轨道*/
  19. ::-webkit-scrollbar-track {
  20. -webkit-box-shadow: unset;
  21. border-radius: 0;
  22. background: unset;
  23. background-color: #071A29;
  24. }
  25. .m-top-15{
  26. margin-top: 15px;
  27. }
  28. .m-bottom-15{
  29. margin-bottom: 15px;
  30. }
  31. .m-right-15{
  32. margin-right: 15px;
  33. }
  34. .m-left-15{
  35. margin-left: 15px;
  36. }
  37. .no-m-b{
  38. margin-bottom: 0;
  39. }
  40. .p-left-15{
  41. padding-left: 15px;
  42. }
  43. .left{
  44. text-align: left;
  45. }
  46. .center{
  47. text-align: center;
  48. }
  49. .right{
  50. text-align: right;
  51. }
  52. // 右侧选择区域
  53. .counter-wrap{
  54. display: flex;
  55. .left-counter-wrap{
  56. min-width: 210px;
  57. }
  58. .right-counter-wrap{
  59. min-width: 500px;
  60. }
  61. }
  62. /*组织结构图*/
  63. .org-tree-container{
  64. background-color: transparent !important;
  65. }
  66. .org-tree-node-label{
  67. cursor: pointer;
  68. }
  69. .Vue2OrgTree-label--primary{
  70. color: #FFFFFF;
  71. background-color: #1890ff;
  72. border-color: #1890ff;
  73. }
  74. .sub-title-bar {
  75. height: 36px;
  76. line-height: 36px;
  77. text-indent: 15px;
  78. background: #113849;
  79. margin-bottom: 15px;
  80. .sub-title {
  81. font-size: 16px;
  82. color: #FFF;
  83. margin: 0;
  84. }
  85. }
  86. .el-link.el-link--default,
  87. .el-upload-list__item-name,
  88. .el-upload-list__item-name [class^=el-icon]{
  89. color: #f2f2f2;
  90. }
  91. .el-textarea .el-input__count{
  92. background: transparent;
  93. color: #f2f2f2;
  94. }
  95. /*详情排版样式*/
  96. .text-block{
  97. background: #7e848b;
  98. padding: 5px;
  99. border-radius: 5px;
  100. .text-title{
  101. font-size: 18px;
  102. font-weight: 800;
  103. padding-bottom: 6px;
  104. color: #fff;
  105. &.right{
  106. text-align: left;
  107. }
  108. &.center{
  109. text-align: center;
  110. }
  111. }
  112. .text-row{
  113. display: flex;
  114. justify-content: flex-start;
  115. align-items: center;
  116. flex-wrap: wrap;
  117. .text-item{
  118. width: 33.33%;
  119. color: #d4d4d4 ;
  120. font-weight: normal;
  121. padding: 5px 0;
  122. display: block;
  123. .text-label{
  124. width: 140px;
  125. display: inline-block;
  126. color: #fff;
  127. font-weight: 800;
  128. }
  129. }
  130. &.col-4{
  131. .text-item{
  132. width: 25%;
  133. }
  134. }
  135. &.col-5{
  136. .text-item{
  137. width: 20%;
  138. }
  139. }
  140. }
  141. }
  142. .custom-avatar {
  143. width: 40px;
  144. height: 40px;
  145. border-radius: 4px;
  146. display: table-cell;
  147. vertical-align: middle;
  148. text-align: center;
  149. overflow: hidden;
  150. }
  151. .custom-avatar img, .custom-avatar .el-image {
  152. display: block;
  153. width: 40px;
  154. height: 40px;
  155. }