/**
 * Dragonsoft Layout UI
 *
 * @author TangDM
 * @date 20190313
 */

/* Basic Global
-------------------------- */
html {
    font-size: 14px;
    @include mq($large) {
      font-size: 16px;
    }
    @include mq($medium) {
      font-size: 14px;
    }
    @include mq($small) {
        font-size: 12px;
    }
}

/* common setting
-------------------------- */
@include mq($large) {
	h1, h2, h3, h4, h5 {
		font-size: 18px;
	}
	p {
		font-size: 14px;
	}
	.l-small {
		font-size: 12px;
	}
}
@include mq($medium) {
    h1, h2, h3, h4, h5 {
        font-size: 16px;
    }
	p {
		font-size: 14px;
	}
	.l-small {
		font-size: 12px;
	}
}
@include mq($small) {
    h1, h2, h3, h4, h5 {
        font-size: 14px;
    }
	p {
		font-size: 12px;
	}
	.l-small {
		font-size: 12px;
	}
}

/* l-admin-app 全局
-------------------------- */
.l-admin-app {
    position: relative;
	min-width: 1280px;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: $l-admin-app-bg;
	&.hideSidebar {
        .l-sidebar {
            width: $l-sidebar-shrink-width !important;
        }
        .l-main-container {
            margin-left: $l-sidebar-shrink-width !important;
        }
		.el-menu--collapse .el-submenu>.el-submenu__title>span {
			height: 0;
			width: 0;
			overflow: hidden;
			visibility: hidden;
			display: inline-block;
		}
		.el-menu--collapse .el-submenu>.el-submenu__title>.el-submenu__icon-arrow {
			display: none;
			opacity: 0;
		}
		.u-menu .el-menu-item,
		.u-menu .el-submenu__title {
			padding: 0 !important;
			text-align: center;
			& .el-tooltip {
				padding: 0 !important;
			}
			.icon {
				width: auto;
				margin-right: 0;
			}
		}
	}
}

/* l-main-header  头部区域
-------------------------- */
.l-main-header {
    display: flex;
    border-radius: 0;
    height: $l-main-header-height;
    line-height: $l-main-header-height;
    @include linear-gradient($l-main-header-background-gradient-1, $l-main-header-background-gradient-2);

    &__center {
        flex: 1;
        min-width: 0;
        margin: 0 10px 0 20px;
    }

    &__left {
        display: flex;
        width: 100%;
        max-width: 420px;
        height: $l-main-header-height;
        float: left;
    }

    &__box {
        position: relative;
        width: 40px;
        margin-left: 2rem;
        margin-right: 10px;
    }

    &__logo {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 40px;
        height: 40px;
        margin: auto;
    }

    &__title {
        flex: 1;
        min-width: 0;
        font-size: 20px;
        font-weight: bold;
        letter-spacing: 1px;
        color: $l-main-header-title-color;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        line-height: $l-main-header-height;
    }

    &__right {
        float: right;
        height: 100%;
        .el-icon-search{
            position: relative;
            top: 2px;
        }
    }

    &:focus {
        outline: none;
    }

    .right-menu-item {
        display: inline-block;
        margin: 0 8px;
    }

    .screenfull {
        height: 20px;
    }

    .international {
        vertical-align: top;
    }

    .theme-switch {
        vertical-align: 15px;
    }

    .avatar-container {
        height: 50px;
        margin-right: 30px;

        .avatar-wrapper {
            margin-top: 5px;
            position: relative;

            .user-avatar {
                cursor: pointer;
                width: 40px;
                height: 40px;
                border-radius: 10px;
            }

            .el-icon-caret-bottom {
                cursor: pointer;
                position: absolute;
                right: -20px;
                top: 25px;
                font-size: 12px;
            }
        }
    }
}


