[FIX] website_{portal, rating, slides): fix navigation tabs color

Text colors were white on a white background which can be difficult to read
in some extreme cases. Sort of.

Task 2026846
This commit is contained in:
mcm-odoo
2019-08-12 15:40:36 +00:00
committed by Thibault Delavallée
parent fa927315e5
commit 91fc042454
4 changed files with 8 additions and 4 deletions
@@ -62,7 +62,7 @@ $owprofile-color-bg: mix($body-bg, #efeff4);
}
&.active {
color: $headings-color;
color: color-yiq($owprofile-color-bg);
background: $owprofile-color-bg;
border-color: $owprofile-color-bg;
}
@@ -213,4 +213,4 @@ $owprofile-color-bg: mix($body-bg, #efeff4);
// Tools
.o_wprofile_pointer {
cursor: pointer;
}
}
@@ -80,3 +80,7 @@ $o-w-rating-star-color: #FACC2E;
margin-right: 10px;
}
}
.o_rating_popup_composer_label {
color: color-yiq(white);
}
@@ -70,7 +70,7 @@
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="ratingpopupcomposerlabel">
<h5 class="modal-title o_rating_popup_composer_label" id="ratingpopupcomposerlabel">
<t t-if="widget.options['default_message_id']">
Modify your review
</t>
@@ -162,7 +162,7 @@ $o-wslides-fs-side-width: 300px;
}
&.active {
color: $headings-color;
color: color-yiq($tab-active-color);
background: $tab-active-color;
border-color: $tab-active-color;
}