diff options
| author | Henry Jameson <me@hjkos.com> | 2024-03-04 19:45:42 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-03-04 19:45:42 +0200 |
| commit | 075f2cb903fa45ea8e7a52098fd7091b0b14a9fd (patch) | |
| tree | 3590676bc07d2d7798e35746ed944da087dfc05e /src/components/attachment | |
| parent | 50a9c077fbf6d403caa4c383e5502eeda47f2ef8 (diff) | |
remove all "fallback variables"
Diffstat (limited to 'src/components/attachment')
| -rw-r--r-- | src/components/attachment/attachment.scss | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/src/components/attachment/attachment.scss b/src/components/attachment/attachment.scss index 47660bf6..13afbe64 100644 --- a/src/components/attachment/attachment.scss +++ b/src/components/attachment/attachment.scss @@ -1,5 +1,3 @@ -@import "../../variables"; - .Attachment { display: inline-flex; flex-direction: column; @@ -131,23 +129,12 @@ .attachment-button { padding: 0; - border-radius: $fallback--tooltipRadius; - border-radius: var(--tooltipRadius, $fallback--tooltipRadius); + border-radius: var(--roundness); text-align: center; width: 2em; height: 2em; margin-left: 0.5em; font-size: 1.25em; - // TODO: theming? hard to theme with unknown background image color - background: rgb(230 230 230 / 70%); - - .svg-inline--fa { - color: rgb(0 0 0 / 60%); - } - - &:hover .svg-inline--fa { - color: rgb(0 0 0 / 90%); - } } } @@ -222,8 +209,7 @@ &.-placeholder { display: inline-block; - color: $fallback--link; - color: var(--postLink, $fallback--link); + color: var(--link); overflow: hidden; white-space: nowrap; height: auto; |
