diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-09-29 06:21:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-29 06:21:51 +0200 |
commit | e623c302d5d4dfc05689eb8fb8e051e30fc38ec8 (patch) | |
tree | efbcb457a8b797a2a71a6b0187348a2dfb632de1 /app/javascript/styles | |
parent | 43b5d5e38d2b8ad8f1d1ad0911c3c1718159c912 (diff) |
Add sign-up button to logged-out web UI (#19250)
Diffstat (limited to 'app/javascript/styles')
-rw-r--r-- | app/javascript/styles/mastodon/components.scss | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss index 1f1a5a5ca..87ec6bb8a 100644 --- a/app/javascript/styles/mastodon/components.scss +++ b/app/javascript/styles/mastodon/components.scss @@ -134,6 +134,26 @@ } } + &.button-tertiary { + background: transparent; + padding: 6px 17px; + color: $highlight-text-color; + border: 1px solid $highlight-text-color; + + &:active, + &:focus, + &:hover { + background: $ui-highlight-color; + color: $primary-text-color; + border: 0; + padding: 7px 18px; + } + + &:disabled { + opacity: 0.5; + } + } + &.button--block { display: block; width: 100%; @@ -708,6 +728,10 @@ color: $darker-text-color; margin-bottom: 20px; } + + .button { + margin-bottom: 10px; + } } .emojione { @@ -3671,6 +3695,11 @@ a.status-card.compact:hover { background: lighten($ui-base-color, 8%); } } + + &:disabled { + color: $dark-text-color; + cursor: default; + } } .column-header__collapsible { |