/* l-sidebar 侧边栏
-------------------------- */
.l-sidebar {
    position: absolute;
    bottom: 0;
    left: 0;
    top: $l-main-header-height;
    z-index: 1001;
    overflow: hidden;
    height: 100%;
    background: $l-sidebar-background;
    transition: width 0.28s;
	box-shadow: 0px 2px 8px rgba($--color-black, .1);
    width: $l-sidebar-width;
    &__header {
        width: 100%;
		padding: 0 16px;
        text-align: right;
		border-bottom: 1px solid $l-sidebar-header-border;
		box-sizing: border-box;
		height: 3rem;
        line-height: 3rem;
		i {
			font-size: 20px;
			text-align: center;
			color: $--color-text-regular;
			cursor: pointer;
			&.is-active {
				transform: rotate(180deg);
			}
		}
    }

    &__content {
        position: relative;
        width: 100%;
        height: calc(100vh - 7rem);
        overflow: hidden;
    }

	.el-submenu__icon-arrow {
		opacity: 1;
		transition: opacity .28s linear;
	}
}


/* u-menu 菜单
-------------------------- */
.l-sidebar__container{

    .l-sidebar__header{
        display: none;
    }

    &-toggle{
        margin-top: 10px;
        margin-left: calc(50% - 10px);
        font-size: 16px;
        color: #999;
        z-index: 1;

        i{
            font-size: 20px;
            cursor: pointer;
        }
    }



}

