Newer
Older
iris_temperature_front_gz / src / styles / index.scss
StephanieGitHub on 12 Mar 2020 1 KB first commit
@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -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-container {
  padding: 20px;
}
.app-header{
  background-color:$themeColor;
  width: 100%;
  position:fixed;
}
.app-body{
  width: 100%;
  position:fixed;
  margin-top:60px;
}
.el-main{
  height: calc(100vh - 50px);
}
.imgBox img{
  max-height: 400px !important;
  max-width:700px !important;
  margin: 0px auto;
}