2023-02-13 05:57:03 +02:00
|
|
|
$emojis-requiring-inversion: 'back' 'copyright' 'curly_loop' 'currency_exchange'
|
|
|
|
'end' 'heavy_check_mark' 'heavy_division_sign' 'heavy_dollar_sign'
|
|
|
|
'heavy_minus_sign' 'heavy_multiplication_x' 'heavy_plus_sign' 'on'
|
|
|
|
'registered' 'soon' 'spider' 'telephone_receiver' 'tm' 'top' 'wavy_dash' !default;
|
2018-09-03 20:18:56 +03:00
|
|
|
|
2020-06-09 11:28:23 +03:00
|
|
|
%emoji-color-inversion {
|
|
|
|
filter: invert(1);
|
2018-09-03 20:18:56 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.emojione {
|
2020-06-09 11:28:23 +03:00
|
|
|
@each $emoji in $emojis-requiring-inversion {
|
2018-09-03 20:18:56 +03:00
|
|
|
&[title=':#{$emoji}:'] {
|
2020-06-09 11:28:23 +03:00
|
|
|
@extend %emoji-color-inversion;
|
2018-09-03 20:18:56 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-04-27 18:41:49 +03:00
|
|
|
|
2022-05-25 16:09:45 +03:00
|
|
|
// Display a checkmark on active UI elements otherwise differing only by color
|
|
|
|
.status__action-bar-button,
|
|
|
|
.detailed-status__button .icon-button {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&.active::after {
|
|
|
|
position: absolute;
|
2023-02-13 05:57:03 +02:00
|
|
|
content: '\F00C';
|
2022-05-25 16:09:45 +03:00
|
|
|
font-size: 50%;
|
2023-04-16 18:45:18 +03:00
|
|
|
inset-inline-end: -0.55em;
|
2022-06-16 16:37:59 +03:00
|
|
|
top: -0.44em;
|
2023-05-07 16:04:59 +03:00
|
|
|
|
|
|
|
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword -- this is an icon font, this can't use a generic font */
|
|
|
|
font-family: FontAwesome;
|
2022-05-25 16:09:45 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-27 18:41:49 +03:00
|
|
|
.hicolor-privacy-icons {
|
|
|
|
.status__visibility-icon.fa-globe,
|
2022-11-06 14:30:37 +02:00
|
|
|
.privacy-dropdown__option .fa-globe {
|
2021-03-06 14:12:35 +02:00
|
|
|
color: #1976d2;
|
2019-04-27 18:41:49 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__visibility-icon.fa-unlock,
|
2022-11-06 14:30:37 +02:00
|
|
|
.privacy-dropdown__option .fa-unlock {
|
2021-03-06 14:12:35 +02:00
|
|
|
color: #388e3c;
|
2019-04-27 18:41:49 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__visibility-icon.fa-lock,
|
2022-11-06 14:30:37 +02:00
|
|
|
.privacy-dropdown__option .fa-lock {
|
2021-03-06 14:12:35 +02:00
|
|
|
color: #ffa000;
|
2019-04-27 18:41:49 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__visibility-icon.fa-envelope,
|
2022-11-06 14:30:37 +02:00
|
|
|
.privacy-dropdown__option .fa-envelope {
|
2021-03-06 14:12:35 +02:00
|
|
|
color: #d32f2f;
|
2019-04-27 18:41:49 +03:00
|
|
|
}
|
|
|
|
}
|