Geen omschrijving

index.scss 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  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. min-width:600px;
  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, Microsoft YaHei, Arial, sans-serif;
  13. }
  14. label {
  15. font-weight: 700;
  16. }
  17. html {
  18. height: 100%;
  19. box-sizing: border-box;
  20. }
  21. #app{
  22. height: 100%;
  23. }
  24. *,
  25. *:before,
  26. *:after {
  27. box-sizing: inherit;
  28. }
  29. a,
  30. a:focus,
  31. a:hover {
  32. cursor: pointer;
  33. color: inherit;
  34. outline: none;
  35. text-decoration: none;
  36. }
  37. div:focus{
  38. outline: none;
  39. }
  40. a:focus,
  41. a:active {
  42. outline: none;
  43. }
  44. a,
  45. a:focus,
  46. a:hover {
  47. cursor: pointer;
  48. color: inherit;
  49. text-decoration: none;
  50. }
  51. .clearfix {
  52. &:after {
  53. visibility: hidden;
  54. display: block;
  55. font-size: 0;
  56. content: " ";
  57. clear: both;
  58. height: 0;
  59. }
  60. }
  61. //main-container全局样式
  62. .app-main{
  63. min-height: 100%
  64. }
  65. .app-container {
  66. padding: 20px;
  67. }
  68. .logo-wrapper {
  69. display:block;
  70. width: 100%;
  71. .logo-img{
  72. display:block;
  73. height:28px;
  74. width:300px;
  75. padding-left: 46px;
  76. position: relative;
  77. background-image: url('/static/logo.png');
  78. background-position: 0 center;
  79. background-repeat: no-repeat;
  80. background-size: 40px 33px;
  81. &:after{
  82. position: absolute;
  83. color: #fff;
  84. font-size: 24px;
  85. line-height: 34px;
  86. content: '气象数据云监控平台';
  87. }
  88. }
  89. }
  90. .load-box{
  91. min-height:160px;
  92. }
  93. .main-info{
  94. margin:10px 20px;
  95. padding:4px 20px 20px;
  96. background: #fff;
  97. }