/**
 * 基础样式
 */

html {
    height: 100%;
    /*box-sizing: border-box;*/
}

body {
    padding: 0;
    margin: 0;
    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;
}

#app{
    height: 100%;
}

// path { fill: inherit !important }

*,
*:before,
*:after {
    box-sizing: inherit;
}

.no-padding {
    padding: 0px !important;
}

.padding-content {
    padding: 4px 0;
}

a:focus,
a:active {
    outline: none;
}

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

div:focus{
    outline: none;
}
.pr {
    position: relative;
}
.fr {
    float: right;
}

.fl {
    float: left;
}
.anchorBL {
    display:none
}
// 文字对齐方式
.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
// 常用外边距
@for $i from 1 through 8 {
    .ml-#{$i * 5} {
        margin-left: $i * 5px;
    }
}
@for $i from 1 through 8 {
    .mt-#{$i * 5} {
        margin-top: $i * 5px;
    }
}
@for $i from 1 through 8 {
    .mr-#{$i * 5} {
        margin-right: $i * 5px;
    }
}
@for $i from 1 through 8 {
    .mb-#{$i * 5} {
        margin-bottom: $i * 5px;
    }
}
// 常用内边距
@for $i from 1 through 8 {
    .pl-#{$i * 5} {
        padding-left: $i * 5px;
    }
}
@for $i from 1 through 8 {
    .pt-#{$i * 5} {
        padding-top: $i * 5px;
    }
}
@for $i from 1 through 8 {
    .pr-#{$i * 5} {
        padding-right: $i * 5px;
    }
}
@for $i from 1 through 8 {
    .pb-#{$i * 5} {
        padding-bottom: $i * 5px;
    }
}

// 页面标题文字部分
.page-title-text {
    font-size: 16px;
    font-weight: bold;
    color: #232323;
}

// 页面刷新部分
.page-refresh {
    font-size: 16px;
    color: #232323;
}

// 页面功能栏部分
.tool-tag-text {
    height: 32px;
    line-height: 32px;
    font-size: 14px;
    color: #232323;
}

// 重写 el-selecttree组件样式
.el-select-dropdown.el-popper.elTreeSelectMenu {
    width: 300px;

    .el-tree {
        overflow: hidden;
    }
}

.block {
    display: block;
}

.pointer {
    cursor: pointer;
}

.inlineBlock {
    display: inline-block;
}
.vertical-middle {
    vertical-align: middle;
}
.vertical-middle-line {
    display: inline-block;
    vertical-align: middle;
    width: 0;
    height: 100%;
}
.block-center {
    margin-left: auto;
    margin-right: auto;
}
.clearfix {
    zoom: 1;
    &:after {
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
    }
}
.clear-float {
    zoom: 1;
    &:after {
        content: "";
        display: block;
        height: 0;
        line-height: 0px;
        clear: both;
        visibility: hidden;
    }
    .float-left {
        float: left;
    }
    .float-right {
        float: right;
    }
}
.flex {
    display: -webkit-flex;
    display: flex;
}
code {
    background: #eef1f6;
    padding: 15px 16px;
    margin-bottom: 20px;
    display: block;
    line-height: 36px;
    font-size: 15px;
    font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    a {
        color: #337ab7;
        cursor: pointer;
        &:hover {
            color: rgb(32, 160, 255);
        }
    }
}

.inverse {
    transform: scaleX(-1);
    -ms-transform: scaleX(-1);
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
}

.zoom {
    -webkit-animation-name: zoomKeyframes; /*关键帧名称*/
    -webkit-animation-timing-function: ease-in-out; /*动画的速度曲线*/
    -webkit-animation-iteration-count: infinite;  /*动画播放的次数*/
    -webkit-animation-duration: 1.5s; /*动画所花费的时间*/
}
@keyframes zoomKeyframes {  /*定义关键帧、scaleDrew是需要绑定到选择器的关键帧名称*/
    0% {
        transform: scale(1);  /*开始为原始大小*/
    }
    25% {
        transform: scale(1.5); /*放大1.1倍*/
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.5);
    }
}
// 颜色 项目的主题框架
