Fine tuning the styling of the booking-link elements

This commit is contained in:
Alex Tselegidis 2022-09-14 13:01:07 +02:00
parent f28a8d032c
commit 3c1d49dcb3
3 changed files with 22 additions and 16 deletions

View file

@ -651,11 +651,14 @@ body .form-horizontal .controls {
margin: 0;
}
#services-page #services .record-details h3 a {
display: block;
margin: 1rem 0;
font-size: 1rem;
#services-page #services .record-details h4 a {
display: inline-block;
margin: -1.5rem 0;
font-size: 0.8rem;
text-decoration: none;
letter-spacing: normal;
position: relative;
top: -2px;
}
/* BACKEND USERS PAGE
@ -768,21 +771,24 @@ body .form-horizontal .controls {
margin: 0;
}
#providers-page #providers .record-details h3 a {
display: block;
margin: 1rem 0;
font-size: 1rem;
#providers-page #providers .record-details h4 a {
display: inline-block;
margin: -1.5rem 0;
font-size: 0.8rem;
text-decoration: none;
letter-spacing: normal;
position: relative;
top: -2px;
}
#providers-page #providers .record-details #provider-services .checkbox a {
display: block;
text-decoration: none;
text-transform: uppercase;
font-size: 75%;
margin-top: 5px;
margin-left: -20px;
margin-bottom: 5px;
font-size: .7rem;
margin-top: 2px;
margin-left: -24px;
margin-bottom: 2px;
}
/* BACKEND SETTINGS PAGE

View file

@ -343,7 +343,7 @@ App.Pages.Providers = (function () {
$providers.find('.add-edit-delete-group').show();
$providers.find('.save-cancel-group').hide();
$providers.find('.record-details h3 a').remove();
$providers.find('.record-details h4 a').remove();
$providers.find('.record-details').find('input, select, textarea').val('').prop('disabled', true);
$providers.find('.record-details .form-label span').prop('hidden', true);
$providers.find('.record-details #calendar-view').val('default');
@ -413,7 +413,7 @@ App.Pages.Providers = (function () {
]
});
$providers.find('.details-view h3').find('a').remove().end().append($link);
$providers.find('.details-view h4').find('a').remove().end().append($link);
$('#provider-services a').remove();
$('#provider-services input:checkbox').prop('checked', false);

View file

@ -81,7 +81,7 @@ App.Pages.Services = (function () {
]
});
$services.find('.record-details h3').find('a').remove().end().append($link);
$services.find('.record-details h4').find('a').remove().end().append($link);
display(service);
$filterServices.find('.selected').removeClass('selected');
@ -269,7 +269,7 @@ App.Pages.Services = (function () {
$services.find('.record-details').find('input, select, textarea').val('').prop('disabled', true);
$services.find('.record-details .form-label span').prop('hidden', true);
$services.find('.record-details #is-private').prop('checked', false);
$services.find('.record-details h3 a').remove();
$services.find('.record-details h4 a').remove();
$services.find('.add-edit-delete-group').show();
$services.find('.save-cancel-group').hide();