From fcdfdeabfa174900f393414297da45635d88f4c0 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 21 Jan 2016 20:58:12 -0500 Subject: Replace logout link by a dropdown menu --- assets/css/src/dropdown.css | 6 +++++- assets/css/src/header.css | 22 ++++++---------------- assets/css/src/responsive.css | 5 ----- 3 files changed, 11 insertions(+), 22 deletions(-) (limited to 'assets/css/src') diff --git a/assets/css/src/dropdown.css b/assets/css/src/dropdown.css index f8fff27f..8f13f5bf 100644 --- a/assets/css/src/dropdown.css +++ b/assets/css/src/dropdown.css @@ -35,6 +35,10 @@ ul.dropdown-submenu-open { cursor: pointer; } +.dropdown-submenu-open li.no-hover { + cursor: default; +} + .textarea-dropdown li:last-child, .dropdown-submenu-open li:last-child { border: none; @@ -42,7 +46,7 @@ ul.dropdown-submenu-open { .textarea-dropdown .active, .textarea-dropdown li:hover, -.dropdown-submenu-open li:hover { +.dropdown-submenu-open li:not(.no-hover):hover { background: #4078C0; color: #fff; } diff --git a/assets/css/src/header.css b/assets/css/src/header.css index 51c43f19..26573f89 100644 --- a/assets/css/src/header.css +++ b/assets/css/src/header.css @@ -35,19 +35,9 @@ nav .active a { font-weight: bold; } -/* username */ -.username a { - color: #000; -} - -.username a:hover { - color: #DF5353; - text-decoration: underline; -} - /* logo */ -.logo { - opacity: 0.3; +.logo a { + opacity: 0.5; color: #d40000; } @@ -55,12 +45,13 @@ nav .active a { color: #333; } -.logo:hover { +.logo a:hover { opacity: 0.8; + color: #333; } -.logo:focus span, -.logo:hover span { +.logo a:focus span, +.logo a:hover span { color: #d40000; } @@ -105,7 +96,6 @@ nav .active a { } @media only screen and (max-width: 640px) { - .page-header-mobile li { display: block; margin-bottom: 5px; diff --git a/assets/css/src/responsive.css b/assets/css/src/responsive.css index bfefabcf..3ec47255 100644 --- a/assets/css/src/responsive.css +++ b/assets/css/src/responsive.css @@ -11,11 +11,6 @@ @media only screen and (max-width: 1024px) { - li.hide-tablet, - .hide-tablet { - display: none; - } - body { font-size: 0.85em; } -- cgit v1.2.3