[FIX] web_editor: highlight selected pictogram
Before this commit, the selection of a pictogram in the media dialog of the website builder and the mass_mailing was not working. The pictogram already has the class "o_we_attachment_selected" upon selection. This commit allow the class "font-icons-icon" to be included in an existing selector. closes odoo/odoo#38085 Signed-off-by: David Monjoie (dmo) <dmo@odoo.com>
This commit is contained in:
@@ -257,12 +257,12 @@ body .modal {
|
||||
box-shadow: 0px 0px 2px 2px $card-border-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.o_we_attachment_selected {
|
||||
&.o_we_attachment_highlight, .o_we_attachment_highlight {
|
||||
border-color: $o-brand-primary;
|
||||
box-shadow: 0px 0px 2px 2px $o-brand-primary;
|
||||
}
|
||||
.o_we_attachment_selected {
|
||||
&.o_we_attachment_highlight, .o_we_attachment_highlight, &.font-icons-icon {
|
||||
border-color: $o-brand-primary;
|
||||
box-shadow: 0px 0px 2px 2px $o-brand-primary;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -275,12 +275,6 @@ body .modal {
|
||||
height: 50px;
|
||||
padding: 15px;
|
||||
cursor: pointer;
|
||||
|
||||
&.o_selected {
|
||||
cursor: auto;
|
||||
background-color: $o-we-bg-color-dark;
|
||||
box-shadow: 0px 0px 0px 1px $o-we-color-success;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user