2023-02-12 22:57:03 -05: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 13:18:56 -04:00
|
|
|
|
2020-06-09 04:28:23 -04:00
|
|
|
%emoji-color-inversion {
|
|
|
|
filter: invert(1);
|
2018-09-03 13:18:56 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.emojione {
|
2020-06-09 04:28:23 -04:00
|
|
|
@each $emoji in $emojis-requiring-inversion {
|
2018-09-03 13:18:56 -04:00
|
|
|
&[title=':#{$emoji}:'] {
|
2020-06-09 04:28:23 -04:00
|
|
|
@extend %emoji-color-inversion;
|
2018-09-03 13:18:56 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-04-27 11:41:49 -04:00
|
|
|
|
2022-05-25 09:09:45 -04: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-12 22:57:03 -05:00
|
|
|
content: '\F00C';
|
2022-05-25 09:09:45 -04:00
|
|
|
font-size: 50%;
|
2023-04-16 11:45:18 -04:00
|
|
|
inset-inline-end: -0.55em;
|
2022-06-16 09:37:59 -04:00
|
|
|
top: -0.44em;
|
2023-05-07 09:04:59 -04: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 09:09:45 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-04-27 11:41:49 -04:00
|
|
|
.hicolor-privacy-icons {
|
|
|
|
.status__visibility-icon.fa-globe,
|
2022-11-06 07:30:37 -05:00
|
|
|
.privacy-dropdown__option .fa-globe {
|
2021-03-06 07:12:35 -05:00
|
|
|
color: #1976d2;
|
2019-04-27 11:41:49 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__visibility-icon.fa-unlock,
|
2022-11-06 07:30:37 -05:00
|
|
|
.privacy-dropdown__option .fa-unlock {
|
2021-03-06 07:12:35 -05:00
|
|
|
color: #388e3c;
|
2019-04-27 11:41:49 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__visibility-icon.fa-lock,
|
2022-11-06 07:30:37 -05:00
|
|
|
.privacy-dropdown__option .fa-lock {
|
2021-03-06 07:12:35 -05:00
|
|
|
color: #ffa000;
|
2019-04-27 11:41:49 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.status__visibility-icon.fa-envelope,
|
2022-11-06 07:30:37 -05:00
|
|
|
.privacy-dropdown__option .fa-envelope {
|
2021-03-06 07:12:35 -05:00
|
|
|
color: #d32f2f;
|
2019-04-27 11:41:49 -04:00
|
|
|
}
|
|
|
|
}
|