Newer
Older
casic-smartcity-well-front / src / styles / index.scss
wangxitong on 11 Jan 2021 1 KB 'init'
@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);
}
.search-div{
  margin-bottom: 10px;
}
.search-div .el-form-item {
  margin-bottom:10px !important;
}
.clear-float{
  clear:both
}