Replace logout link by a dropdown menu

This commit is contained in:
Frederic Guillot
2016-01-21 20:58:12 -05:00
parent f3e5fdb137
commit fcdfdeabfa
7 changed files with 32 additions and 43 deletions

File diff suppressed because one or more lines are too long

View File

@@ -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;
}

View File

@@ -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;

View File

@@ -11,11 +11,6 @@
@media only screen and (max-width: 1024px) {
li.hide-tablet,
.hide-tablet {
display: none;
}
body {
font-size: 0.85em;
}