summaryrefslogtreecommitdiff
path: root/addons/survey/static/src/css
diff options
context:
space:
mode:
authorDavid Beguin <dbe@odoo.com>2019-04-09 15:07:12 +0000
committerDavid Beguin <dbe@odoo.com>2019-11-19 12:52:22 +0000
commitee0b11f2ce68fc103b990a4a40fcd871db31562a (patch)
treec325fd821b00a0d313046b45241271283e0a2e5b /addons/survey/static/src/css
parentf462bf0d9374a8360ed95f4c70f0e9fc6b3dcb68 (diff)
[REF] survey : make survey result a widget
This commit cake the survey result analysis js constroller become a widget. This also simplify style rules using CSS (was handled in JS). This also modifies the handling of filters to use real and correctly formated GET parameters. Redirect url with parameters are now handled automatically using URLSearchParams() instead of building manually the query string. Task ID : 1930132 PR #32419
Diffstat (limited to 'addons/survey/static/src/css')
-rw-r--r--addons/survey/static/src/css/survey_result.css11
1 files changed, 7 insertions, 4 deletions
diff --git a/addons/survey/static/src/css/survey_result.css b/addons/survey/static/src/css/survey_result.css
index 967ea1bd74e..dda0022abe6 100644
--- a/addons/survey/static/src/css/survey_result.css
+++ b/addons/survey/static/src/css/survey_result.css
@@ -20,6 +20,10 @@
cursor: pointer;
}
+.o_active_filter {
+ cursor:default;
+}
+
.nvtooltip h5 {
margin: 0;
line-height: 18px;
@@ -32,14 +36,13 @@
border-radius: 5px 5px 0 0;
}
-
.survey_answer i {
padding:3px;
cursor:pointer;
+ visibility:hidden;
}
-
-.survey_answer i.invisible {
- visibility: hidden!important;
+.survey_answer:hover i {
+ visibility: visible;
}
@media print {