|
FastMail Forum All posts relating to FastMail.FM should go here: suggestions, comments, requests for help, complaints, technical issues etc. |
|
Thread Tools |
4 Oct 2008, 12:03 AM | #1 |
The "e" in e-mail
Join Date: Feb 2002
Posts: 2,937
|
Professional Blue Stylesheet for New Interface
I love the new interface, but not particularly keen on the new colors. So I submit the first custom stylesheet for the new interface.
You can compare the screenshots here to see that I tried to keep the colors the same as the old Professional Blue style (I haven't messed with fonts yet): New Interface Old Interface (for reference) You'll need Firefox with the Stylish addon. Create a new style and paste the following code: Code:
@-moz-document domain(fastmail.fm) { .messageTotal { display: inline !important } #sidebar a { text-decoration: none; color:#2765B4 !important } div .resource { height: 20px; } .resource .figures, .resource .percent { position: relative; top: -19px; text-align: center; z-index: 100; color:#fff} .primaryActions { float: right !important } .secondaryActions { float: left !important } .chart { background-color: green !important } .chart div { background-color: red !important } h2 { background-color: #ccc !important; color: #000 !important } .statusMessage { background-color: #CCFF99 !important } #copyright { background-color: #155D96 !important } #pageHeader { background-color: #155D96 !important } .actions { background-color: #9AB4D1 !important } #sidebar li .selected, #sidebar li.selected a { background-color: #CDDAE9 !important } .contentTable th { background-color: #ccc !important; } .contentTable th a { color: #000 !important } #message dl { background-color: #eee !important } } Last edited by sflorack : 21 Oct 2008 at 11:02 PM. |
4 Oct 2008, 06:03 AM | #2 |
Member
Join Date: May 2008
Posts: 84
|
|
4 Oct 2008, 09:53 AM | #3 |
Master of the @
Join Date: Aug 2007
Location: U.S.A.
Posts: 1,583
|
double that thanks sflorack!
great job...... |
5 Oct 2008, 01:17 PM | #4 |
Essential Contributor
Join Date: Apr 2002
Location: New York City
Posts: 241
|
That's awesome. Knowing about that firefox add-on is going to save my sanity on a bunch of ugly sites. On the other hand, knowing about this is going to make it a lot harder to get those papers written for Monday. Thanks.
red version This isn't complete -- I wanted to change the color of the selected item in the sidebar, and the little line at the top of the selected tab up top -- couldn't find either & am going to bed. @-moz-document domain(fastmail.fm) { #sidebar a { text-decoration: none; color:#2765B4 !important; } div .resource { height: 20px; } .resource .figures, .resource .percent { position: relative; top: -19px; text-align: center; z-index: 100; color:#fff} .primaryActions { float: right !important } .secondaryActions { float: left !important } .chart { background-color: #c1cdcd !important } .chart div { background-color: white !important } #sidebar li .selected, #sidebar li.selected a { background-color: #CDDAE9 !important } body { background-color: #eee; color: #000 !important } h2 { background-color: #ccc !important; color: #000 !important } .statusMessage, .MbxSelTd { background-color: #ffa500 !important; } #copyright { background-color: #cd3333 !important } #pageHeader { background-color: #cd3333 !important; border-top:4px solid black !important; border-bottom:3px solid black !important } .actions { background-color: #cd3333 !important; border:2px solid black !important; } .actions a:link, .actions a:visited{ font-weight: bold !important; color: #fff !important; text-decoration: none; } .actions a:hover, .actions a:active{ font-weight: bold !important; color: #fff !important; text-decoration: underline; } .contentTable th { background-color: #ee6a50 !important; } .contentTable th a { color: #fff !important } #message dl { background-color: #eee !important } .message:hover, tr:hover { background-color: #fff !important; } h2 { background-color: #ee6a50 !important; } } Last edited by SamVilde : 5 Oct 2008 at 02:53 PM. |
7 Oct 2008, 02:51 PM | #5 |
The "e" in e-mail
Join Date: Jul 2002
Location: VK4
Posts: 3,026
|
Wow that looks goooooooood will it work in ie7 ? love the folders with the number of messages.....
|
7 Oct 2008, 02:57 PM | #6 |
Ultimate Contributor
Join Date: Dec 2001
Location: Canada.
Posts: 10,355
|
|
7 Oct 2008, 09:24 PM | #7 |
Cornerstone of the Community
Join Date: Mar 2003
Location: Baltimore, MD (USA)
Posts: 835
|
In the absence of guidelines from FM, it might make sense to start organizing our stylesheets for readability & ease of use. They're only going to get bigger & more complicated, although hopefully not as big as the 43K base stylesheet.
Code:
@-moz-document domain(mail.mydomain.com), domain(fastmail.fm) { /* General styling */ body { color: #333 } h1 { padding-top: 0; margin-top: 0 } h2 { padding: 2px 10px } button { padding: 0 2px } /* Page header */ #admin span{display:none} #admin a { /* ugly admin button hack */ border: 2px outset #ccc; background: #eee; padding: 2px 6px; color: #333 !important; vertical-align:middle; text-decoration: none !important } #admin a:hover { background: #f8b330 } .statusMessage { border: 1px solid #999 !important; border-top: 1px solid #fff !important; margin: -8px 0 0 0 !important } /* Sidebar */ #searchHeader { margin-top: -1.35em } #sidebar a { text-decoration: none } /* Folder List */ .messageTotal { display: inline !important } /* Resource bars */ div .resource { height: 20px } .resource .percent, .resource .figures { position: relative; top: -1.74em; text-align: center; z-index: 100; color: #fff } .chart { background-color: #aaa !important } .chart div { background-color: #900 !important } #resizeHandle { background: #eee url('http://mail.mydomain.com/images/resizeVert.jpg') center no-repeat; width: 6px !important; border: 1px solid #999; border-left: 1px solid #ccc } /* Main div */ #main { margin-top: .25em } /* Actions Bar */ .messageActions, .jumpPoints { width: 15em } .nextPrev { display: none } .primaryActions, .secondaryActions { margin: 2px 0 } .primaryActions { float: right !important } .secondaryActions { float: left !important } #showMessageActions { display: block; top: 5em !important } #messageFrom { width: 80%; max-width: 40em } } Last edited by Mystakill : 8 Oct 2008 at 04:18 AM. Reason: Added latest tweaks |
8 Oct 2008, 07:11 AM | #8 |
The "e" in e-mail
Join Date: Jul 2002
Location: VK4
Posts: 3,026
|
is the an IE one ?
|
8 Oct 2008, 10:07 AM | #9 |
Cornerstone of the Community
Join Date: Mar 2003
Location: Baltimore, MD (USA)
Posts: 835
|
|
8 Oct 2008, 10:47 AM | #10 |
The "e" in e-mail
Join Date: Jul 2002
Location: VK4
Posts: 3,026
|
thanks....
|
9 Oct 2008, 05:56 PM | #11 |
Intergalactic Postmaster
Join Date: May 2004
Location: Irving, Texas
Posts: 8,927
|
More stylesheet magic
Thanks to the earlier posters, I was able to put together some instructions on getting a new feature (Delete previous/next tool in message view screen) running using Stylish. Thanks, Mystakill and sflorack!
Bill |
16 Oct 2008, 02:56 AM | #12 |
Cornerstone of the Community
Join Date: Mar 2003
Location: Baltimore, MD (USA)
Posts: 835
|
Has anyone figured out how to replace the directional arrow images on the buttons? The best I've been able to do is to put an image on the background of the button, but not replace the existing image. I was trying to replace the images so that they'd make more sense now that their functions have been reversed (as have the text links).
I re-read through Neil's stylesheet & figured it out. Code:
button.actionPrevious div, li.menuPrevious{ background: transparent url(http://mydomain.com/images/arrow_down.gif) center no-repeat !important } button.actionNext div, li.menuNext{ background: transparent url(http://mydomain.com/images/arrow_up.gif) center no-repeat !important } Last edited by Mystakill : 16 Oct 2008 at 03:37 AM. Reason: Added transparency |
16 Oct 2008, 04:48 AM | #13 |
The "e" in e-mail
Join Date: Feb 2002
Posts: 2,937
|
I became confused with the new function, but wonder if I should use the hack you posted or "relearn" prev/next.
It's normal behavior to have NEXT move to the the next message; whereas the new interface uses the arrival time as the condition of PREV and NEXT. (When reading the first, and newest message, clicking PREV will move to the second newest message.) I suppose that makes more sense, but it's definitely something I'd have to get used to. |
16 Oct 2008, 07:24 PM | #14 |
Cornerstone of the Community
Join Date: Mar 2003
Location: Baltimore, MD (USA)
Posts: 835
|
According to Neil, the reversal of directions is apparently a bug, but it's been applied to all of the next/prev links and hasn't been fixed yet.
If you implement the up/down arrows as they are currently, you can easily reverse the image names to match if/when FM fixes the directionals. Last edited by Mystakill : 17 Oct 2008 at 01:17 AM. |
21 Oct 2008, 10:26 PM | #15 | |
Cornerstone of the Community
Join Date: Mar 2003
Location: Baltimore, MD (USA)
Posts: 835
|
Quote:
Sorry for the delay, but things have been busy this week. You can sort-of replicate Stylish functionality in IE7Pro by doing the following: 1) Create a new user script in C:\Program Files\IEPro\userscripts\ and give it a name like FastmailCssSkin.ieuser.js. 2) Add the following code to that file as the base, before adding any CSS: Code:
/* * Title: Fastmail CSS Skin * Description: Greasemonkey script for Firefox to change the appearance of Fastmail * Author: Mystakill@EMD * Updated: 10/21/2008 * */ // ==UserScript== // @name Fastmail CSS Skin // @namespace http://www.mydomain.com/archives/skin-para-gmail // @description Greasemonkey script for Firefox to change the appearance of Fastmail // @injectframes 1 // @include www.fastmail.fm/* // @include mail.yourdomain.com/* // ==/UserScript== (function(){ var cssStyle = '*** CSS TWEAKS GO HERE ***'; PRO_addStyle(cssStyle, document); })() For instance, Code:
#admin span{display:none} #admin a { text-decoration: none !important } #admin a:hover { background: #f8b330 } Code:
#admin span{display:none} #admin a { text-decoration:none !important } #admin a:hover { background:#f8b330 } I tried to include my entire stylesheet in the script, but it didn't work, even when I appended strings together. You might be better off creating separate scripts for each section of CSS code that you want to use. IE7Pro user scripts are way more of a hack than Stylish, but it seems to work with small snippets. Maybe you can convince the IE7Pro folks to support full-on Stylish functionality in lieu of user scripts for CSS. Otherwise, you'd be better off switching over to Firefox with the appropriate extensions (and IE Tab for sites insisting on IE). |
|