488 lines
		
	
	
		
			8.1 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
			
		
		
	
	
			488 lines
		
	
	
		
			8.1 KiB
		
	
	
	
		
			CSS
		
	
	
	
	
	
.btnGroup {
 | 
						||
  margin-bottom: 8px;
 | 
						||
}
 | 
						||
 | 
						||
.btnGroup button {
 | 
						||
  margin-right: 15px;
 | 
						||
  margin-top  : 10px;
 | 
						||
}
 | 
						||
 | 
						||
.contextMenuList li:not(:global(.ant-menu-item-disabled)):hover {
 | 
						||
  background: #edf8fc;
 | 
						||
}
 | 
						||
 | 
						||
.contextMenuList:global(.ant-menu-vertical) {
 | 
						||
  border-right: none;
 | 
						||
}
 | 
						||
 | 
						||
.contextMenuList:global(.ant-menu-vertical)> :global(.ant-menu-item) {
 | 
						||
  line-height: 30px;
 | 
						||
  height     : 30px;
 | 
						||
  margin     : 0 -15px;
 | 
						||
}
 | 
						||
 | 
						||
.contextMenuPop :global(.ant-popover-inner-content) {
 | 
						||
  padding-top   : 5px;
 | 
						||
  padding-bottom: 5px;
 | 
						||
}
 | 
						||
 | 
						||
.treePageWrap {
 | 
						||
  height          : 100%;
 | 
						||
  padding         : 8px;
 | 
						||
  background-color: rgb(255, 255, 255);
 | 
						||
}
 | 
						||
 | 
						||
.treeBox {
 | 
						||
  height    : 100%;
 | 
						||
  padding   : 10px 15px;
 | 
						||
  box-shadow: 2px 3px 4px 0 #eee;
 | 
						||
  border    : 1px solid #ddd;
 | 
						||
  overflow  : auto;
 | 
						||
}
 | 
						||
 | 
						||
.treeHBox {
 | 
						||
  display         : flex;
 | 
						||
  justify-content : flex-start;
 | 
						||
  padding         : 0.2rem 0.75rem 0.3rem 0.75rem;
 | 
						||
  background-color: #ffffff;
 | 
						||
  overflow-x      : auto;
 | 
						||
  width           : 100%;
 | 
						||
  height          : 100%;
 | 
						||
}
 | 
						||
 | 
						||
.treeVBox {
 | 
						||
  width           : 100%;
 | 
						||
  height          : 100%;
 | 
						||
  padding         : 0.2rem 0.75rem 0.3rem 0.75rem;
 | 
						||
  background-color: #ffffff;
 | 
						||
}
 | 
						||
 | 
						||
.tipToContextMenu {
 | 
						||
  border-bottom : 3px solid #1890ff;
 | 
						||
  padding-bottom: 5px;
 | 
						||
  margin-bottom : 10px;
 | 
						||
  margin-top    : 10px;
 | 
						||
  color         : rgb(22, 150, 14);
 | 
						||
}
 | 
						||
 | 
						||
.nullPage {
 | 
						||
  text-align: center;
 | 
						||
  color     : #eeeeee;
 | 
						||
  font-size : 24px;
 | 
						||
}
 | 
						||
 | 
						||
.nullPage i {
 | 
						||
  font-size : 180px;
 | 
						||
  margin-top: 30px;
 | 
						||
}
 | 
						||
 | 
						||
.addNode {
 | 
						||
  cursor: pointer;
 | 
						||
}
 | 
						||
 | 
						||
.tableBtnBar {
 | 
						||
  overflow     : hidden;
 | 
						||
  margin-bottom: 8px;
 | 
						||
}
 | 
						||
 | 
						||
.tableBtnGroup {
 | 
						||
  float: left;
 | 
						||
}
 | 
						||
 | 
						||
.rtBtn {
 | 
						||
  float: right;
 | 
						||
}
 | 
						||
 | 
						||
.tableContent {
 | 
						||
  position: relative;
 | 
						||
  overflow: auto;
 | 
						||
}
 | 
						||
 | 
						||
.pullHide {
 | 
						||
  position   : absolute;
 | 
						||
  top        : -1000px;
 | 
						||
  /*right    : -132px;*/
 | 
						||
  right      : 0;
 | 
						||
  margin-left: 65px;
 | 
						||
  transition : all .6s;
 | 
						||
}
 | 
						||
 | 
						||
.pullShow {
 | 
						||
  top: 38px;
 | 
						||
}
 | 
						||
 | 
						||
.pullBtn {
 | 
						||
  position : absolute;
 | 
						||
  top      : 7px;
 | 
						||
  right    : 5px;
 | 
						||
  cursor   : pointer;
 | 
						||
  color    : #1890ff;
 | 
						||
  font-size: 20px;
 | 
						||
}
 | 
						||
 | 
						||
