mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
60 lines
929 B
CSS
60 lines
929 B
CSS
/* Popovers
|
|
/* ---------------------------------------------------------- */
|
|
|
|
.popover-item {
|
|
position: relative;
|
|
display: inline-block;
|
|
padding: 11px 26px 13px 16px;
|
|
background: var(--darkgrey);
|
|
min-width: 300px;
|
|
max-width: 400px;
|
|
border-radius: 6px;
|
|
font-size: 1.2rem;
|
|
color: var(--midgrey);
|
|
}
|
|
|
|
.popover-title {
|
|
font-size: 1.4rem;
|
|
font-weight: 300;
|
|
color: #fff;
|
|
}
|
|
|
|
.popover-desc {
|
|
margin-top: -4px;
|
|
}
|
|
|
|
.popover-body {
|
|
margin-top: 11px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.popover-body b {
|
|
color: #fff;
|
|
}
|
|
|
|
.popover-body > *:last-child {
|
|
margin: 0;
|
|
}
|
|
|
|
|
|
/* Open / Close
|
|
/* ---------------------------------------------------------- */
|
|
|
|
.popover {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
|
|
.popover .popover-item {
|
|
position: absolute;
|
|
z-index: 20;
|
|
}
|
|
|
|
.popover .popover-item.open {
|
|
display: block;
|
|
}
|
|
|
|
.popover .popover-item.closed {
|
|
display: none;
|
|
}
|