.u-menu {
    position: relative;

    .u-menu__container {
        width: 100%;
        border-right: 0;
        background: $u-menu-background;
    }

    .el-scrollbar {
        width: 100%;
        height: 100%;
    }

    .el-menu-item,
    .el-submenu__title {
        color: $u-menu-font;
        padding: 0 16px;
        transition: background-color 0.3s, color 0.3s, box-shadow 0.5s;
        height: $u-menu-item-height;
        line-height: $u-menu-item-height;

        .icon {
            display: inline-block;
            width: 10px;
            font-size: 14px;
            margin-right: 12px;
        }

        i {
            color: $u-menu-icon-font;
        }
    }

    .el-menu-item:hover,
    .el-submenu__title:hover {
        background-color: $u-menu-active-bg;
        color: $u-menu-font;

        i {
            color: $u-menu-icon-font;
        }
    }

    .el-menu-item.is-active,
    .el-submenu__title.is-active {
        background-color: $u-menu-select-bg;
        color: $u-menu-active-font;
        border-right: 3px solid $u-menu-active-font;

        .icon {
            color: $u-menu-active-font;
        }
    }

    .el-menu--inline {
        .icon {
            display: none;
        }
    }

    .el-menu-item,
    .el-submenu__title {
        span {
            display: inline-block;
            max-width: calc(100% - 20px);
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
    }

    .el-submenu .el-menu-item {
        padding-left: 22px;
        min-width: 0;
        height: $u-menu-item-height;
        line-height: $u-menu-item-height;
        padding: 0 16px;
        box-sizing: border-box;

        span {
            display: inline-block;
            max-width: calc(100% - 20px);
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        p {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
    }
    &__popover .el-menu {
        background: $u-menu-background;
    }
}




/* l-main-container  主体
-------------------------- */
.l-main-container {
    position: relative;
    height: 100%;
    margin-left: $l-sidebar-width;
    transition: margin-left 0.28s;
    &.is-menu-top {
        margin-left: 0;
    }
}


/* l-row-normal
-------------------------- */
.l-row-normal {
  margin-bottom: 1rem;
}
.l-row-normal .el-col + .el-col {
     padding-left: 1rem;
}

/* l-main-content  内容区域
-------------------------- */
.l-main-content {
    // navbar + tags-view = 4rem + 3rem
    height: calc(100vh - 7rem);
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* l-card-box  卡片间距
-------------------------- */
.l-card-box {
    margin: 0 1rem;
}

/* l-main-tags  标签页区域
-------------------------- */
.l-main-tags {
    width: 100%;
    box-sizing: border-box;
	height: 3rem;
    &__container {
        display: flex;
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .scroll-container {
        white-space: nowrap;
        position: relative;
        overflow: hidden;
        width: 100%;
        .el-scrollbar__view {
            user-select: none;
        }
        .el-scrollbar__bar {
            display: none;
        }
    }

    &__popover {
        padding: 12px 2px 12px 12px;
    }

    &__inner {
        padding-right: 8px;
    }

    &__list {
        flex: 1;
        -webkit-flex: 1;
        -moz-box-flex: 1;
        min-width: 0;
    }

    &__item {
        display: inline-block;
        position: relative;
        cursor: pointer;
        height: 28px;
        line-height: 26px;
        padding: 0 16px;
        //margin: 0 4px;
        box-sizing: border-box;
        font-size: 14px;
        color: $l-main-tags-item-font-color;
        background: $l-main-tags-item-background-color;
        border-radius: 4px;
		@include mq($large) {
			margin: $l-main-tags-item-large-margin;
		}
		@include mq($medium) {
			margin: $l-main-tags-item-medium-margin;
		}
		@include mq($small) {
			margin: $l-main-tags-item-small-margin;
		}
        &:first-of-type {
            margin-left: 16px;
        }

        &:last-of-type {
            margin-right: 16px;
        }

        &.active {
            background-color: $l-main-tags-item-active-background-color;
            color: $l-main-tags-item-active-font-color;
            border-color: $l-main-tags-item-active-background-color;
        }

        .el-icon-close {
            display: inline-block;
            width: 16px;
            height: 16px;
            line-height: 16px;
            vertical-align: middle;
            border-radius: 50%;
            text-align: center;
            transition: all 0.1s cubic-bezier(0.645, 0.045, 0.355, 1);

            &:hover {
                color: $l-main-tags-item-close-color;
            }
        }
    }

    &__context {
        margin: 0;
        background: $l-main-context-background-color;
        z-index: 100;
        position: absolute;
        list-style-type: none;
        padding: 5px 0;
        border-radius: 4px;
        font-size: 12px;
        font-weight: 400;
        color: $--color-text-primary;
        box-shadow: 2px 2px 3px 0 rgba($--color-black, 0.3);

        li {
            margin: 0;
            padding: 7px 16px;
            cursor: pointer;

            &:hover {
                background: $l-main-tags-item-active-background-color;
            }
        }
    }

    &__btn {
        width: 58px;
        height: 28px;
        line-height: 28px;
        text-align: center;
        background: $l-main-tags-item-background-color;
        cursor: pointer;
        border-radius: 4px 0 0 4px;
        -webkit-border-radius: 4px 0 0 4px;
        -moz-border-radius: 4px 0 0 4px;
        box-shadow: 0 0 16px rgba(0,0,0,.09);
		@include mq($large) {
			margin: $l-main-tags-item-large-margin-top;
		}
		@include mq($medium) {
			margin: $l-main-tags-item-medium-margin-top;
		}
		@include mq($small) {
			margin: $l-main-tags-item-small-margin-top;
		}
        .icon {
            font-size: 12px;
            color: $--color-primary;
        }

        &-name {
            font-size: 12px;
            color: $--color-primary;
        }
    }

    &__name {
        display: inline-block;
        vertical-align: middle;
        max-width: 84px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
}

/* breadcrumb 面包屑
-------------------------- */
.app-breadcrumb.el-breadcrumb {
    font-size: 14px;
    margin-left: 16px;
    @include mq($large) {
        height: $l-sidebar-large-header-height;
        line-height: $l-sidebar-large-header-height;
    }
    @include mq($medium) {
        height: $l-sidebar-medium-header-height;
        line-height: $l-sidebar-medium-header-height;
    }
    @include mq($small) {
        height: $l-sidebar-small-header-height;
        line-height: $l-sidebar-small-header-height;
    }
    .no-redirect {
        color: $--color-text-primary;
        cursor: text;
    }
}

/* l-dropdown-tags  下拉标签列表
-------------------------- */
.l-dropdown-tags {
    display: block;
    width: 168px;
    min-height: 100px;
    overflow: hidden;

    &__item {
        display: block;
        margin: 10px auto;
        box-sizing: border-box;

        .el-icon-close {
            float: right;
            line-height: 28px;
        }

        &:first-of-type {
            margin-left: 0;
        }

        &:last-of-type {
            margin-right: 0;
        }
    }
}

/* l-main-page 页面区域
-------------------------- */
.l-main-page {
    position: relative;
    width: 100%;
    height: 100%;

    &__container {
        margin: 6px 14px;
        min-height: 200px;
        background: $--color-white;
    }
}

/* l-search-bar 全局搜索条
-------------------------- */
//.l-search-bar {
//    //display: block;
//    display: inline-block;
//    vertical-align: top;
//    //width: 10%;
//    //width: 200px;
//    margin-right: 20px;
//    //float: left;
//
//    .el-input__inner {
//        height: 30px;
//        line-height: 30px;
//    }
//}
.l-search {
  display: inline-block;
  padding: 0 10px;
  cursor: pointer;
  input{
    width: 0;
    border: none;
    background: none;
    border-bottom: 1px solid $l-main-header-title-color;
    color: $l-main-header-title-color;
  }
  span{
    color: $l-main-header-title-color;
  }
  .is-active-search-show{
    width: 120px;
    transition: width .4s;
  }
  .is-active-search-hide{
    width: 0;
    transition: width .4s;
  }
  ::-webkit-input-placeholder { /* WebKit browsers */
    color: $l-main-header-title-color;
  }
  :-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: $l-main-header-title-color;
  }
  ::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: $l-main-header-title-color;
  }
  :-ms-input-placeholder { /* Internet Explorer 10+ */
    color: $l-main-header-title-color;
  }
}


/* l-screen-full 全屏操作
-------------------------- */
.l-screen-full {
    display: inline-block;
    vertical-align: middle;
    height: 16px;
    margin-right: 20px;
    //float: left;
}

/* l-avatar-box 全局登录控制
-------------------------- */
.l-avatar-box {
    //display: block;
    display: inline-block;
    vertical-align: top;
    margin-right: 15px;
    //float: left;

    &__user {
        margin-right: 4px;
        color: $l-avatar-box-font-color;
    }

    .icon {
        margin-right: 4px;
        color: $l-avatar-box-font-color;
    }

    .icon-close {
        cursor: pointer;
        color: $l-avatar-box-font-color;
    }
}

/* u-menu 弹层
-------------------------- */
.el-menu--vertical {
	.el-menu-item {
        height: $u-menu-item-height;
        line-height: $u-menu-item-height;
		.icon {
			display: none;
		}
		&.is-active {
			background-color: $u-menu-select-bg;
			color: $u-menu-active-font;
			border-right: 3px solid $u-menu-active-font;
		}
	}
	.el-submenu .icon {
		display: none;
	}
	.el-submenu__title {
        height: $u-menu-item-height;
        line-height: $u-menu-item-height;
	}
	.el-menu--popup-right-start {
		margin-right: 8px;
		margin-left: 8px;
	}
}
.el-menu--collapse .el-submenu.is-active:after {
	content: "";
	position: absolute;
	right: 0;
	top: 0;
	width: 2px;
	height: 100%;
	background: $u-menu-active-font;
}
.el-message-box__headerbtn {
	top: 33px;
}

.dg-container-box {
    height: 100%;
    min-height: calc( 100vh - 200px);
    margin: 0 1rem;
    // background: #fff;
    /deep/ .el-card {
       min-height: calc(100vh - 10rem);
       &.is-border {
        border: none;
    }
    } 
    &__content {
        width: 100%;
        height: 100%;
        min-height: calc( 100vh - 200px);

        &__left {
            padding: 10px;
            min-height: 100%;
            border-right: 1px solid $--border-color-base;
        }

        &__right {
            &__top {
                padding: 10px;
                border-bottom: 1px solid $--border-color-base;
            }

            &__middle {
                text-align: right;
                padding: 10px;
            }

            &__bottom {
                padding-left: 10px;
            }
        }
    }
}

/** tab页面内容 **/
.dg-content {
    height: 100%;
    //padding: 8px;

    & .dg-content.el-col.el-col-20 {
        padding-left: 16px;
    }

    &--bottom-border {
        & .el-button+.el-button {
            margin-left: 8px;
        }
    }

    &--right-border {
        border-right: 1px solid $--border-color-base;
        min-height: calc(100vh - 260px);
    }

    &--right {
        padding: 0 0 15px 0;
    }
}

.dialog-page-container {
    padding: 0px;
}

.layui-layer-content {
    padding: 16px 24px;
}

.form-container {

    .span-h1 {
        font-size: 20px;
        font-weight: bold;
        display: block;
        margin-bottom: 10px;
    }

    .span-desc {
        color: #888;
        display: block;
        margin-bottom: 10px;
    }
}

/* u-skins
-------------------------- */
.u-skins {
	position: relative;
	width: 60px;
    margin-right: 5px;
	float: left;
	&__base {
		width: 100%;
		height: 40px;
		box-sizing: border-box;
		cursor: pointer;
		&-icon {
			display: inline-block;
			width: 16px;
			height: 16px;
			vertical-align: middle;
			background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo0Q0ZCN0JFQkM3OUUxMUU5QTE1REU2OEFCQkQ3NzAzOSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo0Q0ZCN0JFQ0M3OUUxMUU5QTE1REU2OEFCQkQ3NzAzOSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjRDRkI3QkU5Qzc5RTExRTlBMTVERTY4QUJCRDc3MDM5IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjRDRkI3QkVBQzc5RTExRTlBMTVERTY4QUJCRDc3MDM5Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+W6MxnwAAAPdJREFUeNpi/P//PwNFAGQAGpYF4j4gvg3Ev4H4FxDfBOIeIJZGV4+uOQmIvwPxayA+8B8B9gPxG6hcLC4DEpE0mEPF1gHxCijbDkk+Bt0AWajpMJABxEJAfBGITwMxPxAXIMl/A2JJZAN6oc62AOKc/7hBOhDbAPFbIO5CNuAW1M8gtjAeA/igao4A8VVkA35BFawB4vN4DAB5ZzWU/QObAaSAMyC9jNCEdAuIVXEklatAvBSIZYFYAIjfAvFRIF4PxD+RAxEXUMWS2BgIReN/LGkCrwHoCQkZgKJMhxgDkJMyOqgh1gBsmekZEGvjMoCR0uwMEGAAMAzjuucMpjQAAAAASUVORK5CYII=") no-repeat;
		}
		&-name {
			display: inline-block;
			color: #eef8fe;
			vertical-align: middle;
            @include mq($large) {
                font-size: 16px;
            }
            @include mq($medium) {
                font-size: 14px;
            }
            @include mq($small) {
                font-size: 14px;
            }
		}
	}
	&__item {
		width: 50px;
		height: 50px;
		text-align: center;
		cursor: pointer;
		float: left;
        list-style: none;
		&.is-active {
			color: $u-menu-active-font;
		}
		i {
			display: block;
			font-size: 25px;
		}
		span {
            font-size: 12px;
		}
	}
}

/* wscn-http404 缺省页面
-------------------------- */
.wscn-http404-container {
	transform: translate(-50%, -50%);
	position: absolute;
	top: 40%;
	left: 50%;
}

.wscn-http404 {
	position: relative;
	width: 1200px;
	padding: 0 50px;
	overflow: hidden;

	.pic-404 {
		position: relative;
		float: left;
		width: 600px;
		overflow: hidden;

		&__parent {
			width: 100%;
		}

		&__child {
			position: absolute;

			&.left {
				width: 80px;
				top: 17px;
				left: 220px;
				opacity: 0;
				animation-name: cloudLeft;
				animation-duration: 2s;
				animation-timing-function: linear;
				animation-fill-mode: forwards;
				animation-delay: 1s;
			}

			&.mid {
				width: 46px;
				top: 10px;
				left: 420px;
				opacity: 0;
				animation-name: cloudMid;
				animation-duration: 2s;
				animation-timing-function: linear;
				animation-fill-mode: forwards;
				animation-delay: 1.2s;
			}

			&.right {
				width: 62px;
				top: 100px;
				left: 500px;
				opacity: 0;
				animation-name: cloudRight;
				animation-duration: 2s;
				animation-timing-function: linear;
				animation-fill-mode: forwards;
				animation-delay: 1s;
			}

			@keyframes cloudLeft {
				0% {
					top: 17px;
					left: 220px;
					opacity: 0;
				}

				20% {
					top: 33px;
					left: 188px;
					opacity: 1;
				}

				80% {
					top: 81px;
					left: 92px;
					opacity: 1;
				}

				100% {
					top: 97px;
					left: 60px;
					opacity: 0;
				}
			}

			@keyframes cloudMid {
				0% {
					top: 10px;
					left: 420px;
					opacity: 0;
				}

				20% {
					top: 40px;
					left: 360px;
					opacity: 1;
				}

				70% {
					top: 130px;
					left: 180px;
					opacity: 1;
				}

				100% {
					top: 160px;
					left: 120px;
					opacity: 0;
				}
			}

			@keyframes cloudRight {
				0% {
					top: 100px;
					left: 500px;
					opacity: 0;
				}

				20% {
					top: 120px;
					left: 460px;
					opacity: 1;
				}

				80% {
					top: 180px;
					left: 340px;
					opacity: 1;
				}

				100% {
					top: 200px;
					left: 300px;
					opacity: 0;
				}
			}
		}
	}

	.bullshit {
		position: relative;
		float: left;
		width: 300px;
		padding: 30px 0;
		overflow: hidden;

		&__oops {
			font-size: 32px;
			font-weight: bold;
			line-height: 40px;
			color: #1482f0;
			opacity: 0;
			margin-bottom: 20px;
			animation-name: slideUp;
			animation-duration: 0.5s;
			animation-fill-mode: forwards;
		}

		&__headline {
			font-size: 20px;
			line-height: 24px;
			color: #222;
			font-weight: bold;
			opacity: 0;
			margin-bottom: 10px;
			animation-name: slideUp;
			animation-duration: 0.5s;
			animation-delay: 0.1s;
			animation-fill-mode: forwards;
		}

		&__info {
			font-size: 13px;
			line-height: 21px;
			color: grey;
			opacity: 0;
			margin-bottom: 30px;
			animation-name: slideUp;
			animation-duration: 0.5s;
			animation-delay: 0.2s;
			animation-fill-mode: forwards;
		}

		&__return-home {
			display: block;
			float: left;
			width: 110px;
			height: 36px;
			background: #1482f0;
			border-radius: 100px;
			text-align: center;
			color: #ffffff;
			opacity: 0;
			font-size: 14px;
			line-height: 36px;
			cursor: pointer;
			animation-name: slideUp;
			animation-duration: 0.5s;
			animation-delay: 0.3s;
			animation-fill-mode: forwards;
		}

		@keyframes slideUp {
			0% {
				transform: translateY(60px);
				opacity: 0;
			}

			100% {
				transform: translateY(0);
				opacity: 1;
			}
		}
	}
}

/* l-card-box 卡片布局
-------------------------- */
.copyright {
    text-align: center;
    font-size: 12px;
    // padding: 1.2rem 0;
    color: $--color-text-regular;
}

/* l-template-box 通用布局
-------------------------- */
.l-template-box{
  width: 100%;
  background: $l-template-box-bacground-color;
  border-radius: 4px;
  margin-bottom: 15px;

    &__header{
      height: 3.5rem;
      line-height: 3.5rem;
      padding: 0 2rem;
      border-bottom: 1px solid $--border-color-extra-light;

      & > div{
        min-height: 10px;
      }

      &-middle{
        text-align: center;
      }

      &-right{
        text-align: right;
          cursor: pointer;
      }
    }

    &__tabs{

      .el-tabs__nav{
        padding: 0  2rem;
        height: 3.5rem;
        line-height: 3.5rem;


        div{
          font-size: 1rem;
          font-weight: normal;
        }
      }

      .el-tabs__active-bar{
        margin-left: 2rem;
      }

      .el-tabs__nav-wrap::after{
        height: 1px;
      }

      .el-tabs__header{
        margin: 0;
      }

      .el-tabs__item{
          color: $--color-text-regular;
      }

        .is-active{
            color: #1890ff!important;
        }
    }

  .is-active-bottom{
    border-bottom: none;
  }

  &__content{
    padding: 1.5rem 2rem;
  }
}

/* l-card 卡片布局
-------------------------- */
.l-card{
    &__default{
        display: inline-block;
        position: relative;
        border-radius: 1px;
        height: 100%;

        img{
            width: 100%;
            height: 100%;
            border:0;
            vertical-align:top;
        }

        &-content{
            height: 52px;
            background-color: rgba(0, 0, 0, 0.6);
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            font-size: 12px;
            color: #ffffff;
            padding: 6px 0 9px 0;
            box-sizing: border-box;

            &-text{
                text-align: center;
                &-id{
                    margin-top: 5px;
                    text-align: center
                }
            }
        }

        &-right{
            display: inline-block;
            border: 1px solid red;
            vertical-align: top;
        }

        &-label{
            position: absolute;
            right: -15px;
            top: 118px;
            border-radius: 5px;
            text-align: center;
            height: 20px;
            width: 55px;
            line-height: 20px;
            font-size: 12px;
            -webkit-transform: rotate(-30deg);
            transform: rotate(-18deg);
        }

        .is-active-pass{
            border: 1px solid #6699ff;
            color: #6699ff;
        }

        .is-active-notpass{
            border: 1px solid #ff0000;
            color: #ff0000;
        }
    }

    &__about{
        border: 1px solid $--border-color-base;
        height: 120px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        border-radius: 3px;

        .el-checkbox__inner{
            background: #fff;
        }

        &-img{
            display: inline-block;
            width: 120px;
            height: 100%;
            position: relative;

            img{
                width: 100%;
                height: 100%;
            }

        }

        &-right{
            display: inline-block;
            box-sizing: border-box;
            padding: 15px;
            height: 100%;
            width: calc(100% - 127px);
            position: relative;
            left: -5px;
            vertical-align: top;

            &__content{
                display: inline-block;
                box-sizing: border-box;
                overflow: hidden;
                h3{
                    font-size: 14px;
                    line-height: 14px;
                    color: $--color-text-primary;
                    font-weight: 800;
                    margin-bottom: 12px;
                }

                p{
                    font-size: 12px;
                    color: $--color-text-secondary;
                    display: -webkit-box;
                }

                em{
                    font-size: 12px;
                    color: $--color-text-primary;
                }
            }

            &-checkbox{
                position: absolute;
                top: 5px;
                right: 2px
            }
        }
    }

    &__up-down{
        height: 357px;
        margin-bottom: 16px;
        border: solid 1px $--border-color-base;
        position: relative;

        &>img{
            width: 100%;
            height: 210px;
        }
        &-text{
            padding: 24px 16px 0 16px;

            h2{
                line-height: 16px;
                 color: $--color-text-primary;
                font-weight: 800;
                margin-bottom: 16px;
            }
            p{
                line-height: 22px;
                color: $--color-text-secondary;
            }

            &-footer{
                width: 100%;
                font-size: 12px;
                color: $--color-text-regular;
                position: absolute;
                bottom: 0;
                left: 0;
                box-sizing: border-box;
                padding:0 16px 24px 16px;

            }

            .el-icon-download{
                font-size: 16px;
                color: $--color-primary;
                float: right;
                cursor: pointer;
            }

        }
    }
}

/* element 默认修改
-------------------------- */
.el-form-item__label{
    color: $--color-text-secondary;
}

.el-card__body > .el-tabs {
    margin-top: 0px;
}

.el-tabs {
    &__item {
        line-height: 2.5rem;
        height: 2.5rem;
    }
    &__header {
        margin: 0 0 1rem;
    }
}

