Adding POST /api/v1/reports API, and a UI for submitting reports

This commit is contained in:
Eugen Rochko 2017-02-14 20:59:26 +01:00
parent 40a4053732
commit 3b81baaaaf
26 changed files with 480 additions and 10 deletions

View file

@ -228,6 +228,14 @@ a.status__content__spoiler-link {
}
}
.status-check-box {
border-bottom: 1px solid lighten($color1, 8%);
.status__content {
background: lighten($color1, 4%);
}
}
.status__prepend {
margin-left: 68px;
color: lighten($color1, 26%);
@ -1142,3 +1150,35 @@ button.active i.fa-retweet {
color: $color3;
}
.report__target {
border-bottom: 1px solid lighten($color1, 4%);
color: $color2;
padding-bottom: 10px;
strong {
display: block;
color: $color5;
font-weight: 500;
}
}
.report__textarea {
background: transparent;
box-sizing: border-box;
border: 0;
border-bottom: 2px solid $color3;
border-radius: 2px 2px 0 0;
padding: 7px 4px;
font-size: 14px;
color: $color5;
display: block;
width: 100%;
outline: 0;
font-family: inherit;
resize: vertical;
&:active, &:focus {
border-bottom-color: $color4;
background: rgba($color8, 0.1);
}
}