index.scss 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356
  1. @import "./anji.scss";
  2. @import "./variables.scss";
  3. @import "./mixin.scss";
  4. @import "./transition.scss";
  5. @import "./element-ui.scss";
  6. @import "./sidebar.scss";
  7. body {
  8. height: 100%;
  9. -moz-osx-font-smoothing: grayscale;
  10. -webkit-font-smoothing: antialiased;
  11. text-rendering: optimizeLegibility;
  12. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
  13. Microsoft YaHei, Arial, sans-serif;
  14. }
  15. html {
  16. height: 100%;
  17. box-sizing: border-box;
  18. /*隐藏滚动条,当IE下溢出,仍然可以滚动*/
  19. -ms-overflow-style: none;
  20. /*火狐下隐藏滚动条*/
  21. scrollbar-width: none;
  22. }
  23. // 谷歌浏览器去滚动条
  24. html::-webkit-scrollbar {
  25. display: none;
  26. }
  27. .el-image-viewer__close {
  28. color: #fff;
  29. }
  30. #app {
  31. height: 100%;
  32. }
  33. label {
  34. font-weight: 700;
  35. }
  36. #app {
  37. height: 100%;
  38. }
  39. *,
  40. *:before,
  41. *:after {
  42. box-sizing: inherit;
  43. }
  44. a,
  45. a:focus,
  46. a:hover {
  47. cursor: pointer;
  48. color: inherit;
  49. outline: none;
  50. text-decoration: none;
  51. }
  52. div:focus {
  53. outline: none;
  54. }
  55. a:focus,
  56. a:active {
  57. outline: none;
  58. }
  59. a,
  60. a:focus,
  61. a:hover {
  62. cursor: pointer;
  63. color: inherit;
  64. text-decoration: none;
  65. }
  66. .clearfix {
  67. &:after {
  68. visibility: hidden;
  69. display: block;
  70. font-size: 0;
  71. content: " ";
  72. clear: both;
  73. height: 0;
  74. }
  75. }
  76. //main-container全局样式
  77. .app-main {
  78. min-height: 100%;
  79. }
  80. .app-container {
  81. padding: 20px;
  82. background: #fff;
  83. }
  84. .filter-container {
  85. padding-bottom: 10px;
  86. .filter-item {
  87. display: inline-block;
  88. vertical-align: middle;
  89. margin-bottom: 10px;
  90. }
  91. }
  92. .float-r {
  93. float: right;
  94. }
  95. .float-l {
  96. float: left;
  97. }
  98. /*日志折叠面板定制*/
  99. .log .el-collapse {
  100. border-top: 0;
  101. border-bottom: 0;
  102. }
  103. .log .el-collapse-item__header {
  104. height: 40px;
  105. line-height: 40px;
  106. cursor: pointer;
  107. border: 1px solid #fff;
  108. background: rgba(145, 163, 177, 0.15);
  109. font-size: 14px;
  110. color: #666;
  111. -webkit-transition: border-bottom-color 0.3s;
  112. transition: border-bottom-color 0.3s;
  113. outline: 0;
  114. padding: 0 20px;
  115. }
  116. .log .el-collapse-item__wrap {
  117. will-change: height;
  118. overflow: hidden;
  119. -webkit-box-sizing: border-box;
  120. box-sizing: border-box;
  121. border-bottom: 1px solid #fff;
  122. background: #263c7c;
  123. }
  124. .log .el-collapse-item__content {
  125. font-size: 14px;
  126. color: #ffffff;
  127. padding: 20px;
  128. }
  129. .log .el-collapse-item__arrow {
  130. margin-top: 14px;
  131. float: right;
  132. margin-right: -77px;
  133. }
  134. .log .icon-btn_style,
  135. .log .icon-btn_style:hover {
  136. background: none;
  137. border: 0;
  138. padding: 0;
  139. }
  140. //大屏展示的一些样式
  141. .my-dialog {
  142. .el-dialog {
  143. background: #062b69;
  144. border: 1px solid #5ddaf6;
  145. }
  146. .el-dialog__header {
  147. border-bottom: 1px solid #5ddaf6;
  148. text-align: center;
  149. }
  150. .el-dialog__title {
  151. color: #5cdcf9;
  152. }
  153. .el-input__inner {
  154. background: #091e43;
  155. border-color: #254e97;
  156. }
  157. .el-date-editor .el-range__icon {
  158. color: #5cdcf9;
  159. }
  160. input {
  161. background: #091e43;
  162. }
  163. .el-date-editor .el-range-input {
  164. color: #5cdcf9;
  165. }
  166. .form-handle {
  167. .el-form-item__label {
  168. color: #5cdcf9;
  169. font-weight: 500;
  170. }
  171. }
  172. .el-form-item {
  173. margin-bottom: 10px;
  174. }
  175. .el-textarea__inner,
  176. .el-select:hover .el-input__inner {
  177. background-color: #091e43;
  178. border-color: #254e97;
  179. border-bottom: 1px solid #254e97;
  180. }
  181. .el-button--blue {
  182. color: #fff;
  183. background-color: #224788;
  184. border-color: #224788;
  185. }
  186. .el-button--green {
  187. color: #fff;
  188. background-color: #2092ad;
  189. border-color: #2092ad;
  190. }
  191. }
  192. .el-input--prefix .el-input__inner {
  193. padding-left: 45px;
  194. }
  195. .el-input-group__append,
  196. .el-input-group__prepend {
  197. color: #333;
  198. }
  199. //avue
  200. .preview-form {
  201. height: auto !important;
  202. overflow-y: auto !important;
  203. }
  204. .x-spreadsheet-toolbar-btns {
  205. margin-left: 30px !important;
  206. }
  207. .ml10 {
  208. margin-left: 10px;
  209. }
  210. .Customized .CodeMirror {
  211. font-family: monospace;
  212. height: 190px !important;
  213. color: black;
  214. direction: ltr;
  215. }
  216. .jsoneditor-vue {
  217. height: 100%;
  218. }
  219. .printSet {
  220. background-image: url("../images/bianzu.png") !important;
  221. background-size: 19px;
  222. background-position: left top;
  223. background-repeat: no-repeat;
  224. position: absolute;
  225. opacity: 1 !important;
  226. }
  227. .qrCodes {
  228. background-image: url("../images/qrcode.png") !important;
  229. background-size: 19px;
  230. background-position: left top;
  231. background-repeat: no-repeat;
  232. position: absolute;
  233. opacity: 1 !important;
  234. }
  235. .barCodes {
  236. background-image: url("../images/tiaoxingma.png") !important;
  237. background-size: 19px;
  238. background-position: left top;
  239. background-repeat: no-repeat;
  240. position: absolute;
  241. opacity: 1 !important;
  242. }
  243. .collapse-input-style {
  244. .el-input__inner,
  245. .el-textarea__inner {
  246. background: #263445 !important;
  247. border: 1px solid #3f5673;
  248. color: #a8e3ff;
  249. }
  250. .el-slider__runway {
  251. height: 2px;
  252. background-color: #5e6b82;
  253. }
  254. .el-slider__bar {
  255. height: 2px;
  256. }
  257. .el-slider__button-wrapper {
  258. top: -17px;
  259. }
  260. .el-slider__button {
  261. width: 14px;
  262. height: 14px;
  263. }
  264. .el-switch__core {
  265. background-color: #5e6b82;
  266. border: 1px solid #3f5673;
  267. }
  268. .el-input-group__append,
  269. .el-input-group__prepend {
  270. background: #5e6b82 !important;
  271. border: 1px solid #3f5673;
  272. color: #a8e3ff;
  273. }
  274. .el-input-number__increase,
  275. .el-input-number__decrease {
  276. background: #5e6b82 !important;
  277. border: 1px solid #3f5673;
  278. color: #a8e3ff;
  279. }
  280. .el-input-number.is-controls-right .el-input-number__increase {
  281. height: 15px;
  282. border-bottom: 1px solid #3f5673;
  283. }
  284. .el-input-number.is-controls-right .el-input-number__decrease {
  285. border-left: 1px solid #3f5673;
  286. }
  287. .el-form-item__label {
  288. font-size: 12px;
  289. color: #bfcbd9 !important;
  290. font-weight: normal !important;
  291. }
  292. }
  293. // .el-form-item__label {
  294. // line-height: 30px !important;
  295. // height: 30px;
  296. // }
  297. // .el-form-item__content {
  298. // line-height: 30px !important;
  299. // height: 30px;
  300. // }
  301. //自定义表格特殊类型 文字背景
  302. // 'highway': 'table-primary',
  303. // 'railway': 'table-success',
  304. // 'waterway': 'table-info',
  305. // 'airtransport': 'table-warning',
  306. // 'multimodal': 'table-danger'
  307. .table-primary,
  308. .table-success,
  309. .table-info,
  310. .table-warning,
  311. .table-danger {
  312. border-radius: 3px;
  313. padding: 2px 5px;
  314. border-width: 1px;
  315. border-style: solid;
  316. }
  317. .table-primary {
  318. background: rgba(32, 182, 249, 0.1);
  319. border-color: rgba(32, 182, 249, 0.2);
  320. color: rgb(32, 182, 249);
  321. }
  322. .table-success {
  323. background: rgba(0, 226, 68, 0.1);
  324. border-color: rgba(0, 226, 68, 0.2);
  325. color: rgb(0, 226, 68);
  326. }
  327. .table-info {
  328. background: rgba(216, 216, 216, 0.1);
  329. border-color: rgba(216, 216, 216, 0.2);
  330. color: rgb(216, 216, 216);
  331. }
  332. .table-warning {
  333. background: rgba(255, 216, 40, 0.1);
  334. border-color: rgba(255, 216, 40, 0.2);
  335. color: rgb(241, 185, 0);
  336. }
  337. .table-danger {
  338. background: rgba(249, 32, 32, 0.1);
  339. border-color: rgba(249, 32, 32, 0.2);
  340. color: rgb(249, 32, 32);
  341. }