238 lines
		
	
	
		
			4.6 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
			
		
		
	
	
			238 lines
		
	
	
		
			4.6 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
$editorTabsborderColor: #121315;
 | 
						||
body, html{
 | 
						||
  margin: 0;
 | 
						||
  padding: 0;
 | 
						||
  background: #F2F4F9;
 | 
						||
  -moz-osx-font-smoothing: grayscale;
 | 
						||
  -webkit-font-smoothing: antialiased;
 | 
						||
  text-rendering: optimizeLegibility;
 | 
						||
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
 | 
						||
}
 | 
						||
 | 
						||
input, textarea{
 | 
						||
  font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
 | 
						||
}
 | 
						||
 | 
						||
.editor-tabs{
 | 
						||
  background: $editorTabsborderColor;
 | 
						||
  .el-tabs__header{
 | 
						||
    margin: 0;
 | 
						||
    border-bottom-color: $editorTabsborderColor;
 | 
						||
    .el-tabs__nav{
 | 
						||
      border-color: $editorTabsborderColor;
 | 
						||
    }
 | 
						||
  }
 | 
						||
  .el-tabs__item{
 | 
						||
    height: 32px;
 | 
						||
    line-height: 32px;
 | 
						||
    color: #888a8e;
 | 
						||
    border-left: 1px solid $editorTabsborderColor!important;
 | 
						||
    background: #363636;
 | 
						||
    margin-right: 5px;
 | 
						||
    user-select: none;
 | 
						||
  }
 | 
						||
  .el-tabs__item.is-active{
 | 
						||
    background: #1e1e1e;
 | 
						||
    border-bottom-color: #1e1e1e!important;
 | 
						||
    color: #fff;
 | 
						||
  }
 | 
						||
  .el-icon-edit{
 | 
						||
    color: #f1fa8c;
 | 
						||
  }
 | 
						||
  .el-icon-document{
 | 
						||
    color: #a95812;
 | 
						||
  }
 | 
						||
  :focus.is-active.is-focus:not(:active) {
 | 
						||
    box-shadow: none;
 | 
						||
    border-radius: 0;
 | 
						||
  }
 | 
						||
}
 | 
						||
 | 
						||
// home
 | 
						||
.right-scrollbar {
 | 
						||
  .el-scrollbar__view {
 | 
						||
    padding: 12px 18px 15px 15px;
 | 
						||
  }
 | 
						||
}
 | 
						||
.el-scrollbar__wrap {
 | 
						||
  box-sizing: border-box;
 | 
						||
  overflow-x: hidden !important;
 | 
						||
  margin-bottom: 0 !important;
 | 
						||
}
 | 
						||
.center-tabs{
 | 
						||
  .el-tabs__header{
 | 
						||
    margin-bottom: 0!important;
 | 
						||
  }
 | 
						||
  .el-tabs__item{
 | 
						||
    width: 50%;
 | 
						||
    text-align: center;
 | 
						||
  }
 | 
						||
  .el-tabs__nav{
 | 
						||
    width: 100%;
 | 
						||
  }
 | 
						||
}
 | 
						||
.reg-item{
 | 
						||
  padding: 12px 6px;
 | 
						||
  background: #f8f8f8;
 | 
						||
  position: relative;
 | 
						||
  border-radius: 4px;
 | 
						||
  .close-btn{
 | 
						||
    position: absolute;
 | 
						||
    right: -6px;
 | 
						||
    top: -6px;
 | 
						||
    display: block;
 | 
						||
    width: 16px;
 | 
						||
    height: 16px;
 | 
						||
    line-height: 16px;
 | 
						||
    background: rgba(0, 0, 0, 0.2);
 | 
						||
    border-radius: 50%;
 | 
						||
    color: #fff;
 | 
						||
    text-align: center;
 | 
						||
    z-index: 1;
 | 
						||
    cursor: pointer;
 | 
						||
    font-size: 12px;
 | 
						||
    &:hover{
 | 
						||
      background: rgba(210, 23, 23, 0.5)
 | 
						||
    }
 | 
						||
  }
 | 
						||
  & + .reg-item{
 | 
						||
    margin-top: 18px;
 | 
						||
  }
 | 
						||
}
 | 
						||
.action-bar{
 | 
						||
  & .el-button+.el-button {
 | 
						||
    margin-left: 15px;
 | 
						||
  }
 | 
						||
  & i {
 | 
						||
    font-size: 20px;
 | 
						||
    vertical-align: middle;
 | 
						||
    position: relative;
 | 
						||
    top: -1px;
 | 
						||
  }
 | 
						||
}
 | 
						||
 | 
						||