.hideBoxCon {
 | 
						||
  float     : right;
 | 
						||
  z-index   : 10;
 | 
						||
  width     : 200px;
 | 
						||
  position  : absolute;
 | 
						||
  right     : 2px;
 | 
						||
  background: #03a9f4;
 | 
						||
}
 | 
						||
 | 
						||
.hideBoxList {
 | 
						||
  padding   : 10px 12px;
 | 
						||
  color     : #eee;
 | 
						||
  background: rgb(96, 125, 139);
 | 
						||
  max-height: 270px;
 | 
						||
  overflow-y: auto;
 | 
						||
}
 | 
						||
 | 
						||
.pullFootBtn {
 | 
						||
  padding   : 6px 0;
 | 
						||
  border-top: 1px solid #e8e8e8;
 | 
						||
  overflow  : hidden;
 | 
						||
  text-align: center;
 | 
						||
  cursor    : pointer;
 | 
						||
  background: #fafafa;
 | 
						||
  margin-top: 6px;
 | 
						||
}
 | 
						||
 | 
						||
.pullFootBtn .rollback {
 | 
						||
  border-right: 1px solid #e8e8e8;
 | 
						||
}
 | 
						||
 | 
						||
.pullFootBtn .rollback,
 | 
						||
.pullFootBtn .save {
 | 
						||
  width: 50%;
 | 
						||
  float: left;
 | 
						||
}
 | 
						||
 | 
						||
.pullFootBtn>div:first-child:hover {
 | 
						||
  color: #ff0000;
 | 
						||
}
 | 
						||
 | 
						||
.pullFootBtn>div:last-child:hover {
 | 
						||
  color: #1890ff;
 | 
						||
}
 | 
						||
 | 
						||
.pullBoxList {
 | 
						||
  white-space  : nowrap;
 | 
						||
  text-overflow: ellipsis;
 | 
						||
  overflow     : hidden;
 | 
						||
  color        : rgba(255, 255, 255, 0.65);
 | 
						||
  margin-bottom: 6px;
 | 
						||
  transition   : all .4s;
 | 
						||
}
 | 
						||
 | 
						||
.pullBoxList:hover {
 | 
						||
  color: rgba(255, 255, 255, 1);
 | 
						||
}
 | 
						||
 | 
						||
.selected {
 | 
						||
  background-color: #b9f0dd;
 | 
						||
}
 | 
						||
 | 
						||
 | 
						||
.warning {
 | 
						||
  background-color: #ffc53d;
 | 
						||
}
 | 
						||
 | 
						||
.danger {
 | 
						||
  background-color: rgba(207, 19, 34, 0.5);
 | 
						||
}
 | 
						||
 | 
						||
.success {
 | 
						||
  background-color: #ccffcc;
 | 
						||
}
 | 
						||
 | 
						||
:global(.ant-table-tbody)>tr>td .btnGroup {
 | 
						||
  text-align: left;
 | 
						||
}
 | 
						||
 | 
						||
 | 
						||
.fieldList {
 | 
						||
  max-height: 320px;
 | 
						||
  overflow  : auto;
 | 
						||
}
 | 
						||
 | 
						||
.tableFieldManage {
 | 
						||
  background   : #ffffff;
 | 
						||
  width        : 160px;
 | 
						||
  position     : relative;
 | 
						||
  padding      : 4px 0 0 0;
 | 
						||
  text-align   : left;
 | 
						||
  border-radius: 4px;
 | 
						||
  box-shadow   : 0 2px 8px rgba(0, 0, 0, .15)
 | 
						||
}
 | 
						||
 | 
						||
.dragList {
 | 
						||
  padding          : 5px 12px;
 | 
						||
  font-size        : 14px;
 | 
						||
  font-weight      : 400;
 | 
						||
  color            : rgba(0, 0, 0, .65);
 | 
						||
  white-space      : nowrap;
 | 
						||
  line-height      : 22px;
 | 
						||
  display          : flex;
 | 
						||
  justify-content  : space-between;
 | 
						||
  -ms-text-overflow: ellipsis;
 | 
						||
  text-overflow    : ellipsis;
 | 
						||
  overflow         : hidden;
 | 
						||
}
 | 
						||
 | 
						||
.dragLabel {
 | 
						||
  width        : 100%;
 | 
						||
  text-align   : left;
 | 
						||
  white-space  : nowrap;
 | 
						||
  text-overflow: ellipsis;
 | 
						||
  overflow     : hidden;
 | 
						||
}
 | 
						||
 | 
						||
.dragLabel label {
 | 
						||
  margin-left: 6px;
 | 
						||
}
 | 
						||
 | 
						||
