2013-12-18 00:45:04 +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 {
|
2013-12-18 00:45:04 +08:00
|
|
|
min-width: 960px;
|
|
|
|
min-height: 500px;
|
|
|
|
}
|
|
|
|
#revision-controls {
|
|
|
|
float: left;
|
|
|
|
.btn[disabled]:hover {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $primary_text_color;
|
2013-12-18 00:45:04 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
#display-modes {
|
|
|
|
text-align: right;
|
|
|
|
.btn-primary {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#revision-details {
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: lighten($secondary_background_color, 76%);
|
2013-12-18 00:45:04 +08:00
|
|
|
padding: 5px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
#revisions {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
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-18 00:45:04 +08:00
|
|
|
td {
|
|
|
|
width: 50%;
|
|
|
|
vertical-align: top;
|
|
|
|
max-width: 440px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.span8, .markdown {
|
|
|
|
img {
|
|
|
|
max-width: 400px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ins, .diff-ins {
|
|
|
|
code, img {
|
2014-02-24 09:47:44 +08:00
|
|
|
border: 2px solid $success_border_color;
|
2013-12-18 00:45:04 +08:00
|
|
|
}
|
|
|
|
img {
|
|
|
|
opacity: .75;
|
|
|
|
filter: alpha(opacity=75);
|
|
|
|
}
|
|
|
|
a {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $success_text_color;
|
2013-12-18 00:45:04 +08:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
img.diff-ins, code.diff-ins {
|
2014-02-24 09:47:44 +08:00
|
|
|
border: 2px solid $success_text_color;
|
2013-12-18 00:45:04 +08:00
|
|
|
}
|
|
|
|
img.diff-ins {
|
|
|
|
opacity: .75;
|
|
|
|
filter: alpha(opacity=75);
|
|
|
|
}
|
|
|
|
.diff-ins {
|
2014-02-24 09:47:44 +08:00
|
|
|
background: $success_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
ins {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $success_text_color;
|
|
|
|
background: $success_background_color;
|
2013-12-18 00:45:04 +08:00
|
|
|
}
|
|
|
|
del, .diff-del {
|
|
|
|
code, img {
|
2014-02-24 09:47:44 +08:00
|
|
|
border: 2px solid $warning_border_color;
|
2013-12-18 00:45:04 +08:00
|
|
|
}
|
|
|
|
img {
|
|
|
|
opacity: .5;
|
|
|
|
filter: alpha(opacity=50);
|
|
|
|
}
|
|
|
|
a {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $warning_text_color;
|
2013-12-18 00:45:04 +08:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
img.diff-del, code.diff-del {
|
2014-02-24 09:47:44 +08:00
|
|
|
border: 2px solid $warning_border_color;
|
2013-12-18 00:45:04 +08:00
|
|
|
}
|
|
|
|
img.diff-del {
|
|
|
|
opacity: .5;
|
|
|
|
filter: alpha(opacity=50);
|
|
|
|
}
|
|
|
|
.diff-del {
|
2014-02-24 09:47:44 +08:00
|
|
|
background: $warning_background_color;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
del {
|
2014-02-24 09:47:44 +08:00
|
|
|
color: $warning_text_color;
|
|
|
|
background: $warning_background_color;
|
2013-12-18 00:45:04 +08:00
|
|
|
}
|
|
|
|
span.date {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
span.edit-reason {
|
2014-02-24 09:47:44 +08:00
|
|
|
background-color: $highlight_background_color;
|
2013-12-18 00:45:04 +08:00
|
|
|
padding: 3px 5px 5px 5px;
|
2013-09-06 03:37:07 +08:00
|
|
|
}
|
|
|
|
.modal-header {
|
|
|
|
height: 42px;
|
|
|
|
}
|
|
|
|
}
|