2013-12-11 21:41:34 -05:00
|
|
|
// styles that apply to the popup that appears when you show the edit history of a post
|
2013-09-05 15:37:07 -04:00
|
|
|
|
|
|
|
.modal.history-modal {
|
2023-08-03 16:01:40 -04:00
|
|
|
.modal-body:not(.theme-change-modal-body) {
|
2023-05-12 13:53:54 -04:00
|
|
|
max-height: 70vh;
|
|
|
|
}
|
|
|
|
|
2014-03-18 19:36:02 -04:00
|
|
|
#revision-numbers {
|
|
|
|
display: inline-block;
|
2014-10-28 10:56:24 -04:00
|
|
|
min-width: 96px;
|
2014-03-18 19:36:02 -04:00
|
|
|
text-align: center;
|
|
|
|
}
|
2017-01-26 21:49:17 -05:00
|
|
|
|
|
|
|
#revision {
|
2023-09-26 17:50:09 -04:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
padding-bottom: 0.5em;
|
|
|
|
align-items: center;
|
2017-01-26 21:49:17 -05:00
|
|
|
overflow: auto;
|
2020-08-03 22:57:10 -04:00
|
|
|
border-bottom: 3px solid var(--primary-low);
|
2017-01-26 21:49:17 -05:00
|
|
|
}
|
|
|
|
|
2023-09-26 17:50:09 -04:00
|
|
|
#revision-details {
|
|
|
|
display: flex;
|
|
|
|
align-items: baseline;
|
|
|
|
gap: 0.5em;
|
|
|
|
.d-icon {
|
|
|
|
align-self: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.revision__title,
|
|
|
|
.body-diff,
|
|
|
|
table.markdown > tbody > tr,
|
|
|
|
.-tag-revisions {
|
|
|
|
--gap-width: 1rem;
|
|
|
|
display: flex;
|
|
|
|
gap: 0 var(--gap-width);
|
|
|
|
}
|
|
|
|
|
|
|
|
.revision__title {
|
|
|
|
margin: 0;
|
|
|
|
line-height: var(--line-height-medium);
|
|
|
|
}
|
|
|
|
|
|
|
|
.-tag-revisions span,
|
2018-01-29 15:15:50 -05:00
|
|
|
.revision-content {
|
2023-09-26 17:50:09 -04:00
|
|
|
flex: 0 0 calc(50% - (var(--gap-width) / 2));
|
|
|
|
}
|
2019-03-29 00:38:44 -04:00
|
|
|
|
2023-09-26 17:50:09 -04:00
|
|
|
table.markdown {
|
|
|
|
tbody {
|
|
|
|
border: none;
|
2018-01-29 15:15:50 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-09-26 17:50:09 -04:00
|
|
|
#revision-controls {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
.btn {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
[class^="revision-controls--"] {
|
|
|
|
display: flex;
|
|
|
|
gap: 0 1em;
|
2018-02-23 21:41:40 -05:00
|
|
|
}
|
|
|
|
|
2023-05-23 20:59:13 -04:00
|
|
|
#revisions {
|
|
|
|
.row:first-of-type {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2023-05-30 17:29:04 -04:00
|
|
|
.revision-content table {
|
2023-05-23 20:59:13 -04:00
|
|
|
thead {
|
|
|
|
th {
|
|
|
|
padding-bottom: 2px;
|
|
|
|
font-weight: bold;
|
|
|
|
color: var(--primary);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
padding: 3px 3px 3px 0.5em;
|
|
|
|
img {
|
|
|
|
max-width: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2014-10-27 17:06:43 -04:00
|
|
|
}
|
2023-05-23 20:59:13 -04:00
|
|
|
|
2023-09-26 17:50:09 -04:00
|
|
|
#revision-footer-buttons {
|
|
|
|
display: flex;
|
|
|
|
gap: 0.5em;
|
|
|
|
button {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-06-08 05:49:31 -04:00
|
|
|
ins,
|
|
|
|
.diff-ins {
|
|
|
|
code,
|
|
|
|
img {
|
2020-08-03 22:57:10 -04:00
|
|
|
border: 2px solid var(--success);
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
|
|
|
img {
|
2018-06-08 05:49:31 -04:00
|
|
|
opacity: 0.75;
|
2013-12-11 21:41:34 -05:00
|
|
|
filter: alpha(opacity=75);
|
|
|
|
}
|
|
|
|
a {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--success);
|
2013-12-11 21:41:34 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
img.diff-ins,
|
|
|
|
code.diff-ins {
|
2020-08-03 22:57:10 -04:00
|
|
|
border: 2px solid var(--success);
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
|
|
|
img.diff-ins {
|
2018-06-08 05:49:31 -04:00
|
|
|
opacity: 0.75;
|
2013-12-11 21:41:34 -05:00
|
|
|
filter: alpha(opacity=75);
|
|
|
|
}
|
|
|
|
.diff-ins {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
|
|
|
background: var(--success-low);
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
ins {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
|
|
|
background: var(--success-low);
|
2018-06-29 02:42:26 -04:00
|
|
|
text-decoration: none;
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
del,
|
|
|
|
.diff-del {
|
|
|
|
code,
|
|
|
|
img {
|
2020-08-03 22:57:10 -04:00
|
|
|
border: 2px solid var(--danger);
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
|
|
|
img {
|
2018-06-08 05:49:31 -04:00
|
|
|
opacity: 0.5;
|
2013-12-11 21:41:34 -05:00
|
|
|
filter: alpha(opacity=50);
|
|
|
|
}
|
|
|
|
a {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--danger);
|
2013-12-11 21:41:34 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2018-06-08 05:49:31 -04:00
|
|
|
img.diff-del,
|
|
|
|
code.diff-del {
|
2020-08-03 22:57:10 -04:00
|
|
|
border: 2px solid var(--danger);
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
|
|
|
img.diff-del {
|
2018-06-08 05:49:31 -04:00
|
|
|
opacity: 0.5;
|
2013-12-11 21:41:34 -05:00
|
|
|
filter: alpha(opacity=50);
|
|
|
|
}
|
|
|
|
.diff-del {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
|
|
|
background: var(--danger-low);
|
2018-06-29 02:42:26 -04:00
|
|
|
text-decoration: none;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
del {
|
2020-08-03 22:57:10 -04:00
|
|
|
color: var(--primary);
|
|
|
|
background: var(--danger-low);
|
2018-06-29 02:42:26 -04:00
|
|
|
text-decoration: none;
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
|
|
|
span.date {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
span.edit-reason {
|
2023-02-21 04:15:49 -05:00
|
|
|
background-color: var(--highlight-bg);
|
2013-12-11 21:41:34 -05:00
|
|
|
padding: 3px 5px 5px 5px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
2017-11-23 11:14:51 -05:00
|
|
|
.d-icon-ban {
|
2023-09-26 17:50:09 -04:00
|
|
|
color: var(--danger);
|
2014-05-13 08:53:11 -04:00
|
|
|
}
|
2014-10-27 17:06:43 -04:00
|
|
|
.hidden-revision-either {
|
2018-06-08 05:49:31 -04:00
|
|
|
opacity: 0.5;
|
2014-10-27 17:06:43 -04:00
|
|
|
}
|
|
|
|
.hidden-revision-previous .row {
|
2018-06-08 05:49:31 -04:00
|
|
|
div:nth-of-type(1),
|
|
|
|
td:nth-of-type(1) {
|
|
|
|
opacity: 0.5;
|
2014-10-27 17:06:43 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.hidden-revision-current .row {
|
2018-06-08 05:49:31 -04:00
|
|
|
div:nth-of-type(2),
|
|
|
|
td:nth-of-type(2) {
|
|
|
|
opacity: 0.5;
|
2014-10-27 17:06:43 -04:00
|
|
|
}
|
2014-10-16 10:32:02 -04:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|