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

79 lines
1.4 KiB
SCSS
Raw Normal View History

2013-12-12 10:41:34 +08:00
// styles that apply to the popup that appears when you show the edit history of a post
2013-09-06 03:37:07 +08:00
.modal.history-modal {
#revision-numbers {
display: inline-block;
min-width: 100px;
text-align: center;
}
#revision-loading {
.fa {
margin-right: 7px;
}
}
2013-12-12 10:41:34 +08:00
ins, .diff-ins {
code, img {
border: 2px solid $success;
2013-12-12 10:41:34 +08:00
}
img {
opacity: .75;
filter: alpha(opacity=75);
}
a {
color: $success;
2013-12-12 10:41:34 +08:00
text-decoration: none;
}
}
img.diff-ins, code.diff-ins {
border: 2px solid $success;
2013-12-12 10:41:34 +08:00
}
img.diff-ins {
opacity: .75;
filter: alpha(opacity=75);
}
.diff-ins {
2014-05-07 11:53:04 +08:00
background: scale-color($success, $lightness: 90%);
2013-12-12 10:41:34 +08:00
}
2013-09-06 03:37:07 +08:00
ins {
color: $success;
2014-05-07 11:53:04 +08:00
background: scale-color($success, $lightness: 90%);
2013-12-12 10:41:34 +08:00
}
del, .diff-del {
code, img {
border: 2px solid $danger;
2013-12-12 10:41:34 +08:00
}
img {
opacity: .5;
filter: alpha(opacity=50);
}
a {
color: $danger;
2013-12-12 10:41:34 +08:00
text-decoration: none;
}
}
img.diff-del, code.diff-del {
border: 2px solid $danger;
2013-12-12 10:41:34 +08:00
}
img.diff-del {
opacity: .5;
filter: alpha(opacity=50);
}
.diff-del {
2014-05-07 11:53:04 +08:00
background: scale-color($danger, $lightness: 60%);
2013-09-06 03:37:07 +08:00
}
del {
color: $danger;
2014-05-07 11:53:04 +08:00
background: scale-color($danger, $lightness: 60%);
2013-12-12 10:41:34 +08:00
}
span.date {
font-weight: bold;
}
span.edit-reason {
background-color: lighten($highlight, 23%);
2013-12-12 10:41:34 +08:00
padding: 3px 5px 5px 5px;
2013-09-06 03:37:07 +08:00
}
2014-05-13 20:53:11 +08:00
.fa-ban {
color: #f00;
}
2013-09-06 03:37:07 +08:00
}