mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
f931f27dd4
refs TryGhost/Ghost#8107 - Replaces icon font with `{{inline-svg}}` helper incl. necessary style adjustments.
78 lines
1.4 KiB
CSS
78 lines
1.4 KiB
CSS
/* Nav Lists
|
|
/* ---------------------------------------------------------- */
|
|
|
|
.nav-list {
|
|
padding: 0;
|
|
max-width: 500px;
|
|
border: 1px solid color(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(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(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.6rem;
|
|
line-height: 1.375;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.nav-list-item span {
|
|
display: block;
|
|
color: var(--midgrey);
|
|
font-size: 1.1rem;
|
|
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: auto;
|
|
}
|
|
|
|
.nav-list-item svg path {
|
|
fill: var(--midgrey);
|
|
}
|