0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00

Merge pull request #4533 from PaulAdamDavis/logo-no-hover-bg

Swap nav item & logo style order
This commit is contained in:
John O'Nolan 2014-11-29 16:54:14 +01:00
commit f6e7bcc089

View file

@ -4,8 +4,8 @@
// Styles for the main top bar & mobile navigation
//
// * Main wrapper
// * Ghost branding
// * Nav Items
// * Ghost branding
// * User Menu
// * Mobile
// ------------------------------------------------------------
@ -37,34 +37,6 @@
}
//
// Ghost branding
// --------------------------------------------------
.ghost-logo {
width: 60px;
padding-right: 0;
text-align: center;
color: lighten($grey, 20%);
font-size: 1.2rem;
line-height: 1em;
transition: color 0.5s;
span {
display: none;
}
}
.ghost-logo:hover,
.ghost-logo:focus {
color: $lightgrey;
transition: color 0.1s;
.nav-label {
background: transparent;
}
}
//
// Nav Items
// --------------------------------------------------
@ -103,6 +75,34 @@
}
//
// Ghost branding
// --------------------------------------------------
.ghost-logo {
width: 60px;
padding-right: 0;
text-align: center;
color: lighten($grey, 20%);
font-size: 1.2rem;
line-height: 1em;
transition: color 0.5s;
span {
display: none;
}
}
.ghost-logo:hover,
.ghost-logo:focus {
color: $lightgrey;
transition: color 0.1s;
.nav-label {
background: transparent;
}
}
//
// User Menu
// --------------------------------------------------