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 {
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
#revision-controls {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2014-10-28 05:06:43 +08:00
|
|
|
#revisions .row:first-of-type {
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2013-12-12 10:41:34 +08:00
|
|
|
ins, .diff-ins {
|
|
|
|
code, img {
|
2014-05-06 13:50:51 +08:00
|
|
|
border: 2px solid $success;
|
2013-12-12 10:41:34 +08:00
|
|
|
}
|
|
|
|
img {
|
|
|
|
opacity: .75;
|
|
|
|
filter: alpha(opacity=75);
|
|
|
|
}
|
|
|
|
a {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $success;
|
2013-12-12 10:41:34 +08:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
img.diff-ins, code.diff-ins {
|
2014-05-06 13:50:51 +08:00
|
|
|
border: 2px solid $success;
|
2013-12-12 10:41:34 +08:00
|
|
|
}
|
|
|
|
img.diff-ins {
|
|
|
|
opacity: .75;
|
|
|
|
filter: alpha(opacity=75);
|
|
|
|
}
|
|
|
|
.diff-ins {
|
2016-04-18 10:01:10 +08:00
|
|
|
color: dark-light-choose($primary, $secondary);
|
2017-10-11 04:07:46 +08:00
|
|
|
background: $success-low;
|
2013-12-12 10:41:34 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
ins {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $success;
|
2017-10-11 04:07:46 +08:00
|
|
|
background: $success-low;
|
2013-12-12 10:41:34 +08:00
|
|
|
}
|
|
|
|
del, .diff-del {
|
|
|
|
code, img {
|
2014-05-06 13:50:51 +08:00
|
|
|
border: 2px solid $danger;
|
2013-12-12 10:41:34 +08:00
|
|
|
}
|
|
|
|
img {
|
|
|
|
opacity: .5;
|
|
|
|
filter: alpha(opacity=50);
|
|
|
|
}
|
|
|
|
a {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $danger;
|
2013-12-12 10:41:34 +08:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
img.diff-del, code.diff-del {
|
2014-05-06 13:50:51 +08:00
|
|
|
border: 2px solid $danger;
|
2013-12-12 10:41:34 +08:00
|
|
|
}
|
|
|
|
img.diff-del {
|
|
|
|
opacity: .5;
|
|
|
|
filter: alpha(opacity=50);
|
|
|
|
}
|
|
|
|
.diff-del {
|
2017-10-11 04:07:46 +08:00
|
|
|
background: $danger-low;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
del {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $danger;
|
2017-10-11 04:07:46 +08:00
|
|
|
background: $danger-low;
|
2013-12-12 10:41:34 +08:00
|
|
|
}
|
|
|
|
span.date {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
span.edit-reason {
|
2014-05-06 13:50:51 +08:00
|
|
|
background-color: lighten($highlight, 23%);
|
2013-12-12 10:41:34 +08:00
|
|
|
padding: 3px 5px 5px 5px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
2017-07-28 03:03:41 +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 {
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
.hidden-revision-previous .row {
|
|
|
|
div:nth-of-type(1), td:nth-of-type(1) {
|
|
|
|
opacity: .5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.hidden-revision-current .row {
|
|
|
|
div:nth-of-type(2), td:nth-of-type(2) {
|
|
|
|
opacity: .5;
|
|
|
|
}
|
2014-10-16 22:32:02 +08:00
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|