app/assets/stylesheets/patternfly_and_overrides.scss
.control-label {
text-align: left;
padding-left: 0;
padding-right: 5px;
}
.spinner {
float: left;
}
fieldset > div.col-md-1 {
padding-left: 0;
}
.children_fields {
padding-left: 20px;
padding-right: 20px;
}
.form-control {
display: inline-block;
}
textarea.form-control {
padding-top: 0;
padding-bottom: 0;
}
.modal-body > fieldset > div.clearfix div.has-error > span.help-inline {
padding-left: 80px;
}
.container {
margin: 0 auto;
width: 100%;
max-width: 1400px; // Max width as per suggested by Patternfly
}
#login {
max-width: 100%;
}
.label {
font-size: 75%;
}
.badge.badge-inverse {
background-color: black;
}
span.input-group-btn .hidden-xs {
display: inline !important;
}
@media (max-width: 768px) {
span.input-group-btn .hidden-xs {
display: none !important;
}
}
.children_fields.lookup_values > th {
background-color: white;
}
span.btn a {
text-decoration: none;
color: #333;
}
a {
cursor: pointer;
}
// help-inline is not defined in Bootstrap3
.help-inline {
margin: 0;
display: inline-block;
color: #737373;
}
.well {
padding: 19px 19px 19px 36px;
background-color: white;
}
.label-default {
background-color: #ccc;
}
.form-actions {
padding: 19px 20px 20px;
margin-top: 20px;
margin-bottom: 20px;
}
.navbar.navbar-form {
background-color: #f8f8f8;
border: 1px solid #e7e7e7;
}
.nav.nav-tabs {
margin-bottom: 20px;
#host-show & {
margin-bottom: 10px;
font-size: 12px;
}
}
.tab-content {
min-height: 420px;
}
.badge.close {
font-size: 14px;
opacity: 1;
}
.table > thead > tr > th,
.table > thead > tr > td,
.table > tbody > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > th,
.table > tfoot > tr > td {
vertical-align: middle;
}
.table > thead {
background-image: none;
}
.btn-toolbar {
display: flex;
align-items: center;
margin-left: auto;
#toolbar-spinner {
margin-right: 5px;
}
.btn-group,
.btn-docs {
float: none;
}
}
.pf-c-backdrop {
z-index: 2000;
}
.popover {
max-width: none;
z-index: 2000;
}
@-moz-document url-prefix() {
/* Workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=688556 */
*,
*::before,
*::after {
background-clip: padding-box;
}
}
.smart-var-left {
max-height: 500px;
direction: rtl;
float: left;
text-align: left;
overflow-y: auto;
padding-right: 0;
}
.stacked-content.tab-content {
padding: 19px;
min-height: 460px;
border: 1px solid $primary_gradient_start;
box-shadow: -2px 0 5px 0 rgba(0, 0, 0, 0.2);
}
.nav.nav-pills.nav-stacked .btn.btn-success:hover {
background-color: #47a447;
}
.nav.nav-pills.nav-stacked {
padding-right: 0;
& > li > a {
.clip {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
direction: ltr;
display: inline-block;
width: 90%;
}
}
}
.tooltip {
word-wrap: break-word;
}
.has-error {
color: #a94442;
}
body.modal-open {
overflow: visible;
}
.form-control {
padding-right: 30px;
}
.form-control + .glyphicon {
position: absolute;
right: 0;
padding: 9px 37px;
}
.input-addon {
color: black;
}
legend {
margin-bottom: 10px;
}
textarea {
overflow-x: hidden; /* fix for FF adding an extra row to textareas */
&.no-stretch {
resize: vertical;
min-height: 26px; // prevent firefox from resizing smaller then one line height
}
}
div.form-group .glyphicon-info-sign {
color: black;
}
form .pficon-info {
color: $color-pf-blue-500;
}
form .fa-info-circle {
color: black;
}
.fa-times {
width: 12px;
}
.btn-strike {
text-decoration: line-through;
}
.alert {
h4 {
margin-top: 4px;
}
}
.select2-container .select2-choices .select2-search-field input,
.select2-container .select2-choice,
.select2-search input,
.select2-drop.select2-drop-above,
.select2-container .select2-choice .select2-arrow,
.select2-dropdown-open.select2-drop-above [class^='select2-choice'],
.select2-drop,
.select2-container .select2-choices {
border-radius: 0;
}
.btn-group > .btn + .dropdown-toggle {
padding-right: 3px;
padding-left: 3px;
}
.blank-slate-pf {
background-color: inherit;
border: inherit;
padding: inherit;
}
.col-md-3 b {
font-size: 100%;
}
a.btn-info span {
padding-bottom: 4px;
}
.blank-slate-pf {
font-size: 1.4em;
width: 750px;
max-width: 90%;
margin: 0 auto;
}
// Color origin: pf-orange-400
.pficon-ok.warn::before {
color: #ec7a08;
}
.paneless {
.panel {
box-shadow: none;
}
.panel-title {
font-size: inherit;
}
.panel-heading + .panel-collapse .panel-body {
border: none;
padding: 0;
}
.panel-heading {
background: none;
border: none;
padding-left: inherit;
padding-right: inherit;
a {
font-weight: inherit;
font-size: inherit;
}
}
}
// gridster on dashboard conflicts with notifications drawer
.gridster .gs-w {
z-index: auto !important;
}
#history a .glyphicon {
color: #4d5258;
}
span.btn-action a {
display: block;
margin: -2px -6px;
padding: 2px 6px;
}
span.btn-action.btn-primary a {
color: #fff;
}