@import './variables.module.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './ruoyi.scss';
@import './reset.scss';
@import './media.scss';


#app {
  height: 100%;
}
.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}
.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

aside {
  background: #eef1f6;
  padding: 8px 24px;
  margin-bottom: 20px;
  border-radius: 2px;
  display: block;
  line-height: 32px;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  color: #2c3e50;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    color: #337ab7;
    cursor: pointer;

    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
  flex-grow: 1;
  flex-shrink: 1;
  position: relative;
}
.custom-wrapper {

  background-color: #EFF0F2;
  padding: 0 0 120px 0;
  overflow-x: hidden; // 防止横向滚动条
}

.custom-main-w {
  margin: 0 auto;
  position: relative;
  max-width: 1300px;  // 你可以改成 1140px / 1280px
  padding: 0 20px;    // 给点左右留白，避免贴边
  box-sizing: border-box;
}


.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);

  .subtitle {
    font-size: 20px;
    color: #fff;
  }

  &.draft {
    background: #d0d0d0;
  }

  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;

  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;

  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}



.flex {
  display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-align-center {
  display: flex;
  align-items: center;
}

.inline-flex-align-center {
  display: inline-flex;
  align-items: center;
}

.flex-align-top {
  display: flex;
  align-items: flex-start;
}

.flex-align-bottom {
  display: flex;
  align-items: flex-end;
}

.flex-space-between {
  display: flex;
  justify-content: space-between;
}

.flex-justify-center {
  display: flex;
  justify-content: center;
}

.flex-justify-end {
  display: flex;
  justify-content: flex-end;
}



.joinus-box{
  // height: 160px;
  width: 100%;
  background-color: #2C53AD;
  color:#Fff;
  padding: 26px 0;
  // padding-top: 15px;
}
.joinus-inner-box{
  display: flex;
  justify-content:space-between;
  align-items: center;
  height: 100%;
  .left{
    flex:1;
  }
  .title{
    font-size: 30px;
    font-weight: bold;
    padding: 10px 0;
  }
  .desc{
    font-size: 18px;
    line-height: 3;
  }
  .a-btn{
    cursor: pointer;
    color: #Fff;
    display: inline-block;
    width: 160px;
    height: 50px;
    line-height: 48px;
    border: 1px solid #fff;
    border-radius: 24px;
    font-weight: bold;
    text-align: center;
    font-size: 18px;
  }
}



.com-tabs-wrapper{
  .el-tabs__header{
    padding:40px 0;
    margin-bottom: 60px;
    background-color: rgba(46,83,175,1);
  }
  .el-tabs__nav-wrap {
    max-width: 1440px;
    min-width: 1200px;
    margin: 0 auto;
  }
  .el-tabs__nav-wrap::after{
    content: none!important;
  }
  .el-tabs__nav {
    width: 100%;
  }
  .el-tabs__item{
    color:#a0b0d6;
    font-size: 22px;
    padding: 20px  0 20px 20px !important;
    font-weight: 400;
    justify-content:flex-start;
  }
  .el-tabs__item.is-active{
    color:#FFF;
    font-weight: bold;
    font-size: 24px;
    position: relative;
    &::before{
      position: absolute;
      content: "";
      left: 0;
      top:5px;
      bottom: 5px;
      border-left: 2px solid #fff;
    }
  }
  .el-tabs__active-bar{
    background-color:transparent;
  }
}






// 控制台的全局样式
.console-main{
  margin: 1px 60px 0 30px;
  padding: 20px  30px;
  background-color: #fff;
  // border-radius: 10px;
  min-height: 100%;
}
.console-header{
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 20px;
  border-bottom: 1px solid #eee;
  padding: 10px 30px ;
  .title{
    height: 36px;
    line-height: 36px;
  }
}
.console-content{
  padding: 10px 30px;
  .search-bar {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
  }
  .search-bar label {
    margin-right: 8px;
    font-weight: 500;
  }
  .search-input {
    width: 260px;
    margin-right: 16px;
  }
}
