From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- addons/web/static/src/scss/graph_view.scss | 81 ++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 addons/web/static/src/scss/graph_view.scss (limited to 'addons/web/static/src/scss/graph_view.scss') diff --git a/addons/web/static/src/scss/graph_view.scss b/addons/web/static/src/scss/graph_view.scss new file mode 100644 index 00000000..45e733ec --- /dev/null +++ b/addons/web/static/src/scss/graph_view.scss @@ -0,0 +1,81 @@ +.o_graph_controller { + .o_graph_renderer { + height: 100%; + .o_graph_canvas_container { + padding-top: 5px; + position: relative; + height: 100%; + width: 100%; + top: 0px; + left: 0px; + canvas { + background-color: $o-view-background-color; + } + } + } + + div.o_tooltip_legend { + background-color: white; + color:black; + font-size: 12px; + border: black solid 0.5px; + border-radius: 3px; + opacity: 1; + position: absolute; + padding:10px; + z-index: 2; + pointer-events: none; + word-break: break-all; + } + + div.o_graph_custom_tooltip { + border-radius: 3px; + background-color: white; + border: black solid 0.5px; + position: absolute; + z-index: 1; + padding: 6px; + pointer-events: none; + opacity: 0.9; + font-family: Arial; + table { + font-size: 12px; + overflow: hidden; + display: block; + border-collapse: collapse; + } + th.o_measure { + color: black; + font-weight: bolder; + vertical-align: baseline; + padding-bottom: 1px; + } + td { + span.o_square { + height: 12px; + width: 12px; + display: inline-block; + vertical-align: middle; + } + span.o_label { + text-overflow: ellipsis; + overflow: hidden; + white-space: nowrap; + color: black; + display: inline-block; + vertical-align: middle; + } + &.o_value { + color: black; + padding-left: 5px; + text-align: right; + font-weight: bold; + } + } + tr.o_show_more { + text-align: center; + color: black; + font-weight: bolder; + } + } +} -- cgit v1.2.3