common.scss 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290
  1. body,
  2. div,
  3. p,
  4. ul,
  5. ol,
  6. li,
  7. dl,
  8. dt,
  9. dd,
  10. table,
  11. tr,
  12. td,
  13. form,
  14. hr,
  15. fieldset,
  16. h1,
  17. h2,
  18. h3,
  19. h4,
  20. h5,
  21. h6,
  22. img,
  23. input {
  24. margin: 0;
  25. padding: 0;
  26. }
  27. html,
  28. body {
  29. width: 100%;
  30. height: 100%;
  31. overflow: hidden;
  32. display: flex;
  33. }
  34. .el-row {
  35. &::before {
  36. display: none;
  37. }
  38. &::after {
  39. display: none;
  40. }
  41. }
  42. // 表格样式修改
  43. .transparentTableRow {
  44. background: transparent !important;
  45. th.gutter {
  46. display: table-cell !important;
  47. }
  48. table {
  49. flex-shrink: 0;
  50. width: 100% !important;
  51. }
  52. table {
  53. font-size: 14px;
  54. tr,
  55. td {
  56. padding: 0;
  57. background: rgba(0, 251, 251, .051) !important;
  58. color: #FFF;
  59. border-color: rgba(0, 250, 251, 0.20);
  60. }
  61. .death {
  62. // color: red !important;
  63. }
  64. tr {
  65. margin-bottom: 1px;
  66. }
  67. th {
  68. color: #FFF;
  69. background: rgba(0, 250, 251, 0.20);
  70. border-color: transparent;
  71. .cell {
  72. padding: 0;
  73. }
  74. }
  75. thead {
  76. th {
  77. padding: 0;
  78. height: 34px;
  79. border-color: rgba(0, 250, 251, 0.20) !important;
  80. }
  81. }
  82. }
  83. .el-table__header-wrapper {
  84. display: inline-table;
  85. width: 100%;
  86. table {
  87. display: contents;
  88. }
  89. }
  90. .el-table__expanded-cell {
  91. padding: 10px;
  92. }
  93. .el-table__expand-icon {
  94. color: #FFF;
  95. }
  96. .cell {
  97. padding: 0 10px;
  98. }
  99. .name-wrapper {
  100. white-space: nowrap;
  101. -webkit-box-sizing: border-box;
  102. box-sizing: border-box;
  103. overflow: hidden;
  104. text-overflow: ellipsis;
  105. word-break: break-all;
  106. }
  107. .el-table__body-wrapper {
  108. scrollbar-width: none;
  109. /* firefox */
  110. -ms-overflow-style: none;
  111. /* IE 10+ */
  112. overflow-x: hidden;
  113. overflow-y: auto;
  114. &::-webkit-scrollbar {
  115. display: none;
  116. // opacity: 0;
  117. /* Chrome Safari */
  118. }
  119. }
  120. }
  121. .yellow {
  122. color: #FDC51A;
  123. }
  124. .blue {
  125. color: #1AF3FD;
  126. }
  127. .green {
  128. color: #0DC94F;
  129. }
  130. .red {
  131. color: #FF0000;
  132. }
  133. .el-table {
  134. // border-radius: 10px;
  135. &::before {
  136. height: 0;
  137. }
  138. }
  139. // 党校
  140. .mianBox {
  141. width: 100%;
  142. height: 100%;
  143. padding: 20px 30px 30px 15px;
  144. display: flex;
  145. flex-direction: column;
  146. .headerBox {
  147. display: flex;
  148. justify-content: space-between;
  149. align-items: center;
  150. height: 30px;
  151. width: 100%;
  152. color: #FFF;
  153. .el-col {
  154. width: auto;
  155. height: 100%;
  156. line-height: 100%;
  157. text-align: center;
  158. }
  159. .title {
  160. color: #38E7EE;
  161. line-height: 21px;
  162. font-weight: bold;
  163. font-size: 16px;
  164. display: flex;
  165. align-items: center;
  166. img {
  167. width: 17px;
  168. height: 17px;
  169. margin-right: 10px;
  170. }
  171. }
  172. .btn {
  173. display: flex;
  174. align-items: center;
  175. span {
  176. cursor: pointer;
  177. background: #00115d;
  178. border: 1px solid #3573fc;
  179. padding: 7px 13px;
  180. }
  181. .clickBtn {
  182. background: #3573fc;
  183. border: 1px solid #3573fc;
  184. }
  185. }
  186. }
  187. }
  188. // 安防
  189. .mianBox-af {
  190. width: 100%;
  191. height: 100%;
  192. padding: 10px;
  193. // display: flex;
  194. // flex-direction: column;
  195. background: url("../assets/image-af/bg.png") no-repeat;
  196. background-size: 100% 100%;
  197. .headerBox {
  198. display: flex;
  199. justify-content: space-between;
  200. align-items: center;
  201. height: 50px;
  202. width: 100%;
  203. color: #FFF;
  204. background: url("../assets/image-af/title.png") no-repeat;
  205. background-position: bottom;
  206. .el-col {
  207. width: auto;
  208. height: 100%;
  209. line-height: 100%;
  210. text-align: center;
  211. }
  212. .title {
  213. color: #F1F1F1;
  214. font-weight: bold;
  215. line-height: 50px;
  216. font-size: 16px;
  217. display: flex;
  218. align-items: center;
  219. img {
  220. width: 49px;
  221. height: 49px;
  222. }
  223. }
  224. }
  225. .contentBox {
  226. height: calc(100% - 50px);
  227. }
  228. }
  229. // form表单样式
  230. .el-form {
  231. .el-form-item {
  232. color: #17CECC;
  233. .el-form-item__label {
  234. color: #17CECC;
  235. font-size: 14px;
  236. line-height: 28px;
  237. padding: 0 12px 0 0;
  238. }
  239. .el-form-item__content {
  240. line-height: 28px;
  241. font-size: 14px;
  242. }
  243. }
  244. .el-form-item--mini {
  245. margin-bottom: 18px;
  246. margin-right: 10px;
  247. }
  248. }
  249. // select 下拉框样式修改
  250. .el-select {
  251. color: #17CECC;
  252. .el-input__inner {
  253. color: #17CECC;
  254. background: transparent;
  255. border-color: #17CECC;
  256. font-size: 14px;
  257. padding-right: 30px;
  258. padding-left: 15px;
  259. &::-webkit-input-placeholder {
  260. font-size: 14px;
  261. line-height: 28px;
  262. color: #17CECC;
  263. }
  264. }
  265. .el-input__suffix .el-input__suffix-inner .el-input__icon {
  266. color: #17CECC;
  267. line-height: 28px;
  268. font-size: 14px;
  269. }
  270. .el-input--mini {
  271. font-size: 14px;
  272. line-height: 28px;
  273. .el-input__inner {
  274. height: 28px;
  275. line-height: 28px;
  276. }
  277. }
  278. }