﻿[flex] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
}

[flex] > * {
    display: flex
}

[flex] > [flex] {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
}


/* 滚动条背景 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 0 1px 0 rgba(0, 0, 0, 0.15);
    padding: 0;
    border: none;
    overflow-x: visible;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.25);
    padding: 0;
    border: none;
    width: 20px;
}

body {
    font-size: 14px
}

[text-sm] {
    font-size: 12px;
}

[text-success] {
    color: #67C23A;
}

[text-warning] {
    color: #E6A23C;
}

[text-danger] {
    color: #F56C6C;
}

[text-info] {
    color: #909399;
}

.el-pagination[center] {
    text-align: center;
    padding: 15px 0;
}

#app {
    height: 100%;
}

.el-header {
    padding: 0;
}

.left-menu {
    width: 200px;
    height: 100%;
    position: fixed;
    top: 60px;
    left: 0;
    overflow: auto;
    z-index: 5;
}

#_aside .el-menu {
    border-right: none;
}

#_aside .el-submenu .el-menu-item {
    min-width: 0px;
}

#_aside .aside-logo {
    height: 60px;
    background: #464d54;
    color: #f2f2f2;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    padding: 0 15px;
}

    #_aside .aside-logo:hover {
        background: #30353a;
        color: #fff;
    }

    #_aside .aside-logo div {
        background: rgba(0, 0, 0, 0.15);
        padding: 6px 6px;
        width: 100%;
        border-radius: 3px;
    }

.el-container {
    height: 100%;
}


[v-cloak] {
    display: none !important;
}

.el-dialog {
    min-width: 600px;
}

input, textarea, select {
    appearance: none;
    outline: none !important;
    box-shadow: none;
}

.el-input .el-input__count .el-input__count-inner {
    background: #FFF;
    display: inline-block;
    padding: 0 5px;
    line-height: normal;
}
.el-form-item {
    margin-bottom: 22px;
}

.el-form-item__label {
    text-align: right;
    vertical-align: middle;
    float: left;
    font-size: 14px;
    color: #606266;
    line-height: 40px;
    padding: 0 12px 0 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.el-form-item__content {
    line-height: 40px;
    position: relative;
    font-size: 14px;
}

.diy-bg .input-color .el-input__inner {
    padding: 0 10px;
}

.el-input--small .el-input__inner {
    height: 32px;
    line-height: 32px;
}

.el-input__inner {
    -webkit-appearance: none;
    background-color: #FFF;
    background-image: none;
    border-radius: 4px;
    border: 1px solid #DCDFE6;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    font-size: inherit;
    height: 40px;
    line-height: 40px;
    outline: 0;
    padding: 0 15px;
    -webkit-transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    width: 100%;
}
.el-button--small, .el-button--small.is-round {
    padding: 9px 15px;
}

.el-button--mini, .el-button--small {
    font-size: 12px;
    border-radius: 3px;
}

.el-button {
    display: inline-block;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    background: #FFF;
    border: 1px solid #DCDFE6;
    color: #606266;
    -webkit-appearance: none;
    text-align: center;
    box-sizing: border-box;
    outline: 0;
    margin: 0;
    -webkit-transition: .1s;
    transition: .1s;
    font-weight: 500;
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 4px;
}
input, textarea, select {
    appearance: none;
    outline: none !important;
    box-shadow: none;
}

.all-components {
    background: #fff;
    padding: 20px;
}

.all-components .component-group {
border: 1px solid #eeeeee;
width: 303px;
margin-bottom: 20px;
}

.all-components .component-group:last-child {
    margin-bottom: 0;
}

.all-components .component-group-name {
height: 35px;
line-height: 35px;
background: #f7f7f7;
padding: 0 20px;
border-bottom: 1px solid #eeeeee;
}

.all-components .component-list {
margin-right: -2px;
margin-top: -2px;
flex-wrap: wrap;
}

.all-components .component-list .component-item {
    width: 100px;
    height: 100px;
    border: 0 solid #eeeeee;
    border-width: 0 1px 1px 0;
    text-align: center;
    padding: 15px 0 0;
    cursor: pointer;
    display: inline-block;
}

.all-components .component-list .component-icon {
    width: 40px;
    height: 40px;
    /*border: 1px solid #eee;*/
}

.all-components .component-list .component-name {
}

.mobile-framework {
    width: 375px;
    height: 100%;
}

.mobile-framework-header {
    height: 60px;
    line-height: 60px;
    background: #333;
    color: #fff;
    text-align: center;
    background: url('/Content/adminimg/head.png') no-repeat;
}

.mobile-framework-body {
    min-height: 645px;
    border: 1px solid #e2e2e2;
    /* background: #f5f7f9; */
}

.mobile-framework .diy-component-preview {
    cursor: pointer;
    position: relative;
    zoom: 0.5;
    -moz-transform: scale(0.5);
    -moz-transform-origin: top left;
    font-size: 28px;
}


    .mobile-framework .diy-component-preview:hover {
        box-shadow: inset 0 0 10000px rgba(0, 0, 0, .03);
    }

.mobile-framework .diy-component-edit {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 465px;
    right: 0;
    background: #fff;
    padding: 20px;
    display: none;
    overflow: auto;
}

.diy-component-options {
    position: relative;
    display:none;
}
.diy-component-options .el-button {
    height: 25px;
    line-height: 25px;
    width: 25px;
    padding: 0;
    text-align: center;
    border: none;
    border-radius: 0;
    position: absolute;
    margin-left: 0;
}
.el-button--primary {
    color: #fff;
    background: #409EFF;
}
.mobile-framework .active .diy-component-preview {
    border: 2px dashed #409EFF;
    left: -2px;
    right: -2px;
    width: calc(100% + 4px);
}

.mobile-framework .active .diy-component-edit {
    display: block;
    padding-right: 20%;
    min-width: 650px;
}

.all-components {
    max-height: 725px;
    overflow-y: auto;
    display: inline-block;
}

.bottom-menu {
    text-align: center;
    height: 54px;
    width: 100%;
}

.bottom-menu .el-card__body {
    padding-top: 10px;
}

.el-dialog {
    min-width: 800px;
}
