From c09087262c29c093762e91b280fa452c7b935ce9 Mon Sep 17 00:00:00 2001 From: marijus Date: Wed, 19 Feb 2014 18:42:37 +0100 Subject: bootstrapify the nav --- view/css/bootstrap-red.css | 48 ++++++++++++++++++++++++++++++++++++++++++++++ view/css/default.css | 14 ++------------ view/css/widgets.css | 3 +++ 3 files changed, 53 insertions(+), 12 deletions(-) (limited to 'view/css') diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index 73c06fd4b..89117ac1c 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -65,3 +65,51 @@ margin-left: 0px; float:none; margin-left:0px; } + +/* nav overrides */ + +nav .badge { + position: relative; + top: -48px; + float: left; + font-size: 10px; + padding: 2px 6px; + cursor: pointer; +} + +nav .dropdown-menu { + top: 51px; + max-height: 450px; + max-width: 300px; + overflow-y: auto; + margin-top: 0px; +} + +nav .dropdown-menu .contactname { + padding-top: 2px; + font-weight: bold; + display: block; +} + +nav .dropdown-menu img { + float: left; + margin-right: 5px; + width: 32px; + height: 32px; +} + +nav .dropdown-menu li a { + overflow: hidden; + text-overflow: ellipsis; + line-height: 1em; + padding: 5px 10px; +} + +nav .navbar-collapse { + max-height: 450px; +} + +nav .navbar-right li:last-child { + padding-right: 20px; +} +/* nav overrides end */ diff --git a/view/css/default.css b/view/css/default.css index 27df38dee..4afcbf1d5 100644 --- a/view/css/default.css +++ b/view/css/default.css @@ -1,18 +1,8 @@ - -nav { - height: 24px; - display: block; - position: fixed; - width: 100%; - z-index: 100; - background-color: #ff0000; -} - aside#region_1 { display: block; width: 210px; position: absolute; - top: 48px; + top: 65px; left: 0; margin-left: 10px; } @@ -24,7 +14,7 @@ aside input[type='text'] { section { position: absolute; - top: 48px; + top: 65px; left: 250px; display: block; right: 15px; diff --git a/view/css/widgets.css b/view/css/widgets.css index 7ad6d79e5..dcda66b81 100644 --- a/view/css/widgets.css +++ b/view/css/widgets.css @@ -109,6 +109,9 @@ opacity: 0; } +li:hover .group-edit-icon { + opacity: 1; +} /* affinity - slider */ #main-slider { -- cgit v1.2.3