From ae60f2fe6cc8e8d863b6d4d92b6583365774bbcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jesper=20M=C3=B8ller=20Jensen?= <26099018+JesmoDev@users.noreply.github.com> Date: Wed, 22 Feb 2023 16:09:53 +1300 Subject: [PATCH] styling --- .../src/backoffice/search/search.element.ts | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/backoffice/search/search.element.ts b/src/Umbraco.Web.UI.Client/src/backoffice/search/search.element.ts index ff8d522546..62182dce56 100644 --- a/src/Umbraco.Web.UI.Client/src/backoffice/search/search.element.ts +++ b/src/Umbraco.Web.UI.Client/src/backoffice/search/search.element.ts @@ -31,7 +31,7 @@ export class UmbSearchElement extends LitElement { aspect-ratio: 1; height: 100%; } - #close-icon > div { + #close-icon > button { background: var(--uui-color-surface-alt); border: 1px solid var(--uui-color-border); padding: 3px 6px 4px 6px; @@ -41,10 +41,9 @@ export class UmbSearchElement extends LitElement { font-weight: 800; font-size: 12px; } - #close-icon > div:hover { + #close-icon > button:hover { border-color: var(--uui-color-focus); color: var(--uui-color-focus); - cursor: pointer; } #top { background-color: var(--uui-color-surface); @@ -83,10 +82,18 @@ export class UmbSearchElement extends LitElement { background-color: var(--uui-color-surface-emphasis); color: var(--uui-color-interactive-emphasis); } + .result:hover span { + font-weight: unset; + opacity: unset; + } a { text-decoration: none; color: inherit; } + a span { + opacity: 0.5; + font-weight: 100; + } `, ]; @@ -106,7 +113,7 @@ export class UmbSearchElement extends LitElement {
-
esc
+
@@ -115,10 +122,11 @@ export class UmbSearchElement extends LitElement {
Article Controls - > + > Article + >
@@ -127,6 +135,7 @@ export class UmbSearchElement extends LitElement {
Article + >