/*
 * This file is part of Cockpit.
 *
 * Copyright (C) 2016 Red Hat, Inc.
 *
 * Cockpit is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * Cockpit is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with Cockpit; If not, see <http://www.gnu.org/licenses/>.
 */

@import "../lib/page.scss";

#app .ct-listing {
    margin-bottom: var(--pf-global--spacer--lg);
}

.setroubleshoot-log {
    font-family: monospace;
}

.setroubleshoot-progress-spinner {
    display: inline-block;
}

.setroubleshoot-progress-message {
    vertical-align: top;
}

.curtains-relative {
    height: 100%;
    width: 100%;
}

/* warning icon for critical (level "red") setroubleshoot alerts */
.ct-table tr .fa-exclamation-triangle {
    color: #c00;
    vertical-align: middle;
    font-size: 150%;
}

/* if we have an error at the top of the page, give it some space */
.alert-ct-top {
    margin: 1rem 0;
}

.list-group-item .alert {
    margin-top: 10px;
}

.selinux-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.selinux-details pre {
    width: 100%;
    margin: 5px 0px 10px 0px;
    padding: 10px;
}

.selinux-state {
    display: flex;
    align-items: center;
    margin: 0 0 1rem;
}

.selinux-state .onoff-ct {
    vertical-align: text-bottom;
}

.selinux-state .status {
    font-size: var(--pf-global--FontSize--xs);
    margin-left: 0.5rem;
}

.selinux-state > h2 {
    margin: 0 1.5rem 0 0;
}

.selinux-policy-ct > .note {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.selinux-policy-ct .pficon-info {
    padding-right: 0.5rem;
}
