discourse/app/assets/stylesheets/common/base/history.scss

133 lines
2.5 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
.modal.history-modal {
.modal-inner-container {
min-width: 960px;
min-height: 500px;
}
2013-12-11 21:41:34 -05:00
#revision-controls {
float: left;
.btn[disabled]:hover {
color: lighten($primary_text_color, 35%);
}
2013-12-11 21:41:34 -05:00
}
#revision-numbers {
display: inline-block;
min-width: 80px;
text-align: center;
}
2013-12-11 21:41:34 -05:00
#display-modes {
text-align: right;
}
#revision-loading {
float: left;
margin: 5px 0 0 10px;
.fa {
margin-right: 7px;
}
}
2013-12-11 21:41:34 -05:00
#revision-details {
background-color: lighten($secondary_background_color, 76%);
2013-12-11 21:41:34 -05:00
padding: 5px;
margin-top: 10px;
}
#revisions {
word-wrap: break-word;
2014-03-11 13:51:26 -04:00
.row, table {
margin-top: 10px;
padding-bottom: 10px;
border-bottom: 1px dotted;
2014-03-11 13:51:26 -04:00
}
}
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: 0;
2013-12-11 21:41:34 -05:00
td {
width: 50%;
vertical-align: top;
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 {
border: 2px solid $success_border_color;
2013-12-11 21:41:34 -05:00
}
img {
opacity: .75;
filter: alpha(opacity=75);
}
a {
color: $success_text_color;
2013-12-11 21:41:34 -05:00
text-decoration: none;
}
}
img.diff-ins, code.diff-ins {
border: 2px solid $success_border_color;
2013-12-11 21:41:34 -05:00
}
img.diff-ins {
opacity: .75;
filter: alpha(opacity=75);
}
.diff-ins {
background: $success_background_color;
2013-12-11 21:41:34 -05:00
}
2013-09-05 15:37:07 -04:00
ins {
color: $success_text_color;
background: $success_background_color;
2013-12-11 21:41:34 -05:00
}
del, .diff-del {
code, img {
border: 2px solid $warning_border_color;
2013-12-11 21:41:34 -05:00
}
img {
opacity: .5;
filter: alpha(opacity=50);
}
a {
color: $warning_text_color;
2013-12-11 21:41:34 -05:00
text-decoration: none;
}
}
img.diff-del, code.diff-del {
border: 2px solid $warning_border_color;
2013-12-11 21:41:34 -05:00
}
img.diff-del {
opacity: .5;
filter: alpha(opacity=50);
}
.diff-del {
background: $warning_background_color;
2013-09-05 15:37:07 -04:00
}
del {
color: $warning_text_color;
background: $warning_background_color;
2013-12-11 21:41:34 -05:00
}
span.date {
font-weight: bold;
}
span.edit-reason {
background-color: $highlight_background_color;
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;
}
}