From 2ce8a48c7773a979106b9cc1e4488ffb9e4b39f5 Mon Sep 17 00:00:00 2001 From: jo Date: Fri, 30 Nov 2018 19:41:16 +0100 Subject: [PATCH 1/6] Enhance search bar --- server/ui/src/Main.css | 8 +++++++- server/ui/src/components/home.tsx | 1 - server/ui/src/components/navbar.tsx | 22 ++++++++++------------ server/ui/src/components/search.tsx | 2 +- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/server/ui/src/Main.css b/server/ui/src/Main.css index c88addd..dbd98fb 100644 --- a/server/ui/src/Main.css +++ b/server/ui/src/Main.css @@ -15,4 +15,10 @@ -webkit-box-shadow: 0 8px 6px -6px #999; -moz-box-shadow: 0 8px 6px -6px #999; box-shadow: 0 8px 6px -6px #999; -} \ No newline at end of file +} + +.no-outline, +.no-outline:focus { + box-shadow: none !important; + outline: none !important; +} diff --git a/server/ui/src/components/home.tsx b/server/ui/src/components/home.tsx index 2904f74..366530b 100644 --- a/server/ui/src/components/home.tsx +++ b/server/ui/src/components/home.tsx @@ -25,4 +25,3 @@ export class Home extends Component { } } - diff --git a/server/ui/src/components/navbar.tsx b/server/ui/src/components/navbar.tsx index 38e3200..0349679 100644 --- a/server/ui/src/components/navbar.tsx +++ b/server/ui/src/components/navbar.tsx @@ -29,31 +29,29 @@ export class Navbar extends Component { navbar() { return ( -