mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-12-01 03:17:53 -05:00
118 lines
2.2 KiB
SCSS
118 lines
2.2 KiB
SCSS
// styles that apply to the popup that appears when you show the edit history of a post
|
|
|
|
@import "common/foundation/variables";
|
|
@import "common/foundation/mixins";
|
|
|
|
.modal.history-modal {
|
|
.modal-inner-container {
|
|
min-width: 960px;
|
|
min-height: 500px;
|
|
}
|
|
#revision-controls {
|
|
float: left;
|
|
.btn[disabled]:hover {
|
|
color: $primary_medium;
|
|
}
|
|
}
|
|
#display-modes {
|
|
text-align: right;
|
|
}
|
|
#revision-details {
|
|
background-color: $primary_lightest;
|
|
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;
|
|
border-spacing: 0px;
|
|
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 {
|
|
border: 2px solid $success_dark;
|
|
}
|
|
img {
|
|
opacity: .75;
|
|
filter: alpha(opacity=75);
|
|
}
|
|
a {
|
|
color: $success_darker;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
img.diff-ins, code.diff-ins {
|
|
border: 2px solid $success_darker;
|
|
}
|
|
img.diff-ins {
|
|
opacity: .75;
|
|
filter: alpha(opacity=75);
|
|
}
|
|
.diff-ins {
|
|
background: $success_light;
|
|
}
|
|
ins {
|
|
color: $success_dark;
|
|
background: $success_light;
|
|
}
|
|
del, .diff-del {
|
|
code, img {
|
|
border: 2px solid $highlight_danger_dark;
|
|
}
|
|
img {
|
|
opacity: .5;
|
|
filter: alpha(opacity=50);
|
|
}
|
|
a {
|
|
color: $highlight_danger_darker;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
img.diff-del, code.diff-del {
|
|
border: 2px solid $highlight_danger_dark;
|
|
}
|
|
img.diff-del {
|
|
opacity: .5;
|
|
filter: alpha(opacity=50);
|
|
}
|
|
.diff-del {
|
|
background: $highlight_danger_light;
|
|
}
|
|
del {
|
|
color: $highlight_danger_dark;
|
|
background: $highlight_danger_light;
|
|
}
|
|
span.date {
|
|
font-weight: bold;
|
|
}
|
|
span.edit-reason {
|
|
background-color: $highlight_light;
|
|
padding: 3px 5px 5px 5px;
|
|
}
|
|
.modal-header {
|
|
height: 42px;
|
|
}
|
|
}
|