style.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. html, body, #app {
  2. margin: 0;
  3. height: 100%;
  4. }
  5. .fullheight {
  6. height: 100%;
  7. }
  8. .scrollbar-fullheight {
  9. height: 100%;
  10. }
  11. .scrollbar-fullheight>.el-scrollbar__wrap {
  12. overflow-x: auto;
  13. margin-bottom: 0 !important;
  14. }
  15. .scrollbar-fullheight>.el-scrollbar__wrap>.el-scrollbar__view {
  16. margin-bottom: 10px;
  17. }
  18. .inputs {
  19. display: inline-block;
  20. }
  21. /*解决el-table的列边框有错位的问题*/
  22. body .el-table th.gutter {
  23. display: table-cell!important;
  24. }
  25. /*通用删除按钮和其他按钮之间的分组问题*/
  26. .ht-delete-button+.el-button, .el-button+.ht-delete-button {
  27. margin-left: 10px;
  28. }
  29. div.flex {
  30. display: -webkit-box;
  31. display: -ms-flexbox;
  32. display: flex;
  33. -webkit-box-align: center;
  34. -ms-flex-align: center;
  35. align-items: center;
  36. }
  37. div.header-popper {
  38. border-color: #DEDEDE;
  39. border-radius: 0;
  40. top: 30px !important;
  41. padding: 0 !important;
  42. }
  43. .form-table {
  44. width: 100%;
  45. border-top: 1px solid #ebeef5;
  46. border-left: 1px solid #ebeef5;
  47. }
  48. .form-table>thead>tr>th, .form-table>tbody>tr>th {
  49. text-align: right;
  50. color: #666;
  51. font-weight: normal;
  52. }
  53. .form-table>tbody>tr>th.group-th {
  54. text-align: left;
  55. background: #f9f9f9;
  56. font-weight: bold;
  57. }
  58. .form-table>thead>tr.sub-table-header>th {
  59. text-align: center;
  60. background: #fafafa;
  61. }
  62. .form-table>tbody>tr>th>span, .form-table>thead>tr>th>span {
  63. color: #f00;
  64. }
  65. .form-table>tbody>tr>th, .form-table>tbody>tr>td, .form-table>tfoot>tr>td, .form-table>thead>tr>th {
  66. border-right: 1px solid #ebeef5;
  67. border-bottom: 1px solid #ebeef5;
  68. padding: 15px;
  69. min-width: 0;
  70. box-sizing: border-box;
  71. text-overflow: ellipsis;
  72. vertical-align: middle;
  73. position: relative;
  74. }
  75. .form-table>tfoot>tr>td {
  76. padding: 5px 10px;
  77. }
  78. .is-required:before {
  79. content: '*';
  80. color: #F56C6C;
  81. margin-right: 4px;
  82. }
  83. .show-ellipsis {
  84. white-space: nowrap;
  85. text-overflow: ellipsis;
  86. overflow: hidden;
  87. }
  88. .show-ellipsis2 {
  89. overflow: hidden;
  90. -webkit-line-clamp: 2;
  91. text-overflow: ellipsis;
  92. display: -webkit-box;
  93. -webkit-box-orient: vertical;
  94. }
  95. ol.guide-ol {
  96. counter-reset: li;
  97. margin: 0;
  98. padding: 0;
  99. }
  100. ol.guide-ol>li {
  101. font-size: 1.2em;
  102. list-style: none;
  103. margin: 0 0 0.5em 1.95em;
  104. padding: 0.5em 1em;
  105. position: relative;
  106. line-height: 1.6em;
  107. color: #555;
  108. }
  109. ol.guide-ol>li>code {
  110. font-size: 1em;
  111. font-weight: bold;
  112. color: #f48d2f;
  113. }
  114. ol.guide-ol>li:before {
  115. background: #8da97d;
  116. color: white;
  117. content: counter(li);
  118. counter-increment: li;
  119. font-size: 1.2em;
  120. line-height: 1em;
  121. padding: 0.5em 0;
  122. position: absolute;
  123. top: 0.6em;
  124. left: -1.8em;
  125. text-align: center;
  126. width: 2em;
  127. }
  128. /* 全局dialog样式适配不同分辨率,(目前如果放开会对其他页面造成影响暂时隐藏) */
  129. /* .el-dialog__wrapper{
  130. overflow: unset !important;
  131. }
  132. .el-dialog{
  133. margin-top: 6vh !important;
  134. height: 90% !important;
  135. }
  136. .el-dialog__body{
  137. height: calc(100% - 180px);
  138. overflow-y: auto;
  139. } */
  140. /* 通用 滚动条样式**/
  141. .common-scroll-div::-webkit-scrollbar {
  142. width: 13px;
  143. height: 13px;
  144. }
  145. .common-scroll-div::-webkit-scrollbar-thumb {
  146. background-color: rgba(0, 0, 0, 0.4);
  147. background-clip: padding-box;
  148. border: 3px solid transparent;
  149. border-radius: 7px;
  150. }
  151. .common-scroll-div::-webkit-scrollbar-thumb:hover {
  152. background-color: rgba(0, 0, 0, 0.5);
  153. }
  154. .common-scroll-div::-webkit-scrollbar-track {
  155. background-color: transparent;
  156. }
  157. .common-scroll-div::-webkit-scrollbar-track:hover {
  158. background-color: #f8fafc;
  159. }
  160. /*去掉菜单点击的时候带的蓝色阴影边框*/
  161. .el-tabs__item:focus.is-active.is-focus:not(:active) {
  162. box-shadow: none !important;
  163. }
  164. /*去掉el-radio-button点击的时候带的蓝色阴影边框*/
  165. .el-radio-button:focus:not(.is-focus):not(:active):not(.is-disabled){
  166. box-shadow: none !important;
  167. }
  168. .el-tooltip__popper{
  169. max-width: 60%;
  170. }
  171. .button-popover.el-popover--plain{
  172. padding: 8px 1px;
  173. font-size: 12px;
  174. color: #333;
  175. text-align: center;
  176. }