Added active effect to language selection label.

This commit is contained in:
Alex Tselegidis 2015-10-06 00:20:55 +02:00
parent f6dc7309e0
commit 6de4784ee7
4 changed files with 15 additions and 3 deletions

View file

@ -259,6 +259,7 @@ body .jspTrack {
#calendar .fc-header .fc-button { #calendar .fc-header .fc-button {
margin-bottom: 8px; margin-bottom: 8px;
background-image: none !important;
} }
#calendar .fc-agenda-allday .fc-day-content { #calendar .fc-agenda-allday .fc-day-content {
@ -270,7 +271,7 @@ body .jspTrack {
} }
#calendar table thead .fc-first { #calendar table thead .fc-first {
background: #DFDFDF; background: #F5F5F5;
} }
#calendar table thead .fc-first th { #calendar table thead .fc-first th {
@ -279,6 +280,11 @@ body .jspTrack {
color: #555; color: #555;
} }
#calendar .fc-event {
border: 1px solid #4790CA;
background-color: #4790CA;
}
#existing-customers-list { #existing-customers-list {
height: 110px; height: 110px;
overflow-y: auto; overflow-y: auto;

View file

@ -138,6 +138,10 @@ li.language:hover {
padding: 4px 5px; padding: 4px 5px;
} }
#select-language.active {
box-shadow: 0 0 20px #1A865F;
}
#language-list { #language-list {
list-style: none; list-style: none;
padding-left: 0px; padding-left: 0px;

View file

@ -1547,7 +1547,7 @@ var BackendCalendar = {
'<center>' + '<center>' +
'<button class="edit-popover btn btn-primary ' + displayEdit + '">' + EALang['edit'] + '</button>' + '<button class="edit-popover btn btn-primary ' + displayEdit + '">' + EALang['edit'] + '</button>' +
'<button class="delete-popover btn btn-danger ' + displayDelete + '">' + EALang['delete'] + '</button>' + '<button class="delete-popover btn btn-danger ' + displayDelete + '">' + EALang['delete'] + '</button>' +
'<button class="close-popover btn" data-po=' + jsEvent.target + '>' + EALang['close'] + '</button>' + '<button class="close-popover btn btn-default" data-po=' + jsEvent.target + '>' + EALang['close'] + '</button>' +
'</center>'; '</center>';
} else { } else {
displayEdit = (GlobalVariables.user.privileges.appointments.edit == true) displayEdit = (GlobalVariables.user.privileges.appointments.edit == true)
@ -1580,7 +1580,7 @@ var BackendCalendar = {
'<center>' + '<center>' +
'<button class="edit-popover btn btn-primary ' + displayEdit + '">' + EALang['edit'] + '</button>' + '<button class="edit-popover btn btn-primary ' + displayEdit + '">' + EALang['edit'] + '</button>' +
'<button class="delete-popover btn btn-danger ' + displayDelete + '">' + EALang['delete'] + '</button>' + '<button class="delete-popover btn btn-danger ' + displayDelete + '">' + EALang['delete'] + '</button>' +
'<button class="close-popover btn" data-po=' + jsEvent.target + '>' + EALang['close'] + '</button>' + '<button class="close-popover btn btn-default" data-po=' + jsEvent.target + '>' + EALang['close'] + '</button>' +
'</center>'; '</center>';
} }

View file

@ -312,6 +312,8 @@ var GeneralFunctions = {
} else { } else {
$(this).popover('hide'); $(this).popover('hide');
} }
$(this).toggleClass('active');
}); });
$(document).on('click', 'li.language', function() { $(document).on('click', 'li.language', function() {