-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07aa808
commit fc84b04
Showing
3 changed files
with
33 additions
and
5 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
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
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,5 +1,5 @@ | ||
/* Mastodon Bird UI by @[email protected] | ||
1.2.4rc2 */ | ||
1.2.4 */ | ||
|
||
/* CSS variables */ | ||
:root { | ||
|
@@ -74,6 +74,19 @@ | |
.layout-single-column::-webkit-scrollbar { | ||
display: none; | ||
} | ||
|
||
/* Full width search popout on mobile */ | ||
.layout-single-column div:has(.search-popout) { | ||
|
||
/* It's inlined so we have to use !important */ | ||
/* stylelint-disable-next-line */ | ||
max-width: calc(100% - 30px) !important; | ||
transform: translateX(15px); | ||
|
||
/* It's inlined so we have to use !important */ | ||
/* stylelint-disable-next-line */ | ||
width: calc(100% - 30px) !important; | ||
} | ||
} | ||
|
||
body.embed, | ||
|
@@ -314,6 +327,7 @@ a.status-card.compact .status-card__host { | |
} | ||
|
||
/* More subtle box-shadow for dropdown-menu */ | ||
.layout-single-column .search-popout, | ||
.layout-single-column .dropdown-menu { | ||
box-shadow: 2px 4px 16px rgb(0 0 0 / .01); | ||
} | ||
|
@@ -468,6 +482,7 @@ body.embed .status__content a, | |
} | ||
|
||
/* Things like notification status update text that should be dim */ | ||
.layout-single-column .search-popout > h4, | ||
.layout-single-column .status-check-box__status .detailed-status__display-name, | ||
.layout-single-column .report-dialog-modal .poll__option.dialog-option > .poll__option__text, | ||
.layout-single-column .status-card .status-card__description, | ||
|
@@ -771,6 +786,17 @@ body.embed .detailed-status, | |
color: var(--color-dim); | ||
} | ||
|
||
/* Search panel that opens when focusing Saerch or paste URL field */ | ||
.layout-single-column .search-popout { | ||
background-color: var(--color-dark); | ||
border-color: var(--color-dark); | ||
color: var(--color-dim); | ||
} | ||
|
||
.layout-single-column .search-popout em { | ||
color: var(--color-light-text); | ||
} | ||
|
||
/* URL preview card box */ | ||
/* stylelint-disable-next-line */ | ||
.layout-single-column a.status-card .status-card__content, | ||
|
@@ -1420,6 +1446,8 @@ body.embed .detailed-status__meta .detailed-status__link .fa-retweet, | |
text-transform: unset; | ||
} | ||
|
||
.layout-single-column h4, | ||
.layout-single-column .search-popout h4, | ||
.layout-single-column .server-banner h4 { | ||
text-transform: unset; | ||
} | ||
|