discourse/app/assets/stylesheets/desktop/history.scss

113 lines
1.9 KiB
SCSS
Raw Normal View History

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;
}
#display-modes {
text-align: right;
}
#revision-details {
background-color: #eee;
padding: 5px;
margin-top: 10px;
}
img {
max-width: 670px;
height: auto;
}
.inline-diff {
width: 670px;
word-wrap: break-word;
}
.markdown {
word-wrap: break-word;
white-space: pre-wrap;
font-family: monospace;
font-size: 12px;
width: 100%;
border-collapse: collapse;
border-spacing: 0px;
td {
width: 50%;
vertical-align: top;
}
}
.span8, .markdown {
img {
max-width: 400px;
}
}
ins, .diff-ins {
code, img {
border: 2px solid #405A04;
}
img {
opacity: .75;
filter: alpha(opacity=75);
}
a {
color: #2D4003;
text-decoration: none;
}
}
img.diff-ins, code.diff-ins {
border: 2px solid #405A04;
}
img.diff-ins {
opacity: .75;
filter: alpha(opacity=75);
}
.diff-ins {
background: #f9ffe1;
}
2013-09-05 15:37:07 -04:00
ins {
2013-12-11 21:41:34 -05:00
color: #405A04;
background: #D1E1AD;
}
del, .diff-del {
code, img {
border: 2px solid #A82400;
}
img {
opacity: .5;
filter: alpha(opacity=50);
}
a {
color: #400E00;
text-decoration: none;
}
}
img.diff-del, code.diff-del {
border: 2px solid #A82400;
}
img.diff-del {
opacity: .5;
filter: alpha(opacity=50);
}
.diff-del {
background: #fff4f4;
2013-09-05 15:37:07 -04:00
}
del {
2013-12-11 21:41:34 -05:00
color: #A82400;
background: #E5BDB2;
}
span.date {
font-weight: bold;
}
span.edit-reason {
background-color: #ffffcc;
padding: 3px 5px 5px 5px;
2013-09-05 15:37:07 -04:00
}
.modal-header {
height: 42px;
}
}