jinjianback1.1/src/styles/index.scss

72 lines
1004 B
SCSS
Raw Normal View History

2017-06-26 13:38:24 +08:00
@import './element-ui.scss';
@import "./mixin.scss";
body {
-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;
}
html {
box-sizing: border-box;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
a:focus,
a:active {
outline: none;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}
2017-06-26 18:03:05 +08:00
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
2017-06-26 13:38:24 +08:00
}
}
2017-06-26 18:03:05 +08:00
//vue router transition css
2017-06-26 13:38:24 +08:00
.fade-enter-active,
.fade-leave-active {
transition: all .2s ease
}
.fade-enter,
.fade-leave-active {
opacity: 0;
}
//main-container全局样式
2017-06-26 18:03:05 +08:00
.app-main{
min-height: 100%
2017-06-26 13:38:24 +08:00
}
2017-06-26 18:03:05 +08:00
.app-container {
padding: 20px;
2017-06-26 13:38:24 +08:00
}
2017-06-26 18:03:05 +08:00
.svg-icon {
2017-06-26 13:38:24 +08:00
width: 1em;
height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}