diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-11-12 11:45:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-12 11:45:39 +0100 |
commit | 210341fba168533069f12172f61090ea45603778 (patch) | |
tree | 85940c4e0efe18e7b32866044aab9fd276c9effc /app/javascript | |
parent | c813df2ebb0483236d95797d1bb840b48b95d290 (diff) | |
parent | af89b14628c648e95cc8a920f2ff886b9c61ffdf (diff) |
Merge pull request #1918 from ClearlyClaire/glitch-soc/features/glitch-label
Add “Glitch-only” label to some settings
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/flavours/glitch/styles/accounts.scss | 9 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/styles/forms.scss | 3 |
2 files changed, 10 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/styles/accounts.scss b/app/javascript/flavours/glitch/styles/accounts.scss index ffe5de262..cdc506cf4 100644 --- a/app/javascript/flavours/glitch/styles/accounts.scss +++ b/app/javascript/flavours/glitch/styles/accounts.scss @@ -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; diff --git a/app/javascript/flavours/glitch/styles/forms.scss b/app/javascript/flavours/glitch/styles/forms.scss index cddf42dac..8eecee4e9 100644 --- a/app/javascript/flavours/glitch/styles/forms.scss +++ b/app/javascript/flavours/glitch/styles/forms.scss @@ -104,7 +104,8 @@ code { } .recommended, - .not_recommended { + .not_recommended, + .glitch_only { position: absolute; margin: 0 4px; margin-top: -2px; |