Apply missing styles when overriding the default colors with the company colors
This commit is contained in:
parent
ca7727dfaa
commit
9cab342719
1 changed files with 143 additions and 72 deletions
|
@ -4,7 +4,10 @@
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<?php if ($company_color !== DEFAULT_COMPANY_COLOR): ?>
|
||||||
<style>
|
<style>
|
||||||
|
/* Generic Overrides */
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: <?= $company_color ?>;
|
color: <?= $company_color ?>;
|
||||||
}
|
}
|
||||||
|
@ -19,12 +22,57 @@
|
||||||
border-color: <?= $company_color ?>;
|
border-color: <?= $company_color ?>;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary:hover {
|
.btn-primary:hover,
|
||||||
|
.btn-primary:active,
|
||||||
|
.btn-primary:focus {
|
||||||
background-color: <?= $company_color ?>;
|
background-color: <?= $company_color ?>;
|
||||||
border-color: <?= $company_color ?>;
|
border-color: <?= $company_color ?>;
|
||||||
filter: brightness(120%);
|
filter: brightness(120%);
|
||||||
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-primary:disabled, .btn-primary.disabled {
|
||||||
|
background-color: <?= $company_color ?>;
|
||||||
|
border-color: <?= $company_color ?>;
|
||||||
|
filter: brightness(70%);
|
||||||
|
opacity: .75;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dropdown-item.active,
|
||||||
|
.dropdown-item:active {
|
||||||
|
background-color: <?= $company_color ?> !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
|
||||||
|
background-color: <?= $company_color ?> !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav .nav-link:not(.active) {
|
||||||
|
color: <?= $company_color ?> !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-control:focus {
|
||||||
|
border-color: <?= $company_color ?> !important;
|
||||||
|
filter: brightness(120%);
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-check-input:checked {
|
||||||
|
background-color: <?= $company_color ?> !important;
|
||||||
|
border-color: <?= $company_color ?> !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body .ui-datepicker .ui-slider-handle {
|
||||||
|
border-color: <?= $company_color ?> !important;
|
||||||
|
background-color: <?= $company_color ?> !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
body .modal-header {
|
||||||
|
background: <?= $company_color ?> !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Booking Layout */
|
||||||
|
|
||||||
#book-appointment-wizard #header {
|
#book-appointment-wizard #header {
|
||||||
background: <?= $company_color ?>;
|
background: <?= $company_color ?>;
|
||||||
}
|
}
|
||||||
|
@ -90,4 +138,27 @@
|
||||||
#frame-footer .backend-link:hover {
|
#frame-footer .backend-link:hover {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Backend Layout */
|
||||||
|
|
||||||
|
#header {
|
||||||
|
background-color: <?= $company_color ?> !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#header #header-menu .nav-item:hover,
|
||||||
|
#header #header-menu .nav-item.active {
|
||||||
|
background: <?= $company_color ?> !important;
|
||||||
|
filter: brightness(120%);
|
||||||
|
}
|
||||||
|
|
||||||
|
#header #header-logo small {
|
||||||
|
color: <?= $company_color ?> !important;
|
||||||
|
filter: brightness(60%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.backend-page .filter-records .results .entry.selected {
|
||||||
|
border-right-color: <?= $company_color ?> !important;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
<?php endif ?>
|
||||||
|
|
Loading…
Reference in a new issue