index.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. @import './variables.scss';
  2. @import './mixin.scss';
  3. @import './transition.scss';
  4. @import './element-ui.scss';
  5. @import './sidebar.scss';
  6. body {
  7. height: 100%;
  8. -moz-osx-font-smoothing: grayscale;
  9. -webkit-font-smoothing: antialiased;
  10. text-rendering: optimizeLegibility;
  11. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  12. }
  13. label {
  14. font-weight: 700;
  15. }
  16. html {
  17. height: 100%;
  18. box-sizing: border-box;
  19. }
  20. #app {
  21. height: 100%;
  22. }
  23. *,
  24. *:before,
  25. *:after {
  26. box-sizing: inherit;
  27. }
  28. a:focus,
  29. a:active {
  30. outline: none;
  31. }
  32. a,
  33. a:focus,
  34. a:hover {
  35. cursor: pointer;
  36. color: inherit;
  37. text-decoration: none;
  38. }
  39. div:focus {
  40. outline: none;
  41. }
  42. .clearfix {
  43. &:after {
  44. visibility: hidden;
  45. display: block;
  46. font-size: 0;
  47. content: " ";
  48. clear: both;
  49. height: 0;
  50. }
  51. }
  52. // main-container global css
  53. .mb-20 {
  54. margin-bottom: 20px
  55. }
  56. .font-16 {
  57. font-size: 16px
  58. }
  59. .padding-20 {
  60. padding: 20px
  61. }
  62. .text-center {
  63. text-align: center
  64. }
  65. .delete-text {
  66. color: #F80000
  67. }
  68. .app-container {
  69. padding: 20px;
  70. width: 100%;
  71. height: 100%;
  72. margin: 20px;
  73. background: #fff;
  74. min-height: calc(100vh - 140px)
  75. }
  76. .filter-container {
  77. width: 100%;
  78. height: 100%;
  79. .el-button+.el-button {
  80. margin-left: 30px!important;
  81. }
  82. .filter-item {
  83. margin-right: 30px;
  84. display: inline-block;
  85. }
  86. }
  87. .el-input__inner {
  88. height: 36px;
  89. line-height: 36px
  90. }
  91. .el-button {
  92. padding: 10px 12px
  93. }
  94. .el-table td,
  95. .el-table th {
  96. padding: 10px 0
  97. }
  98. // 弹框样式start
  99. .el-dialog__header {
  100. background: #f8f8f8;
  101. padding: 16px 20px 16px;
  102. }
  103. .el-form-item {
  104. width: 400px;
  105. margin: 0 auto 20px;
  106. }
  107. // 弹框样式end
  108. // 台区列表
  109. .siteTitle {
  110. font-size: 16px;
  111. padding: 10px 20px 30px 20px;
  112. text-align: center;
  113. position: relative;
  114. .goBack {
  115. position: absolute;
  116. left: 0;
  117. top: 0
  118. }
  119. }