2019-01-02 00:11:47 +01:00
|
|
|
.privacy-indicator {
|
|
|
|
.label-private,
|
|
|
|
.label-public {
|
|
|
|
&:before {
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2019-01-02 00:11:47 +01:00
|
|
|
|
|
|
|
&.public {
|
|
|
|
.label-private {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2019-01-02 00:11:47 +01:00
|
|
|
|
|
|
|
&.private {
|
|
|
|
.label-public {
|
|
|
|
display: none;
|
|
|
|
}
|
2022-02-04 12:57:55 +01:00
|
|
|
}
|
2019-01-02 00:11:47 +01:00
|
|
|
}
|
2022-09-06 00:25:12 +02:00
|
|
|
|
|
|
|
.indicator {
|
|
|
|
font-size: 1em;
|
2022-08-06 17:53:24 +02:00
|
|
|
margin-inline-end: 0;
|
|
|
|
opacity: theme('opacity.70');
|
|
|
|
|
|
|
|
.icon {
|
|
|
|
border: 1px solid transparent;
|
|
|
|
border-radius: 50%;
|
|
|
|
font-size: 1.25em;
|
|
|
|
padding: 2px;
|
|
|
|
vertical-align: middle; // reset vertical-align set by icon.initial
|
|
|
|
|
|
|
|
@media (forced-colors: active) {
|
|
|
|
background-color: ButtonText;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.indicator--is-inverse {
|
|
|
|
.icon {
|
|
|
|
border-color: $color-white; // ensure border is available for high contrast mode
|
|
|
|
background-color: $color-grey-1;
|
|
|
|
color: $color-white;
|
|
|
|
}
|
|
|
|
}
|
2022-09-06 00:25:12 +02:00
|
|
|
}
|