forked from mastodon/mastodon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to support hover card and bottomless card and add styles for more-from-author Signed-off-by: Nathan Sparrow <[email protected]>
- Loading branch information
1 parent
2f24a09
commit 32e97b4
Showing
1 changed file
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/* Mastodon Bird UI by @[email protected] | ||
2.0.0rc37 */ | ||
2.0.0rc39 */ | ||
|
||
/* Mastodon Custom UI modified by @[email protected] | ||
1.0.0 */ | ||
1.0.1 */ | ||
|
||
/* CSS variables */ | ||
:root { | ||
|
@@ -254,7 +254,7 @@ body.theme-contrast.layout-multiple-columns { | |
} | ||
|
||
/* Light theme */ | ||
body.theme-mastodon-bird-ui-light.layout-multiple-columns { | ||
body.theme-mastodon-light.layout-multiple-columns { | ||
--color-bg: #fff; | ||
--color-fg: #000; | ||
--color-border: #e6e1ed; | ||
|
@@ -621,6 +621,11 @@ body.layout-multiple-columns { | |
transition: all 200ms; | ||
} | ||
|
||
.layout-multiple-columns .status-card.status-card.bottomless { | ||
border-bottom-left-radius: 0; | ||
border-bottom-right-radius: 0; | ||
} | ||
|
||
.layout-multiple-columns .status-card.expanded { | ||
display: block; | ||
} | ||
|
@@ -1613,6 +1618,7 @@ body.embed .detailed-status, | |
} | ||
|
||
/* End: Experimental Threads-like media proportions, if the height is tall, show smaller media */ | ||
.layout-multiple-columns .status .status-card + .more-from-author, | ||
.layout-multiple-columns .status .status-card { | ||
margin-left: calc(var(--size-avatar) + var(--gap-default)); | ||
} | ||
|
@@ -1702,6 +1708,10 @@ body.embed .detailed-status__meta .detailed-status__link .icon-retweet, | |
|
||
/* Icon buttons */ | ||
.layout-multiple-columns .icon-button { | ||
border-bottom-left-radius: 9999px; | ||
border-bottom-right-radius: 9999px; | ||
border-top-left-radius: 9999px; | ||
border-top-right-radius: 9999px; | ||
color: var(--color-dim); | ||
} | ||
|
||
|