User:Ssitter/UserChrome: Difference between revisions

Jump to navigation Jump to search
m
(initial version)
 
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Outdated}}
== New 'old' look for Sunbird 0.3a1+ and Lightning 0.1 ==
== New 'old' look for Sunbird 0.3a1+ and Lightning 0.1 ==


I have played around a litte bit with my userChrome.css file to see what is possible. The result brings back the 'old' Sunbird look to Sunbird 0.3a1+ and Lightning 0.1. It is not finished yet and I'm not happe with every detail. But maybe someone has a good idea?
'''Note''': Most of the style rules below are now contained in Sunbird 0.3a2 default theme.


Preview: [http://img82.imageshack.us/my.php?image=oldstylemonth0lk.png Month View] | [http://img82.imageshack.us/my.php?image=oldstyleweek3an.png Week View]
I have played around a little bit with my [http://kb.mozillazine.org/UserChrome.css userChrome.css] file to see what is possible. The result brings back the 'old' Sunbird look to Sunbird 0.3a1+ and Lightning 0.1. It is not finished yet and I'm not happy with every detail. But maybe someone has a good idea?
 
Preview:
 
http://img82.imageshack.us/img82/2707/oldstylemonth0lk.th.png  [http://img82.imageshack.us/my.php?image=oldstylemonth0lk.png Month View]
 
http://img82.imageshack.us/img82/821/oldstyleweek3an.th.png  [http://img82.imageshack.us/my.php?image=oldstyleweek3an.png Week View]
 
== userChrome.css ==
How to use it? Go to the "chrome" folder in your Sunbird or Thunderbird profile folder and find the "userChrome.css" file. Put the following code into that file:


<pre><nowiki>
<pre><nowiki>
/*
/*
  * Do not remove the @namespace line --  
* Do not remove the @namespace line --  
  it's required for correct functioning
* it's required for correct functioning
  */
*/
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");


/*
/*
==================================================
==================================================
  MAIN view deck - contains nav buttons and views
MAIN view deck - contains nav buttons and views
==================================================
==================================================
*/
*/
Line 24: Line 34:
/*
/*
==================================================
==================================================
  NAVIGATION buttons
NAVIGATION buttons
==================================================
==================================================
*/
*/
Line 56: Line 66:
/*
/*
==================================================
==================================================
  MULTIWEEK and MONTH view  
MULTIWEEK and MONTH view  
==================================================
==================================================
*/
*/
Line 92: Line 102:
   background: #D5E3F2 !important;
   background: #D5E3F2 !important;
   border: 1px solid #1D7AB5 !important;
   border: 1px solid #1D7AB5 !important;
}
.calendar-month-day-box-even[today="true"],
.calendar-month-day-box-weekend[today="true"],
.calendar-month-day-box-odd[today="true"] {
  font-weight: bold;
  border: 3px solid #1D7AB5 !important;
}
}


Line 105: Line 121:
/*
/*
==================================================
==================================================
  DAY and WEEK view  
DAY and WEEK view  
==================================================
==================================================
*/
*/
Line 150: Line 166:
}
}
</nowiki></pre>
</nowiki></pre>
OldManRiver here!
Hey do not have the "chrome" folder in the profile, only in the System folders under "C:\Program Files\Mozilla Thunderbird\chrome".  Is this where the .css is supposed to be or do I need to create the folder under the user profile for this to work.
Also!  The .css example does not show an element for the "current day" and on my computer (laptop) the shading is so faint, I can not make it out, so need a darker color that I can see.  What is needed for that?  Do you have an element name?
Thanks!
OMR

Navigation menu