mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
2243c12aca
closes https://github.com/TryGhost/Ghost/issues/8384 - fixes image uploads on settings/general by reverting to jQuery for triggering the file dialog because IE11 doesn't support `MouseEvent` events or have the `.closest` method on native DOM elements - gives all SVG elements an explicit `width` and `height` - if one property is set to `auto` or not specified IE11 will treat it as 100% of the container - fixes horizontal scroll + scrollbar on the main app viewport
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: 1.4rem;
|
|
}
|
|
|
|
.nav-list-item svg path {
|
|
fill: var(--midgrey);
|
|
}
|