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 19:56:06 +03:00
|
|
|
.gh-post-history .settings-menu-header.subview {
|
|
|
|
max-width: 420px;
|
2023-04-20 19:47:24 +03:00
|
|
|
padding: 3.6rem 2.4rem;
|
|
|
|
border-bottom: 1px solid var(--whitegrey);
|
2023-04-19 19:56:06 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-history .settings-menu-content {
|
2023-04-20 19:47:24 +03:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-between;
|
|
|
|
height: 100%;
|
|
|
|
padding: 96px 0 0;
|
2023-04-19 19:56:06 +03:00
|
|
|
}
|
|
|
|
|
2023-04-19 15:07:51 +03:00
|
|
|
.gh-post-history .nav-list-item.active {
|
|
|
|
background: var(--whitegrey-l2);
|
|
|
|
}
|
|
|
|
|
2023-04-18 14:10:51 +03:00
|
|
|
.nav-list-item .gh-post-history-version-meta {
|
2023-04-19 18:25:12 +03:00
|
|
|
margin-top: 4px;
|
2023-04-18 14:10:51 +03:00
|
|
|
color: var(--midgrey);
|
2023-04-19 18:25:12 +03:00
|
|
|
font-size: 1.35rem;
|
2023-04-18 14:10:51 +03:00
|
|
|
font-weight: 400;
|
2023-04-17 18:40:32 +03:00
|
|
|
}
|
|
|
|
|
2023-04-21 15:52:08 +03:00
|
|
|
.nav-list-item .gh-post-history-version-meta.anonymous-author {
|
|
|
|
color: var(--lightgrey);
|
|
|
|
}
|
|
|
|
|
2023-04-21 11:25:24 +03:00
|
|
|
.nav-list-item .gh-post-history-version-tag {
|
2023-04-19 18:25:12 +03:00
|
|
|
margin-left: .8rem;
|
2023-04-21 11:25:24 +03:00
|
|
|
padding: 0 5px;
|
2023-04-18 16:28:21 +03:00
|
|
|
font-size: 1.1rem;
|
2023-04-21 11:25:24 +03:00
|
|
|
font-weight: 600;
|
2023-04-18 16:28:21 +03:00
|
|
|
line-height: inherit;
|
|
|
|
text-transform: uppercase;
|
|
|
|
letter-spacing: .2px;
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
}
|
|
|
|
|
2023-04-21 11:25:24 +03:00
|
|
|
.nav-list-item .gh-post-history-version-tag.current {
|
|
|
|
background: var(--lightgrey-l2);
|
|
|
|
color: var(--darkgrey);
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-list-item .gh-post-history-version-tag.published {
|
|
|
|
background: var(--green-d1);
|
|
|
|
color: var(--white);
|
|
|
|
}
|
|
|
|
|
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 {
|
2023-04-20 19:47:24 +03:00
|
|
|
color: var(--midgrey);
|
2023-04-19 15:07:51 +03:00
|
|
|
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-20 19:47:24 +03:00
|
|
|
.gh-post-history-footer {
|
|
|
|
position: sticky;
|
|
|
|
-webkit-position: sticky;
|
|
|
|
bottom: -24px;
|
|
|
|
z-index: 9997;
|
|
|
|
height: 104px;
|
|
|
|
-webkit-backface-visibility: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-history-footer::before,
|
|
|
|
.gh-post-history-footer::after {
|
|
|
|
content: "";
|
|
|
|
position: sticky;
|
|
|
|
-webkit-position: sticky;
|
|
|
|
display: block;
|
|
|
|
height: 24px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-history-footer::before {
|
|
|
|
z-index: 9998;
|
|
|
|
bottom: 0;
|
|
|
|
background: var(--white);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-history-footer::after {
|
|
|
|
bottom: 64px;
|
|
|
|
box-shadow: 0 0 0 1px rgba(0,0,0,.04), 0 -8px 16px -3px rgba(0,0,0,.15);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-history-footer .gh-toggle-featured {
|
|
|
|
position: relative;
|
|
|
|
width: 34px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-history-footer-inner {
|
|
|
|
position: sticky;
|
|
|
|
-webkit-position: sticky;
|
|
|
|
bottom: 0;
|
|
|
|
z-index: 9999;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
height: 80px;
|
|
|
|
margin-bottom: -24px;
|
|
|
|
padding: var(--main-layout-area-padding);
|
|
|
|
background: var(--white);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-history-footer .for-switch.x-small {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-history-footer-inner .switch {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-start;
|
|
|
|
padding: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-history-footer .for-switch.x-small label {
|
|
|
|
width: inherit !important;
|
|
|
|
height: inherit !important;
|
|
|
|
}
|
|
|
|
|
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-20 19:47:24 +03:00
|
|
|
color: var(--black);
|
|
|
|
}
|
|
|
|
|
|
|
|
.gh-post-history .show-diff .gh-editor-title {
|
|
|
|
opacity: .4;
|
2023-04-18 16:28:21 +03:00
|
|
|
}
|
|
|
|
|
2023-04-20 19:47:24 +03:00
|
|
|
.gh-post-history-main .show-diff .koenig-lexical h1,
|
|
|
|
.gh-post-history-main .show-diff .koenig-lexical h2,
|
|
|
|
.gh-post-history-main .show-diff .koenig-lexical h3,
|
|
|
|
.gh-post-history-main .show-diff .koenig-lexical h4,
|
|
|
|
.gh-post-history-main .show-diff .koenig-lexical h5,
|
|
|
|
.gh-post-history-main .show-diff .koenig-lexical p {
|
2023-04-18 16:28:21 +03:00
|
|
|
color: rgba(21, 23, 26, 0.4);
|
2023-04-18 11:20:24 +03:00
|
|
|
}
|
|
|
|
|
2023-04-20 19:47:24 +03:00
|
|
|
.gh-post-history-main .show-diff .koenig-lexical a:not(.gh-post-history-main .koenig-lexical del a):not(.gh-post-history-main .koenig-lexical ins a) {
|
2023-04-19 15:07:51 +03:00
|
|
|
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;
|
|
|
|
}
|