2023-04-18 14:10:51 +03:00
|
|
|
/* Modal */
|
|
|
|
|
2023-04-17 18:40:32 +03:00
|
|
|
.gh-post-history {
|
2023-04-18 11:20:24 +03:00
|
|
|
display: flex;
|
2023-04-17 18:40:32 +03:00
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fullscreen-modal-post-history .modal-content {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2023-04-18 14:10:51 +03:00
|
|
|
/* Sidebar */
|
2023-04-17 18:40:32 +03:00
|
|
|
|
2023-04-19 15:07:51 +03:00
|
|
|
.gh-post-history .nav-list-item.active {
|
|
|
|
background: var(--whitegrey-l2);
|
|
|
|
}
|
|
|
|
|
2023-04-18 16:28:21 +03:00
|
|
|
.nav-list-item .gh-post-history-version {
|
|
|
|
margin-bottom: 2px;
|
|
|
|
}
|
|
|
|
|
2023-04-18 14:10:51 +03:00
|
|
|
.nav-list-item .gh-post-history-version-meta {
|
|
|
|
color: var(--midgrey);
|
|
|
|
font-weight: 400;
|
2023-04-17 18:40:32 +03:00
|
|
|
}
|
|
|
|
|
2023-04-18 16:28:21 +03:00
|
|
|
.nav-list-item .gh-post-history-version-current {
|
|
|
|
margin-left: 1rem;
|
|
|
|
padding: 0 4px;
|
|
|
|
background: var(--lightgrey-l2);
|
|
|
|
color: var(--darkgrey);
|
|
|
|
font-size: 1.1rem;
|
|
|
|
font-weight: 500;
|
|
|
|
line-height: inherit;
|
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: .2px;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
|
2023-04-19 15:07:51 +03:00
|
|
|
.nav-list-item .gh-post-history-version-restore {
|
2023-04-19 16:55:32 +03:00
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
right: 24px;
|
|
|
|
width: inherit;
|
2023-04-19 15:07:51 +03:00
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-list-item .gh-post-history-version-restore span {
|
|
|
|
color: var(--red);
|
|
|
|
font-size: 1.35rem;
|
2023-04-19 16:55:32 +03:00
|
|
|
font-weight: 500;
|
2023-04-18 16:28:21 +03:00
|
|
|
}
|
|
|
|
|
2023-04-18 14:10:51 +03:00
|
|
|
/* Main content */
|
2023-04-18 11:20:24 +03:00
|
|
|
|
|
|
|
.gh-post-history-main {
|
2023-04-18 14:10:51 +03:00
|
|
|
position: relative;
|
2023-04-18 11:20:24 +03:00
|
|
|
width: 100%;
|
2023-04-18 14:10:51 +03:00
|
|
|
height: 100vh;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-history .gh-editor-title {
|
|
|
|
height: initial;
|
2023-04-18 11:20:24 +03:00
|
|
|
max-width: 740px;
|
2023-04-18 14:10:51 +03:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2023-04-18 16:28:21 +03:00
|
|
|
color: rgba(21, 23, 26, 0.4);
|
|
|
|
}
|
|
|
|
|
2023-04-19 15:07:51 +03:00
|
|
|
.gh-post-history-main .koenig-lexical h1,
|
|
|
|
.gh-post-history-main .koenig-lexical h2,
|
|
|
|
.gh-post-history-main .koenig-lexical h3,
|
|
|
|
.gh-post-history-main .koenig-lexical h4,
|
|
|
|
.gh-post-history-main .koenig-lexical h5,
|
2023-04-18 16:28:21 +03:00
|
|
|
.gh-post-history-main .koenig-lexical p {
|
|
|
|
color: rgba(21, 23, 26, 0.4);
|
2023-04-18 11:20:24 +03:00
|
|
|
}
|
|
|
|
|
2023-04-19 15:07:51 +03:00
|
|
|
.gh-post-history-main .koenig-lexical a:not(.gh-post-history-main .koenig-lexical del a):not(.gh-post-history-main .koenig-lexical ins a) {
|
|
|
|
opacity: .4;
|
|
|
|
}
|
|
|
|
|
2023-04-18 11:20:24 +03:00
|
|
|
.gh-post-history-main .koenig-lexical del {
|
2023-04-19 15:07:51 +03:00
|
|
|
color: var(--red-d1) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-history-main .koenig-lexical ins {
|
|
|
|
color: var(--black) !important;
|
|
|
|
text-decoration: none !important;
|
|
|
|
background-color: rgba(48, 207, 67, 0.15) !important;
|
2023-04-18 16:32:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-history-hidden-lexical {
|
|
|
|
display: none;
|
|
|
|
}
|