@import "_global-variables.scss";
@import '../../lib/journal.css';
@import '../../lib/ct-card.scss';

#service-details .pf-l-gallery {
    --pf-l-gallery--GridTemplateColumns: 1fr;
}

#service-details .pf-c-page__main-breadcrumb {
    padding: var(--pf-global--gutter);
}

#service-details .pf-c-card {
    @extend .ct-card;
}

#service-details .pf-c-expandable-section {
    margin-top: var(--pf-global--spacer--md);
}

.comma-list {
  display: inline;
  list-style: none;
  padding-left: 0;
}

.comma-list li {
  display: inline-block;
}

.comma-list li:not(:last-child):after {
  content: ",";
  margin-right: 0.5em;
}

.service-top-panel {
    padding-bottom: 1.25rem;
    display: flex;
    align-items: baseline;
}

.service-top-panel > .service-name {
    margin: 0 1.5rem 0 0;
}

.service-top-panel .pf-c-switch {
    vertical-align: text-bottom;
}

/* Make the kebab wrapper flex to parents for proper alignment */
.service-top-panel .pf-c-dropdown {
    display: flex;
}

.action-button {
    margin-left: 2rem;
}

.status-icon::before {
    color: inherit;
}

.status-icon {
    padding-right: 0.5rem;
    color: var(--pf-global--icon--Color--light);
}

.status-icon.spinner.spinner-xs {
    height: 1rem;
    width: 1rem;
    margin-right: 0.5rem;
}

.status-running > .status-icon,
.status-enabled > .status-icon {
    /* mid-way between PF4 success-100 & 200; then rounded to AA contrast */
    color: #6da000;
}

.status-failed > .status-icon,
.status-failed > .status,
.control-label.failed {
    color: var(--pf-global--danger-color--200);
}

.side-note {
    color: var(--pf-global--Color--300);
    padding-left: 1em;
}

.font-xs {
    font-size: var(--pf-global--FontSize--xs);
}

.list-group-item {
    border: none;
}
