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

128 lines
2.1 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 {
#revision-numbers {
display: inline-block;
min-width: 96px;
text-align: center;
}
#revision {
overflow: auto;
}
#revision-controls {
display: inline-block;
margin-bottom: 5px;
}
table.markdown > tbody > tr > td,
.revision-content {
width: 47.5%;
float: left;
&:nth-of-type(2) {
margin-left: 5%;
}
}
2018-02-23 21:41:40 -05:00
#revision-details {
padding: 5px;
margin-top: 10px;
border-bottom: 3px solid $primary-low;
2018-02-23 21:41:40 -05:00
}
#revisions .row:first-of-type {
margin-top: 10px;
}
ins,
.diff-ins {
code,
img {
border: 2px solid $success;
2013-12-11 21:41:34 -05:00
}
img {
opacity: 0.75;
2013-12-11 21:41:34 -05:00
filter: alpha(opacity=75);
}
a {
color: $success;
2013-12-11 21:41:34 -05:00
text-decoration: none;
}
}
img.diff-ins,
code.diff-ins {
border: 2px solid $success;
2013-12-11 21:41:34 -05:00
}
img.diff-ins {
opacity: 0.75;
2013-12-11 21:41:34 -05:00
filter: alpha(opacity=75);
}
.diff-ins {
color: $primary;
2017-10-10 16:07:46 -04:00
background: $success-low;
2013-12-11 21:41:34 -05:00
}
2013-09-05 15:37:07 -04:00
ins {
color: $primary;
2017-10-10 16:07:46 -04:00
background: $success-low;
text-decoration: none;
2013-12-11 21:41:34 -05:00
}
del,
.diff-del {
code,
img {
border: 2px solid $danger;
2013-12-11 21:41:34 -05:00
}
img {
opacity: 0.5;
2013-12-11 21:41:34 -05:00
filter: alpha(opacity=50);
}
a {
color: $danger;
2013-12-11 21:41:34 -05:00
text-decoration: none;
}
}
img.diff-del,
code.diff-del {
border: 2px solid $danger;
2013-12-11 21:41:34 -05:00
}
img.diff-del {
opacity: 0.5;
2013-12-11 21:41:34 -05:00
filter: alpha(opacity=50);
}
.diff-del {
color: $primary;
2017-10-10 16:07:46 -04:00
background: $danger-low;
text-decoration: none;
2013-09-05 15:37:07 -04:00
}
del {
color: $primary;
2017-10-10 16:07:46 -04:00
background: $danger-low;
text-decoration: none;
2013-12-11 21:41:34 -05:00
}
span.date {
font-weight: bold;
}
span.edit-reason {
background-color: $highlight-medium;
2013-12-11 21:41:34 -05:00
padding: 3px 5px 5px 5px;
2013-09-05 15:37:07 -04:00
}
.d-icon-ban {
2014-05-13 08:53:11 -04:00
color: #f00;
}
.hidden-revision-either {
opacity: 0.5;
}
.hidden-revision-previous .row {
div:nth-of-type(1),
td:nth-of-type(1) {
opacity: 0.5;
}
}
.hidden-revision-current .row {
div:nth-of-type(2),
td:nth-of-type(2) {
opacity: 0.5;
}
2014-10-16 10:32:02 -04:00
}
2013-09-05 15:37:07 -04:00
}