← Files DaybreakARCHIVED FILE

.internal/defense-factory-ui/src/fixes.css

2.79 KB · Nov 28, 2026 · 18:13 UTC

↓ Download file

See the change to this file →

.df-fixes-page .df-search .df-input {
  --input-radius: var(--radius-full);
  --input-gutter: 16px;
  --input-adornment-offset: 0px;
  --input-outline-border-color: light-dark(
    var(--alpha-16),
    var(--color-border-strong)
  );
  border-radius: var(--input-radius);
}

.df-fixes-table .df-fix-status-badge {
  height: 24px;
  padding-inline: 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .df-fixes-page .df-search .df-input {
    --input-size: 36px;
    height: var(--input-size);
  }

  .df-fixes-table .df-table-header-cell,
  .df-fixes-summary {
    font-size: var(--font-text-xs-size);
    line-height: 16px;
    letter-spacing: normal;
  }

  .df-fixes-title,
  .df-fixes-count {
    font-size: var(--font-text-sm-size);
    line-height: var(--font-text-sm-line-height);
    letter-spacing: -0.15px;
  }

  .df-fixes-title {
    font-weight: var(--font-weight-medium);
  }

  .df-fixes-repository {
    font-size: 13px;
    line-height: 15.514px;
    letter-spacing: 0.228px;
  }

  .df-fixes-table .df-badge.df-finding-badge {
    min-height: 20px;
    padding-block: 2px;
    font-size: var(--font-text-xs-size);
    font-weight: var(--font-weight-medium);
    line-height: 16px;
    letter-spacing: 0.3px;
  }
}

@media (min-width: 900px) {
  .df-fixes-title,
  .df-fixes-summary,
  .df-fixes-repository {
    overflow-wrap: anywhere;
  }

  /* Auto table layout expands these columns to their widest label or control. */
  .df-fixes-table .df-fixes-column-compact {
    width: 1px;
    padding-inline: 12px;
    white-space: nowrap;
  }
}

@media (max-width: 639px) {
  .df-fixes-table .df-badge-default {
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
  }

  .df-fixes-table .df-mobile-cards table {
    margin-block-start: -16px;
  }

  /* Cards retain their native column header without a redundant visible title. */
  .df-fixes-table .df-mobile-cards thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .df-fixes-table .df-mobile-cards .df-fixes-title {
    display: block;
    overflow: visible;
    overflow-wrap: anywhere;
    -webkit-line-clamp: unset;
    font-size: 15px;
    line-height: 20px;
  }

  .df-fixes-table .df-mobile-cards .df-fixes-repository {
    overflow-wrap: anywhere;
    font-family: inherit;
    font-size: 13px;
    line-height: 18px;
    color: var(--color-text-secondary);
  }

  .df-fixes-table .df-mobile-card-content [data-field="findings"] {
    order: -2;
  }

  .df-fixes-table .df-mobile-card-content [data-field="repository"] {
    order: -1;
  }

  .df-fixes-table .df-mobile-card-content [data-field="status"] {
    order: 0;
  }
}

SHA-256: 7f09e0db781900e1faa49e5ea7a82131c2cb30e7237a53627c6ed851cb94e84f