common.less 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233
  1. @body-bg: #ebeef4; /**body背景色***/
  2. @bg-color: #fff; /**主题背景色**/
  3. @header-height: 50px; /***Header高度**/
  4. @table-th-color: #f2f4f6; /***表头背景色***/
  5. @active-bg: #def1ff; /***下拉项选中背景色***/
  6. body {
  7. background: @body-bg;
  8. overflow-y: hidden;
  9. }
  10. .clearfix:after {
  11. content: "";
  12. display: block;
  13. height: 0;
  14. clear: both;
  15. visibility: hidden;
  16. }
  17. .clearfix {
  18. zoom: 1;
  19. }
  20. .ant-form-item-label > label {
  21. color: #000;
  22. }
  23. .ant-modal-body .ant-table-tbody > tr > td {
  24. padding: 6px;
  25. }
  26. .ant-layout-sider-children{
  27. background: #fff;
  28. }
  29. /*.ant-table-wrapper{
  30. height: calc(100vh - 240px);
  31. overflow-y: auto;
  32. }*/
  33. .wrapper {
  34. min-width: 1214px;
  35. padding: 15px 30px;
  36. .filter-box {
  37. border-bottom: 1px @border-color-base solid;
  38. }
  39. .ant-form-item {
  40. margin-bottom: 15px;
  41. }
  42. .basic {
  43. background: #fff;
  44. display: flex;
  45. justify-content: space-between;
  46. align-items: center;
  47. border-radius: 4px;
  48. }
  49. .table {
  50. .table-header {
  51. display: flex;
  52. justify-content: space-between;
  53. padding: 15px 0;
  54. .table-title {
  55. font-size: 16px;
  56. font-weight: bold;
  57. }
  58. }
  59. }
  60. }
  61. .ant-table-body {
  62. overflow: auto !important
  63. }
  64. .ant-table-pagination-right {
  65. justify-content: flex-start;
  66. }
  67. //面包屑样式覆盖
  68. .ant-breadcrumb {
  69. margin: 20px 0 30px 30px;
  70. }
  71. //步骤条样式覆盖
  72. .ant-steps-item-icon {
  73. width: 44px;
  74. height: 44px;
  75. line-height: 44px;
  76. }
  77. .ant-steps-item-tail {
  78. top: 18px;
  79. left: 4px;
  80. }
  81. .ant-steps-item-process
  82. > .ant-steps-item-container
  83. > .ant-steps-item-content
  84. > .ant-steps-item-title::after,
  85. .ant-steps-item-title::after,
  86. .ant-steps-item-wait
  87. > .ant-steps-item-container
  88. > .ant-steps-item-content
  89. > .ant-steps-item-title::after {
  90. background-color: #c2c2c2;
  91. }
  92. .ant-steps-item-icon,
  93. .ant-steps-item-content {
  94. vertical-align: unset;
  95. }
  96. .ant-tabs-tabpane {
  97. overflow-x: auto;
  98. }
  99. //启用
  100. .Enable::before {
  101. content: "";
  102. width: 5px;
  103. height: 5px;
  104. display: block;
  105. position: relative;
  106. left: -10px;
  107. top: 14px;
  108. background: @link-color;
  109. border-radius: 50%;
  110. }
  111. //禁用
  112. .Disable::before {
  113. content: "";
  114. width: 5px;
  115. height: 5px;
  116. display: block;
  117. position: relative;
  118. left: -10px;
  119. top: 14px;
  120. background: #fe9748;
  121. border-radius: 50%;
  122. }
  123. .Delete::before {
  124. content: "";
  125. width: 5px;
  126. height: 5px;
  127. display: block;
  128. position: relative;
  129. left: -10px;
  130. top: 14px;
  131. background: #ff4d4d;
  132. border-radius: 50%;
  133. }
  134. .Adopt::before {
  135. content: "";
  136. width: 5px;
  137. height: 5px;
  138. display: block;
  139. position: relative;
  140. left: -10px;
  141. top: 14px;
  142. background: #22AC76;
  143. border-radius: 50%;
  144. }
  145. .disable {
  146. color: #fb8537;
  147. }
  148. .delete {
  149. color: #ff4d4d;
  150. }
  151. .adopt {
  152. color: #22ac76;
  153. }
  154. .menuItem:hover {
  155. color: @primary-color;
  156. background: #dbeeff;
  157. }
  158. .record {
  159. width: 150px;
  160. overflow: hidden;
  161. white-space: nowrap;
  162. text-overflow: ellipsis;
  163. display: block;
  164. }
  165. //指定科室样式
  166. .treeContent {
  167. height: 408px;
  168. overflow-y: auto;
  169. border: 1px solid #dee2e9;
  170. padding-bottom: 20px;
  171. position: relative;
  172. .title {
  173. height: 30px;
  174. font-size: 14px;
  175. font-weight: 500;
  176. color: #333333;
  177. line-height: 30px;
  178. background: #f2f4f6;
  179. padding-left: 20px;
  180. }
  181. .tree {
  182. min-height: 100px;
  183. max-height: 342px;
  184. overflow-y: auto;
  185. }
  186. .goTop {
  187. position: fixed;
  188. right: 11%;
  189. top: 67%;
  190. width: 30px;
  191. height: 30px;
  192. border: 1px solid #d4d4d4;
  193. border-radius: 4px;
  194. vertical-align: middle;
  195. text-align: center;
  196. }
  197. }
  198. .user {
  199. .ant-form-item {
  200. margin-bottom: 15px;
  201. }
  202. }
  203. .menu-footer{
  204. padding:16px 0 0 24px;
  205. position: fixed;
  206. bottom: 10px;
  207. background: #fff;
  208. p{
  209. padding-bottom: 0;
  210. margin-bottom: 5px;
  211. }
  212. }
  213. .toogle {
  214. .icon{
  215. font-size: 20px;
  216. color: #1690FF;
  217. }
  218. }
  219. .logoT {
  220. font-size: 12px;
  221. font-weight: 400;
  222. color: #333333;
  223. line-height: 17px;
  224. }
  225. .ant-layout-sider-collapsed{
  226. .logoT{
  227. display: none;
  228. }
  229. }