Skip to content

TweetDeck: Floating compose by passcod

Details

Authorpasscod

LicenseCC-BY-4.0

Categorytweetdeck

Created

Updated

Size566 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Makes the blue sidebar "new tweet" panel (called the "compose drawer" in the code) float over tweets instead of pushing them to the side. Includes a nice little shadow to indicate this naturally.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           TweetDeck: Floating compose
@namespace      tweetdeck.twitter.com
@version        1.0.0
@description    Floating compose panel
@author         Félix Saparelli
==/UserStyle== */

@-moz-document domain("tweetdeck.twitter.com") {
.app-content.is-open .drawer[data-drawer=compose] {
    box-shadow: 3px 3px 3px 0px rgba(0, 0, 0, 0.2);
    left: 0;
    z-index: 999;
}

.app-content.is-open .compose {
    background: rgba(43, 123, 185, 0.95);
}

.app-content.is-open {
    transform: none !important;
    margin-right: 0 !important;
}
}

Reviews

No reviews yet.