diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-01-21 20:58:12 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-01-21 20:58:12 -0500 |
commit | fcdfdeabfa174900f393414297da45635d88f4c0 (patch) | |
tree | f808217483e94dd10a4d756092303f43f59ad9cd /assets/css/src | |
parent | f3e5fdb137e12a927b6b29d6a80411170bfa3c19 (diff) |
Replace logout link by a dropdown menu
Diffstat (limited to 'assets/css/src')
-rw-r--r-- | assets/css/src/dropdown.css | 6 | ||||
-rw-r--r-- | assets/css/src/header.css | 22 | ||||
-rw-r--r-- | assets/css/src/responsive.css | 5 |
3 files changed, 11 insertions, 22 deletions
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; } |