.custom-tree-node{
 | 
						||
  width: 100%;
 | 
						||
  font-size: 14px;
 | 
						||
  .node-operation{
 | 
						||
    float: right;
 | 
						||
  }
 | 
						||
  i[class*="el-icon"] + i[class*="el-icon"]{
 | 
						||
    margin-left: 6px;
 | 
						||
  }
 | 
						||
  .el-icon-plus{
 | 
						||
    color: #409EFF;
 | 
						||
  }
 | 
						||
  .el-icon-delete{
 | 
						||
    color: #157a0c;
 | 
						||
  }
 | 
						||
}
 | 
						||
 | 
						||
.el-scrollbar__view{
 | 
						||
//   overflow-x: hidden;
 | 
						||
}
 | 
						||
 | 
						||
.el-rate{
 | 
						||
  display: inline-block;
 | 
						||
  vertical-align: text-top;
 | 
						||
}
 | 
						||
.el-upload__tip{
 | 
						||
  line-height: 1.2;
 | 
						||
}
 | 
						||
// 滚动条
 | 
						||
::-webkit-scrollbar {
 | 
						||
  width: 8px;
 | 
						||
  height: 8px;
 | 
						||
  background-color: transparent;
 | 
						||
}
 | 
						||
 | 
						||
::-webkit-scrollbar-track-piece {
 | 
						||
  background-color:rgba(144,147,153,0);
 | 
						||
}
 | 
						||
 | 
						||
::-webkit-scrollbar-corner {
 | 
						||
  background-color:rgba(144,147,153,0);
 | 
						||
}
 | 
						||
 | 
						||
::-webkit-scrollbar-track {
 | 
						||
  width: 6px;
 | 
						||
  background: rgba(144,147,153,0);
 | 
						||
  -webkit-border-radius: 2em;
 | 
						||
  -moz-border-radius: 2em;
 | 
						||
  border-radius: 2em;
 | 
						||
}
 | 
						||
 | 
						||
::-webkit-scrollbar-thumb {
 | 
						||
  background-color: #EDEDED;
 | 
						||
  background-clip: padding-box;
 | 
						||
  min-height: 28px;
 | 
						||
  -webkit-border-radius: 2em;
 | 
						||
  -moz-border-radius: 2em;
 | 
						||
  border-radius: 2em;
 | 
						||
  transition: background-color .3s;
 | 
						||
  cursor: pointer;
 | 
						||
}
 | 
						||
 | 
						||
::-webkit-scrollbar-thumb:hover {
 | 
						||
  background-color: #D9D9D9;
 | 
						||
}
 | 
						||
 | 
						||
// 抽屉head区域---start
 | 
						||
.el-drawer__header {
 | 
						||
  padding-bottom: 20px;
 | 
						||
  padding-left: 30px;
 | 
						||
  margin-bottom: 23px;
 | 
						||
  font-size: 20px;
 | 
						||
  font-weight: 500;
 | 
						||
  color: rgba(0,0,0,0.85);
 | 
						||
  border-bottom: 1px solid rgba(233, 233, 233, 1);
 | 
						||
}
 | 
						||
.el-drawer__header > :first-child::before {
 | 
						||
  content: '';
 | 
						||
  display: inline-block;
 | 
						||
  width: 4px;
 | 
						||
  height: 24px;
 | 
						||
  background-color: #0b58ff;
 | 
						||
  margin-right: 8px;
 | 
						||
  vertical-align: middle;
 | 
						||
}
 | 
						||
// 抽屉head区域---end
 | 
						||
// 弹出框,上下分布,去掉label的padding-bottom
 | 
						||
.el-form--label-top .el-form-item__label {
 | 
						||
  padding: 0;
 | 
						||
}
 | 
						||
 | 
						||
// 确认弹窗(UI样式修改和原样式有区别--start)
 | 
						||
.el-message-box__status+.el-message-box__message {
 | 
						||
  padding-left: 58px;
 | 
						||
}
 | 
						||
.el-message-box {
 | 
						||
  width: auto;
 | 
						||
  min-width: 424px;
 | 
						||
  .el-message-box__header {
 | 
						||
    padding:32px 32px 0px 72px;
 | 
						||
    .el-message-box__title {
 | 
						||
      font-size: 16px;
 | 
						||
      font-weight: 600;
 | 
						||
      color: rgba(0,0,0,0.85);
 | 
						||
    }
 | 
						||
  }
 | 
						||
  .el-message-box__content {
 | 
						||
    padding-bottom: 24px;
 | 
						||
    .el-message-box__status {
 | 
						||
      top:-72%;
 | 
						||
      left:20px;
 | 
						||
      font-size:21px !important
 | 
						||
    }
 | 
						||
    .el-message-box__input {
 | 
						||
      padding-left: 57px;
 | 
						||
      padding-right: 15px;
 | 
						||
    }
 | 
						||
  }
 | 
						||
  .el-message-box__btns {
 | 
						||
    padding-right: 32px;
 | 
						||
    padding-bottom:14px;
 | 
						||
  }
 | 
						||
}
 | 
						||
 | 
						||
// 确认弹窗(UI样式修改和原样式有区别--end) |