global.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. html,
  2. body,
  3. #app {
  4. height: 100%;
  5. margin: 0;
  6. padding: 0;
  7. /* overflow: hidden; */
  8. }
  9. a {
  10. text-decoration: none;
  11. }
  12. ul,
  13. li {
  14. list-style-type: none;
  15. margin: 0;
  16. padding: 0;
  17. }
  18. p {
  19. margin: 0;
  20. }
  21. .el-breadcrumb {
  22. margin-bottom: 15px;
  23. font-size: 12px;
  24. background: #f6f6f6;
  25. /* border-top: 1px solid #ddd; */
  26. padding: 15px 10px;
  27. margin-left: -20px;
  28. margin-right: -20px;
  29. }
  30. .el-dialog__header {
  31. background: #f2f2f2;
  32. border-bottom: 1px solid #cacaca;
  33. }
  34. .el-main {
  35. padding: 0 20px 0 20px;
  36. background-color: #f6f6f6;
  37. padding-top: 0 !important;
  38. }
  39. /* 修改分页的默认样式 */
  40. .el-pagination {
  41. text-align: center;
  42. margin-top: 20px;
  43. margin-bottom: 20px;
  44. }
  45. .is-background .el-pager li.active {
  46. /* background-color: #17bb89 !important; */
  47. }
  48. .el-col {
  49. /* margin-bottom: 10px; */
  50. }
  51. /* 解决elementUI的table的闪动问题 */
  52. .el-table__body {
  53. width: 100% !important;
  54. }
  55. /* 去掉e-card组件的padding */
  56. .pad0 .el-card__body {
  57. padding: 0px !important;
  58. }
  59. /* 时间段宽度设置 */
  60. .el-date-editor--daterange.el-input__inner {
  61. width: 220px !important;
  62. }
  63. .avatar-uploader .el-upload {
  64. border: 1px dashed #d9d9d9;
  65. border-radius: 6px;
  66. cursor: pointer;
  67. position: relative;
  68. overflow: hidden;
  69. }
  70. .avatar-uploader .el-upload:hover {
  71. border-color: #3eb984;
  72. }
  73. .avatar-uploader-icon {
  74. font-size: 28px;
  75. color: #8c939d;
  76. width: 100px;
  77. height: 100px;
  78. line-height: 100px !important;
  79. text-align: center;
  80. }
  81. .avatar {
  82. width: 100px;
  83. height: 100px;
  84. display: block;
  85. }
  86. /* 暂无数据 */
  87. .expertDiagnosis_referral_units_not {
  88. width: 272px;
  89. margin: 0 auto;
  90. }
  91. /* 溯源系统的公共样式 */
  92. .bread_act .el-breadcrumb__inner {
  93. color: #3eb984 !important;
  94. }
  95. /*
  96. /* 蓝色 */
  97. .el-button.el-button--blueInfo {
  98. background: #3eafb9;
  99. border-color: #3eafb9;
  100. color: #fff;
  101. }
  102. .el-button.el-button--blueInfo:hover,
  103. .el-button.el-button--blueInfo:focus,
  104. .el-button.el-button--blueInfo:active {
  105. background: #47bcc7;
  106. border-color: #3eafb9;
  107. color: #fff;
  108. }
  109. .el-button.el-button--blueInfo.is-plain {
  110. border: 1px solid #3eafb9;
  111. background: #fff;
  112. color: #3eafb9;
  113. }
  114. .el-button.el-button--blueInfo.is-plain:hover,
  115. .el-button.el-button--blueInfo.is-plain:focus,
  116. .el-button.el-button--blueInfo.is-plain:active {
  117. color: #fff;
  118. border: 1px solid #3eafb9;
  119. background-color: #3eafb9;
  120. }
  121. /* 绿色 */
  122. .el-button.el-button--greenInfo {
  123. background: #3eb984;
  124. border-color: #3eb984;
  125. color: #fff;
  126. }
  127. .el-button.el-button--greenInfo:hover,
  128. .el-button.el-button--greenInfo:focus,
  129. .el-button.el-button--greenInfo:active {
  130. background: #54c79e;
  131. color: #fff;
  132. border-color: #3eb984;
  133. }
  134. .el-button.el-button--greenInfo.is-plain {
  135. border: 1px solid #3eb984;
  136. background: #fff;
  137. color: #3eb984;
  138. }
  139. .el-button.el-button--greenInfo.is-plain:hover,
  140. .el-button.el-button--greenInfo.is-plain:focus,
  141. .el-button.el-button--greenInfo.is-plain:active {
  142. color: #fff;
  143. border: 1px solid #3eb984;
  144. background-color: #3eb984;
  145. }
  146. .el-button.el-button--greenInfo.is-disabled,
  147. .el-button.el-button--greenInfo.is-disabled:active,
  148. .el-button.el-button--greenInfo.is-disabled:focus,
  149. .el-button.el-button--greenInfo.is-disabled:hover {
  150. color: #fff;
  151. background-color: #3eb984;
  152. border-color: #3eb984;
  153. }
  154. .el-button.el-button--greenInfo.is-plain.is-disabled,
  155. .el-button.el-button--greenInfo.is-plain.is-disabled:active,
  156. .el-button.el-button--greenInfo.is-plain.is-disabled:focus,
  157. .el-button.el-button--greenInfo.is-plain.is-disabled:hover {
  158. border: 1px solid #3eb984;
  159. background: #fff;
  160. color: #3eb984;
  161. }
  162. /* 红色 */
  163. .el-button.el-button--redInfo {
  164. background: #f24140;
  165. border-color: #f24140;
  166. color: #fff;
  167. }
  168. .el-button.el-button--redInfo:hover,
  169. .el-button.el-button--redInfo:focus,
  170. .el-button.el-button--redInfo:active {
  171. background: #fc6060;
  172. color: #fff;
  173. border-color: #f24140;
  174. }
  175. .el-button.el-button--redInfo.is-plain {
  176. border: 1px solid #f24140;
  177. background: #fff;
  178. color: #f24140;
  179. }
  180. .el-button.el-button--redInfo.is-plain:hover,
  181. .el-button.el-button--redInfo.is-plain:focus,
  182. .el-button.el-button--redInfo.is-plain:active {
  183. color: #fff;
  184. border: 1px solid #f24140;
  185. background-color: #f24140;
  186. }
  187. /* 灰色 */
  188. .el-button.el-button--grayInfo {
  189. background: #ecf1f4;
  190. border-color: #b6c1c5;
  191. color: #333;
  192. }
  193. .el-button.el-button--grayInfo:hover,
  194. .el-button.el-button--grayInfo:focus,
  195. .el-button.el-button--grayInfo:active {
  196. background: #d2e2e9;
  197. border-color: #b3c1c7;
  198. color: #666;
  199. }
  200. /* 1111111 */
  201. .el-input.is-focus .el-input__inner {
  202. border-color: #14a478 !important;
  203. }
  204. .el-textarea__inner:focus,
  205. .el-input__inner:focus {
  206. border-color: #14a478 !important;
  207. }
  208. /* .el-button:focus,
  209. .el-button:hover {
  210. color: #14a478 !important;
  211. border-color: #14a478 !important;
  212. background-color: #ecf5ff;
  213. } */
  214. .el-button--greenInfo:hover {
  215. background-color: #ecf5ff;
  216. }
  217. .el-dropdown-menu__item:hover {
  218. color: #14a478 !important;
  219. }
  220. .el-button--primary {
  221. color: #fff !important;
  222. background-color: #14a478 !important;
  223. border-color: #14a478 !important;
  224. }
  225. .el-button--primary:hover {
  226. color: #fff !important;
  227. background-color: #14a478 !important;
  228. }
  229. .el-button--primary:focus {
  230. color: #fff !important;
  231. background-color: #14a478 !important;
  232. }
  233. /* 1111 */
  234. .el-button.el-button--grayInfo.is-plain {
  235. border: 1px solid #dcdfe6;
  236. background: #fff;
  237. color: #606266;
  238. }
  239. .el-button.el-button--grayInfo.is-plain:hover,
  240. .el-button.el-button--grayInfo.is-plain:focus,
  241. .el-button.el-button--grayInfo.is-plain:active {
  242. color: #606266;
  243. border: 1px solid #dcdfe6;
  244. background-color: #eee;
  245. }
  246. /* 灰色 禁用灰*/
  247. .el-button.el-button--grayDisable {
  248. background: #bbbbbb;
  249. border-color: #bbbbbb;
  250. color: #fff;
  251. }
  252. .el-button.el-button--grayDisable:hover,
  253. .el-button.el-button--grayDisable:focus,
  254. .el-button.el-button--grayDisable:active {
  255. background: #bbbbbb;
  256. border-color: #bbbbbb;
  257. color: #fff;
  258. }
  259. .serch-item-box .el-select .el-input__inner:focus {
  260. border-color: #3eb984;
  261. }
  262. .serch-item-box .el-select .el-input.is-focus .el-input__inner {
  263. border-color: #3eb984;
  264. }
  265. .el-select-dropdown__item.selected {
  266. color: #3eb984 !important;
  267. }
  268. .clearfix:before,
  269. .clearfix:after {
  270. display: table;
  271. content: '';
  272. }
  273. .clearfix:after {
  274. clear: both;
  275. }