2019-01-01 23:11:47 +00:00
|
|
|
.privacy-indicator {
|
2022-02-04 11:57:55 +00:00
|
|
|
&.public {
|
|
|
|
.label-private {
|
|
|
|
display: none;
|
2019-01-01 23:11:47 +00:00
|
|
|
}
|
2022-02-04 11:57:55 +00:00
|
|
|
}
|
2019-01-01 23:11:47 +00:00
|
|
|
|
2022-02-04 11:57:55 +00:00
|
|
|
&.private {
|
|
|
|
.label-public {
|
|
|
|
display: none;
|
2019-01-01 23:11:47 +00:00
|
|
|
}
|
2022-02-04 11:57:55 +00:00
|
|
|
}
|
2019-01-01 23:11:47 +00:00
|
|
|
}
|
2022-09-05 22:25:12 +00:00
|
|
|
|
|
|
|
.indicator {
|
|
|
|
font-size: 1em;
|
2022-08-06 15:53:24 +00: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 {
|
2023-04-19 05:58:14 +00:00
|
|
|
border-color: theme(
|
|
|
|
'colors.surface-page'
|
|
|
|
); // ensure border is available for high contrast mode
|
|
|
|
background-color: theme('colors.text-context');
|
|
|
|
color: theme('colors.surface-page');
|
2022-08-06 15:53:24 +00:00
|
|
|
}
|
|
|
|
}
|
2022-09-05 22:25:12 +00:00
|
|
|
}
|