.UnsuccessfulTranslation-link {
  margin-left: 0;
}

.TranslationReadOnlyTargetLocales {
  > li {
    padding-bottom: 5px;
  }
}

.TranslationsTab-actionsToggle {
  .IconButton;

  --IconButton-name: 'more_horiz';

  &.is-active {
    .IconButton.is-focus;

    --IconButton-name: 'close';
  }
}

.TranslationsTab-actions {
  .Dropdown;

  [role='menuitem'] {
    .Dropdown-item;
  }
}

.TranslationsTab-actions.is-open {
  .Dropdown.is-open;
}

.TranslationFrame {
  display: flex;
  flex-direction: column;
  margin-top: var(--gap-xl);
  min-height: 800px;

  .LinkTable {
    width: calc(100% - var(--gap-l) * 2);

    thead th:first-child {
      padding-top: 0;
      vertical-align: top;
    }

    td:last-child {
      padding-bottom: 0;
      padding-top: 0;
      vertical-align: middle;
    }
  }
}

.TranslationFrame-controls {
  .DashboardWidget-filters;

  justify-content: space-between;
  margin-left: calc(0px - var(--gap-xl));
  margin-right: calc(0px - var(--gap-xl));
  margin-top: var(--Widget-padding);
  overflow-y: scroll;
  width: unset;
}

.TranslationFrame-filters {
  display: flex;
  flex: none;
  flex-direction: row;
  flex-grow: 2;
  margin-left: 10px;
}

.TranslationFrame-sorts {
  flex: none;
  padding-right: 10px;
}

.TranslationTable-updated {
  > b {
    color: var(--color-orange4);
  }
}

.TranslationTable-errors {
  color: var(--color-red5);

  a {
    color: var(--color-red5);
  }
}

.TranslationTable-errorLabel {
  color: var(--color-gray6);
  font-style: italic;
}

.TranslationTable-source {
  &:not(:last-child) {
    border-bottom: 5px solid;
  }
}

.TranslationTable-sourceLabel {
  color: var(--color-gray6);
  font-style: italic;
}

.TranslationTable-statusLabel {
  color: var(--color-gray6);
  font-style: italic;
}
