|
@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
body {
height: 100%;
min-width:600px;
-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;
}
label {
font-weight: 700;
}
html {
height: 100%;
box-sizing: border-box;
}
#app{
height: 100%;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
outline: none;
text-decoration: none;
}
div:focus{
outline: none;
}
a:focus,
a:active {
outline: none;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}
//main-container全局样式
.app-main{
min-height: 100%
}
.app-container {
padding: 20px;
}
.logo-wrapper {
display:block;
width: 100%;
.logo-img{
display:block;
height:28px;
width:300px;
padding-left: 46px;
position: relative;
background-image: url('/static/logo.png');
background-position: 0 center;
background-repeat: no-repeat;
background-size: 40px 33px;
&:after{
position: absolute;
color: #fff;
font-size: 24px;
line-height: 34px;
content: '气象数据云监控平台';
}
}
}
.load-box{
min-height:160px;
}
.main-info{
margin:10px 20px;
padding:4px 20px 20px;
background: #fff;
}
|