@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';

body {
  height: 100%;  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
 -moz-osx-font-smoothing: grayscale;  -webkit-font-smoothing: antialiased;  text-rendering: optimizeLegibility; 
}

html {
  height: 100%;  box-sizing: border-box;
}

#app {
  height: 100%; overflow-x:auto; 
}
ul,li{
  padding: 0;margin: 0;list-style: none;
}
// :focus {
//   outline: -webkit-focus-ring-color auto 5px;
// }
// *,
// *:before,
// *:after {
//   box-sizing: inherit;
// }

.no-padding {
  padding: 0 !important;
}

.padding-content {
  padding: 4px 0;
}

// a:focus,
// a:active {
//   outline: none;
// }

a,
a:focus,
a:hover { color: inherit;  text-decoration: none;
  cursor: pointer; 
}

div:focus {
  outline: none;
}

.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 { display: block;  height: 0;
 clear: both;  font-size: 0; 
    visibility: hidden;  content: " "; 
  }
}

code { display: block;  padding: 15px 16px;  margin-bottom: 20px;  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
 font-size: 15px;  line-height: 36px; 
  background: #eef1f6; 
  a {
    color: #337ab7;  cursor: pointer;
    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

.warn-content {  padding: 16px;  padding: 1rem;  line-height: 1.6rem;  word-spacing: .05rem;
  background: rgba(66,185,131,.1);  border-radius: 2px;  
  a { font-weight: 600;
    color: #42b983; 
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

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

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

.text-center {
  text-align: center;
}

.sub-navbar { position: relative;  width: 100%; 
  height: 50px;  padding-right: 20px;  line-height: 50px;  text-align: right;  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%);
 transition: 600ms ease position; 
  .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;  margin-bottom: 10px;
 vertical-align: middle; 
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

.page-wrap {
  padding: 20px; text-align: center;
}


// 权限提示
.authNotify {
  cursor: pointer;
  .iconfont {
    font-size: 24px;color: $green;
  }
  .text {
    * {
      display: inline-block; vertical-align: middle;
    }
  }
  .headImg {
    width: 30px; margin-right: 10px; border-radius: 50%;
  }
}

.popover {
  text-align: center;
}

.el-dialog.is-fullscreen {
  height: 94%;  margin-top: 2%;
}

.el-icon-edit {
  cursor: pointer;
}

.el-tag + .el-tag {
  margin-left: 10px;
}
.el-button + .dot-button {
  margin-left: 10px;
}
.dot-button + .el-button {
  margin-left: 10px;
}
.last-btn-cell {
  .cell {
    overflow: visible;
  }
}


.red{
  color: $red;
}

.green{
  color: $green;
}

.blue{
  color: $light-blue;
}

.page-title{
  border-left: 3px solid #65677C; padding-left: 10px; line-height: 1.4; color: #333; margin-bottom: 20px;
}

.vertical-scrollbar{
  &::-webkit-scrollbar{
    width: 7px;
    height: 7px;
  }
  &::-webkit-scrollbar-thumb{
    background: rgba(4, 115, 121, 0.493);
  }
  &::-webkit-scrollbar-track{
    background: rgba(86, 175, 180, 0.2);
  }
}