@import '../../../Common/Common.scss';

.container {
  padding: 0;
}

.fixed {
  position: fixed;
  top: 150px;
  right: 50px;
  bottom: 0;
  background: none;
  overflow-wrap: break-word;
  min-width: 200px;
  text-align: center;
}

.colEditor {
  :global(.form-control):focus {
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
      0 0 0 rgba(102, 175, 233, 0.6);
  }

  .yellow_button,
  .yellow_button1 {
    text-align: center !important;
    margin-right: 15px;
  }
}

.input {
  margin-right: 10px;
}

.select {
  margin-right: 10px;
}

.modifyMinWidth {
  min-width: 735px;
}

hr {
  clear: both;
}

.nullable {
  margin: 0 0 0 !important;
  margin-right: 5px !important;
  box-shadow: none;
  outline: none;
}

.nullable:focus {
  box-shadow: none;
  outline: none;
}

.nullLabel {
  padding: 5px;
}

.defaultInput {
  margin-left: 5px;
}

.activeEdit {
  padding: 10px;
  background: #fff;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  // overflow: auto;
}

.modifyIndexEditorExpand {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.modifyIndexSelectContainer {
  width: 100%;
  max-width: 280px;
  &:first-child {
    margin-right: 18px;
  }
}

.indexEditorContainer {
  display: flex;
  flex-direction: column;
}
.indexEditorGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
  align-items: center;
  grid-template-rows: 1fr 1fr max-content;
}

.selectIndexMenuHeader {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
}

.indexDef {
  display: grid;
  grid-auto-flow: column;
  column-gap: 8px;
}

.indexesList {
  margin-bottom: 20px;
}

.indexesListItem {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  grid-column-gap: 8px;
  align-items: baseline;
  &:not(:last-child) {
    margin-bottom: 8px;
  }
  & > p {
    margin-bottom: 0;
  }
}

.indexRemoveBtn {
  user-select: none;
  color: rgb(206, 26, 26);
  margin-right: 12px;
  &:hover {
    cursor: pointer;
  }
  &:disabled {
    cursor: not-allowed;
    color: unset;
  }
}

.uppercase {
  text-transform: uppercase;
}

.indexCreateFormLabel {
  font-weight: 600;
  margin-bottom: 8px;
}

.indexOptionsContainer {
  width: 50%;
  display: flex;
  grid-row: 3;
  flex-direction: row;
  align-items: baseline;
  justify-content: space-between;
}

.indexOption {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  input[type='checkbox'] {
    margin-left: 16px;
    margin-top: 0px !important;
    width: 15px;
    height: 15px;
  }
}

.inputNameStyles {
  margin-top: 8px;
  height: 38px;
}

.indexColumnSelectStyles {
  margin-top: 8px;
  caret-color: transparent;
}

.uniqueCheckbox {
  outline: 0;
  user-select: none;
}

.readOnly {
  padding: 8px 12px;
  border-radius: 4px;
  background: #dae0e8;
  margin-bottom: 20px;
}

.readOnlyText {
  font-weight: 600;
  margin-bottom: 4px;
}

.noMargin {
  margin: 0;
}

.paddingSm {
  padding: 10px !important;
}

.partitionLabel {
  margin-right: 4px;
}

.partitionDef {
  padding-left: 15px;
}

.quoteText {
  color: #960000;
}

.defText {
  font-family: monospace;
}

.paddingTopSm {
  padding-top: 10px !important;
}
