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