From 6af662a5961b48ac12682df2b8b971060a2cc67d Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Sat, 25 Jan 2020 16:32:06 +0100 Subject: Add keyboard navigation and hepler to typeahead --- client/src/app/header/suggestion.component.scss | 32 +++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 client/src/app/header/suggestion.component.scss (limited to 'client/src/app/header/suggestion.component.scss') diff --git a/client/src/app/header/suggestion.component.scss b/client/src/app/header/suggestion.component.scss new file mode 100644 index 000000000..1de2f43bd --- /dev/null +++ b/client/src/app/header/suggestion.component.scss @@ -0,0 +1,32 @@ +@import '_mixins'; + +a { + @include disable-default-a-behaviour; + width: 100%; + + &, &:hover { + color: var(--mainForegroundColor); + + &.focus-visible { + background-color: var(--mainHoverColor); + color: var(--mainBackgroundColor); + } + } +} + +.bg-gray { + background-color: var(--mainBackgroundColor); +} + +.text-gray-light { + color: var(--mainForegroundColor); +} + +my-global-icon { + width: 17px; + position: relative; + top: -2px; + margin: 5px; + + @include apply-svg-color(var(--mainForegroundColor)); +} -- cgit v1.2.3