index.scss 1.02 KB
Newer Older
Pan's avatar
Pan committed
1
@import './variables.scss';
Pan's avatar
Pan committed
2
@import './mixin.scss';
Pan's avatar
Pan committed
3
@import './transition.scss';
Pan's avatar
Pan committed
4 5
@import './element-ui.scss';
@import './sidebar.scss';
Pan's avatar
Pan committed
6

Pan's avatar
Pan committed
7
body {
8
  height: 100%;
Pan's avatar
Pan committed
9 10 11 12 13 14
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

15 16 17 18
label {
  font-weight: 700;
}

Pan's avatar
Pan committed
19
html {
20
  height: 100%;
Pan's avatar
Pan committed
21 22 23
  box-sizing: border-box;
}

24 25 26 27
#app{
  height: 100%;
}

Pan's avatar
Pan committed
28 29 30 31 32 33
*,
*:before,
*:after {
  box-sizing: inherit;
}

34 35 36 37 38
a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
Pan's avatar
Pan committed
39
  outline: none;
40
  text-decoration: none;
Pan's avatar
Pan committed
41 42
}

43 44 45 46
div:focus{
  outline: none;
 }

Pan's avatar
Pan committed
47 48 49 50 51 52 53 54 55 56 57 58 59
a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

Pan's avatar
Pan committed
60 61 62 63 64 65 66 67
.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
Pan's avatar
Pan committed
68 69 70 71
  }
}

//main-container全局样式
Pan's avatar
Pan committed
72 73
.app-main{
  min-height: 100%
Pan's avatar
Pan committed
74 75
}

Pan's avatar
Pan committed
76 77
.app-container {
  padding: 20px;
Pan's avatar
Pan committed
78
}