common.less 4.0 KB

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