<template>
<div id="q-app">
    <router-view />
</div>
</template>

<script>
export default {
    name: 'App'
}
</script>

<style>
@import url('~assets/css/font.css');
@import url('//at.alicdn.com/t/font_2077629_o5nw16ax85q.css');

html,
body,
#q-app {
    min-height: 100vh;
    min-width: 100%;
    font-family: '微软雅黑', ' Microsoft YaHei', 'PingFang', 'PingFangR';
    -webkit-font-smoothing: antialiased;
}

.page-body {
    border-radius: 8px;
    background: #FFF;
    padding: 30px;
}

.page-search {
    margin-bottom: 16px;
    font-family: "perfectFont";
}

.page-content .q-table__title {
    font-family: "perfectFont";
}

.page-content .q-table__container .scroll::-webkit-scrollbar {
    width: 10px;
    height: 5px;
}

.page-content .q-table__container .scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: #535353;
}

.page-content .q-table__container .scroll::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background: #EDEDED;

}

.micfont {
    font-family: perfectFont !important;
}

.dialog-out-close {
    background: var(--q-color-primary);
    position: absolute !important;
    top: 30% !important;
    left: -40px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px;
    text-align: center;
    color: #FFF;
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
    cursor: pointer;
}
/***************************************************** Begin 重写ElementUI 抽屉效果 ***************************************************************/
.el-drawer__wrapper{
    top: 61px !important;
}
.v-modal{
    display: none !important;
}
.el-drawer__wrapper .drawerTop {
    background: none !important;
    border-bottom: 1px solid #f5f5f5;
}
.el-drawer__wrapper .drawerTop .drawer_Span{
    font-size: 18px !important;
    font-weight: 500 !important;
    font-family: perfectFont !important;
}
.el-drawer__wrapper .drawerTop .icon-guanbi{
    display: none !important;
}
.page-body{
    padding:15px !important;
    min-height: calc(100% - 30px);
    margin:15px !important;
}
.q-table__top {
    padding: 0 0 12px 0px !important;
}
.q-btn__wrapper .row,
.q-btn__wrapper .column,
.q-btn__wrapper .flex{
    flex-wrap: nowrap !important;
}
.q-toolbar__title{
    flex:unset !important;
}
button.bg-accent{
    background: linear-gradient(90deg, #37ADF7, #2961FE) !important;
}
button.bg-accent:active{
    background: linear-gradient(270deg, #37ADF7, #2961FE) !important;

}
.q-avatar__content{
    font-family: perfectFont !important;
    font-size: 14px !important;
}
.left-menu-box .q-item.q-router-link--active,.left-menu-box .q-item--active{
    background:var(--q-color-secondary) !important;
    color:#f5f5f5 !important;
    border-radius: 0px 4px 4px 0px !important;
    margin:0 4px;
    position: relative;
}
.left-menu-box .q-item.q-router-link--active::before{
    position: absolute;
    width: 7px;
    height: 7px;
    background: #FAFAFA;
    border-radius: 50%;
    top: calc(50% - 3.5px);
    right: 20px;
    display: block;
    content: ' ';
}
/***************************************************** End 重写ElementUI 抽屉效果 ***************************************************************/
</style>
