// 变量
$font: 12px;
// 函数带默认值
@function per($data:20px){
    @return $data/10;
}

.aatest{
    width: 100px;
    height: 100px;
    font-size:per();
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: Helvetica Neue,Helvetica,PingFang SC,Hiragino Sans GB,Microsoft YaHei,SimSun,sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

/************ 组件-tag start **************/
.poi-tag {
    background-color: rgba(64,158,255,.1);
    display: inline-block;
    padding: 0 10px;
    height: 32px;
    line-height: 30px;
    font-size: 12px;
    color: #409eff;
    border-radius: 4px;
    box-sizing: border-box;
    border: 1px solid rgba(64,158,255,.2);
    white-space: nowrap;
}
.demo-block.demo-tag .poi-tag+.poi-tag {
    margin-left: 10px;
}
.poi-tag--success {
    background-color: rgba(103,194,58,.1);
    border-color: rgba(103,194,58,.2);
    color: #67c23a;
}
.poi-tag--info {
    background-color: rgba(144,147,153,.1);
    border-color: rgba(144,147,153,.2);
    color: #909399;
}
.poi-tag--warning {
    background-color: rgba(230,162,60,.1);
    border-color: rgba(230,162,60,.2);
    color: #e6a23c;
}
.poi-tag--danger {
    background-color: rgba(245,108,108,.1);
    border-color: rgba(245,108,108,.2);
    color: #f56c6c;
}


[class*=" poi-icon-"], [class^=poi-icon-] {
    font-family: element-icons!important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: baseline;
    display: inline-block;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.poi-tag--success .poi-tag__close {
    color: #67c23a;
}
.poi-tag--info .poi-tag__close {
    color: #909399;
}
.poi-tag--warning .poi-tag__close {
    color: #e6a23c;
}
.poi-tag--danger .poi-tag__close {
    color: #f56c6c;
}
.poi-tag--medium {
    height: 28px;
    line-height: 26px;
}
.poi-tag--medium .poi-icon-close2 {
    transform: scale(.8);
}
.poi-tag--small {
    height: 24px;
    padding: 0 8px;
    line-height: 22px;
}
.poi-tag--small .poi-icon-close2 {
    transform: scale(.8);
}
.poi-tag--mini {
    height: 20px;
    padding: 0 5px;
    line-height: 19px;
}
.poi-tag--mini .poi-icon-close2 {
    margin-left: -3px;
    transform: scale(.7);
}

.poi-tag .poi-icon-close2 {
    border-radius: 50%;
    text-align: center;
    position: relative;
    cursor: pointer;
    font-size: 12px;
    height: 16px;
    width: 16px;
    line-height: 16px;
    vertical-align: middle;
    top: -1px;
    right: -5px;
    color: #409eff;
}
.poi-tag .poi-icon-close2:before {
    display: block;
}
.poi-tag .poi-icon-close2:hover {
    background-color: #409eff;
    color: #fff;
}
.poi-tag--info .poi-tag__close:hover {
    background-color: #909399;
    color: #fff;
}
.poi-tag--warning .poi-tag__close:hover {
    background-color: #e6a23c;
    color: #fff;
}
.poi-tag--success .poi-tag__close:hover {
    background-color: #67c23a;
    color: #fff;
}
.poi-tag--danger .poi-tag__close:hover {
    background-color: #f56c6c;
    color: #fff;
}
.poi-tag--danger .poi-tag__close {
    color: #f56c6c;
}
.poi-tag--warning .poi-tag__close {
    color: #e6a23c;
}
.poi-tag--info .poi-tag__close {
    color: #909399;
}
.poi-tag--success .poi-tag__close {
    color: #67c23a;
}
/************ 组件-tag end **************/


/************ 组件-tree start **************/
.poi-tree {
    position: relative;
    cursor: default;
    background: #fff;
    color: #606266;
}
.poi-tree-node {
    white-space: nowrap;
    outline: none;
}
.poi-tree-node__content {
    display: flex;
    align-items: center;
    height: 26px;
    cursor: pointer;
}
.poi-tree-node__label {
    font-size: 14px;
}
.poi-tree-node__expand-icon {
    cursor: pointer;
    color: #c0c4cc;
    font-size: 12px;
    transform: rotate(0deg);
    transition: transform .3s ease-in-out;
}
.poi-tree-node__content>.poi-tree-node__expand-icon {
    padding: 6px;
}
.poi-tree-node__expand-icon.expanded {
    transform: rotate(90deg);
}
.poi-tree-node>.poi-tree-node__children {
    overflow: hidden;
    background-color: transparent;
}
.poi-tree-node.is-expanded>.poi-tree-node__children {
    display: block;
}
.poi-tree-node__expand-icon.is-leaf {
    color: transparent;
    cursor: default;
}
.poi-tree-node__content:hover {
    background-color: #f5f7fa;
}
.poi-tree-node__loading-icon{
    margin-right:8px;font-size:14px;color:#c0c4cc
}
.poi-icon-loading{vertical-align:middle}
.poi-tree-node__content>.poi-checkbox {
    margin-right: 8px;
}
@keyframes rotating{
    0%{
        transform:rotate(0deg)
    }
    to{
        transform:rotate(1turn)
    }
}
.poi-icon-loading{animation:rotating 2s linear infinite}
.custom-tree-node {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    padding-right: 8px;
 }

/************ 组件-tree end **************/


