index.scss 6.68 KB
/**
 * @Description: 框架样式
 * @author lyk
 * @date 2019/6/4
*/
@import './element-variables.scss';
@import './variables.scss';
@import './mixin.scss';
@import './sidebar.scss';
@import './dee-style.scss';
@import './dee-theme/index.scss';

body {
  height: 100%;
  margin: 0;
  background-color: #f7f7f7;
  overflow-y: hidden;
  .tox-tinymce-aux{
    z-index: 10000000
  }
  .v-modal{
    opacity: 1;
    background:rgba(0, 0, 0, 0.5)
  }
  .search-box .avatar-box .nickname {
    color: #6A7D87
  }
  .CodeMirror-overlayscroll-horizontal div, .CodeMirror-overlayscroll-vertical div{
    background: #dddee0;
  }
  .el-message-box__btns {
    display: flex;
    flex-direction: row-reverse;
    .el-button:not(el-button--primary){
      margin-left: 8px;
    }
  }
  .el-message-box__wrapper{
    z-index: 9999 !important;
  }
  // .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content{
  //   background: #DEEDF4 !important;
  // }
  .el-tree-node__content{
    height: 34px;
  }
  .tree-node-content{
    width:100%
  }
  .dee-tree-node-box{
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding: 0 6px 0 0;
    font-size: 14px;
    align-items: center;
    .btn-item{
      display: none;
      padding: 4px;
      font-size: 16px
    }
    &:hover{
      .btn-item{
        display: inline-block
      }
    }
  }
  .el-input-group__append button.el-button:hover {
    border-color: transparent;
    background-color: transparent;
  }
}

label {
  font-weight: normal;
}

html {
  height: 100%;
  //min-width: 1366px;
  @include family();
  box-sizing: border-box;
}
a:focus,
a:active {
  outline: none;
}

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

div:focus {
  outline: none;
}
#app {
  height: 100%;
}

#nprogress .bar {
  @include color(background);
}

.sub-title {
  font-size: $--font-size-base;
  font-weight: bold;
  padding-top: 12px;
  display: flex;
  flex-direction: row;
  margin-bottom: 2px;
  // &:before {
  //   content: '';
  //   width: 4px;
  //   height: 13px;
  //   // @include color(background-color);
  //   background: #2f90e2;
  //   align-self: center;
  //   margin-right: 8px
  // }
}

.third-title {
  font-size: 14px;
  height: 24px;
  background: linear-gradient(360deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.04) 100%);
  padding: 2px 0 0 12px;
  font-weight: normal;
  color: rgba(33, 33, 33, 1);
}

.participant-title {
  font-size: 14px;
  height: 24px;
  // background: linear-gradient(360deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.04) 100%);
  padding-left: 20px;
  font-weight: normal;
  color: rgba(33, 33, 33, 1);
}
.border-box-style{
  height: 100%;
  box-sizing: border-box;
  border: 1px solid #d9d9d9;
  background-color: #fff;
  padding:8px
}
.middle {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

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

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

.block-background {
  background-color: #fff;
  border-radius: $--border-radius-base;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 8px;
  height: 100%;
}

div::-webkit-scrollbar {
  width: 13px!important;
  height: 13px!important;
}

div::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 3px;
  transition: .3s background-color;
}

div::-webkit-scrollbar-thumb {
  border-radius: 3px;
  background-color: rgba(144,147,153,0);
  transition: .3s background-color;
}

div:hover::-webkit-scrollbar-thumb {
  cursor: pointer;
  border-radius: 3px;
  background-color: rgba(144,147,153,.4)!important;
  transition: .3s background-color;
}

//div::-webkit-scrollbar-thumb:hover {
//  background-color: rgba(144,147,153,.3);
//  cursor: pointer;
//}
.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}
.sidebar-com{
  @include sidebar();
}
.el-message{
  z-index:9999!important;
}
.el-button.is-loading{
  .el-icon-loading {
    position: absolute;
    left: 2px;
  }
  span{
    margin: 0 !important
  }
}
.legend-description{
  padding: 0 10px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  width: calc(100% - 20px);
  bottom: 4px;
  .ibox {
    width: 14px;
    height: 14px;
    background-color: currentColor;
    vertical-align: middle;
    display: inline-block;
    margin-right: 4px;
  }
  .legend-title {
    line-height: 16px;
    margin: 0;
  }
  .legend-content {
    font-size: 11px;
    height: auto !important;
    line-height: inherit !important;
    //padding-left: 15px;
  }
  .legend-content .not-modified i {
    color: #414244;
  }
  .legend-content .new i {
    color:  #c89c37
  }
  .legend-content .add i {
    color: #d16161
  }
  .legend-content .change-number i {
    color: #35a322
  }
  .legend-content .change-version i {
    color: #3367b9;
    // color: purple;
  }
  .legend-content .delete-exist i, .legend-content .delete-exist del {
    color: #76787b;
  }
  .legend-content .change-count i {
    color: #885fc4;
  }
}
// 统一弹窗里按钮的样式
.el-dialog__wrapper{
  .el-button{
    width:80px;
    height: 32px;
    line-height: 1;
    padding: 9px 15px;
    font-size: 12px;
    border-radius: 1px;
  }
}
// APP图表选择样式
.img-sel-content {
  height: 500px;
  overflow-y: auto;
  .el-row {
    display: flex;
    justify-content: flex-end;
    .el-input {
      width: 300px;
    }
  }
  .file-item{
    background: #fafafb;
    padding: 0 20px;
    .icon-wrap{
      display: flex;
      justify-content: flex-start;
      flex-wrap: wrap;
      padding: 0 40px;
    }
  }
  .img-box{
    width: 70px;
    height: 60px;
    padding: 0 5px 10px;
    margin: 10px 0;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    &:hover{
      background: #ddd
    }
    span{
      display: inline-block;
      width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
  }
  img{
    display: block;
    width: 24px;
    height: 24px;
    margin: 8px auto;
  }
}
.img-sel-box {
  width: 20px;
  height: 20px;
  padding-left: 10px;
  position: relative;
  img{
    width: 20px;
    height: 20px;
  }
  i{
    position: absolute;
    top:-10px;
    right:-10px;
  }
}
.dee-tree-node-box{
  display: flex;
}
.bjs-powered-by{
  visibility:hidden;
}
// 甘特图样式
.gantt_plan {
  border: 1px solid #64c16f !important;
  .gantt_task_content {
    background:#64c16f ;
    border:1px solid #64c16f ;
  }
}
.min-width-80{
  min-width: 80px;
}