mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 10:02:33 +03:00
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,90 +4,161 @@
|
|||
*/
|
||||
?>
|
||||
|
||||
<style>
|
||||
a {
|
||||
color: <?= $company_color ?>;
|
||||
}
|
||||
<?php if ($company_color !== DEFAULT_COMPANY_COLOR): ?>
|
||||
<style>
|
||||
/* Generic Overrides */
|
||||
|
||||
a:hover {
|
||||
color: <?= $company_color ?>;
|
||||
filter: brightness(120%);
|
||||
}
|
||||
a {
|
||||
color: <?= $company_color ?>;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background-color: <?= $company_color ?>;
|
||||
border-color: <?= $company_color ?>;
|
||||
}
|
||||
a:hover {
|
||||
color: <?= $company_color ?>;
|
||||
filter: brightness(120%);
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
background-color: <?= $company_color ?>;
|
||||
border-color: <?= $company_color ?>;
|
||||
filter: brightness(120%);
|
||||
}
|
||||
.btn-primary {
|
||||
background-color: <?= $company_color ?>;
|
||||
border-color: <?= $company_color ?>;
|
||||
}
|
||||
|
||||
#book-appointment-wizard #header {
|
||||
background: <?= $company_color ?>;
|
||||
}
|
||||
.btn-primary:hover,
|
||||
.btn-primary:active,
|
||||
.btn-primary:focus {
|
||||
background-color: <?= $company_color ?>;
|
||||
border-color: <?= $company_color ?>;
|
||||
filter: brightness(120%);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
#book-appointment-wizard #company-name .display-selected-service,
|
||||
#book-appointment-wizard #company-name .display-selected-provider {
|
||||
color: <?= $company_color ?>;
|
||||
border-color: <?= $company_color ?> !important;
|
||||
filter: brightness(35%);
|
||||
}
|
||||
.btn-primary:disabled, .btn-primary.disabled {
|
||||
background-color: <?= $company_color ?>;
|
||||
border-color: <?= $company_color ?>;
|
||||
filter: brightness(70%);
|
||||
opacity: .75;
|
||||
}
|
||||
|
||||
#book-appointment-wizard .book-step {
|
||||
background: <?= $company_color ?>;
|
||||
filter: brightness(75%);
|
||||
}
|
||||
.dropdown-item.active,
|
||||
.dropdown-item:active {
|
||||
background-color: <?= $company_color ?> !important;
|
||||
}
|
||||
|
||||
#book-appointment-wizard .book-step strong {
|
||||
color: <?= $company_color ?>;
|
||||
filter: brightness(200%);
|
||||
}
|
||||
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
|
||||
background-color: <?= $company_color ?> !important;
|
||||
}
|
||||
|
||||
body .ui-widget.ui-widget-content {
|
||||
border-color: <?= $company_color ?>;
|
||||
}
|
||||
.nav .nav-link:not(.active) {
|
||||
color: <?= $company_color ?> !important;
|
||||
}
|
||||
|
||||
body .ui-datepicker .ui-widget-header {
|
||||
background-color: <?= $company_color ?>;
|
||||
}
|
||||
.form-control:focus {
|
||||
border-color: <?= $company_color ?> !important;
|
||||
filter: brightness(120%);
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
body .ui-datepicker th {
|
||||
background-color: <?= $company_color ?>;
|
||||
}
|
||||
.form-check-input:checked {
|
||||
background-color: <?= $company_color ?> !important;
|
||||
border-color: <?= $company_color ?> !important;
|
||||
}
|
||||
|
||||
body .ui-datepicker .ui-datepicker-next-hover,
|
||||
body .ui-datepicker .ui-datepicker-prev-hover {
|
||||
background: <?= $company_color ?>;
|
||||
border-color: <?= $company_color ?>;
|
||||
filter: brightness(140%);
|
||||
}
|
||||
body .ui-datepicker .ui-slider-handle {
|
||||
border-color: <?= $company_color ?> !important;
|
||||
background-color: <?= $company_color ?> !important;
|
||||
}
|
||||
|
||||
body .ui-datepicker td a, body .ui-datepicker td span {
|
||||
color: <?= $company_color ?> !important;
|
||||
}
|
||||
body .modal-header {
|
||||
background: <?= $company_color ?> !important;
|
||||
}
|
||||
|
||||
html body .ui-datepicker td a.ui-state-active {
|
||||
background: <?= $company_color ?> !important;
|
||||
}
|
||||
/* Booking Layout */
|
||||
|
||||
body .ui-datepicker td a.ui-state-highlight {
|
||||
background: <?= $company_color ?> !important;
|
||||
filter: brightness(140%);
|
||||
}
|
||||
#book-appointment-wizard #header {
|
||||
background: <?= $company_color ?>;
|
||||
}
|
||||
|
||||
#book-appointment-wizard #available-hours .selected-hour {
|
||||
background-color: <?= $company_color ?> ;
|
||||
border-color: <?= $company_color ?> ;
|
||||
}
|
||||
#book-appointment-wizard #company-name .display-selected-service,
|
||||
#book-appointment-wizard #company-name .display-selected-provider {
|
||||
color: <?= $company_color ?>;
|
||||
border-color: <?= $company_color ?> !important;
|
||||
filter: brightness(35%);
|
||||
}
|
||||
|
||||
#frame-footer .backend-link {
|
||||
background-color: <?= $company_color ?> !important;
|
||||
}
|
||||
#book-appointment-wizard .book-step {
|
||||
background: <?= $company_color ?>;
|
||||
filter: brightness(75%);
|
||||
}
|
||||
|
||||
#frame-footer .backend-link:hover {
|
||||
color: #fff;
|
||||
}
|
||||
</style>
|
||||
#book-appointment-wizard .book-step strong {
|
||||
color: <?= $company_color ?>;
|
||||
filter: brightness(200%);
|
||||
}
|
||||
|
||||
body .ui-widget.ui-widget-content {
|
||||
border-color: <?= $company_color ?>;
|
||||
}
|
||||
|
||||
body .ui-datepicker .ui-widget-header {
|
||||
background-color: <?= $company_color ?>;
|
||||
}
|
||||
|
||||
body .ui-datepicker th {
|
||||
background-color: <?= $company_color ?>;
|
||||
}
|
||||
|
||||
body .ui-datepicker .ui-datepicker-next-hover,
|
||||
body .ui-datepicker .ui-datepicker-prev-hover {
|
||||
background: <?= $company_color ?>;
|
||||
border-color: <?= $company_color ?>;
|
||||
filter: brightness(140%);
|
||||
}
|
||||
|
||||
body .ui-datepicker td a, body .ui-datepicker td span {
|
||||
color: <?= $company_color ?> !important;
|
||||
}
|
||||
|
||||
html body .ui-datepicker td a.ui-state-active {
|
||||
background: <?= $company_color ?> !important;
|
||||
}
|
||||
|
||||
body .ui-datepicker td a.ui-state-highlight {
|
||||
background: <?= $company_color ?> !important;
|
||||
filter: brightness(140%);
|
||||
}
|
||||
|
||||
#book-appointment-wizard #available-hours .selected-hour {
|
||||
background-color: <?= $company_color ?>;
|
||||
border-color: <?= $company_color ?>;
|
||||
}
|
||||
|
||||
#frame-footer .backend-link {
|
||||
background-color: <?= $company_color ?> !important;
|
||||
}
|
||||
|
||||
#frame-footer .backend-link:hover {
|
||||
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>
|
||||
<?php endif ?>
|
||||
|
|
Loading…
Reference in a new issue