/*
 * PrimeFaces 15 colours every plain input on the page to its own theme:
 *
 *   body input:not([role="combobox"], [type="file"], .ui-widget, .ui-inputfield)
 *
 * The buttons of these pages are h:commandButtons carrying Bootstrap's outline classes, so that
 * rule turns all of them - Refresh, the kWh limits, force start and stop - the same grey. These
 * put their colours back, at a specificity that beats it.
 */
body input.btn.btn-outline-primary {
  color: #007bff;
  border-color: #007bff;
}

body input.btn.btn-outline-success {
  color: #28a745;
  border-color: #28a745;
}

body input.btn.btn-outline-warning {
  color: #ffc107;
  border-color: #ffc107;
}

body input.btn.btn-outline-danger {
  color: #dc3545;
  border-color: #dc3545;
}

body input.btn.btn-outline-primary:hover,
body input.btn.btn-outline-success:hover,
body input.btn.btn-outline-warning:hover,
body input.btn.btn-outline-danger:hover {
  color: #fff;
}
