discourse/app/assets/stylesheets/common/admin/flagging.scss

206 lines
3.2 KiB
SCSS
Raw Normal View History

2017-09-11 14:01:59 -04:00
.flagged-post.hidden-post {
.flagged-post-excerpt, .flagged-post-avatar {
opacity: 0.5;
}
}
.flagged-post.deleted {
.flagged-post-excerpt, .flagged-post-avatar {
background-color: scale-color($danger, $lightness: 70%);
}
}
.flagged-post {
padding: 1em 0 0.55em 0;
2017-09-11 14:01:59 -04:00
border-bottom: 1px solid $primary-low;
.flagged-post-details {
display: flex;
.flagged-post-avatar {
margin-right: 1em;
position: relative;
img.avatar {
min-width: 45px;
}
.previous-flagged-posts {
position: absolute;
right: -5px;
top: -5px;
background-color: $danger;
}
}
.flagged-post-contents {
width: 100%;
2017-09-11 14:01:59 -04:00
word-wrap: break-word;
.d-icon {
display: inline-block;
}
h3 {
margin-top: 0;
margin-bottom: 0.5em;
}
p:last-child {
margin-bottom: 0;
}
margin-right: 1em;
}
}
.flag-user-lists {
2017-09-11 14:01:59 -04:00
display: flex;
align-items: flex-start;
margin-top: 1em;
2017-09-11 14:01:59 -04:00
}
.user-list-title {
font-weight: bold;
margin: 0;
2017-09-11 14:01:59 -04:00
}
.flag-users {
margin: 0.5em 0;
display: flex;
flex-wrap: wrap;
}
.flag-user {
2017-09-11 14:01:59 -04:00
display: flex;
margin-bottom: 1em;
margin-right: 2em;
align-items: center;
justify-content: space-between;
.flag-user-who {
display: flex;
width: 13em;
}
.flag-user-username {
font-weight: bold;
margin-right: 0.5em;
}
.flag-user-date {
color: $primary-medium;
}
.flag-user-avatar {
margin-right: 0.5em;
}
2017-09-11 14:01:59 -04:00
}
.flag-conversation {
padding: 1em;
.reply-conversation {
margin-left: 32px;
}
2017-09-11 14:01:59 -04:00
}
2017-09-14 14:10:39 -04:00
.suspended-message {
padding: 0.5em;
background-color: $danger;
margin-bottom: 1em;
color: $secondary;
}
2017-09-11 14:01:59 -04:00
.flagged-post-message {
2017-09-14 14:10:39 -04:00
padding: 0.5em 1em;
margin: 0.5em 0;
2017-09-11 14:01:59 -04:00
background-color: $highlight-medium;
.text {
margin-right: 1em;
}
&:hover {
background-color: $highlight-low;
}
}
.flagged-post-response {
display: flex;
align-items: center;
margin-bottom: 0.5em;
.response-avatar {
margin-right: 0.5em;
}
.has-more {
margin-left: 1em;
}
}
.flagged-post-controls {
display: flex;
flex-wrap: wrap;
button {
margin-right: 0.5em;
margin-bottom: 0.5em;
}
}
}
.flag-counts {
display: inline-block;
margin-right: 0.5em;
.type-count {
color: $primary-medium;
font-size: 0.9em;
}
}
.flagged-topic {
td.topic-title {
width: 400px;
a {
width: 400px;
display: inline-block;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
}
}
.flagged-topic-details {
display: flex;
justify-content: space-between;
margin-bottom: 2em;
2017-09-11 14:01:59 -04:00
}
.delete-flag-modal, .agree-flag-modal {
button {
display: block;
margin: 10px 0 10px 10px;
padding: 10px 15px;
}
}
.mobile-view {
.flagged-posts {
.flagged-post-details {
flex-wrap: wrap;
justify-content: flex-start;
.flagged-post-avatar {
margin-right: 10px;
}
.flagged-post-excerpt {
width: 70%;
}
.flaggers {
margin-left: 4em;
margin-bottom: 1em;
}
}
}
}