1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-10 18:15:44 +02:00

Update styles for new timeline cards (rounded borders, black theme colors)

This commit is contained in:
chylex 2018-10-18 20:36:42 +02:00
parent bdbafb3e5c
commit acb5e184e8
3 changed files with 4 additions and 1 deletions
Resources
Plugins/edit-design
Scripts

View File

@ -804,3 +804,5 @@ html.dark .DrawerModal{color:#14171A}
html.dark .app-search-fake{border-color:transparent}
html.dark .spinner-small,html.dark .spinner-large{filter:grayscale(80%)brightness(93%)}
html.dark .tweet>.color-twitter-blue{color:#8bd!important}
html.dark .hw-card-container>div{border-color:#292F33;background:transparent}
html.dark .hw-card-container>div>div{border-right-color:#292F33}

View File

@ -245,6 +245,7 @@
if (column.model.getHasNotification()){
let sensitive = isSensitive(tweet);
let previews = $TDX.notificationMediaPreviews && (!sensitive || TD.settings.getDisplaySensitiveMedia());
// TODO new cards don't have either previews or links
let html = $(tweet.render({
withFooter: false,

View File

@ -54,7 +54,7 @@ button, .btn, .mdl, .mdl-content, .modal-content, .popover, .lst-modal, .tooltip
border-radius: 0 !important;
}
.dropdown-menu, .list-item-last, .quoted-tweet, input, textarea, select, .prf-header {
.dropdown-menu, .list-item-last, .quoted-tweet, .hw-card-container > div, input, textarea, select, .prf-header {
border-radius: 0 !important;
}