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 {
|
|
|
|
.modal-inner-container {
|
|
|
|
min-width: 960px;
|
|
|
|
min-height: 500px;
|
|
|
|
}
|
2013-12-12 10:41:34 +08:00
|
|
|
#revision-controls {
|
|
|
|
float: left;
|
2013-12-16 23:02:25 +08:00
|
|
|
.btn[disabled]:hover {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $primary;
|
2013-12-16 23:02:25 +08:00
|
|
|
}
|
2013-12-12 10:41:34 +08:00
|
|
|
}
|
2014-03-19 07:36:02 +08:00
|
|
|
#revision-numbers {
|
|
|
|
display: inline-block;
|
|
|
|
min-width: 80px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2013-12-12 10:41:34 +08:00
|
|
|
#display-modes {
|
|
|
|
text-align: right;
|
|
|
|
}
|
2014-03-14 02:19:42 +08:00
|
|
|
#revision-loading {
|
|
|
|
float: left;
|
|
|
|
margin: 5px 0 0 10px;
|
|
|
|
.fa {
|
|
|
|
margin-right: 7px;
|
|
|
|
}
|
|
|
|
}
|
2013-12-12 10:41:34 +08:00
|
|
|
#revision-details {
|
2014-05-19 13:17:59 +08:00
|
|
|
background-color: scale-color-diff();
|
2013-12-12 10:41:34 +08:00
|
|
|
padding: 5px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2013-12-16 22:57:13 +08:00
|
|
|
#revisions {
|
|
|
|
word-wrap: break-word;
|
2014-03-12 01:51:26 +08:00
|
|
|
.row, table {
|
|
|
|
margin-top: 10px;
|
2014-03-28 09:28:14 +08:00
|
|
|
padding-bottom: 10px;
|
|
|
|
border-bottom: 1px dotted;
|
2014-03-12 01:51:26 +08:00
|
|
|
}
|
2013-12-16 22:57:13 +08:00
|
|
|
}
|
2013-12-12 10:41:34 +08:00
|
|
|
img {
|
|
|
|
max-width: 670px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
.inline-diff {
|
|
|
|
width: 670px;
|
|
|
|
}
|
|
|
|
.markdown {
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 12px;
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
2014-03-06 14:14:51 +08:00
|
|
|
border-spacing: 0;
|
2013-12-12 10:41:34 +08:00
|
|
|
td {
|
|
|
|
width: 50%;
|
|
|
|
vertical-align: top;
|
2013-12-16 22:57:13 +08:00
|
|
|
max-width: 440px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
white-space: pre-wrap;
|
2013-12-12 10:41:34 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.span8, .markdown {
|
|
|
|
img {
|
|
|
|
max-width: 400px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
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 {
|
2014-05-07 11:53:04 +08:00
|
|
|
background: scale-color($success, $lightness: 90%);
|
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;
|
2014-05-07 11:53:04 +08:00
|
|
|
background: scale-color($success, $lightness: 90%);
|
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 {
|
2014-05-07 11:53:04 +08:00
|
|
|
background: scale-color($danger, $lightness: 60%);
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
del {
|
2014-05-06 13:50:51 +08:00
|
|
|
color: $danger;
|
2014-05-07 11:53:04 +08:00
|
|
|
background: scale-color($danger, $lightness: 60%);
|
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
|
|
|
}
|
|
|
|
.modal-header {
|
|
|
|
height: 42px;
|
|
|
|
}
|
2014-05-13 20:53:11 +08:00
|
|
|
.fa-ban {
|
|
|
|
color: #f00;
|
|
|
|
}
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|