2018-09-18 10:45:58 -04:00
|
|
|
$no-columns-breakpoint: 600px;
|
|
|
|
|
2016-12-13 07:42:10 -05:00
|
|
|
.admin-wrapper {
|
2017-01-27 21:56:10 -05:00
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
2016-12-13 07:42:10 -05:00
|
|
|
height: 100%;
|
2017-01-27 21:56:10 -05:00
|
|
|
|
|
|
|
.sidebar-wrapper {
|
|
|
|
flex: 1;
|
|
|
|
height: 100%;
|
2017-05-08 09:57:49 -04:00
|
|
|
background: $ui-base-color;
|
2017-01-27 21:56:10 -05:00
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
2016-12-13 07:42:10 -05:00
|
|
|
|
|
|
|
.sidebar {
|
|
|
|
width: 240px;
|
|
|
|
height: 100%;
|
2017-04-19 08:30:23 -04:00
|
|
|
padding: 0;
|
|
|
|
overflow-y: auto;
|
2017-05-07 14:47:31 -04:00
|
|
|
|
2016-12-13 07:42:10 -05:00
|
|
|
.logo {
|
|
|
|
display: block;
|
|
|
|
margin: 40px auto;
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
}
|
|
|
|
|
2018-09-18 10:45:58 -04:00
|
|
|
@media screen and (max-width: $no-columns-breakpoint) {
|
|
|
|
& > a:first-child {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-13 07:42:10 -05:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
2017-01-27 21:56:10 -05:00
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
overflow: hidden;
|
2017-04-19 08:30:23 -04:00
|
|
|
margin-bottom: 20px;
|
2016-12-13 07:42:10 -05:00
|
|
|
|
2018-09-18 10:45:58 -04:00
|
|
|
@media screen and (max-width: $no-columns-breakpoint) {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
2016-12-13 07:42:10 -05:00
|
|
|
a {
|
|
|
|
display: block;
|
2017-09-02 09:49:28 -04:00
|
|
|
padding: 15px;
|
2018-04-18 10:52:15 -04:00
|
|
|
color: $darker-text-color;
|
2016-12-13 07:42:10 -05:00
|
|
|
text-decoration: none;
|
|
|
|
transition: all 200ms linear;
|
2017-01-27 21:56:10 -05:00
|
|
|
border-radius: 4px 0 0 4px;
|
2016-12-13 07:42:10 -05:00
|
|
|
|
2018-09-27 20:11:14 -04:00
|
|
|
i.fa {
|
2016-12-13 07:42:10 -05:00
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $primary-text-color;
|
|
|
|
background-color: darken($ui-base-color, 5%);
|
2016-12-13 07:42:10 -05:00
|
|
|
transition: all 100ms linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
2017-05-08 09:57:49 -04:00
|
|
|
background: darken($ui-base-color, 2%);
|
2017-05-07 14:47:31 -04:00
|
|
|
border-radius: 4px 0 0;
|
2017-01-27 21:56:10 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ul {
|
2017-05-08 09:57:49 -04:00
|
|
|
background: darken($ui-base-color, 4%);
|
2017-01-27 21:56:10 -05:00
|
|
|
border-radius: 0 0 0 4px;
|
2017-04-19 08:30:23 -04:00
|
|
|
margin: 0;
|
2017-01-27 21:56:10 -05:00
|
|
|
|
|
|
|
a {
|
|
|
|
border: 0;
|
2017-09-02 09:49:28 -04:00
|
|
|
padding: 15px 35px;
|
2018-09-18 10:45:58 -04:00
|
|
|
}
|
|
|
|
}
|
2016-12-13 07:42:10 -05:00
|
|
|
|
2018-09-18 10:45:58 -04:00
|
|
|
.simple-navigation-active-leaf a {
|
|
|
|
color: $primary-text-color;
|
|
|
|
background-color: $ui-highlight-color;
|
|
|
|
border-bottom: 0;
|
|
|
|
border-radius: 0;
|
2017-01-27 21:56:10 -05:00
|
|
|
|
2018-09-18 10:45:58 -04:00
|
|
|
&:hover {
|
|
|
|
background-color: lighten($ui-highlight-color, 5%);
|
2016-12-13 07:42:10 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-09-18 10:45:58 -04:00
|
|
|
|
|
|
|
& > ul > .simple-navigation-active-leaf a {
|
|
|
|
border-radius: 4px 0 0 4px;
|
|
|
|
}
|
2016-12-13 07:42:10 -05:00
|
|
|
}
|
|
|
|
|
2017-01-27 21:56:10 -05:00
|
|
|
.content-wrapper {
|
|
|
|
flex: 2;
|
2017-02-14 18:22:58 -05:00
|
|
|
overflow: auto;
|
2017-01-27 21:56:10 -05:00
|
|
|
}
|
|
|
|
|
2016-12-13 07:42:10 -05:00
|
|
|
.content {
|
2017-01-27 21:56:10 -05:00
|
|
|
max-width: 700px;
|
|
|
|
padding: 20px 15px;
|
|
|
|
padding-top: 60px;
|
|
|
|
padding-left: 25px;
|
|
|
|
|
2018-09-18 10:45:58 -04:00
|
|
|
@media screen and (max-width: $no-columns-breakpoint) {
|
|
|
|
max-width: none;
|
|
|
|
padding: 15px;
|
|
|
|
padding-top: 30px;
|
|
|
|
}
|
|
|
|
|
2017-01-27 21:56:10 -05:00
|
|
|
h2 {
|
2018-04-21 15:35:55 -04:00
|
|
|
color: $secondary-text-color;
|
2017-01-27 21:56:10 -05:00
|
|
|
font-size: 24px;
|
|
|
|
line-height: 28px;
|
|
|
|
font-weight: 400;
|
2018-09-18 10:45:58 -04:00
|
|
|
padding-bottom: 40px;
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
2017-01-27 21:56:10 -05:00
|
|
|
margin-bottom: 40px;
|
|
|
|
}
|
|
|
|
|
2017-09-12 17:06:10 -04:00
|
|
|
h3 {
|
2018-04-21 15:35:55 -04:00
|
|
|
color: $secondary-text-color;
|
2017-09-12 17:06:10 -04:00
|
|
|
font-size: 20px;
|
|
|
|
line-height: 28px;
|
|
|
|
font-weight: 400;
|
|
|
|
margin-bottom: 30px;
|
|
|
|
}
|
|
|
|
|
2018-03-06 19:39:40 -05:00
|
|
|
h4 {
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 13px;
|
2018-09-18 10:45:58 -04:00
|
|
|
font-weight: 700;
|
2018-04-21 15:35:55 -04:00
|
|
|
color: $darker-text-color;
|
2018-03-06 19:39:40 -05:00
|
|
|
padding-bottom: 8px;
|
|
|
|
margin-bottom: 8px;
|
|
|
|
border-bottom: 1px solid lighten($ui-base-color, 8%);
|
|
|
|
}
|
|
|
|
|
2017-06-14 12:01:27 -04:00
|
|
|
h6 {
|
|
|
|
font-size: 16px;
|
2018-04-21 15:35:55 -04:00
|
|
|
color: $secondary-text-color;
|
2017-06-14 12:01:27 -04:00
|
|
|
line-height: 28px;
|
|
|
|
font-weight: 400;
|
|
|
|
}
|
|
|
|
|
2018-09-18 10:45:58 -04:00
|
|
|
.fields-group h6 {
|
|
|
|
color: $primary-text-color;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
2019-01-08 07:39:49 -05:00
|
|
|
.directory__tag a {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.directory__tag h4 {
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 700;
|
|
|
|
color: $primary-text-color;
|
|
|
|
text-transform: none;
|
|
|
|
padding-bottom: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
2017-02-16 18:42:52 -05:00
|
|
|
& > p {
|
2017-01-27 21:56:10 -05:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: 18px;
|
2018-04-21 15:35:55 -04:00
|
|
|
color: $secondary-text-color;
|
2017-01-27 21:56:10 -05:00
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
strong {
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $primary-text-color;
|
2017-01-27 21:56:10 -05:00
|
|
|
font-weight: 500;
|
2017-12-07 10:01:52 -05:00
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2017-01-27 21:56:10 -05:00
|
|
|
}
|
|
|
|
}
|
2017-02-16 18:42:52 -05:00
|
|
|
|
|
|
|
hr {
|
2018-04-19 20:28:48 -04:00
|
|
|
width: 100%;
|
|
|
|
height: 0;
|
2017-02-16 18:42:52 -05:00
|
|
|
border: 0;
|
2018-04-19 20:28:48 -04:00
|
|
|
border-bottom: 1px solid rgba($ui-base-lighter-color, .6);
|
|
|
|
margin: 20px 0;
|
2018-04-10 14:27:59 -04:00
|
|
|
|
2018-04-19 20:28:48 -04:00
|
|
|
&.spacer {
|
|
|
|
height: 1px;
|
|
|
|
border: 0;
|
2018-04-10 14:27:59 -04:00
|
|
|
}
|
2017-02-16 18:42:52 -05:00
|
|
|
}
|
2017-06-14 12:01:27 -04:00
|
|
|
|
|
|
|
.muted-hint {
|
2018-04-18 10:52:15 -04:00
|
|
|
color: $darker-text-color;
|
2017-06-14 12:01:27 -04:00
|
|
|
|
|
|
|
a {
|
2018-04-18 10:52:15 -04:00
|
|
|
color: $highlight-text-color;
|
2017-06-14 12:01:27 -04:00
|
|
|
}
|
|
|
|
}
|
2017-06-25 17:51:46 -04:00
|
|
|
|
|
|
|
.positive-hint {
|
|
|
|
color: $valid-value-color;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2018-07-12 20:16:06 -04:00
|
|
|
|
|
|
|
.negative-hint {
|
|
|
|
color: $error-value-color;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2017-01-27 21:56:10 -05:00
|
|
|
}
|
|
|
|
|
2018-09-18 10:45:58 -04:00
|
|
|
@media screen and (max-width: $no-columns-breakpoint) {
|
2017-01-28 15:57:03 -05:00
|
|
|
display: block;
|
|
|
|
overflow-y: auto;
|
2017-04-17 04:37:00 -04:00
|
|
|
-webkit-overflow-scrolling: touch;
|
2017-01-28 15:57:03 -05:00
|
|
|
|
2017-05-07 14:47:31 -04:00
|
|
|
.sidebar-wrapper,
|
|
|
|
.content-wrapper {
|
2017-01-28 15:57:03 -05:00
|
|
|
flex: 0 0 auto;
|
|
|
|
height: auto;
|
2017-04-17 04:37:00 -04:00
|
|
|
overflow: initial;
|
2017-01-28 15:57:03 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar {
|
|
|
|
width: 100%;
|
2018-09-18 10:45:58 -04:00
|
|
|
padding: 0;
|
2017-01-28 15:57:03 -05:00
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
}
|
2016-12-13 07:42:10 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.filters {
|
|
|
|
display: flex;
|
2017-09-08 20:26:58 -04:00
|
|
|
flex-wrap: wrap;
|
2016-12-13 07:42:10 -05:00
|
|
|
|
|
|
|
.filter-subset {
|
|
|
|
flex: 0 0 auto;
|
2017-09-08 20:26:58 -04:00
|
|
|
margin: 0 40px 10px 0;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
2016-12-13 07:42:10 -05:00
|
|
|
|
|
|
|
ul {
|
|
|
|
margin-top: 5px;
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
strong {
|
|
|
|
font-weight: 500;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 12px;
|
2017-12-07 10:01:52 -05:00
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2016-12-13 07:42:10 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
display: inline-block;
|
2018-04-18 10:52:15 -04:00
|
|
|
color: $darker-text-color;
|
2016-12-13 07:42:10 -05:00
|
|
|
text-decoration: none;
|
|
|
|
text-transform: uppercase;
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 500;
|
2017-05-08 09:57:49 -04:00
|
|
|
border-bottom: 2px solid $ui-base-color;
|
2016-12-13 07:42:10 -05:00
|
|
|
|
|
|
|
&:hover {
|
2017-05-08 09:57:49 -04:00
|
|
|
color: $primary-text-color;
|
|
|
|
border-bottom: 2px solid lighten($ui-base-color, 5%);
|
2016-12-13 07:42:10 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
2018-04-18 10:52:15 -04:00
|
|
|
color: $highlight-text-color;
|
2017-05-08 09:57:49 -04:00
|
|
|
border-bottom: 2px solid $ui-highlight-color;
|
2016-12-13 07:42:10 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-02-16 18:42:52 -05:00
|
|
|
|
|
|
|
.report-accounts {
|
|
|
|
display: flex;
|
2017-09-02 09:49:28 -04:00
|
|
|
flex-wrap: wrap;
|
2017-02-16 18:42:52 -05:00
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.report-accounts__item {
|
2017-02-16 20:05:15 -05:00
|
|
|
display: flex;
|
2017-09-02 09:49:28 -04:00
|
|
|
flex: 250px;
|
2017-02-16 20:05:15 -05:00
|
|
|
flex-direction: column;
|
2017-09-02 09:49:28 -04:00
|
|
|
margin: 0 5px;
|
2017-02-16 18:42:52 -05:00
|
|
|
|
|
|
|
& > strong {
|
|
|
|
display: block;
|
2017-09-02 09:49:28 -04:00
|
|
|
margin: 0 0 10px -5px;
|
2017-02-16 18:42:52 -05:00
|
|
|
font-weight: 500;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 18px;
|
2018-04-21 15:35:55 -04:00
|
|
|
color: $secondary-text-color;
|
2017-12-07 10:01:52 -05:00
|
|
|
|
|
|
|
@each $lang in $cjk-langs {
|
|
|
|
&:lang(#{$lang}) {
|
|
|
|
font-weight: 700;
|
|
|
|
}
|
|
|
|
}
|
2017-02-16 18:42:52 -05:00
|
|
|
}
|
|
|
|
|
2017-02-16 20:05:15 -05:00
|
|
|
.account-card {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
2017-02-16 18:42:52 -05:00
|
|
|
}
|
|
|
|
|
2017-07-18 10:38:22 -04:00
|
|
|
.report-status,
|
|
|
|
.account-status {
|
2017-02-16 18:42:52 -05:00
|
|
|
display: flex;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
|
|
|
.activity-stream {
|
2017-02-16 20:05:15 -05:00
|
|
|
flex: 2 0 0;
|
2017-02-16 18:42:52 -05:00
|
|
|
margin-right: 20px;
|
2017-09-02 09:49:28 -04:00
|
|
|
max-width: calc(100% - 60px);
|
|
|
|
|
|
|
|
.entry {
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2017-02-16 18:42:52 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-18 10:38:22 -04:00
|
|
|
.report-status__actions,
|
|
|
|
.account-status__actions {
|
2017-02-16 18:42:52 -05:00
|
|
|
flex: 0 0 auto;
|
2017-06-08 08:58:22 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-05-23 13:45:43 -04:00
|
|
|
|
2017-06-08 08:58:22 -04:00
|
|
|
.icon-button {
|
2017-05-23 13:45:43 -04:00
|
|
|
font-size: 24px;
|
|
|
|
width: 24px;
|
2017-06-08 08:58:22 -04:00
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 10px;
|
2017-05-23 13:45:43 -04:00
|
|
|
}
|
2017-02-16 18:42:52 -05:00
|
|
|
}
|
2017-07-18 10:38:22 -04:00
|
|
|
|
2018-05-05 17:06:29 -04:00
|
|
|
.simple_form.new_report_note,
|
|
|
|
.simple_form.new_account_moderation_note {
|
2018-04-19 20:28:48 -04:00
|
|
|
max-width: 100%;
|
2018-04-10 14:27:59 -04:00
|
|
|
}
|
|
|
|
|
2017-07-18 10:38:22 -04:00
|
|
|
.batch-form-box {
|
|
|
|
display: flex;
|
2017-09-02 09:49:28 -04:00
|
|
|
flex-wrap: wrap;
|
|
|
|
margin-bottom: 5px;
|
2017-07-18 10:38:22 -04:00
|
|
|
|
|
|
|
#form_status_batch_action {
|
2017-09-02 09:49:28 -04:00
|
|
|
margin: 0 5px 5px 0;
|
2017-07-18 10:38:22 -04:00
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
|
2017-09-02 09:49:28 -04:00
|
|
|
input.button {
|
|
|
|
margin: 0 5px 5px 0;
|
|
|
|
}
|
|
|
|
|
2017-07-18 10:38:22 -04:00
|
|
|
.media-spoiler-toggle-buttons {
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
|
|
.button {
|
|
|
|
overflow: visible;
|
2017-09-02 09:49:28 -04:00
|
|
|
margin: 0 0 5px 5px;
|
|
|
|
float: right;
|
2017-07-18 10:38:22 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.back-link {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
a {
|
2018-04-18 10:52:15 -04:00
|
|
|
color: $highlight-text-color;
|
2017-07-18 10:38:22 -04:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-11-23 20:05:53 -05:00
|
|
|
|
|
|
|
.spacer {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.log-entry {
|
2018-04-19 20:28:48 -04:00
|
|
|
margin-bottom: 20px;
|
2017-11-23 20:05:53 -05:00
|
|
|
line-height: 20px;
|
|
|
|
|
|
|
|
&__header {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
padding: 10px;
|
|
|
|
background: $ui-base-color;
|
2018-04-18 10:52:15 -04:00
|
|
|
color: $darker-text-color;
|
2017-11-23 20:05:53 -05:00
|
|
|
border-radius: 4px 4px 0 0;
|
|
|
|
font-size: 14px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__avatar {
|
|
|
|
margin-right: 10px;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
border-radius: 50%;
|
|
|
|
width: 40px;
|
|
|
|
height: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-04 13:38:46 -05:00
|
|
|
&__content {
|
|
|
|
max-width: calc(100% - 90px);
|
|
|
|
}
|
|
|
|
|
2017-11-23 20:05:53 -05:00
|
|
|
&__title {
|
2018-01-04 13:38:46 -05:00
|
|
|
word-wrap: break-word;
|
2017-11-23 20:05:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&__timestamp {
|
2018-04-21 15:35:55 -04:00
|
|
|
color: $dark-text-color;
|
2017-11-23 20:05:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&__extras {
|
|
|
|
background: lighten($ui-base-color, 6%);
|
|
|
|
border-radius: 0 0 4px 4px;
|
|
|
|
padding: 10px;
|
2018-04-18 10:52:15 -04:00
|
|
|
color: $darker-text-color;
|
2018-09-23 14:41:24 -04:00
|
|
|
font-family: $font-monospace, monospace;
|
2017-11-23 20:05:53 -05:00
|
|
|
font-size: 12px;
|
2018-01-04 13:38:46 -05:00
|
|
|
word-wrap: break-word;
|
2017-11-23 20:05:53 -05:00
|
|
|
min-height: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__icon {
|
|
|
|
font-size: 28px;
|
|
|
|
margin-right: 10px;
|
2018-04-21 15:35:55 -04:00
|
|
|
color: $dark-text-color;
|
2017-11-23 20:05:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&__icon__overlay {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
|
|
&.positive {
|
|
|
|
background: $success-green;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.negative {
|
2018-04-18 10:52:15 -04:00
|
|
|
background: lighten($error-red, 12%);
|
2017-11-23 20:05:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&.neutral {
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a,
|
|
|
|
.username,
|
|
|
|
.target {
|
2018-04-21 15:35:55 -04:00
|
|
|
color: $secondary-text-color;
|
2017-11-23 20:05:53 -05:00
|
|
|
text-decoration: none;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff-old {
|
2018-04-18 10:52:15 -04:00
|
|
|
color: lighten($error-red, 12%);
|
2017-11-23 20:05:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.diff-neutral {
|
2018-04-21 15:35:55 -04:00
|
|
|
color: $secondary-text-color;
|
2017-11-23 20:05:53 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.diff-new {
|
|
|
|
color: $success-green;
|
|
|
|
}
|
|
|
|
}
|
2017-11-27 10:07:59 -05:00
|
|
|
|
2018-04-19 20:28:48 -04:00
|
|
|
a.name-tag,
|
2018-05-12 11:44:15 -04:00
|
|
|
.name-tag,
|
|
|
|
a.inline-name-tag,
|
|
|
|
.inline-name-tag {
|
2018-04-19 20:28:48 -04:00
|
|
|
text-decoration: none;
|
2018-04-21 15:35:55 -04:00
|
|
|
color: $secondary-text-color;
|
2017-11-27 10:07:59 -05:00
|
|
|
|
|
|
|
.username {
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
2018-04-19 20:28:48 -04:00
|
|
|
|
|
|
|
&.suspended {
|
|
|
|
.username {
|
|
|
|
text-decoration: line-through;
|
|
|
|
color: lighten($error-red, 12%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
filter: grayscale(100%);
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-12 11:44:15 -04:00
|
|
|
a.name-tag,
|
|
|
|
.name-tag {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
margin-right: 5px;
|
|
|
|
border-radius: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.suspended {
|
|
|
|
.avatar {
|
|
|
|
filter: grayscale(100%);
|
|
|
|
opacity: 0.8;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-19 20:28:48 -04:00
|
|
|
.speech-bubble {
|
|
|
|
margin-bottom: 20px;
|
|
|
|
border-left: 4px solid $ui-highlight-color;
|
|
|
|
|
|
|
|
&.positive {
|
|
|
|
border-left-color: $success-green;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.negative {
|
|
|
|
border-left-color: lighten($error-red, 12%);
|
|
|
|
}
|
|
|
|
|
Add moderation warnings (#9519)
* Add moderation warnings
Replace individual routes for disabling, silencing, and suspending
a user, as well as the report update route, with a unified account
action controller that allows you to select an action (none,
disable, silence, suspend) as well as whether it should generate an
e-mail notification with optional custom text. That notification,
with the optional custom text, is saved as a warning.
Additionally, there are warning presets you can configure to save
time when performing the above.
* Use Account#local_username_and_domain
2018-12-22 14:02:09 -05:00
|
|
|
&.warning {
|
|
|
|
border-left-color: $gold-star;
|
|
|
|
}
|
|
|
|
|
2018-04-19 20:28:48 -04:00
|
|
|
&__bubble {
|
|
|
|
padding: 16px;
|
|
|
|
padding-left: 14px;
|
|
|
|
font-size: 15px;
|
|
|
|
line-height: 20px;
|
|
|
|
border-radius: 4px 4px 4px 0;
|
|
|
|
position: relative;
|
|
|
|
font-weight: 500;
|
|
|
|
|
|
|
|
a {
|
2018-04-21 15:35:55 -04:00
|
|
|
color: $darker-text-color;
|
2018-04-19 20:28:48 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__owner {
|
|
|
|
padding: 8px;
|
|
|
|
padding-left: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
time {
|
2018-04-21 15:35:55 -04:00
|
|
|
color: $dark-text-color;
|
2018-04-19 20:28:48 -04:00
|
|
|
}
|
2017-11-27 10:07:59 -05:00
|
|
|
}
|
2018-09-12 21:44:08 -04:00
|
|
|
|
|
|
|
.report-card {
|
|
|
|
background: $ui-base-color;
|
|
|
|
border-radius: 4px;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
|
|
|
&__profile {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
padding: 15px;
|
|
|
|
|
|
|
|
.account {
|
|
|
|
padding: 0;
|
|
|
|
border: 0;
|
|
|
|
|
|
|
|
&__avatar-wrapper {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__stats {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
font-weight: 500;
|
|
|
|
color: $darker-text-color;
|
|
|
|
text-transform: uppercase;
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
color: lighten($darker-text-color, 8%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.red {
|
|
|
|
color: $error-value-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__summary {
|
|
|
|
&__item {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
border-top: 1px solid darken($ui-base-color, 4%);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-base-color, 2%);
|
|
|
|
}
|
|
|
|
|
|
|
|
&__reported-by,
|
|
|
|
&__assigned {
|
|
|
|
padding: 15px;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 150px;
|
|
|
|
color: $darker-text-color;
|
|
|
|
|
|
|
|
&,
|
|
|
|
.username {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
max-width: calc(100% - 300px);
|
|
|
|
|
|
|
|
&__icon {
|
|
|
|
color: $dark-text-color;
|
|
|
|
margin-right: 4px;
|
|
|
|
font-weight: 500;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&__content a {
|
|
|
|
display: block;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
padding: 15px;
|
|
|
|
text-decoration: none;
|
|
|
|
color: $darker-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.one-line {
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|