.data-draw .data-draw-mask {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  z-index: 3;
  display: block;
  transition: all .3s cubic-bezier(.3, 1.2, .2, 1)
}

.data-draw .data-draw-mask:hover {
  cursor: pointer
}

.data-draw-body {
  border: 1px solid #e8e8e8;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
  height: 400px;
}

.data-draw-body .data-draw-content {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.draw-icon-edit {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.draw-icon-edit:hover path{
	fill: #40a9ff;
}

.data-draw-body .data-draw-maximize {
  position: absolute;
  z-index: 2;
  right: 10px;
  top: 10px;
  background-color: rgba(0, 0, 0, 0.65);
  width: 20px;
  height: 20px;
  text-align: center;
  font-size: 16px;
  color: #fff;
  line-height: 20px;
  border-radius: 4px;
  box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: none;
}

.data-draw-body:hover .data-draw-maximize {
  display: block;
}

/* 自定义Drawio样式,覆盖原有样式 */
body {
  font-size: 14px;
}

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

.example .buttonGroup {
  margin: 30px;
}

.example .buttonGroup>button {
  display: block;
  margin: 10px;
}

:global .diagram-container .diagram-exit-btn {
  cursor: pointer;
  margin-right: 50px;
}

#draw-view {
  overflow: hidden;
}

#draw-view,
.draw-view {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diagram-container,
.diagram-container *, 
.diagram-container *::before, 
.diagram-container *::after {
  box-sizing: content-box !important;
}

.geSidebar,
.geSidebar input {
  box-sizing: border-box !important;
}

.draw-edit {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.geEditor .geSidebarContainer,
.geEditor .geDiagramContainer,
.geEditor .geHsplit {
  bottom: 0 !important;
}

.geEditor  .geFooterContainer {
  display: none !important;
}

.draw-full-modal .ant-modal {
  max-width: 100%;
  top: 0;
  padding-bottom: 0;
  margin: 0;
}
.draw-full-modal .ant-modal-content {
  display: flex;
  flex-direction: column;
  height: calc(100vh);
  overflow: auto;
}

.draw-full-modal .ant-modal-body {
  flex: 1;
}

.draw-full-modal .ant-modal-confirm .ant-modal-body {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.draw-full-modal .ant-modal-confirm-btns {
  position: fixed;
  right: 20px;
  bottom: 20px;
  margin: 0;
  display: none;
}