.dragIcon {
 | 
						||
  transform  : rotate(90deg);
 | 
						||
  margin-left: 10px;
 | 
						||
}
 | 
						||
 | 
						||
:global(.drop-over-downward) {
 | 
						||
  border-bottom: 2px dashed #1890ff;
 | 
						||
}
 | 
						||
 | 
						||
:global(.drop-over-upward) {
 | 
						||
  border-top: 2px dashed #1890ff;
 | 
						||
}
 | 
						||
 | 
						||
:global(.drop-over-leftward) {
 | 
						||
  border-left: 2px dashed #1890ff;
 | 
						||
}
 | 
						||
 | 
						||
:global(.drop-over-rightward) {
 | 
						||
  border-right: 2px dashed #1890ff;
 | 
						||
}
 | 
						||
 | 
						||
 | 
						||
.formBox {
 | 
						||
  overflow: auto;
 | 
						||
  height  : calc(100% - 51px);
 | 
						||
}
 | 
						||
 | 
						||
.editWrap {
 | 
						||
  height    : 100%;
 | 
						||
  padding   : 8px;
 | 
						||
  background: #ffffff;
 | 
						||
}
 | 
						||
 | 
						||
.controlBlock {
 | 
						||
  margin-bottom        : 15px;
 | 
						||
  -webkit-border-radius: 4px;
 | 
						||
  -moz-border-radius   : 4px;
 | 
						||
  border-radius        : 4px;
 | 
						||
}
 | 
						||
 | 
						||
.topBar {
 | 
						||
  overflow      : hidden;
 | 
						||
  border-bottom : 1px solid #1890ff;
 | 
						||
  padding-bottom: 8px;
 | 
						||
  margin-bottom : 10px;
 | 
						||
}
 | 
						||
 | 
						||
.topBarLeftBtns {
 | 
						||
  float: left;
 | 
						||
}
 | 
						||
 | 
						||
.btnBar button {
 | 
						||
  margin-left: 10px;
 | 
						||
}
 | 
						||
 | 
						||
:global(.editable-row .ant-form-explain) {
 | 
						||
  position  : absolute;
 | 
						||
  font-size : 12px;
 | 
						||
  margin-top: -4px;
 | 
						||
}
 | 
						||
 | 
						||
:global(.editable-cell) {
 | 
						||
  position: relative;
 | 
						||
}
 | 
						||
 | 
						||
:global(.editable-cell-value-wrap) {
 | 
						||
  padding: 5px 12px;
 | 
						||
  cursor : pointer;
 | 
						||
}
 | 
						||
 | 
						||
:global(.editable-row:hover .editable-cell-value-wrap) {
 | 
						||
  border       : 1px solid #d9d9d9;
 | 
						||
  border-radius: 4px;
 | 
						||
  padding      : 4px 11px;
 | 
						||
  min-height   : 30px;
 | 
						||
}
 | 
						||
 | 
						||
/* EditBaseComponent.js */
 | 
						||
:global(.editBaseComponent_Table_className .ant-table-thead)>tr>th,
 | 
						||
:global(.editBaseComponent_Table_className .ant-table-tbody)>tr>td {
 | 
						||
  max-width: 100px;
 | 
						||
}
 | 
						||
 | 
						||
.node_div {
 | 
						||
  position      : relative;
 | 
						||
  display       : inline-block;
 | 
						||
  z-index       : 2;
 | 
						||
  font-size     : 0;
 | 
						||
  padding-bottom: 20px;
 | 
						||
  cursor        : pointer;
 | 
						||
}
 | 
						||
 | 
						||
.fullname {
 | 
						||
  width : 60px;
 | 
						||
  height: 60px;
 | 
						||
}
 | 
						||
 | 
						||
:global(.fullname__extra) {
 | 
						||
  opacity: 0;
 | 
						||
}
 | 
						||
 | 
						||
:global(.fullname__extra .anticon) {
 | 
						||
  width : 60px;
 | 
						||
  height: 60px;
 | 
						||
}
 | 
						||
 | 
						||
.fullname__title {
 | 
						||
  position     : absolute;
 | 
						||
  left         : 0;
 | 
						||
  bottom       : 0;
 | 
						||
  width        : 100%;
 | 
						||
  height       : 20px;
 | 
						||
  line-height  : 20px;
 | 
						||
  font-size    : 12px;
 | 
						||
  overflow     : hidden;
 | 
						||
  text-overflow: ellipsis;
 | 
						||
  white-space  : nowrap;
 | 
						||
}
 | 
						||
 | 
						||
.htreenodeicon {
 | 
						||
  color   : #fff;
 | 
						||
  position: absolute;
 | 
						||
  top     : -6px;
 | 
						||
  right   : -28px;
 | 
						||
  cursor  : pointer;
 | 
						||
  padding : 2px 2px 2px 20px;
 | 
						||
}
 | 
						||
 | 
						||
