/* --- antd重置 start --- */
.editor-btn {
  padding: 0 15px;
  box-shadow: none;
}
.editor-btn.editor-btn-background-ghost {
  color: rgba(28, 36, 46, 0.85);
  border-color: #bfbfbf;
}
.editor-btn.editor-btn-background-ghost:hover,
.editor-btn.editor-btn-background-ghost:active,
.editor-btn.editor-btn-background-ghost:focus {
  color: #29f;
  border-color: #29f;
}
.editor-btn.editor-btn-background-ghost:disabled,
.editor-btn.editor-btn-background-ghost:disabled:hover,
.editor-btn.editor-btn-background-ghost:disabled:active,
.editor-btn.editor-btn-background-ghost:disabled:focus {
  color: rgba(28, 36, 46, 0.25);
}
.editor-btn.editor-btn-link {
  height: auto;
  padding: 0;
  color: rgba(28, 36, 46, 0.85);
  background: transparent;
  border-color: transparent;
}
.editor-btn.editor-btn-link:hover,
.editor-btn.editor-btn-link:active,
.editor-btn.editor-btn-link:focus {
  color: #29f;
  background: transparent;
  border-color: transparent;
}
.editor-btn.editor-btn-link:disabled,
.editor-btn.editor-btn-link:disabled:hover,
.editor-btn.editor-btn-link:disabled:active,
.editor-btn.editor-btn-link:disabled:focus {
  color: rgba(28, 36, 46, 0.25);
}
.editor-btn > .anticon + span {
  margin-left: 2px;
}
.editor-checkbox-wrapper .editor-checkbox.editor-checkbox-checked .editor-checkbox-inner::after {
  border-color: #fff;
}
.editor-radio-group.editor-radio-group-solid .editor-radio-button-wrapper:hover,
.editor-radio-group.editor-radio-group-solid .editor-radio-button-wrapper:active {
  color: #47e;
}
.editor-radio-group.editor-radio-group-solid .editor-radio-button-wrapper:focus,
.editor-radio-group.editor-radio-group-solid .editor-radio-button-wrapper.editor-radio-button-wrapper-checked {
  color: #fff;
}
.editor-table-wrapper thead tr td,
.editor-table-wrapper tbody tr td,
.editor-table-wrapper thead tr th,
.editor-table-wrapper tbody tr th {
  font-size: 12px;
}
.editor-calendar-table tr td .editor-calendar-date,
.editor-calendar-table tr td .editor-calendar-decade-panel-decade {
  color: rgba(28, 36, 46, 0.85);
}
.editor-calendar-table tr td .editor-calendar-date:hover,
.editor-calendar-table tr td .editor-calendar-decade-panel-decade:hover {
  color: rgba(28, 36, 46, 0.85);
  background: #47e;
}
.editor-calendar-table tr td.editor-calendar-selected-day .editor-calendar-date {
  background: #47e;
}
.editor-select-tree-dropdown .editor-select-dropdown-search .editor-select-search__field {
  background: #e6e6e6;
}
.editor-select-tree li .editor-select-tree-node-content-wrapper.editor-select-tree-node-selected {
  background: #47e;
}
.editor-tree-checkbox-checked .editor-tree-checkbox-inner::after {
  border-color: #fff;
}
.editor-tree.editor-tree-directory > li.editor-tree-treenode-selected > span.editor-tree-checkbox.editor-tree-checkbox-checked .editor-tree-checkbox-inner,
.editor-tree.editor-tree-directory .editor-tree-child-tree > li.editor-tree-treenode-selected > span.editor-tree-checkbox.editor-tree-checkbox-checked .editor-tree-checkbox-inner {
  background: #47e;
}
.editor-tree.editor-tree-directory > li.editor-tree-treenode-selected > span.editor-tree-checkbox.editor-tree-checkbox-checked .editor-tree-checkbox-inner::after,
.editor-tree.editor-tree-directory .editor-tree-child-tree > li.editor-tree-treenode-selected > span.editor-tree-checkbox.editor-tree-checkbox-checked .editor-tree-checkbox-inner::after {
  border-color: #fff;
}
.editor-menu .editor-menu-item:hover {
  color: #1c242e;
  background: rgba(0, 0, 0, 0.08);
}
.editor-menu .editor-menu-item.editor-menu-item-selected {
  color: #1c242e;
  background: #47e;
}
.editor-modal {
  padding-bottom: 0;
  border-radius: 6px;
}
.editor-modal .editor-modal-header {
  height: 48px;
  padding: 12px 20px;
  border: none;
  box-shadow: 0 -1px 0 #e5e5e5 inset;
}
.editor-modal .editor-modal-header .editor-modal-close {
  height: 48px;
  padding: 0 20px;
  line-height: 48px;
}
.editor-modal .editor-modal-header .editor-modal-title {
  height: 24px;
  color: #1c242e;
  font-size: 14px;
  line-height: 24px;
}
.editor-modal .editor-modal-content {
  border-radius: 6px;
}
.editor-modal .editor-modal-content .editor-modal-close-x {
  height: 48px;
  padding: 0 20px;
  color: rgba(28, 36, 46, 0.85);
  line-height: 48px;
}
.editor-modal .editor-modal-footer {
  height: 56px;
  padding: 12px 20px;
  text-align: right;
  background: #fff;
  border: none;
  box-shadow: 0 1px 0 #e5e5e5 inset;
}
.editor-modal .editor-modal-footer > div {
  height: 32px;
  line-height: 32px;
}
.editor-modal .editor-modal-footer .editor-btn {
  margin-left: 8px;
}
.editor-modal .editor-modal-footer .editor-btn > span {
  height: 30px;
  line-height: 30px;
}
.editor-modal .editor-modal-footer .editor-btn:first-child {
  margin-left: 0;
}
.editor-collapse .editor-editor-collapse-arrow {
  color: rgba(28, 36, 46, 0.85);
}
.editor-switch.editor-switch-checked .editor-switch-handle {
  left: calc(100% - 20px);
}
.editor-switch.editor-switch-small.editor-switch-checked .editor-switch-handle {
  left: calc(100% - 14px);
}
.editor-switch::after {
  background-color: #fff;
}
.editor-alert,
.editor-input.editor-input-sm,
.editor-select.editor-select-sm {
  font-size: 12px;
}
.editor-select-dropdown .editor-select-dropdown-menu-item:hover {
  background: rgba(28, 36, 46, 0.04);
}
.editor-select-dropdown .editor-select-dropdown-menu-item-selected {
  background: rgba(68, 119, 238, 0.06);
}
.editor-drawer .editor-drawer-header {
  display: flex;
  flex-direction: row-reverse;
  height: 48px;
  padding: 12px 20px;
  border: none;
  box-shadow: 0 -1px 0 #edeeef inset;
  background-color: white;
}
.editor-drawer .editor-drawer-header .editor-drawer-header-title {
  flex-direction: row-reverse;
  line-height: 24px;
}
.editor-drawer .editor-drawer-header .editor-drawer-header-title .editor-drawer-title {
  flex: 1;
}
.editor-drawer .editor-drawer-header .editor-drawer-extra {
  flex: 1;
}
.editor-drawer .editor-drawer-header .editor-drawer-close {
  height: 36px;
  margin-right: 0;
  padding: 0;
  line-height: 36px;
}
.editor-drawer .editor-drawer-body {
  padding-right: 20px;
  padding-left: 20px;
}
.editor-tabs-top .editor-tabs-nav,
.editor-tabs-bottom .editor-tabs-nav {
  margin: 0;
}
.editor-tabs-top .editor-tabs-nav::before,
.editor-tabs-bottom .editor-tabs-nav::before {
  border: 0;
}
.editor-tabs-top div .editor-tabs-nav,
.editor-tabs-bottom div .editor-tabs-nav {
  margin: 0;
}
.editor-tabs .editor-tabs-extra-content {
  margin: 0 20px 0 0;
}
.editor-tabs .editor-tabs-tab + .editor-tabs-tab {
  margin: 0;
}
.editor-tabs .editor-tabs-tab.editor-tabs-tab-active .editor-tabs-tab-btn {
  text-shadow: none;
}
/* --- antd重置 end --- */
/* --- 卡片式选择器 start --- */
.ui-radio-card .editor-radio-wrapper {
  vertical-align: middle;
}
.ui-radio-card .editor-radio-wrapper .editor-radio {
  display: none;
}
.ui-radio-card .editor-radio-wrapper .editor-radio + * {
  display: block;
}
.ui-checkbox-card .editor-checkbox-wrapper {
  vertical-align: middle;
}
.ui-checkbox-card .editor-checkbox-wrapper .editor-checkbox {
  display: none;
}
.ui-checkbox-card .editor-checkbox-wrapper .editor-checkbox + * {
  display: block;
}
.ui-radio-card .editor-radio-wrapper,
.ui-checkbox-card .editor-checkbox-wrapper {
  height: 32px;
  margin: 0;
  margin-right: 8px;
  padding: 0 16px;
  line-height: 32px;
  text-align: center;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
}
.ui-radio-card .editor-radio-wrapper.editor-radio-wrapper-checked,
.ui-checkbox-card .editor-checkbox-wrapper.editor-checkbox-wrapper-checked {
  border: 1px solid #47e;
  box-shadow: inset 0 0 0 1px #47e;
}
.ui-radio-card .editor-radio-wrapper.editor-radio-wrapper-checked::before,
.ui-checkbox-card .editor-checkbox-wrapper.editor-checkbox-wrapper-checked::before {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 20px;
  background: url('~@lingxiteam/editor/es/assets/img/comp/check-bg.png') no-repeat center center / cover;
  content: '';
}
/* --- 卡片式选择器 end --- */
/* --- 抽屉改造 start ---  */
.ui-page-drawer > .editor-drawer-content-wrapper {
  overflow: hidden;
}
.ui-page-drawer > .editor-drawer-content-wrapper > .editor-drawer-content {
  overflow: hidden;
}
.ui-page-drawer > .editor-drawer-content-wrapper > .editor-drawer-content > .editor-drawer-wrapper-body {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ui-page-drawer > .editor-drawer-content-wrapper > .editor-drawer-content > .editor-drawer-wrapper-body > .editor-drawer-header {
  padding: 4px 12px;
  background: #fff;
  border: none;
  box-shadow: 0 -1px 0 rgba(28, 36, 46, 0.08) inset;
}
.ui-page-drawer > .editor-drawer-content-wrapper > .editor-drawer-content > .editor-drawer-wrapper-body > .editor-drawer-header .editor-drawer-title {
  color: #1c242e;
  line-height: 24px;
}
.ui-page-drawer > .editor-drawer-content-wrapper > .editor-drawer-content > .editor-drawer-wrapper-body > .editor-drawer-header .editor-drawer-close {
  height: 36px;
  line-height: 36px;
}
.ui-page-drawer > .editor-drawer-content-wrapper > .editor-drawer-content > .editor-drawer-wrapper-body > .editor-drawer-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}
.ui-page-drawer .ui-drawer-body {
  position: relative;
  padding: 12px 20px;
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
}
.ui-page-drawer .ui-drawer-body .editor-input {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}
.ui-page-drawer .ui-drawer-body .editor-cascader-picker {
  border-radius: 4px;
}
.ui-page-drawer .ui-drawer-body .editor-input:hover,
.ui-page-drawer .ui-drawer-body .editor-input:focus,
.ui-page-drawer .ui-drawer-body .editor-input:active,
.ui-page-drawer .ui-drawer-body .editor-cascader-picker:hover,
.ui-page-drawer .ui-drawer-body .editor-cascader-picker:focus,
.ui-page-drawer .ui-drawer-body .editor-cascader-picker:active {
  border-color: #47e !important;
  box-shadow: unset !important;
}
.ui-page-drawer .ui-drawer-body::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
.ui-page-drawer .ui-drawer-body::-webkit-scrollbar-thumb {
  width: 10px;
  background: #f2f2f2;
  border-radius: 0;
}
.ui-page-drawer .ui-drawer-body::-webkit-scrollbar-track,
.ui-page-drawer .ui-drawer-body::-webkit-scrollbar,
.ui-page-drawer .ui-drawer-body::-webkit-scrollbar-corner {
  background: #bfbfbf;
  border-radius: 0;
}
.ui-page-drawer .ui-drawer-body::-webkit-scrollbar-track {
  border-color: #bfbfbf;
}
.ui-page-drawer .ui-drawer-footer {
  padding: 12px 20px;
  text-align: right;
  background: #fff;
  box-shadow: 0 1px 0 #e8e8e8 inset;
}
.ui-page-drawer .ui-drawer-footer .editor-btn {
  margin-left: 8px;
}
.ui-page-drawer .ui-drawer-footer .editor-btn:first-child {
  margin-left: 0;
}
/* --- 抽屉改造 end ---  */
/* ----- ui-form-columns ----- */
.ui-form-columns .form-dl {
  display: flex;
  margin-bottom: 40px;
  line-height: 40px;
}
.ui-form-columns .form-dl .form-dt {
  width: 100px;
  color: #1c242e;
  font-weight: bold;
  font-size: 12px;
}
.ui-form-columns .form-dl .form-dt + .form-dd {
  margin-left: 8px;
}
.ui-form-columns .form-dl .form-dd {
  flex: 1;
}
.ui-form-columns .form-dl .form-dd :global(.editor-row.editor-form-item) {
  margin-bottom: 8px;
}
.ui-form-columns .form-dl .form-dd .form-extra {
  color: rgba(28, 36, 46, 0.45);
  font-size: 12px;
}
.CodeMirror {
  border: 1px solid #e5e5e5;
}
.compPlaceHolder {
  height: 40px;
  border: 1px dashed #f00;
}
.iconfont {
  display: inline-block;
  width: 1em;
  height: 1em;
  font-family: 'iconfont', sans-serif !important;
  font-style: normal;
  fill: rgba(28, 36, 46, 0.65);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
