User:Ssitter/UserChrome2: Difference between revisions

no edit summary
No edit summary
 
No edit summary
Line 1: Line 1:
== Small enhancements for Sunbird 0.3a2 look ==
== Small enhancements (in my opinion) for Sunbird 0.3 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:
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:
Line 5: Line 5:
<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");
Line 12: Line 11:
/*
/*
==================================================
==================================================
  NAVIGATION buttons
  LIGHTNING Sidebar cleanup
==================================================
==================================================
*/
*/


/* Hide the datepicker textbox */
#ltnDateTextPickerBox {
  display: none !important;
}
/* Hide the calendar management buttons */
#ltnCalendarButtonsBox {
  display: none !important;
}
/* Minimonth uses full width */
#ltnMinimonthBox spacer {
  display: none !important;
}
/* Hide the filter box in Agenda tab */
#agenda-tab-panel hbox label,
#agenda-tab-panel hbox menulist {
  display: none !important;
}
/*
==================================================
NAVIGATION buttons (above view)
==================================================
*/
/* Bigger font for all buttons */
.title-label-box button {
.title-label-box button {
   font-size: 2em !important;
   font-size: 2em !important;
   font-weight: bold !important;
   font-weight: bold !important;
}
}
.title-label-box .title0 { /* current day/week/month button */
 
}
/* Hide buttons +2/-2 day/week/month */
.title-label-box .title1 { /* hide +1/-1 day/week/month button  */
.title-label-box .title2 {  
  display: none !important;
}
.title-label-box .title2 { /* hide +2/-2 day/week/month button  */
   display: none !important;
   display: none !important;
}
}
Line 35: Line 59:
*/
*/


/* Bigger font for title row with day names */
calendar-month-view-column-header {  
calendar-month-view-column-header {  
   font-size: 1.2em !important;
   font-size: 1.1em !important;
   font-weight: bold !important;
   font-weight: bold !important;
}
}
calendar-month-day-box-item { /* style for event boxes */
 
/* Bigger font and small border for event boxes */
calendar-month-day-box-item {
   font-size: 12px !important;
   font-size: 12px !important;
   padding: 1px !important;
   padding: 1px !important;
278

edits