/* Listing pattern */
table.listing-ct {
  margin-top: 15px;
  min-width: 65%;
}
table.listing-ct > caption,
table.listing-ct > thead h3 {
  font-size: 22px;
  padding: 10px 0px 10px;
  font-weight: 300;
  margin-top: 0;
}
table.listing-ct > caption {
  color: inherit;
  line-height: 1.1;
}
table.listing-ct > thead td {
  padding-top: 20px;
}
table.listing-ct > thead:first-child td {
  padding-top: 0;
}
table.listing-ct > thead td > a {
  line-height: 30px;
  padding: 10px 0 10px;
}
table.listing-ct > thead th {
  border-top: 1px solid #f1f1f1;
  font-weight: normal;
  padding: 10px;
  color: #888;
}
table.listing-ct > thead th:first-child {
  padding-left: 20px;
}
table.listing-ct > thead th:last-child {
  text-align: right;
}
/* A listing item is a row in the table */
tbody > tr.listing-ct-item {
  border-top: 1px solid #f1f1f1;
  border-bottom: 1px solid #f1f1f1;
  cursor: pointer;
}
table.listing-ct > tbody:last-child {
  border-bottom: 1px solid #f1f1f1;
}
table.listing-ct > tbody + thead {
  border-top: 1px solid #f1f1f1;
}
table.listing-ct > tbody.open:last-child {
  border-bottom: none;
}
table.listing-ct > tbody.open + thead {
  border-top: none;
}
tbody > tr.listing-ct-item.listing-ct-warning {
  background-color: #fbc7c7;
}
tbody.open > tr.listing-ct-item {
  background-color: #ededed;
  border-bottom: none;
  border-top: none;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
tbody.open > tr.listing-ct-item td,
tbody.open > tr.listing-ct-item th {
  border-top: 1px solid #ccc;
}
tbody.open td div.listing-ct-head {
  background-color: #fff;
}
tbody.open .listing-ct-panel {
  border: 1px solid #ccc;
}
tbody.open .listing-ct-panel .listing-ct-body {
  border: none;
}
tbody.open > tr.listing-ct-panel + tr.listing-ct-body {
  border-top: none;
}
tbody.open > tr.listing-ct-panel td div.listing-ct-head {
  border: none;
  border-bottom: 1px solid #ccc;
}
/* only highlight the row if navigation is available */
tbody:not(.open) > tr.listing-ct-item:not(.listing-ct-nonavigate):hover {
  background-color: #def3ff;
}
/* if we can't navigate to a row but expand is available, highlight the caret */
tbody:not(.open) > tr.listing-ct-item.listing-ct-nonavigate:hover td.listing-ct-toggle {
  color: #65bedf;
}
/* use gray for a row that's expanded or if navigation isn't available */
tbody.open > tr.listing-ct-item:hover,
tr.listing-ct-item.listing-ct-nonavigate:hover {
  background-color: #ededed;
}
/* always highlight caret when hovering over an expanded row */
tbody.open > tr.listing-ct-item:hover td.listing-ct-toggle {
  color: #65bedf;
}
tr.listing-ct-item .listing-ct-toggle {
  padding: 0 !important;
  width: 35px;
  color: #030303;
}
table.listing-ct thead .listing-ct-toggle + th,
tr.listing-ct-item .listing-ct-toggle + td,
tr.listing-ct-item .listing-ct-toggle + th {
  padding-left: 0;
}
tr:not(.listing-ct-selected) td.listing-ct-toggle:hover {
  color: #65bedf;
  background-color: #ededed;
}
tr:not(.listing-ct-selected) td.listing-ct-toggle:hover ~ td,
tr:not(.listing-ct-selected) td.listing-ct-toggle:hover ~ th {
  background-color: #ededed;
}
td.listing-ct-toggle i {
  font-size: 24px;
  visibility: hidden;
}
tr.listing-ct-item:hover td.listing-ct-toggle i,
tr.listing-ct-item td.listing-ct-toggle:hover i {
  visibility: visible;
}
td.listing-ct-toggle i:before {
  content: "\F105";
}
tbody.open td.listing-ct-toggle i {
  visibility: visible;
}
tbody.open td.listing-ct-toggle i:before {
  content: "\F107";
}
/* Listing items have decent padding ... */
tr.listing-ct-item td {
  padding: 10px;
}
tr.listing-ct-item th {
  padding: 10px 10px 10px 15px;
}
/* Listing caption is text next to the actions, text should be similar to nav (.nav-tabs-pf > li > a)*/
.listing-ct-actions > .listing-ct-caption {
  font-size: 13px;
  vertical-align: middle;
  color: #0088ce;
  padding-right: 5px;
}
/* Listing actions can be used directly as a cell */
tr.listing-ct-item td.listing-ct-actions,
td.listing-ct-actions {
  padding: 5px 10px;
  text-align: right;
  float: none;
}
/* if the entire row is selected, highlight */
tr.listing-ct-item.listing-ct-selected {
  background-color: #0088ce;
  color: #fff;
  border-color: #007ebf;
}
tr.listing-ct-item.listing-ct-selected:hover {
  background-color: #007ebf;
  border-color: #007ebf;
}
tr.listing-ct-item.listing-ct-selected .badge {
  background-color: #00537e;
}
tr.listing-ct-item.listing-ct-selected .badge:hover {
  background-color: #003e5f;
}
.listing-ct-head .listing-ct-actions {
  margin-top: -7px;
}
tr.listing-ct-item td:first-child {
  padding-left: 20px;
}
/* The last column of a listing is always right aligned */
tr.listing-ct-item td:last-child {
  text-align: right;
}
div.listing-ct-panel {
  box-shadow: 1px 1px 1px 1px #f5f5f5;
  margin-bottom: 15px;
}
div.listing-ct-maybe {
  border: 1px dashed #ddd;
  box-shadow: none;
}
div.listing-ct-head {
  padding: 10px 10px 0 10px;
  background-color: #f5f5f5;
  border-color: #ccc;
  border-style: solid;
  border-width: 1px 1px 0 1px;
  overflow: hidden;
}
div.listing-ct-head:last-child {
  padding-bottom: 10px;
}
div.listing-ct-maybe div.listing-ct-head,
div.listing-ct-maybe div.listing-ct-body {
  background-color: #fff;
  border: none;
}
tbody.active .listing-ct-head {
  border-top: 3px solid #0099d3;
}
.listing-ct-head h3 {
  font-weight: normal;
  font-size: 18px;
  margin-top: 0px;
  margin-left: 5px;
  margin-bottom: 10px;
}
.listing-ct-head h3 i {
  float: left;
  padding-right: 7px;
}
.listing-ct-head .nav li a {
  padding-top: 0px;
  font-size: 13px;
}
.listing-ct-head .nav-tabs {
  border-bottom: none;
}
.listing-ct-head .nav-tabs-pf {
  margin-left: -10px;
}
/* To display info instead of tabs */
.listing-ct-head dl {
  display: inline-block;
  height: 1.6em;
  margin-bottom: 5px;
  white-space: nowrap;
  margin-right: 45px;
  margin-left: 5px;
}
.listing-ct-head dt {
  font-weight: normal;
  display: inline;
  margin-right: 0.5em;
  color: #888;
}
.listing-ct-head dd {
  display: inline;
  color: black;
}
.listing-ct-body {
  padding: 20px 25px;
  font-size: 13px;
  border: 1px solid #ccc;
  background-color: #fff;
}
.listing-ct-inline > .listing-ct-body {
  border: none;
  padding-top: 0px;
  padding-left: 20px;
  padding-bottom: 0px;
}
.listing-ct-inline > h3 {
  border-top: 1px solid #ccc;
  padding-top: 20px;
  margin-top: 30px;
}
.listing-ct-inline > h3:first-child {
  border-top: none;
  padding-top: 0px;
  margin-top: 20px;
}
.listing-ct-actions {
  float: right;
  min-height: 26px;
}
.listing-ct-status {
  float: right;
  clear: right;
}
.listing-ct-error {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}
.listing-ct-error.alert {
  margin-bottom: 0;
}
.listing-ct-body tt {
  font-size: 12px;
}
.listing-ct-body dl {
  margin: 0;
}
.listing-ct-body dl dd dl.inline-dl dt,
.listing-ct-body dt {
  clear: left;
  float: left;
  width: 100px;
  min-height: 26px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #888;
  font-weight: normal;
}
.listing-ct-body dt {
  text-align: right;
}
.listing-ct-body dl dd dl dt {
  text-align: left;
}
.listing-ct-body dd {
  margin-left: 110px;
  min-height: 26px;
  max-width: 1000px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.listing-ct-body dl.full-width dt {
  text-align: left;
  min-width: none;
  max-width: none;
  float: none;
  width: auto;
}
.listing-ct-body dl.full-width dd {
  margin-left: 0px;
}
table.listing-ct tbody.open {
  box-shadow: 1px 1px 1px 1px #f5f5f5;
}
/* By default these thincgs are hidden */
tbody tr.listing-ct-panel,
tbody tr.listing-ct-body {
  display: none;
}
/* ... unless they are in the right state */
tbody.open tr.listing-ct-head,
tbody.open tr.listing-ct-panel,
tbody.open tr.listing-ct-body {
  display: table-row;
}
tbody.open tr.listing-ct-head {
  border-color: #ccc;
  border-style: solid;
  border-width: 1px 1px 0 1px;
  border-top: 3px solid #0099d3;
  background-color: #f5f5f5;
}
tr.listing-ct-head + tr.listing-ct-head {
  border-top: none;
}
tr.listing-ct-head + tr.listing-ct-head td {
  padding: 0px 10px 0px 10px;
}
tr.listing-ct-body td {
  padding: 20px 150px;
  font-size: 13px;
}
.listing-ct-empty {
  color: #888;
  text-align: center;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
/* Used at the end of a group of tbody to show an 'empty' message */
thead.listing-ct-empty td,
table.listing-ct > thead.listing-ct-empty td {
  padding: 10px;
}
tbody + thead.listing-ct-empty {
  display: none;
}
/* Listing pattern defaults to using full width of parent */
.listing-ct-wide {
  width: 100%;
}
div.listing-ct-head {
  overflow: visible;
}
.listing-ct-head .btn-group,
.listing-ct-head button:not(.dropdown-toggle) {
  margin-left: 0.3em;
}
table.listing-ct > caption a {
  font-size: 16px;
}
tbody tr.listing-ct-noexpand {
  cursor: default;
}
/* Fix up nav-tabs-pf to work properly */
.nav-tabs-pf > li:first-child a {
  margin-left: 0px !important;
  padding-left: 15px !important;
}
.nav-tabs-pf > li a:before {
  right: 0px !important;
}
.nav-tabs-pf > li > a:active:before,
.nav-tabs-pf > li > a:focus:before,
.nav-tabs-pf > li > a:hover:before,
.nav-tabs-pf > li.active a:before {
  height: 3px;
  left: 0px;
}
/* on-off button styling depends on data-toggle in bootstrap */
.btn-onoff-ct input {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}
a {
    cursor: pointer;
}

.disabled {
    pointer-events: auto;
}

.btn {
    min-height: 26px;
    min-width: 26px;
}

.btn.disabled {
    pointer-events: auto;
}

.btn.disabled:hover {
  z-index: auto;
}

.dropdown-menu > li > a.disabled,
.dropdown-menu > li > a.disabled:hover,
.dropdown-menu > li > a.disabled:focus {
  color: #999999;
}

.dropdown-menu > li > a.disabled:hover,
.dropdown-menu > li > a.disabled:focus {
  text-decoration: none;
  background-color: transparent;
  background-image: none;
  border-color: transparent;
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
  cursor: default;
}

/* Limit dropdown menus to 90% of the viewport size */
.dropdown-menu {
    height: auto;
    overflow-x: hidden;
    max-height: 90vh;
}
/* Align these buttons more nicely */
.btn.fa-minus,
.btn.fa-plus {
    padding-top: 4px;
}

/* HACK: Workaround for https://github.com/patternfly/patternfly/issues/174*/

.page-ct {
    margin-top: 20px;
}

.highlight-ct {
    background-color: #d4edfa;
}

/* Well and Blankslate */

.curtains-ct {
    top: 0px;
    height: 100%;
    width: 100%;
    position: fixed;
}

.panel .well {
    margin-bottom: 0px;
    border: none;
    border-radius: 0px;
    background-color: #FAFAFA;
}

.well.blank-slate-pf {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05) inset;
    padding-top: 40px;
}

.blank-slate-pf .spinner-lg {
    height: 58px;
    width: 58px;
}

/*
 * Control buttons such as play and stop
 * Used with .btn .btn-default
 */

.btn-control-ct,
.btn-control-ct:hover {
    background-position: center center;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    background-image: none;
    -webkit-border-radius: 2;
    -moz-border-radius: 2;
    border-radius: 2px;
    height: 28px;
    width: 28px;
    box-shadow: none;
}

.btn-control-ct {
    background-color: #eeeeee;
}

.btn-control-ct:hover {
   background-color: #e0e0e0;
}


/* On/off switch */

.btn-onoff-ct {
    margin: 1px 0px;
    text-transform: uppercase;
}

.btn-onoff-ct .btn {
    color: transparent;
    border-color: #B7B7B7;
    padding: 2px 6px 1px 6px;
    background-color: white;
    background-image: linear-gradient(to bottom, rgb(250, 250, 250) 0px, rgb(237, 237, 237) 100%);
    -webkit-box-shadow: none;
    box-shadow: none;
    width: 37px;
}

.btn-onoff-ct .btn:first-child {
    border-right: #00435F;
}

.btn-onoff-ct .btn:last-child {
    border-left: #00435F;
    padding-left: 5px;
}

.btn-onoff-ct .btn.active {
    background-image: none;
    width: 36px;
}

.btn-onoff-ct .btn.active:first-child {
    background-color: #0086CF;
    color: white;
    border-right: 1px solid #0071b0;
}

.btn-onoff-ct .btn.active:last-child {
    color: #000;
    border-left: 1px solid #d6d6d6;
}

.btn-onoff-ct .btn.disabled {
    pointer-events: none;
    color: transparent !important;
}

.btn-onoff-ct .btn.active.disabled {
    background-color: #888 !important;
    color: white !important;
}

/* Small list inside a dialog */
/* Alert fixups */

/* HACK: word-wrap workaround for long alerts https://github.com/patternfly/patternfly/issues/491 */

.modal-content .alert {
    text-align: left;
    padding-top: 5px;
    padding-bottom: 5px;
    word-wrap: break-word;
}

.modal-content .alert .fa {
    position: absolute;
    left: 10px;
    top: 6px;
    font-size: 20px;
}

.modal-content .alert .pficon {
    top: 5px;
}

.alert.alert-danger .fa {
    color: #af151a;
}

/* Dialog patterns */

.dialog-wait-ct {
    margin-top: 3px;
}

.dialog-wait-ct .spinner {
    display: inline-block;
}

.dialog-wait-ct span {
    vertical-align: 4px;
    padding-left: 10px;
}

.dialog-list-ct {
    max-height: 230px;
    overflow-x: auto;
    border: 1px solid #CCC;
    margin-bottom: 0px;
}

/* HACK: https://github.com/patternfly/patternfly/issues/255 */
input[type=number] {
  padding: 0 0 0 5px;
}

/* Make a dialog visible */
.dialog-ct-visible {
    display: block;
}
/*
 * 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/>.
 */

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

/* from patternfly .list-view-pf-actions
 * update this when we update patternfly
 */
.setroubleshoot-listing-action {
    float: right;
    margin-bottom: 20px;
    margin-left: 20px;
    margin-top: 20px;
    -ms-flex-order: 2;
    order: 2;
}

.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 */
.listing-ct-item .fa-exclamation-triangle {
    color: #c00;
    vertical-align: middle;
    font-size: 150%;
}

/* make sure the other columns don't spread out too much
 * the warning icon might not even be present at all
 */
.listing-ct-item > th {
    width: 100%;
}

/* remove padding from warning icon column */
.listing-ct-item :nth-child(2) {
    padding: 0;
}

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

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

.selinux-policy-ct label {
    font-size: 13px;
}

.selinux-policy-ct .btn-onoff-ct {
    padding-left: 10px;
    padding-right: 10px;
}

/* on-off button styling depends on data-toggle in bootstrap */
.btn-onoff-ct input {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}

.listing-ct-body .list-group {
    margin-bottom: 0px;
    border-top: none;
}

.listing-ct-body .list-group-item {
    padding-left: 0px;
    padding-right: 0px;
}

.listing-ct-body .list-group-item:first-child {
    padding-top: 0px;
}

.listing-ct-body .list-group-item:last-child {
    padding-bottom: 0px;
    border-bottom: none;
}

/*# sourceMappingURL=selinux.css.map*/