@import './pagination.less';
@import './input.less';
@import './btn.less';

// TODO beta.11 fix
.ant-col {
  width: 100%;
}

.ant-image-preview-root {
  img {
    display: unset;
  }
}

// span.anticon:not(.app-iconify) {
//   vertical-align: 0.125em !important;
// }

.ant-back-top {
  right: 20px;
  bottom: 20px;
}

.collapse-container__body {
  > .ant-descriptions {
    margin-left: 6px;
  }
}

.ant-image-preview-operations {
  background-color: rgb(0 0 0 / 30%);
}

.ant-popover {
  &-content {
    box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
  }
}

// =================================
// ==============modal message======
// =================================
.modal-icon-warning {
  color: @warning-color !important;
}

.modal-icon-success {
  color: @success-color !important;
}

.modal-icon-error {
  color: @error-color !important;
}

.modal-icon-info {
  color: @primary-color !important;
}

.ant-checkbox-checked .ant-checkbox-inner::after,
.ant-tree-checkbox-checked .ant-tree-checkbox-inner::after {
  border-top: 0 !important;
  border-left: 0 !important;
}

.ant-dropdown-menu-item-selected,
.ant-dropdown-menu-submenu-title-selected {
  background-color: var(--ant-primary-1);
  color: white !important;
}

.ant-dropdown-menu-item:hover,
.ant-dropdown-menu-submenu-title:hover {
  background-color: var(--ant-primary-1);
}

// .ant-table-tbody>tr.ant-table-row-selected>td {
//   background: var(--ant-primary-8) !important;
// }
.ant-slider-tooltip .ant-tooltip-arrow {
  display: none !important;
}

.ant-slider-tooltip .ant-tooltip-inner {
  background: #fff;
  color: #000;
  box-shadow: none;
  margin-top: -11px;
  z-index: 99;
  padding: 2px;
}
