Skip to content

Instantly share code, notes, and snippets.

@trashbyte
Created June 15, 2017 15:15
Show Gist options
  • Save trashbyte/7422ec0f068947b3b80156156be602c3 to your computer and use it in GitHub Desktop.
Save trashbyte/7422ec0f068947b3b80156156be602c3 to your computer and use it in GitHub Desktop.
Downgrade Tweetdeck userscript
// ==UserScript==
// @name Downgrade Tweetdeck
// @include https://tweetdeck.twitter.com/
// @version 0.1
// @grant none
// ==/UserScript==
(function() {
'use strict';
$(`
<style type='text/css'>
@font-face {
font-family: oldTweetdeckFont;
src: url(https://ton.twimg.com/tweetdeck-web/web/assets/fonts/tweetdeck-regular-webfont.5f4ea87976.woff);
}
.column-type-icon {
position: relative !important;
font-size: 24px !important;
width: 24px !important;
height: 24px !important;
bottom: 0 !important;
left: 0 !important;
}
.icon-medium {
font-size: 24px !important;
}
.tweet-action {
font-size: 17px !important;
width: 20px !important;
}
.icon-small-context {
font-size: 14px !important;
}
.avatar {
border-radius: 10% !important;
}
.icon-reply::before {
content: "\\f006" !important;
font-family: "oldTweetdeckFont" !important;
font-size: 20px !important;
width: 20px !important;
}
.icon-retweet::before {
content: "\\f008" !important;
font-family: "oldTweetdeckFont" !important;
font-size: 20px;
width: 22px !important;
}
.icon-favorite::before, .icon-favorite-toggle::before {
content: "\\f055" !important;
font-family: "oldTweetdeckFont" !important;;
font-size: 17px;
}
.icon-more::before {
content: "\\f016" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-compose::before {
content: "\\f031" !important;
font-family: "oldTweetdeckFont" !important;
font-size: 30px !important;
margin-left: -6px !important;
}
.icon-search::before {
content: "\\f00a" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-home::before {
content: "\\f004" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-notifications::before {
content: "\\f019" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-activity::before {
content: "\\f01c" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-message::before {
content: "\\f003" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-user::before {
content: "\\f024" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-sliders::before {
content: "\\f042" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-compose-dm::before {
content: "\\f044" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-mark-read::before {
content: "\\f032" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-camera::before {
content: "\\f015" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-schedule::before {
content: "\\f022" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-popout::before {
content: "\\f037" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-arrow-r-double::before {
content: "\\f033" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-user-switch::before {
content: "\\f047" !important;
font-family: "oldTweetdeckFont" !important;
}
.icon-settings::before {
content: "\\f018" !important;
font-family: "oldTweetdeckFont" !important;
color: #FAB81E !important;
}
</style>`).appendTo("head");
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment