From a33a0771737224321cec1e255215df985a7cf16a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9ry=20Debongnie?= Date: Wed, 6 Feb 2019 14:40:35 +0100 Subject: [PATCH] display toggle button differently in navbar in home --- web/static/src/scss/app.scss | 4 ++++ web/static/src/ts/core/component.ts | 2 +- web/static/src/xml/templates.xml | 2 +- web/static/tests/widgets/__snapshots__/root.test.ts.snap | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/web/static/src/scss/app.scss b/web/static/src/scss/app.scss index 7ba28c59..be280d04 100644 --- a/web/static/src/scss/app.scss +++ b/web/static/src/scss/app.scss @@ -49,12 +49,16 @@ body { &.o_in_home { background-color: #bba2a5; + a.o_title:hover { + background-color: #bba2a5; + } } a.o_title { padding: 13px 16px 16px 20px; color: white; font-size: 18px; + text-decoration: none; } a.o_title:hover, diff --git a/web/static/src/ts/core/component.ts b/web/static/src/ts/core/component.ts index bf408f9e..ac2c147f 100644 --- a/web/static/src/ts/core/component.ts +++ b/web/static/src/ts/core/component.ts @@ -45,7 +45,7 @@ export class Component< Props, State extends {} > extends EventBus { - __widget__: Meta; + readonly __widget__: Meta; template: string = "default"; inlineTemplate: string | null = null; diff --git a/web/static/src/xml/templates.xml b/web/static/src/xml/templates.xml index 92641ba7..12a6d4bd 100644 --- a/web/static/src/xml/templates.xml +++ b/web/static/src/xml/templates.xml @@ -17,7 +17,7 @@