[IMP] web: datetime picker style

Changed the style of the "Close" button to match the one on the "primary buttons".

Task 2068164
This commit is contained in:
Julien Mougenot
2019-09-17 12:35:57 +00:00
parent c5fa4771fc
commit 4985f6a1ae
2 changed files with 15 additions and 1 deletions
@@ -42,7 +42,7 @@ var DateWidget = Widget.extend({
next: 'fa fa-chevron-right',
today: 'fa fa-calendar-check-o',
clear: 'fa fa-delete',
close: 'fa fa-times'
close: 'fa fa-check primary',
},
calendarWeeks: true,
buttons: {
@@ -84,6 +84,20 @@ div.dropdown-menu.bootstrap-datetimepicker-widget{
}
}
.picker-switch {
span.fa {
margin: 0;
@include transition($btn-transition);
&.primary {
background-color: $o-brand-primary;
color: white;
&:hover {
background-color: darken($o-brand-primary, 10%);
}
}
}
}
// This is rtl language specific fix
// it will fix the user agent stylesheet padding
// and transform the prev and next icons