.htreenodeicon__iconwrap {
 | 
						||
  background-color: #50b63a;
 | 
						||
  padding         : 1px;
 | 
						||
}
 | 
						||
 | 
						||
/** buttons 间隔 **/
 | 
						||
.antBtns_mr8 :global(.ant-btn) {
 | 
						||
  margin-right: 8px;
 | 
						||
}
 | 
						||
 | 
						||
/** 垂直展开的树形菜单 === start === **/
 | 
						||
.treeV {
 | 
						||
  width : 100%;
 | 
						||
  height: 100%;
 | 
						||
}
 | 
						||
 | 
						||
.treeVLeft {
 | 
						||
  position        : relative;
 | 
						||
  float           : left;
 | 
						||
  width           : calc(16% - 4px);
 | 
						||
  height          : 100%;
 | 
						||
  overflow        : hidden;
 | 
						||
  border          : 1px solid #d7d7d7;
 | 
						||
  background-color: #ffffff;
 | 
						||
  transition      : width .2s ease-in-out;
 | 
						||
}
 | 
						||
 | 
						||
.treeVRight {
 | 
						||
  float     : right;
 | 
						||
  width     : calc(84% - 4px);
 | 
						||
  height    : 100%;
 | 
						||
  overflow  : hidden auto;
 | 
						||
  transition: width .2s ease-in-out;
 | 
						||
}
 | 
						||
 | 
						||
.treeVLeft.treeVCollapse {
 | 
						||
  width: 32px;
 | 
						||
}
 | 
						||
 | 
						||
.treeVRight.treeVCollapse {
 | 
						||
  width: calc(100% - 40px);
 | 
						||
}
 | 
						||
 | 
						||
.treeVFold {
 | 
						||
  position  : absolute;
 | 
						||
  top       : 14px;
 | 
						||
  right     : 18px;
 | 
						||
  cursor    : pointer;
 | 
						||
  font-size : 24px;
 | 
						||
  color     : #02a7f0;
 | 
						||
  transition: all .2s ease-in-out;
 | 
						||
}
 | 
						||
 | 
						||
.treeVLeft.treeVCollapse .treeVFold {
 | 
						||
  right: 3px;
 | 
						||
}
 | 
						||
 | 
						||
.treeVLeft.treeVCollapse .treeVWrap {
 | 
						||
  cursor      : pointer;
 | 
						||
  padding-left: 32px;
 | 
						||
}
 | 
						||
 | 
						||
.treeVWrap {
 | 
						||
  height    : 100%;
 | 
						||
  min-width : 170px;
 | 
						||
  transition: all .2s ease-in-out;
 | 
						||
}
 | 
						||
 | 
						||
.treeVTitle {
 | 
						||
  font-size  : 16px;
 | 
						||
  line-height: 1;
 | 
						||
  color      : #333333;
 | 
						||
  display    : inline-block;
 | 
						||
  padding    : 18px 18px 10px 18px;
 | 
						||
}
 | 
						||
 | 
						||
.treeVDivider {
 | 
						||
  height          : 2px;
 | 
						||
  background-color: #02a7f0;
 | 
						||
  margin          : 0 18px;
 | 
						||
}
 | 
						||
 | 
						||
.treeVSelect {
 | 
						||
  display        : flex;
 | 
						||
  justify-content: space-between;
 | 
						||
  align-items    : center;
 | 
						||
  padding        : 8px 0 4px 18px;
 | 
						||
}
 | 
						||
 | 
						||
.treeVSelectTitle {
 | 
						||
  overflow     : hidden;
 | 
						||
  text-overflow: ellipsis;
 | 
						||
  white-space  : nowrap;
 | 
						||
  padding-right: 4px;
 | 
						||
}
 | 
						||
 | 
						||
.treeVSelectBtns {
 | 
						||
  display         : flex;
 | 
						||
  flex            : auto;
 | 
						||
  justify-content : space-around;
 | 
						||
  align-items     : center;
 | 
						||
  margin-right    : 4px;
 | 
						||
  background-color: antiquewhite;
 | 
						||
  cursor          : pointer;
 | 
						||
}
 | 
						||
 | 
						||
.treeVSearch {
 | 
						||
  padding: 0 4px 0 12px;
 | 
						||
}
 | 
						||
 | 
						||
.treeVTree {
 | 
						||
  /** 46px为treeVTitle + treeVDivider,16px为treeVTree的margin **/
 | 
						||
  height: calc(100% - 111px - 16px);
 | 
						||
  margin: 0 4px 16px 12px;
 | 
						||
}
 | 
						||
 | 
						||
/** 垂直展开的树形菜单 === end === **/ |