/**
 * Copyright (c) OpenLens Authors. All rights reserved.
 * Licensed under MIT License. See LICENSE in root directory for more information.
 */

.ServiceAccountsSecret {
  margin-bottom: $margin * 3;

  &:nth-child(even) {
    margin-left: -$margin * 3;
    margin-right: -$margin * 3;
    padding: $padding $padding * 3;
  }

  .secret-row {
    display: flex;
    border-bottom: 1px solid var(--borderFaintColor);
    padding: $padding 0;

    &:first-child {
      padding-top: 0
    }
  }

  .name {
    flex-basis: 23%;
    color: var(--drawerItemNameColor);
  }

  .value {
    flex-basis: 76%;
    color: var(--drawerItemValueColor);
    word-break: break-all;

    &:empty:after {
      content: '—'
    }
  }

  .asterisks {
    font-size: large;
    margin-right: $margin * 0.5;
    line-height: 90%;
  }
}
