summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static')
-rw-r--r--addons/web/static/src/css/base.css2
-rw-r--r--addons/web/static/src/css/base.sass2
-rw-r--r--addons/web/static/src/xml/base.xml4
3 files changed, 4 insertions, 4 deletions
diff --git a/addons/web/static/src/css/base.css b/addons/web/static/src/css/base.css
index 9f72d573ecc..3d185be00da 100644
--- a/addons/web/static/src/css/base.css
+++ b/addons/web/static/src/css/base.css
@@ -304,7 +304,7 @@
.openerp .oe_button_box .oe_stat_button:not(:hover) .o_stat_info > .o_hover {
display: none !important;
}
-.openerp .oe_button_box .oe_stat_button:hover .o_stat_info > :not(.o_hover) {
+.openerp .oe_button_box .oe_stat_button:hover .o_stat_info > .o_not_hover {
display: none !important;
}
.openerp button.oe_toggle_button {
diff --git a/addons/web/static/src/css/base.sass b/addons/web/static/src/css/base.sass
index 48e7893bf10..3776630c3f6 100644
--- a/addons/web/static/src/css/base.sass
+++ b/addons/web/static/src/css/base.sass
@@ -362,7 +362,7 @@ $sheet-padding: 16px
// boolean_button rules: show the elements depending on hover status
.oe_stat_button:not(:hover) .o_stat_info > .o_hover
display: none !important
- .oe_stat_button:hover .o_stat_info > :not(.o_hover)
+ .oe_stat_button:hover .o_stat_info > .o_not_hover
display: none !important
button.oe_toggle_button
box-shadow: none
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index dc448fbae2d..c79d9fc1f86 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1438,11 +1438,11 @@
<t t-name="BooleanButton">
<t t-if="widget.get_value()">
- <span class="o_stat_text text-success"><t t-esc="widget.string_true"/></span>
+ <span class="o_stat_text o_not_hover text-success"><t t-esc="widget.string_true"/></span>
<span class="o_stat_text o_hover text-danger"><t t-esc="widget.hover_true"/></span>
</t>
<t t-if="!widget.get_value()">
- <span class="o_stat_text text-danger"><t t-esc="widget.string_false"/></span>
+ <span class="o_stat_text o_not_hover text-danger"><t t-esc="widget.string_false"/></span>
<span class="o_stat_text o_hover text-success"><t t-esc="widget.hover_false"/></span>
</t>
</t>