From c642e208dd88113c855d39694dd263bb4917940a Mon Sep 17 00:00:00 2001 From: zmagod Date: Fri, 21 Oct 2016 09:33:18 +0200 Subject: [PATCH] styled global team switch and search [fixes SCI-593] --- app/assets/stylesheets/themes/scinote.scss | 17 +- app/views/shared/_navigation.html.erb | 200 ++++++++++++++------- 2 files changed, 147 insertions(+), 70 deletions(-) diff --git a/app/assets/stylesheets/themes/scinote.scss b/app/assets/stylesheets/themes/scinote.scss index fd4050810..7e29049dd 100644 --- a/app/assets/stylesheets/themes/scinote.scss +++ b/app/assets/stylesheets/themes/scinote.scss @@ -554,10 +554,25 @@ a[data-toggle="tooltip"] { } } -// Global team switch +.search-dropdown { + padding-right: 25px; + width: 250px; + + input { + width: 230px; + } +} + + // Global team switch #team-switch { + border-left: 1px solid $color-alto; + border-right: 1px solid $color-alto; word-wrap: break-word; + .dropdown-menu { + width: 100%; + } + i { margin-right: 5px; } diff --git a/app/views/shared/_navigation.html.erb b/app/views/shared/_navigation.html.erb index 17f79fa50..791d55719 100644 --- a/app/views/shared/_navigation.html.erb +++ b/app/views/shared/_navigation.html.erb @@ -55,55 +55,16 @@