Skip to content
This repository has been archived by the owner on Oct 22, 2020. It is now read-only.

Commit

Permalink
uploaded metrodeck 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
corbindavenport committed Jul 30, 2015
1 parent 794ff19 commit b1b66b2
Show file tree
Hide file tree
Showing 10 changed files with 100 additions and 30 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ I've designed MetroDeck in a way that shouldn't break with future TweetDeck upda
__TweetDeck is a trademark of Twitter, inc. MetroDeck is not affiliated with Twitter in any way. Due to a Chrome limitation, this does not work with the TweetDeck app for Chrome. Please use the web version (tweetdeck.twitter.com) instead.__

---------------------------------------------------------
__New in MetroDeck 1.4:__
* Updated to support TweetDeck 3.9.837-8abeadb
* Adjusted colors to better match Metro color scheme
* Fixed problem where welcome screen wouldn't load

__New in MetroDeck 1.3.1:__
* Fixed bug where fonts would not load

Expand Down
28 changes: 26 additions & 2 deletions css/app-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
*/

/* TweetDeck 3.9.798-f9da451 CSS */
/* TweetDeck 3.9.837-8abeadb CSS */

@import url("https://ton.twimg.com/tweetdeck-web/web/css/app-dark.1db1925fe6.css");
@import url("https://ton.twimg.com/tweetdeck-web/web/css/app-dark.5df91c9f71.css");

/* MetroDeck CSS */

Expand Down Expand Up @@ -81,6 +81,10 @@ a {
color: #FFFFFF !important;
}

.app-navigator {
bottom: 0px !important;
}

.app-search-fake {
box-shadow: none !important;
}
Expand Down Expand Up @@ -182,6 +186,14 @@ a {
background-color: #1d1d1d !important;
}

.mdl-header-title {
color: #FFFFFF !important;
text-transform: lowercase !important;
padding-left: 25px;
font-size: 20px;
font-weight: normal !important;
}

.list-account {
text-shadow: 0 !important;
}
Expand Down Expand Up @@ -331,4 +343,16 @@ input[type=text]:focus, select:focus {

.spinner-button-icon-spinner {
background-image: url("chrome-extension://__MSG_@@extension_id__/img/button-spinner.gif") !important;
}

.txt-r-medium-green {
color: #00a300 !important;
}

.txt-r-deep-yellow {
color: #ffc40d !important;
}

.icon-follow-color {
color: #00A9DA !important;
}
28 changes: 26 additions & 2 deletions css/app-light.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ This program is distributed in the hope that it will be useful, but WITHOUT ANY
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
*/

/* TweetDeck 3.9.798-f9da451 CSS */
/* TweetDeck 3.9.837-8abeadb CSS */

@import url("https://ton.twimg.com/tweetdeck-web/web/css/app-light.54bf360141.css");
@import url("https://ton.twimg.com/tweetdeck-web/web/css/app-light.fcd108cb51.css");

/* MetroDeck CSS */

Expand Down Expand Up @@ -81,6 +81,10 @@ a {
color: #FFFFFF !important;
}

.app-navigator {
bottom: 0px !important;
}

.app-search-fake {
box-shadow: none !important;
}
Expand Down Expand Up @@ -182,6 +186,14 @@ a {
background-color: #FFFFFF !important;
}

.mdl-header-title {
color: #00A9DA !important;
text-transform: lowercase !important;
padding-left: 25px;
font-size: 18px;
font-weight: normal !important;
}

.list-account {
text-shadow: 0 !important;
}
Expand Down Expand Up @@ -330,4 +342,16 @@ input[type=text]:focus, select:focus {

.spinner-button-icon-spinner {
background-image: url("chrome-extension://__MSG_@@extension_id__/img/button-spinner.gif") !important;
}

.txt-r-medium-green {
color: #00a300 !important;
}

.txt-r-deep-yellow {
color: #ffc40d !important;
}

.icon-follow-color {
color: #00A9DA !important;
}
14 changes: 13 additions & 1 deletion css/metrodeck.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,19 @@ You should have received a copy of the GNU General Public License along with thi
}

.mdl-links:nth-child(3):after {
content: '| MetroDeck 1.3';
content: '| MetroDeck 1.4';
}

/* Updated sprites */

.sprite {
background-image: url("chrome-extension://__MSG_@@extension_id__/img/td_sprite_sheet_1x.png") !important;
}

@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 144dpi), (min-resolution: 1.5dppx) {
.sprite {
background-image: url("chrome-extension://__MSG_@@extension_id__/img/td_sprite_sheet_2x.png");
}
}

