Add “Glitch-only” label to glitch-specific settings

This commit is contained in:
Claire
2022-11-12 10:09:27 +01:00
parent c813df2ebb
commit 6a96b17a2d
8 changed files with 27 additions and 8 deletions

View File

@ -205,7 +205,8 @@
.account-role,
.simple_form .recommended,
.simple_form .not_recommended {
.simple_form .not_recommended,
.simple_form .glitch_only {
display: inline-block;
padding: 4px 6px;
cursor: default;
@ -236,6 +237,12 @@
border-color: rgba(lighten($error-red, 12%), 0.5);
}
.simple_form .glitch_only {
color: lighten($warning-red, 12%);
background-color: rgba(lighten($warning-red, 12%), 0.1);
border-color: rgba(lighten($warning-red, 12%), 0.5);
}
.account__header__fields {
max-width: 100vw;
padding: 0;

View File

@ -104,7 +104,8 @@ code {
}
.recommended,
.not_recommended {
.not_recommended,
.glitch_only {
position: absolute;
margin: 0 4px;
margin-top: -2px;