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
|
|
|
|
|
|
|
@import "common/foundation/variables";
|
|
|
|
@import "common/foundation/mixins";
|
|
|
|
|
|
|
|
.modal.history-modal {
|
|
|
|
.modal-inner-container {
|
|
|
|
min-width: 960px;
|
|
|
|
min-height: 500px;
|
|
|
|
}
|
2013-12-11 21:41:34 -05:00
|
|
|
#revision-controls {
|
|
|
|
float: left;
|
2013-12-16 10:02:25 -05:00
|
|
|
.btn[disabled]:hover {
|
2014-02-10 01:04:21 -05:00
|
|
|
color: $primary_medium;
|
2013-12-16 10:02:25 -05:00
|
|
|
}
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
|
|
|
#display-modes {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
#revision-details {
|
2014-02-10 01:04:21 -05:00
|
|
|
background-color: $primary_lightest;
|
2013-12-11 21:41:34 -05:00
|
|
|
padding: 5px;
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2013-12-16 09:57:13 -05:00
|
|
|
#revisions {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2013-12-11 21:41:34 -05:00
|
|
|
img {
|
|
|
|
max-width: 670px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
.inline-diff {
|
|
|
|
width: 670px;
|
|
|
|
}
|
|
|
|
.markdown {
|
|
|
|
font-family: monospace;
|
|
|
|
font-size: 12px;
|
|
|
|
width: 100%;
|
|
|
|
border-collapse: collapse;
|
|
|
|
border-spacing: 0px;
|
|
|
|
td {
|
|
|
|
width: 50%;
|
|
|
|
vertical-align: top;
|
2013-12-16 09:57:13 -05:00
|
|
|
max-width: 440px;
|
|
|
|
word-wrap: break-word;
|
|
|
|
white-space: pre-wrap;
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.span8, .markdown {
|
|
|
|
img {
|
|
|
|
max-width: 400px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
ins, .diff-ins {
|
|
|
|
code, img {
|
2014-02-10 01:04:21 -05:00
|
|
|
border: 2px solid $success_dark;
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
|
|
|
img {
|
|
|
|
opacity: .75;
|
|
|
|
filter: alpha(opacity=75);
|
|
|
|
}
|
|
|
|
a {
|
2014-02-10 01:04:21 -05:00
|
|
|
color: $success_darker;
|
2013-12-11 21:41:34 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
img.diff-ins, code.diff-ins {
|
2014-02-10 01:04:21 -05:00
|
|
|
border: 2px solid $success_darker;
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
|
|
|
img.diff-ins {
|
|
|
|
opacity: .75;
|
|
|
|
filter: alpha(opacity=75);
|
|
|
|
}
|
|
|
|
.diff-ins {
|
2014-02-10 01:04:21 -05:00
|
|
|
background: $success_light;
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
2013-09-05 15:37:07 -04:00
|
|
|
ins {
|
2014-02-10 01:04:21 -05:00
|
|
|
color: $success_dark;
|
|
|
|
background: $success_light;
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
|
|
|
del, .diff-del {
|
|
|
|
code, img {
|
2014-02-10 01:04:21 -05:00
|
|
|
border: 2px solid $highlight_danger_dark;
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
|
|
|
img {
|
|
|
|
opacity: .5;
|
|
|
|
filter: alpha(opacity=50);
|
|
|
|
}
|
|
|
|
a {
|
2014-02-10 01:04:21 -05:00
|
|
|
color: $highlight_danger_darker;
|
2013-12-11 21:41:34 -05:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
img.diff-del, code.diff-del {
|
2014-02-10 01:04:21 -05:00
|
|
|
border: 2px solid $highlight_danger_dark;
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
|
|
|
img.diff-del {
|
|
|
|
opacity: .5;
|
|
|
|
filter: alpha(opacity=50);
|
|
|
|
}
|
|
|
|
.diff-del {
|
2014-02-10 01:04:21 -05:00
|
|
|
background: $highlight_danger_light;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
del {
|
2014-02-10 01:04:21 -05:00
|
|
|
color: $highlight_danger_dark;
|
|
|
|
background: $highlight_danger_light;
|
2013-12-11 21:41:34 -05:00
|
|
|
}
|
|
|
|
span.date {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
span.edit-reason {
|
2014-02-10 01:04:21 -05:00
|
|
|
background-color: $highlight_light;
|
2013-12-11 21:41:34 -05:00
|
|
|
padding: 3px 5px 5px 5px;
|
2013-09-05 15:37:07 -04:00
|
|
|
}
|
|
|
|
.modal-header {
|
|
|
|
height: 42px;
|
|
|
|
}
|
|
|
|
}
|