mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
cb644b3fd7
refs. https://github.com/TryGhost/Toolbox/issues/356 - renamed page to “History” now to make it less technical - moved the history page out to the Advanced section in Settings to increase discoverability - moved the About section from General settings to a modal because that technical data was not connected to General settings
1907 lines
40 KiB
CSS
1907 lines
40 KiB
CSS
/* What's new */
|
|
/* ---------------------------------------------------------- */
|
|
.gh-whats-new-canvas .gh-canvas-header-content {
|
|
border-bottom: 1px solid var(--whitegrey);
|
|
margin-bottom: -1px;
|
|
}
|
|
|
|
.gh-whats-new {
|
|
flex-grow: 2;
|
|
color: var(--darkgrey);
|
|
font-size: 1.5rem;
|
|
letter-spacing: 0;
|
|
margin-top: -24px;
|
|
}
|
|
|
|
.gh-whats-new-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 1.5rem;
|
|
letter-spacing: 0;
|
|
line-height: 1.3em;
|
|
font-weight: 700;
|
|
margin: 0;
|
|
}
|
|
|
|
.gh-whats-new-heading svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
margin-top: -2px;
|
|
margin-right: 12px;
|
|
}
|
|
|
|
.gh-whats-new-heading svg path {
|
|
fill: var(--pink);
|
|
}
|
|
|
|
.gh-wn-header {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
margin: -32px -32px 0;
|
|
padding: 18px 18px 12px;
|
|
border-top-left-radius: 3px;
|
|
border-top-right-radius: 3px;
|
|
overflow: hidden;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
background: var(--pink);
|
|
background: linear-gradient(135deg, color-mod(var(--pink) h(-10) s(+5%) l(-10%)) 0%, rgba(173,38,180,1) 100%);
|
|
}
|
|
|
|
.gh-wn-header .background-img {
|
|
position: absolute;
|
|
top: -30px;
|
|
left: 0;
|
|
}
|
|
|
|
.gh-wn-header h2 {
|
|
font-size: 1.3rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
color: #FFF;
|
|
margin: 0 8px 4px;
|
|
}
|
|
|
|
.gh-wn-header svg path {
|
|
fill: #fff;
|
|
}
|
|
|
|
.gh-wn-close {
|
|
stroke: #FFF;
|
|
opacity: 0.6;
|
|
transition: all 0.2s ease-in-out;
|
|
}
|
|
|
|
.gh-wn-close:hover {
|
|
opacity: 1.0;
|
|
}
|
|
|
|
.gh-wn-entry {
|
|
margin: 0 0 5vmin;
|
|
padding-bottom: 5vmin;
|
|
width: 100%;
|
|
border-bottom: 1px solid var(--lightgrey-l2);
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.gh-wn-content {
|
|
max-width: 620px;
|
|
}
|
|
|
|
.gh-whats-new-canvas .gh-wn-content {
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.gh-wn-entry h4 {
|
|
font-size: 1.2rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0;
|
|
text-transform: uppercase;
|
|
margin: 24px 0 4px;
|
|
color: var(--midlightgrey);
|
|
}
|
|
|
|
.gh-wn-entry h1 {
|
|
font-size: 3.7rem;
|
|
line-height: 1.3em;
|
|
font-weight: 700;
|
|
letter-spacing: -0.021em;
|
|
color: var(--black);
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.gh-whats-new-canvas .gh-wn-entry h1,
|
|
.gh-whats-new-canvas .gh-wn-entry h4 {
|
|
max-width: 620px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.gh-wn-entry h2 {
|
|
border-bottom: none;
|
|
font-size: 1.9rem;
|
|
padding-bottom: 0;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.gh-wn-entry p,
|
|
.gh-wn-entry li {
|
|
line-height: 1.6em;
|
|
}
|
|
|
|
.gh-wn-entry li {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.gh-wn-entry p {
|
|
margin: 0 0 20px;
|
|
padding: 0;
|
|
}
|
|
|
|
.gh-wn-entry figure {
|
|
margin-bottom: 24px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.gh-wn-entry img {
|
|
height: auto;
|
|
}
|
|
|
|
.gh-wn-entry hr {
|
|
border-top: 1px solid var(--whitegrey-l1);
|
|
margin: 24px 0;
|
|
}
|
|
|
|
|
|
/* Bookmark card details */
|
|
.gh-wn-entry .kg-bookmark-card {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.gh-wn-entry .kg-bookmark-container {
|
|
display: flex;
|
|
font-family: var(--font-family);
|
|
color: var(--darkgrey);
|
|
text-decoration: none;
|
|
min-height: 148px;
|
|
box-shadow: 0px 2px 5px -1px rgba(0, 0, 0, 0.15), 0 0 1px rgba(0, 0, 0, 0.09);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.gh-wn-entry .kg-bookmark-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-grow: 1;
|
|
align-items: flex-start;
|
|
justify-content: flex-start;
|
|
padding: 16px;
|
|
}
|
|
|
|
.gh-wn-entry .kg-bookmark-title {
|
|
font-size: 1.3rem;
|
|
line-height: 1.5em;
|
|
font-weight: 600;
|
|
color: color(var(--midgrey) l(-30%));
|
|
}
|
|
|
|
.gh-wn-entry .kg-bookmark-container:hover .kg-bookmark-title {
|
|
color: var(--blue);
|
|
}
|
|
|
|
.gh-wn-entry .kg-bookmark-description {
|
|
display: -webkit-box;
|
|
font-size: 1.25rem;
|
|
line-height: 1.5em;
|
|
color: color(var(--midgrey) l(-10%));
|
|
font-weight: 400;
|
|
margin-top: 12px;
|
|
max-height: 36px;
|
|
overflow-y: hidden;
|
|
-webkit-line-clamp: 2;
|
|
-webkit-box-orient: vertical;
|
|
}
|
|
|
|
.gh-wn-entry .kg-bookmark-thumbnail {
|
|
position: relative;
|
|
min-width: 40%;
|
|
max-height: 100%;
|
|
}
|
|
|
|
.gh-wn-entry .kg-bookmark-thumbnail img {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
border-radius: 0 3px 3px 0;
|
|
}
|
|
|
|
.gh-wn-entry .kg-bookmark-metadata {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 1.25rem;
|
|
font-weight: 400;
|
|
color: color(var(--midgrey) l(-10%));
|
|
margin-top: 14px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.gh-wn-entry .kg-bookmark-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
margin-right: 8px;
|
|
}
|
|
|
|
.gh-wn-entry .kg-bookmark-author {
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
.gh-wn-entry .kg-bookmark-author:after {
|
|
content: "•";
|
|
margin: 0 6px;
|
|
}
|
|
|
|
.gh-wn-entry .kg-bookmark-publisher {
|
|
overflow: hidden;
|
|
line-height: 1.5em;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: 160px;
|
|
}
|
|
|
|
.gh-wn-entry .gh-wn-footer {
|
|
margin: 0 -32px -32px;
|
|
padding: 14px 32px 16px;
|
|
border-top: 1px solid var(--whitegrey);
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.gh-wn-footer {
|
|
position: relative;
|
|
margin-top: 14px;
|
|
margin-bottom: -13px;
|
|
}
|
|
|
|
.gh-wn-footer:before {
|
|
position: absolute;
|
|
content: "";
|
|
top: -14px;
|
|
left: -32px;
|
|
right: -32px;
|
|
height: 6px;
|
|
background: rgba(255,255,255,0);
|
|
box-shadow:
|
|
0 -0.3px 1px rgba(0, 0, 0, 0.03),
|
|
0 -4px 7px rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
@media (max-width: 1380px) {
|
|
.gh-wn-content {
|
|
max-width: 36vw;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1120px) {
|
|
.gh-wn-content {
|
|
max-width: 680px;
|
|
}
|
|
|
|
.gh-about-box {
|
|
position: relative;
|
|
top: unset;
|
|
right: unset;
|
|
}
|
|
|
|
.gh-about-container {
|
|
grid-template-columns: unset;
|
|
grid-template-rows: auto;
|
|
grid-gap: 32px;
|
|
}
|
|
|
|
.gh-env-details {
|
|
grid-row: 1/2;
|
|
}
|
|
|
|
.gh-about-content-actions {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr 1fr;
|
|
grid-gap: 20px;
|
|
grid-row: 2/3;
|
|
margin-top: -12px;
|
|
}
|
|
|
|
.gh-whats-new {
|
|
grid-row: 3/4;
|
|
}
|
|
|
|
|
|
.gh-about-header-actions a {
|
|
display: none;
|
|
}
|
|
|
|
.gh-wn-entry iframe {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 540px) {
|
|
.gh-about-content-actions {
|
|
grid-template-columns: unset;
|
|
grid-template-rows: auto;
|
|
grid-gap: 12px;
|
|
margin-top: -20px;
|
|
}
|
|
}
|
|
|
|
/* Custom card styles
|
|
/* ---------------------------------------------------------- */
|
|
|
|
.gh-whats-new .kg-audio-card {
|
|
display: flex;
|
|
width: 100%;
|
|
min-height: 96px;
|
|
border-radius: 3px;
|
|
box-shadow: inset 0 0 0 1px rgba(124, 139, 154, 0.25);
|
|
margin-bottom: 1.5em;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-card+.gh-whats-new .kg-audio-card {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-thumbnail {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 80px;
|
|
min-width: 80px;
|
|
margin: 8px;
|
|
background: transparent;
|
|
object-fit: cover;
|
|
aspect-ratio: 1/1;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-thumbnail.placeholder {
|
|
background: var(--accent-color);
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-thumbnail.placeholder svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
fill: white;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
flex: 1;
|
|
--seek-before-width: 0%;
|
|
--volume-before-width: 100%;
|
|
--buffered-width: 0%;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-title {
|
|
width: 100%;
|
|
margin: 8px 0 0 0;
|
|
padding: 8px 12px;
|
|
border: none;
|
|
font-family: inherit;
|
|
font-size: 1.15em;
|
|
font-weight: 700;
|
|
line-height: 1.15em;
|
|
background: transparent;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
align-items: center;
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-current-time {
|
|
min-width: 38px;
|
|
padding: 0 4px;
|
|
font-family: inherit;
|
|
font-size: .85em;
|
|
font-weight: 500;
|
|
line-height: 1.4em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-time {
|
|
width: 56px;
|
|
color: #ababab;
|
|
font-family: inherit;
|
|
font-size: .85em;
|
|
font-weight: 500;
|
|
line-height: 1.4em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-duration {
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-play-icon,
|
|
.gh-whats-new .kg-audio-pause-icon {
|
|
position: relative;
|
|
bottom: 1px;
|
|
padding: 0px 4px 0 0;
|
|
font-size: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-hide {
|
|
display: none !important;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-play-icon svg,
|
|
.gh-whats-new .kg-audio-pause-icon svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-seek-slider {
|
|
flex-grow: 1;
|
|
margin: 0 4px;
|
|
width: 100%;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.gh-whats-new .kg-audio-seek-slider {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-playback-rate {
|
|
min-width: 37px;
|
|
padding: 0 4px;
|
|
font-family: inherit;
|
|
font-size: .85em;
|
|
font-weight: 600;
|
|
line-height: 1.4em;
|
|
text-align: left;
|
|
background: transparent;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.gh-whats-new .kg-audio-playback-rate {
|
|
padding-left: 8px;
|
|
}
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-mute-icon,
|
|
.gh-whats-new .kg-audio-unmute-icon {
|
|
position: relative;
|
|
bottom: -1px;
|
|
padding: 0 4px;
|
|
font-size: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.gh-whats-new .kg-audio-mute-icon,
|
|
.gh-whats-new .kg-audio-unmute-icon {
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-mute-icon svg,
|
|
.gh-whats-new .kg-audio-unmute-icon svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-volume-slider {
|
|
flex-grow: 1;
|
|
width: 100%;
|
|
min-width: 50px;
|
|
max-width: 80px;
|
|
}
|
|
|
|
@media (max-width: 400px) {
|
|
.gh-whats-new .kg-audio-volume-slider {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-seek-slider::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
width: var(--seek-before-width) !important;
|
|
height: 4px;
|
|
cursor: pointer;
|
|
background-color: currentColor;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-volume-slider::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
width: var(--volume-before-width) !important;
|
|
height: 4px;
|
|
cursor: pointer;
|
|
background-color: currentColor;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* Resetting browser styles
|
|
/* --------------------------------------------------------------- */
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type=range] {
|
|
position: relative;
|
|
-webkit-appearance: none;
|
|
background: transparent;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type=range]:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type=range]::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type=range]::-ms-track {
|
|
cursor: pointer;
|
|
border-color: transparent;
|
|
color: transparent;
|
|
background: transparent;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container button {
|
|
display: flex;
|
|
align-items: center;
|
|
border: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type="range"] {
|
|
height: auto;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
/* Chrome & Safari styles
|
|
/* --------------------------------------------------------------- */
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type="range"]::-webkit-slider-runnable-track {
|
|
width: 100%;
|
|
height: 4px;
|
|
cursor: pointer;
|
|
background: rgba(124, 139, 154, 0.25);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type="range"]::-webkit-slider-thumb {
|
|
position: relative;
|
|
box-sizing: content-box;
|
|
width: 13px;
|
|
height: 13px;
|
|
margin: -5px 0 0 0;
|
|
border: 0;
|
|
cursor: pointer;
|
|
background: #fff;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,0.24);
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type="range"]:active::-webkit-slider-thumb {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
/* Firefox styles
|
|
/* --------------------------------------------------------------- */
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type="range"]::-moz-range-track {
|
|
width: 100%;
|
|
height: 4px;
|
|
cursor: pointer;
|
|
background: rgba(124, 139, 154, 0.25);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type="range"]::-moz-range-progress {
|
|
background: currentColor;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type="range"]::-moz-range-thumb {
|
|
box-sizing: content-box;
|
|
width: 13px;
|
|
height: 13px;
|
|
border: 0;
|
|
cursor: pointer;
|
|
background: #fff;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,0.24);
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type="range"]:active::-moz-range-thumb {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
/* Edge & IE styles
|
|
/* --------------------------------------------------------------- */
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type="range"]::-ms-track {
|
|
width: 100%;
|
|
height: 3px;
|
|
border: solid transparent;
|
|
color: transparent;
|
|
cursor: pointer;
|
|
background: transparent;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type="range"]::-ms-fill-lower {
|
|
background: #fff;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type="range"]::-ms-fill-upper {
|
|
background: currentColor;
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type="range"]::-ms-thumb {
|
|
box-sizing: content-box;
|
|
width: 13px;
|
|
height: 13px;
|
|
border: 0;
|
|
cursor: pointer;
|
|
background: #fff;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,0.24);
|
|
}
|
|
|
|
.gh-whats-new .kg-audio-player-container input[type="range"]:active::-ms-thumb {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
margin-bottom: 1.5em;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card-container {
|
|
display: grid;
|
|
grid-template-columns: auto min-content;
|
|
align-items: center;
|
|
grid-row-gap: 16px;
|
|
background: transparent;
|
|
max-width: 550px;
|
|
width: 100%;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card-image {
|
|
grid-column: 1 / 3;
|
|
justify-self: center;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card-title-container {
|
|
grid-column: 1 / 2;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card h4.kg-product-card-title {
|
|
font-family: var(--font-family);
|
|
text-decoration: none;
|
|
font-weight: 700;
|
|
font-size: 1.4em;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
line-height: 1.15em;
|
|
text-transform: none;
|
|
color: inherit;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card-description {
|
|
grid-column: 1 / 3;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card .kg-product-card-description p,
|
|
.gh-whats-new .kg-product-card .kg-product-card-description ol,
|
|
.gh-whats-new .kg-product-card .kg-product-card-description ul {
|
|
font-family: var(--font-family);
|
|
font-size: 0.9em;
|
|
line-height: 1.5em;
|
|
opacity: .7;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card .kg-product-card-description p:not(:first-of-type) {
|
|
margin-top: 0.8em;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card .kg-product-card-description p:first-of-type {
|
|
margin-top: -4px;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card .kg-product-card-description ul,
|
|
.gh-whats-new .kg-product-card .kg-product-card-description ol {
|
|
margin-top: 0.95em;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card .kg-product-card-description li+li {
|
|
margin-top: 0.2em;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card-rating {
|
|
display: flex;
|
|
align-items: center;
|
|
grid-column: 2 / 3;
|
|
align-self: start;
|
|
justify-self: end;
|
|
padding-left: 16px;
|
|
}
|
|
|
|
@media (max-width: 400px) {
|
|
.gh-whats-new .kg-product-card-title-container {
|
|
grid-column: 1 / 3;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card-rating {
|
|
grid-column: 1 / 3;
|
|
justify-self: start;
|
|
margin-top: -15px;
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card-rating-star {
|
|
height: 28px;
|
|
width: 20px;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card-rating-star svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
fill: currentColor;
|
|
opacity: 0.15;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card-rating-star svg path {
|
|
fill: unset;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card-rating-active.kg-product-card-rating-star svg {
|
|
opacity: 1;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card a.kg-product-card-button {
|
|
justify-content: center;
|
|
grid-column: 1 / 3;
|
|
display: flex;
|
|
position: static;
|
|
align-items: center;
|
|
font-family: var(--font-family);
|
|
font-size: 0.95em;
|
|
font-weight: 600;
|
|
line-height: 1em;
|
|
text-decoration: none;
|
|
width: 100%;
|
|
height: 2.4em;
|
|
border-radius: 5px;
|
|
padding: 0 1.2em;
|
|
transition: opacity 0.2s ease-in-out;
|
|
margin: 0;
|
|
}
|
|
|
|
.gh-whats-new .kg-product-card a.kg-product-card-btn-accent {
|
|
background-color: var(--accent-color);
|
|
color: #fff;
|
|
}
|
|
|
|
.gh-whats-new .kg-blockquote-alt {
|
|
font-size: 1.5em;
|
|
font-style: italic;
|
|
line-height: 1.7em;
|
|
text-align: center;
|
|
padding: 0 2.5em;
|
|
}
|
|
|
|
@media (max-width: 800px) {
|
|
.gh-whats-new .kg-blockquote-alt {
|
|
font-size: 1.4em;
|
|
padding-left: 2em;
|
|
padding-right: 2em;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.gh-whats-new .kg-blockquote-alt {
|
|
font-size: 1.2em;
|
|
padding-left: 1.75em;
|
|
padding-right: 1.75em;
|
|
}
|
|
}
|
|
|
|
.gh-whats-new .kg-button-card {
|
|
display: flex;
|
|
position: static;
|
|
align-items: center;
|
|
width: 100%;
|
|
justify-content: flex-start;
|
|
padding: 30px 0;
|
|
}
|
|
|
|
.gh-whats-new .kg-button-card.kg-align-left {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.gh-whats-new .kg-button-card a.kg-btn {
|
|
display: flex;
|
|
position: static;
|
|
align-items: center;
|
|
padding: 0 1.2em;
|
|
height: 2.4em;
|
|
line-height: 1em;
|
|
font-family: var(--font-family);
|
|
font-size: 0.95em;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
border-radius: 5px;
|
|
transition: opacity 0.2s ease-in-out;
|
|
}
|
|
|
|
.gh-whats-new .kg-button-card a.kg-btn:hover {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.gh-whats-new .kg-button-card a.kg-btn-accent {
|
|
background-color: var(--accent-color);
|
|
color: #fff;
|
|
}
|
|
|
|
.gh-whats-new .kg-callout-card {
|
|
display: flex;
|
|
padding: 1.2em 1.6em;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.gh-whats-new .kg-callout-card-grey {
|
|
background: rgba(124, 139, 154, 0.13);
|
|
}
|
|
|
|
.gh-whats-new .kg-callout-card-white {
|
|
background: transparent;
|
|
box-shadow: inset 0 0 0 1px rgba(124, 139, 154, 0.25);
|
|
}
|
|
|
|
.gh-whats-new .kg-callout-card-blue {
|
|
background: rgba(33, 172, 232, 0.12);
|
|
}
|
|
|
|
.gh-whats-new .kg-callout-card-green {
|
|
background: rgba(52, 183, 67, 0.12);
|
|
}
|
|
|
|
.gh-whats-new .kg-callout-card-yellow {
|
|
background: rgba(240, 165, 15, 0.13);
|
|
}
|
|
|
|
.gh-whats-new .kg-callout-card-red {
|
|
background: rgba(209, 46, 46, 0.11);
|
|
}
|
|
|
|
.gh-whats-new .kg-callout-card-pink {
|
|
background: rgba(225, 71, 174, 0.11);
|
|
}
|
|
|
|
.gh-whats-new .kg-callout-card-purple {
|
|
background: rgba(135, 85, 236, 0.12);
|
|
}
|
|
|
|
.gh-whats-new .kg-callout-card-accent {
|
|
background: var(--ghost-accent-color);
|
|
color: #fff;
|
|
}
|
|
|
|
.gh-whats-new .kg-callout-card-accent a {
|
|
color: #fff;
|
|
}
|
|
|
|
.gh-whats-new .kg-callout-card div.kg-callout-emoji {
|
|
padding-right: .8em;
|
|
line-height: 1.25em;
|
|
font-size: 1.15em;
|
|
}
|
|
|
|
.gh-whats-new .kg-callout-card div.kg-callout-text {
|
|
font-size: .95em;
|
|
line-height: 1.5em;
|
|
}
|
|
|
|
.gh-whats-new .kg-callout-card + .kg-callout-card {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card {
|
|
display: flex;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card a.kg-file-card-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
color: inherit;
|
|
padding: 6px;
|
|
min-height: 92px;
|
|
border: 1px solid rgb(124 139 154 / 25%);
|
|
border-radius: 3px;
|
|
transition: all ease-in-out 0.35s;
|
|
text-decoration: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card a.kg-file-card-container:hover {
|
|
border: 1px solid rgb(124 139 154 / 35%);
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-contents {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
margin: 4px 8px;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-title {
|
|
font-size: 1.15em;
|
|
font-weight: 700;
|
|
line-height: 1.3em;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-caption {
|
|
font-size: 0.95em;
|
|
line-height: 1.5em;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-metadata {
|
|
display: inline;
|
|
font-size: 0.825em;
|
|
line-height: 1.5em;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-filename {
|
|
display: inline;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-filesize {
|
|
display: inline-block;
|
|
font-size: 0.925em;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-filesize:before {
|
|
display: inline-block;
|
|
content: "\2022";
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-icon {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 80px;
|
|
min-width: 80px;
|
|
height: 100%;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-icon:before {
|
|
position: absolute;
|
|
display: block;
|
|
content: "";
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: currentColor;
|
|
opacity: 0.06;
|
|
transition: opacity ease-in-out 0.35s;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card a.kg-file-card-container:hover .kg-file-card-icon:before {
|
|
opacity: 0.08;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-icon svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
color: var(--ghost-accent-color);
|
|
}
|
|
|
|
/* Size variations */
|
|
.gh-whats-new .kg-file-card-medium a.kg-file-card-container {
|
|
min-height: 72px;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-medium .kg-file-card-caption {
|
|
opacity: 1.0;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-small a.kg-file-card-container {
|
|
min-height: 52px;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-small .kg-file-card-metadata {
|
|
font-size: 1.0em;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-small .kg-file-card-icon svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card + .kg-file-card {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.gh-whats-new .kg-nft-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
width: 100%;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.gh-whats-new .kg-nft-card a.kg-nft-card-container {
|
|
position: static;
|
|
display: flex;
|
|
flex: auto;
|
|
flex-direction: column;
|
|
text-decoration: none;
|
|
font-family: var(--font-family);
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
box-shadow: 0 2px 6px -2px rgb(0 0 0 / 10%), 0 0 1px rgb(0 0 0 / 40%);
|
|
width: 100%;
|
|
max-width: 512px;
|
|
color: #222;
|
|
background: #fff;
|
|
border-radius: 5px;
|
|
transition: none;
|
|
}
|
|
|
|
.gh-whats-new .kg-nft-card * {
|
|
position: static;
|
|
}
|
|
|
|
.gh-whats-new .kg-nft-metadata {
|
|
padding: 20px;
|
|
width: 100%;
|
|
}
|
|
|
|
.gh-whats-new .kg-nft-image {
|
|
border-radius: 5px 5px 0 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.gh-whats-new .kg-nft-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 20px;
|
|
}
|
|
|
|
.gh-whats-new .kg-nft-header h4.kg-nft-title {
|
|
font-family: inherit;
|
|
font-size: 19px;
|
|
font-weight: 700;
|
|
line-height: 1.3em;
|
|
min-width: unset;
|
|
max-width: unset;
|
|
margin: 0;
|
|
color: #222;
|
|
}
|
|
|
|
.gh-whats-new .kg-nft-opensea-logo {
|
|
margin-top: 2px;
|
|
width: 100px;
|
|
object-fit: scale-down;
|
|
}
|
|
|
|
.gh-whats-new .kg-nft-creator {
|
|
font-family: inherit;
|
|
line-height: 1.4em;
|
|
margin: 4px 0 0;
|
|
color: #ababab;
|
|
}
|
|
|
|
.gh-whats-new .kg-nft-creator span {
|
|
font-weight: 500;
|
|
color: #222;
|
|
}
|
|
|
|
.gh-whats-new .kg-nft-card p.kg-nft-description {
|
|
font-family: inherit;
|
|
font-size: 14px;
|
|
line-height: 1.4em;
|
|
margin: 20px 0 0;
|
|
color: #222;
|
|
}
|
|
|
|
.gh-whats-new .kg-toggle-card {
|
|
background: transparent;
|
|
box-shadow: inset 0 0 0 1px rgba(124, 139, 154, 0.25);
|
|
border-radius: 4px;
|
|
padding: 1.2em;
|
|
}
|
|
|
|
.gh-whats-new .kg-toggle-card[data-kg-toggle-state="close"] .kg-toggle-content{
|
|
height: 0;
|
|
overflow: hidden;
|
|
transition: opacity .5s ease, top .35s ease;
|
|
opacity: 0;
|
|
top: -0.5em;
|
|
position: relative;
|
|
}
|
|
|
|
.gh-whats-new .kg-toggle-content {
|
|
height: auto;
|
|
opacity: 1;
|
|
transition: opacity 1s ease, top .35s ease;
|
|
top: 0;
|
|
position: relative;
|
|
}
|
|
|
|
.gh-whats-new .kg-toggle-card[data-kg-toggle-state="close"] svg {
|
|
transform: unset;
|
|
}
|
|
|
|
.gh-whats-new .kg-toggle-heading {
|
|
cursor: pointer;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.gh-whats-new .kg-toggle-card h4.kg-toggle-heading-text {
|
|
font-size: 1.15em;
|
|
font-weight: 700;
|
|
line-height: 1.3em;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
text-transform: none;
|
|
color: inherit;
|
|
}
|
|
|
|
.gh-whats-new .kg-toggle-content p:first-of-type {
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
.gh-whats-new .kg-toggle-card .kg-toggle-content p,
|
|
.gh-whats-new .kg-toggle-card .kg-toggle-content ol,
|
|
.gh-whats-new .kg-toggle-card .kg-toggle-content ul {
|
|
font-size: 0.95em;
|
|
line-height: 1.5em;
|
|
margin-top: 0.95em;
|
|
}
|
|
|
|
.gh-whats-new .kg-toggle-card li + li {
|
|
margin-top: 0.5em;
|
|
}
|
|
|
|
.gh-whats-new .kg-toggle-card-icon {
|
|
height: 24px;
|
|
width: 24px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-left: 1em;
|
|
background: none;
|
|
border: 0;
|
|
}
|
|
|
|
.gh-whats-new .kg-toggle-heading svg {
|
|
width: 14px;
|
|
color: rgba(124, 139, 154, 0.5);
|
|
transition: all 0.3s;
|
|
transform: rotate(-180deg);
|
|
}
|
|
|
|
.gh-whats-new .kg-toggle-heading path {
|
|
fill: none;
|
|
stroke: currentcolor;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
stroke-width: 1.5;
|
|
fill-rule: evenodd;
|
|
}
|
|
|
|
.gh-whats-new .kg-toggle-card + .kg-toggle-card {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card {
|
|
position: relative;
|
|
--seek-before-width: 0%;
|
|
--volume-before-width: 100%;
|
|
--buffered-width: 0%;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card video {
|
|
display: block;
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-container {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-image: linear-gradient(180deg,rgba(0,0,0,0.3) 0,transparent 70%,transparent 100%);
|
|
z-index: 99;
|
|
transition: opacity .2s ease-in-out;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-large-play-icon {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 72px;
|
|
height: 72px;
|
|
padding: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
border-radius: 50%;
|
|
transition: opacity .2s ease-in-out;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-large-play-icon svg {
|
|
width: 20px;
|
|
height: auto;
|
|
margin-left: 2px;
|
|
fill: #fff;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-player-container {
|
|
position: absolute;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 80px;
|
|
background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.5));
|
|
z-index: 99;
|
|
transition: opacity .2s ease-in-out;
|
|
|
|
}
|
|
|
|
.gh-whats-new .kg-video-player {
|
|
position: absolute;
|
|
bottom: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
z-index: 99;
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-current-time {
|
|
min-width: 38px;
|
|
padding: 0 4px;
|
|
color: #fff;
|
|
font-family: inherit;
|
|
font-size: .85em;
|
|
font-weight: 500;
|
|
line-height: 1.4em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-time {
|
|
color: rgba(255, 255, 255, 0.6);
|
|
font-family: inherit;
|
|
font-size: .85em;
|
|
font-weight: 500;
|
|
line-height: 1.4em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-duration {
|
|
padding: 0 4px;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-play-icon,
|
|
.gh-whats-new .kg-video-pause-icon {
|
|
position: relative;
|
|
padding: 0px 4px 0 0;
|
|
font-size: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-hide {
|
|
display: none !important;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-hide-animated {
|
|
opacity: 0 !important;
|
|
transition: opacity .2s ease-in-out;
|
|
cursor: initial;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-play-icon svg,
|
|
.gh-whats-new .kg-video-pause-icon svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
fill: #fff;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-seek-slider {
|
|
flex-grow: 1;
|
|
margin: 0 4px;
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.gh-whats-new .kg-video-seek-slider {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.gh-whats-new .kg-video-playback-rate {
|
|
min-width: 37px;
|
|
padding: 0 4px;
|
|
color: #fff;
|
|
font-family: inherit;
|
|
font-size: .85em;
|
|
font-weight: 600;
|
|
line-height: 1.4em;
|
|
text-align: left;
|
|
background: transparent;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.gh-whats-new .kg-video-playback-rate {
|
|
padding-left: 8px;
|
|
}
|
|
}
|
|
|
|
.gh-whats-new .kg-video-mute-icon,
|
|
.gh-whats-new .kg-video-unmute-icon {
|
|
position: relative;
|
|
bottom: -1px;
|
|
padding: 0 4px;
|
|
font-size: 0;
|
|
background: transparent;
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.gh-whats-new .kg-video-mute-icon,
|
|
.gh-whats-new .kg-video-unmute-icon {
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
|
|
.gh-whats-new .kg-video-mute-icon svg,
|
|
.gh-whats-new .kg-video-unmute-icon svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
fill: #fff;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-volume-slider {
|
|
width: 80px;
|
|
}
|
|
|
|
@media (max-width: 300px) {
|
|
.gh-whats-new .kg-video-volume-slider {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.gh-whats-new .kg-video-seek-slider::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
width: var(--seek-before-width) !important;
|
|
height: 4px;
|
|
cursor: pointer;
|
|
background-color: #EBEEF0;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-volume-slider::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
width: var(--volume-before-width) !important;
|
|
height: 4px;
|
|
cursor: pointer;
|
|
background-color: #EBEEF0;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
/* Resetting browser styles
|
|
/* --------------------------------------------------------------- */
|
|
|
|
.gh-whats-new .kg-video-card input[type=range] {
|
|
position: relative;
|
|
-webkit-appearance: none;
|
|
background: transparent;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card input[type=range]:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card input[type=range]::-webkit-slider-thumb {
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card input[type=range]::-ms-track {
|
|
cursor: pointer;
|
|
border-color: transparent;
|
|
color: transparent;
|
|
background: transparent;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card button {
|
|
display: flex;
|
|
align-items: center;
|
|
border: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card input[type="range"] {
|
|
height: auto;
|
|
padding: 0;
|
|
border: 0;
|
|
}
|
|
|
|
/* Chrome & Safari styles
|
|
/* --------------------------------------------------------------- */
|
|
|
|
.gh-whats-new .kg-video-card input[type="range"]::-webkit-slider-runnable-track {
|
|
width: 100%;
|
|
height: 4px;
|
|
cursor: pointer;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card input[type="range"]::-webkit-slider-thumb {
|
|
position: relative;
|
|
box-sizing: content-box;
|
|
width: 13px;
|
|
height: 13px;
|
|
margin: -5px 0 0 0;
|
|
border: 0;
|
|
cursor: pointer;
|
|
background: #fff;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,0.24);
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card input[type="range"]:active::-webkit-slider-thumb {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
/* Firefox styles
|
|
/* --------------------------------------------------------------- */
|
|
|
|
.gh-whats-new .kg-video-card input[type="range"]::-moz-range-track {
|
|
width: 100%;
|
|
height: 4px;
|
|
cursor: pointer;
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card input[type="range"]::-moz-range-progress {
|
|
background: #EBEEF0;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card input[type="range"]::-moz-range-thumb {
|
|
box-sizing: content-box;
|
|
width: 13px;
|
|
height: 13px;
|
|
border: 0;
|
|
cursor: pointer;
|
|
background: #fff;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,0.24);
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card input[type="range"]:active::-moz-range-thumb {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
/* Edge & IE styles
|
|
/* --------------------------------------------------------------- */
|
|
|
|
.gh-whats-new .kg-video-card input[type="range"]::-ms-track {
|
|
width: 100%;
|
|
height: 3px;
|
|
border: solid transparent;
|
|
color: transparent;
|
|
cursor: pointer;
|
|
background: transparent;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card input[type="range"]::-ms-fill-lower {
|
|
background: #fff;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card input[type="range"]::-ms-fill-upper {
|
|
background: #EBEEF0;
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card input[type="range"]::-ms-thumb {
|
|
box-sizing: content-box;
|
|
width: 13px;
|
|
height: 13px;
|
|
border: 0;
|
|
cursor: pointer;
|
|
background: #fff;
|
|
border-radius: 50%;
|
|
box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,0.24);
|
|
}
|
|
|
|
.gh-whats-new .kg-video-card input[type="range"]:active::-ms-thumb {
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
/* File card styles */
|
|
.gh-whats-new .kg-file-card {
|
|
display: flex;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card a.kg-file-card-container {
|
|
display: flex;
|
|
align-items: stretch;
|
|
justify-content: space-between;
|
|
color: inherit;
|
|
padding: 6px;
|
|
min-height: 92px;
|
|
border: 1px solid rgb(124 139 154 / 25%);
|
|
border-radius: 3px;
|
|
transition: all ease-in-out 0.35s;
|
|
text-decoration: none;
|
|
width: 100%;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card a.kg-file-card-container:hover {
|
|
border: 1px solid rgb(124 139 154 / 35%);
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-contents {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
margin: 4px 8px;
|
|
width: 100%
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-title {
|
|
font-size: 1.15em;
|
|
font-weight: 700;
|
|
line-height: 1.3em;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-caption {
|
|
font-size: 0.95em;
|
|
line-height: 1.3em;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-title + .kg-file-card-caption {
|
|
margin-top: -6px;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-metadata {
|
|
display: inline;
|
|
font-size: 0.825em;
|
|
line-height: 1.3em;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-filename {
|
|
display: inline;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-filesize {
|
|
display: inline-block;
|
|
font-size: 0.925em;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-filesize:before {
|
|
display: inline-block;
|
|
content: "\2022";
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-icon {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 80px;
|
|
min-width: 80px;
|
|
height: 100%;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-icon:before {
|
|
position: absolute;
|
|
display: block;
|
|
content: "";
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: currentColor;
|
|
opacity: 0.06;
|
|
transition: opacity ease-in-out 0.35s;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card a.kg-file-card-container:hover .kg-file-card-icon:before {
|
|
opacity: 0.08;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-icon svg {
|
|
width: 24px;
|
|
height: 24px;
|
|
color: var(--ghost-accent-color);
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-medium a.kg-file-card-container {
|
|
min-height: 72px;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-medium .kg-file-card-caption {
|
|
opacity: 1.0;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-small a.kg-file-card-container {
|
|
align-items: center;
|
|
min-height: 52px;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-small .kg-file-card-metadata {
|
|
font-size: 1.0em;
|
|
margin-top: 0;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card-small .kg-file-card-icon svg {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
|
|
.gh-whats-new .kg-file-card + .kg-file-card {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
/* Header card */
|
|
|
|
.gh-whats-new .kg-header-card {
|
|
padding: 12vmin 4em;
|
|
min-height: 20vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
margin-bottom: 1.5em;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-size-small {
|
|
padding-top: 8vmin;
|
|
padding-bottom: 8vmin;
|
|
min-height: 12vh;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-size-large {
|
|
padding-top: 12vmin;
|
|
padding-bottom: 12vmin;
|
|
min-height: 40vh;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-align-left {
|
|
text-align: left;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-style-dark {
|
|
background: #151515;
|
|
color: #ffffff;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-style-light {
|
|
background-color: #fafafa;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-style-accent {
|
|
background-color: var(--accent-color);
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-style-image {
|
|
position: relative;
|
|
background-color: #e7e7e7;
|
|
background-size: cover;
|
|
background-position: center;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-style-image::before {
|
|
position: absolute;
|
|
display: block;
|
|
content: "";
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
background: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2));
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card h2.kg-header-card-header {
|
|
font-size: 5em;
|
|
font-weight: 700;
|
|
line-height: 1.1em;
|
|
letter-spacing: -0.01em;
|
|
margin: 0;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card h2.kg-header-card-header strong {
|
|
font-weight: 800;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-size-small h2.kg-header-card-header {
|
|
font-size: 4em;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-size-large h2.kg-header-card-header {
|
|
font-size: 6em;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card h3.kg-header-card-subheader {
|
|
font-size: 1.5em;
|
|
font-weight: 500;
|
|
line-height: 1.4em;
|
|
margin: 0;
|
|
max-width: 40em;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card h2 + h3.kg-header-card-subheader {
|
|
margin: 0.35em 0 0;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card h3.kg-header-card-subheader strong {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-size-small h3.kg-header-card-subheader {
|
|
font-size: 1.25em;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-size-large h3.kg-header-card-subheader {
|
|
font-size: 1.75em;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card:not(.kg-style-light) h2.kg-header-card-header,
|
|
.gh-whats-new .kg-header-card:not(.kg-style-light) h3.kg-header-card-subheader {
|
|
color: #ffffff;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-style-accent h3.kg-header-card-subheader,
|
|
.gh-whats-new .kg-header-card.kg-style-image h3.kg-header-card-subheader {
|
|
opacity: 1.0;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-style-image h2.kg-header-card-header,
|
|
.gh-whats-new .kg-header-card.kg-style-image h3.kg-header-card-subheader,
|
|
.gh-whats-new .kg-header-card.kg-style-image a.kg-header-card-button {
|
|
z-index: 99;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card h2.kg-header-card-header a,
|
|
.gh-whats-new .kg-header-card h3.kg-header-card-subheader a {
|
|
color: var(--ghost-accent-color);
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-style-accent h2.kg-header-card-header a,
|
|
.gh-whats-new .kg-header-card.kg-style-accent h3.kg-header-card-subheader a,
|
|
.gh-whats-new .kg-header-card.kg-style-image h2.kg-header-card-header a,
|
|
.gh-whats-new .kg-header-card.kg-style-image h3.kg-header-card-subheader a {
|
|
color: #fff;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card a.kg-header-card-button {
|
|
display: flex;
|
|
position: static;
|
|
align-items: center;
|
|
fill: #fff;
|
|
background: #fff;
|
|
border-radius: 3px;
|
|
outline: none;
|
|
font-family: var(--font-family);
|
|
font-size: 1.05em;
|
|
font-weight: 600;
|
|
line-height: 1em;
|
|
text-align: center;
|
|
text-decoration: none;
|
|
letter-spacing: .2px;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
color: #151515;
|
|
height: 2.7em;
|
|
padding: 0 1.2em;
|
|
transition: opacity .2s ease;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card h2 + a.kg-header-card-button,
|
|
.gh-whats-new .kg-header-card h3 + a.kg-header-card-button {
|
|
margin: 1.75em 0 0;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card a.kg-header-card-button:hover {
|
|
opacity: 0.85;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-size-large a.kg-header-card-button {
|
|
font-size: 1.1em;
|
|
height: 2.9em;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-size-large h2 + a.kg-header-card-button,
|
|
.gh-whats-new .kg-header-card.kg-size-large h3 + a.kg-header-card-button {
|
|
margin-top: 2em;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-size-small a.kg-header-card-button {
|
|
height: 2.4em;
|
|
font-size: 1em;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-size-small h2 + a.kg-header-card-button,
|
|
.gh-whats-new .kg-header-card.kg-size-small h3 + a.kg-header-card-button {
|
|
margin-top: 1.5em;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-style-image a.kg-header-card-button,
|
|
.gh-whats-new .kg-header-card.kg-style-dark a.kg-header-card-button {
|
|
background: #fff;
|
|
color: #151515;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-style-light a.kg-header-card-button {
|
|
background: var(--ghost-accent-color);
|
|
color: #fff;
|
|
}
|
|
|
|
.gh-whats-new .kg-header-card.kg-style-accent a.kg-header-card-button {
|
|
background: #fff;
|
|
color: #151515;
|
|
} |