/* Metro alerts */
Expand Down
Binary file added img/td_sprite_sheet_1x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/td_sprite_sheet_2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion js/contentscript.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $(document).ready(function(){
// Change title and icon
document.title = 'MetroDeck';
$('link[rel="shortcut icon"]').remove();
$('head').append( '<link rel="shortcut icon" href="' + extensionid + 'img/icon32.png">' );
$('head').append( '<link rel="shortcut icon" href="' + extensionid + 'img/icon48.png">' );
console.log("[MetroDeck] Changed page title and icon.");

// Apply custom CSS stylesheets
Expand Down
4 changes: 4 additions & 0 deletions js/welcome.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$(window).load(function(){
$(".version").html(localStorage["version"]);
$(".page-content").fadeIn(1000, function() {});
});
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "MetroDeck",
"version": "1.3.1",
"version": "1.4",
"author": "Corbin Davenport",
"description": "MetroDeck enhances TweetDeck with the Metro UI and other improvements.",
"permissions": [
Expand Down
47 changes: 24 additions & 23 deletions welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,21 @@
<link href="css/metro-icons.min.css" rel="stylesheet">
<script src="js/jquery-2.1.3.min.js"></script>
<script src="js/metro.min.js"></script>
<style>
body,html {height: auto !important;}
#bitcoin {padding: 10px;}
</style>
<script>
function showDialog(id){
var dialog = $(id).data('dialog');
dialog.open();
}
<script src="js/welcome.js"></script>
</script>
</head>
<body>
<div data-role="dialog" data-close-button="true" id="bitcoin">
<p>Please send bitcoin to this address:</p>
<p align="center"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAIAAAAiOjnJAAAABmJLR0QA/wD/AP+gvaeTAAAEB0lEQVR4nO3dQW7bMBRAwbjo/a+c7iOjIAg+UnJm1rWcpg8EfiWRr+/v7y9Y7c/pH4DPJCwSwiIhLBLCIiEsEsIiISwSwiIhLBLCIiEsEn8H/9zr9Up/jv+73im//jyr/sycJ155zuBTC1YsEsIiISwSwiIhLBKjU+FV90zzyNQzNyvNzVMjf9O5n3mVs/8Wb1mxSAiLhLBICIuEsEjMT4VX3cx19rvmrPp7PfT3Y8UiISwSwiIhLBLCIrFyKnyiVU+ZrpqnPmZXKSsWCWGREBYJYZEQFonPmQpXPec5913H783djRWLhLBICIuEsEgIi8TKqfBuz2euej+x2+9l1fOiV8fnTSsWCWGREBYJYZEQFon5qfDsTphz89TOvUy7P3N19t/iLSsWCWGREBYJYZEQFonRqfD4vacfzt6XnNvv9Fc9d2rFIiEsEsIiISwSwiKx+7zCuTtfO++pdU91ztl593DV7/nLikVEWCSERUJYJIRF4jU98qyaVs5+aue0e7Xzyc/Npy5asUgIi4SwSAiLhLBInN+DdG4y2vmpbp5adQpGN11O/6eBFYuEsEgIi4SwSAiLxMp7hVc7n73c+fN0u5uu+q45C5+etWKREBYJYZEQFglhkZi/V/jE8wGvuqdMV1155xkcC1mxSAiLhLBICIuEsEi0T5Au3L0k+vbPuPLc7zCdE61YJIRFQlgkhEVCWCRWnlfY3WW7OnuK/dx15oxceef7knab4SRhkRAWCWGREBaJ0fcKu5MORj414uxOMiNXPrv/6pWpkOcRFglhkRAWCWGRmN9tpvPEsxHvdsbEHLvNcHfCIiEsEsIiISwSz9iDdOezoKu+fe46I1bNre4V8jzCIiEsEsIiISwSo+8V7nyOcW7G2TkDrrLqnuPOHXsGWbFICIuEsEgIi4SwSKx8gvRuJxhenT0tYtWU6hR7fi9hkRAWCWGREBaJdg/SkU+NWDVL3m0m3XmdbiZ9y4pFQlgkhEVCWCSEReKOu82M2Hnu4ci3z3niu5CmQk4SFglhkRAWCWGRaE+mWGXzfa6J69z/vcsRCydrKxYJYZEQFglhkRAWifknSHeejzCne/9u7jo732pc9alpViwSwiIhLBLCIiEsEvNT4dXZ+1N3e9vu7AS66jp2m+FehEVCWCSERUJYJFZOhTt1c1l3rt/caRpnzyL0XiH3IiwSwiIhLBLCIvHUqfDq7GS06g3BETun3WlWLBLCIiEsEsIiISwSK6fCh25n+kN6B23iyiOfuupm5EFWLBLCIiEsEsIiISwSK88rPGvnzi1zut/YyJXdK+QTCIuEsEgIi4SwSDz1vEJuzopFQlgkhEVCWCSERUJYJIRFQlgkhEVCWCSERUJYJP4BuqIauoKd/S4AAAAASUVORK5CYII=" /></p>
<p style="background-color: rgba(0,0,0,0.02); padding: 10px; border: 1px solid #eee; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace;">1GSbhaUp8JSRepqQceHzrGhV1bPk9hcPuS</p>
<span class="dialog-close-button"></span>
</div>
<div class="container page-content">
<h1>Welcome to MetroDeck</h1>
<div class="container page-content" style="display:none">
<h1>Welcome to MetroDeck <span class="version"></span></h1>
<p>MetroDeck is an extension for Google Chrome and Opera that alters the appearance of TweetDeck to match Microsoft's Metro UI (also known as Modern/Universal UI). It works with both TweetDeck's light and dark themes.</p>
<b>What's new in MetroDeck 1.4:</b>
<p>
- Updated to support TweetDeck 3.9.837-8abeadb
<br />
- Adjusted colors to better match Metro color scheme
<br />
- Fixed problem where welcome screen wouldn't load
</p>
<b>What's new in MetroDeck 1.3.1:</b>
<p>- Fixed bug where fonts would not load</p>
<b>What's new in MetroDeck 1.3:</b>
Expand All @@ -40,12 +34,19 @@ <h1>Welcome to MetroDeck</h1>
- Overall improvements to codebase
</p>
<p>MetroDeck is licensed under the GPL v3 license, and it's code is available <a href="https://github.com/corbindavenport/metrodeck/" target="_blank">on GitHub</a>. You can also follow <a href="http://www.twitter.com/metrodeck" target="_blank">MetroDeck on Twitter</a> for updates.</p>
<h3>Get Started</h3>
<p>To use MetroDeck, simply open the TweetDeck web app in your browser. Please note that due to API limitations, MetroDeck does not work with the TweetDeck app for Google Chrome.</p>
<a href="https://tweetdeck.twitter.com" target="_blank" class="button">Open TweetDeck in new tab</a>
<h3>Donate</h3>
<p>If you enjoy MetroDeck, please consider donating. It helps us keep MetroDeck fully working with future TweetDeck updates.</p>
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=4SZVSMJKDS35J&lc=US&item_name=MetroDeck%20Donation&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted" target="_blank" class="button">Donate via PayPal</a><a href="javascript:showDialog('#bitcoin')" style="margin-left: 20px;" class="button">Donate via Bitcoin</a>
<div class="grid">
<div class="row cells2">
<div class="cell">
<h3>Get Started</h3>
<p>To use MetroDeck, simply open the TweetDeck web app in your browser. Please note that due to API limitations, MetroDeck does not work with the TweetDeck app for Google Chrome.</p>
<a href="https://tweetdeck.twitter.com" target="_blank" class="button">Open TweetDeck in new tab</a></div>
<div class="cell">
<h3>Donate</h3>
<p>If you enjoy MetroDeck, please consider donating. It helps us keep MetroDeck fully working with future TweetDeck updates.</p>
<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=4SZVSMJKDS35J&lc=US&item_name=MetroDeck%20Donation&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHosted" target="_blank" class="button">Donate via PayPal</a>
</div>
</div>
</div>
</div>
</body>
</html>

0 comments on commit b1b66b2

Please sign in to comment.