index.scss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. @import './variables.scss';
  2. @import './mixin.scss';
  3. @import './transition.scss';
  4. @import './element-ui.scss';
  5. @import './sidebar.scss';
  6. body {
  7. width: 100%;
  8. height: 100%;
  9. margin: 0;
  10. padding: 0;
  11. -moz-osx-font-smoothing: grayscale;
  12. -webkit-font-smoothing: antialiased;
  13. text-rendering: optimizeLegibility;
  14. font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
  15. }
  16. label {
  17. font-weight: 700;
  18. }
  19. html {
  20. overflow-x: hidden;
  21. width: 100%;
  22. height: 100%;
  23. box-sizing: border-box;
  24. }
  25. #app {
  26. width: 100%;
  27. height: 100%;
  28. overflow: hidden;
  29. }
  30. *,
  31. *:before,
  32. *:after {
  33. box-sizing: inherit;
  34. }
  35. a:focus,
  36. a:active {
  37. outline: none;
  38. }
  39. a,
  40. a:focus,
  41. a:hover {
  42. cursor: pointer;
  43. color: inherit;
  44. text-decoration: none;
  45. }
  46. div:focus {
  47. outline: none;
  48. }
  49. ul {
  50. margin: 0;
  51. padding: 0;
  52. list-style: none;
  53. }
  54. .clearfix {
  55. &:after {
  56. visibility: hidden;
  57. display: block;
  58. font-size: 0;
  59. content: " ";
  60. clear: both;
  61. height: 0;
  62. }
  63. }
  64. // main-container global css
  65. .app-container {
  66. padding: 20px;
  67. }
  68. // 隐藏滚动条
  69. // .element::-webkit-scrollbar { width: 0 !important } //webkit
  70. // .element { -ms-overflow-style: none; } //IE 10+
  71. // .element { overflow: -moz-scrollbars-none; } //Firefox
  72. .login,
  73. .register {
  74. width: 100%;
  75. height: 100%;
  76. overflow-x: hidden;
  77. background: url("../assets/bg.png") no-repeat center;
  78. background-size: cover;
  79. }
  80. /* 头部用户信息样式重置 */
  81. .hidden {
  82. display: none !important;
  83. }
  84. .resetTop {
  85. top: 48px !important;
  86. }
  87. .html-grey {
  88. filter: grayscale(100%);
  89. -webkit-filter: grayscale(100%);
  90. -moz-filter: grayscale(100%);
  91. -ms-filter: grayscale(100%);
  92. -o-filter: grayscale(100%);
  93. filter: url("data:image/svg+xml;utf8,#grayscale");
  94. filter: progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
  95. -webkit-filter: grayscale(1);
  96. }
  97. .el-loading-mask {
  98. z-index: -1;
  99. }