Ghost/ghost/admin/app/styles/patterns/navlist.css
Peter Zimon c51bce7358 🎨 Updated admin area design and usability (#1232)
refs. https://github.com/TryGhost/Team/issues/205

Major update to Ghost Admin UI including:
- improved general consistency (typography, colors and contrast, UI components, icons)
- new design for post and pages lists, improved discoverability of filters 
- search moved to modal
- account menu is decoupled from ghost logo
- further usability fixes
2019-06-18 11:47:20 +01:00

78 lines
1.5 KiB
CSS

/* Nav Lists
/* ---------------------------------------------------------- */
.nav-list {
padding: 0;
max-width: 500px;
border: 1px solid color-mod(var(--lightgrey) l(-5%) s(-10%));
background: #fff;
border-radius: var(--border-radius);
}
.nav-list.nav-list-block {
max-width: none;
}
.nav-list-item {
position: relative;
display: block;
margin: 0;
padding: 9px 40px 10px 12px;
color: var(--darkgrey);
}
.nav-list-item:hover {
background: color-mod(var(--lightgrey) l(+6%));
cursor: pointer;
}
.nav-list-item:first-of-type {
border-top-left-radius: var(--border-radius);
border-top-right-radius: var(--border-radius);
}
.nav-list-item:last-of-type {
border-bottom-right-radius: var(--border-radius);
border-bottom-left-radius: var(--border-radius);
}
.nav-list-item:not(:last-of-type) {
border-bottom: 1px solid color-mod(var(--lightgrey) l(-5%) s(-10%));
}
.nav-list-item button {
text-align: left;
}
.nav-list-item a {
color: var(--darkgrey);
}
.nav-list-item b {
display: block;
font-size: 1.4rem;
line-height: 1.375;
font-weight: 600;
}
.nav-list-item span {
display: block;
color: var(--midgrey);
font-size: 1.2rem;
line-height: 1.375;
letter-spacing: 0.2px;
}
.nav-list-item svg {
position: absolute;
top: 50%;
right: 10px;
margin-top: -0.9rem;
height: 1.4rem;
width: 1.4rem;
}
.nav-list-item svg path {
fill: var(--midgrey);
}