User:Ssitter/UserChrome2

< User:Ssitter
Revision as of 20:41, 14 May 2006 by Ssitter (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Small enhancements for Sunbird 0.3a2 look

How to use it? Go to the "chrome" folder in your Sunbird profile folder and find the "userChrome.css" file. Create folder and file if nonexistent. Put the following code into that file:

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

/*
==================================================
 NAVIGATION buttons
==================================================
*/

.title-label-box button {
  font-size: 2em !important;
  font-weight: bold !important;
}
.title-label-box .title0 { /* current day/week/month button */
}
.title-label-box .title1 { /* hide +1/-1 day/week/month button  */
  display: none !important;
}
.title-label-box .title2 { /* hide +2/-2 day/week/month button  */
  display: none !important;
}

/*
==================================================
 MULTIWEEK and MONTH view 
==================================================
*/

calendar-month-view-column-header { 
  font-size: 1.2em !important;
  font-weight: bold !important;
}
calendar-month-day-box-item { /* style for event boxes */
  font-size: 12px !important;
  padding: 1px !important;
  border: 1px solid #999999;
}

/*
==================================================
 DAY and WEEK view 
==================================================
*/

.calendar-day-label-date {
  font-size: 1em !important;
}
.calendar-day-label-name {
  font-size: 1.4em !important;
}