Color for current date in Ligntning
- Barkley Hound
- Posts: 358
- Joined: June 1st, 2006, 8:53 am
Color for current date in Ligntning
Is there a way to make the current day stand out better in the month view of Lightning 4.7.4. The solid light color just does not stand out. I would either like to have a darker color, a heavy border, or a pattern for the background.
-
- Posts: 6404
- Joined: February 3rd, 2009, 6:29 pm
Re: Color for current date in Ligntning
You can change the color with a userChrome.css tweak.
http://kb.mozillazine.org/UserChrome.css
http://dxr.mozilla.org/comm-central/sou ... -views.css
Code: Select all
/* Thunderbird userChrome.css */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
window {
--viewTodayBackground: red !important;
--viewDayBoxSelectedBackground: orange !important;
}
http://dxr.mozilla.org/comm-central/sou ... -views.css
- Barkley Hound
- Posts: 358
- Joined: June 1st, 2006, 8:53 am
Re: Color for current date in Ligntning
Thank you. That works. There is one minor annoyance but I can live with it. The selected day has priority over the current day so initially the current day is orange unless anther day is selected.morat wrote:You can change the color with a userChrome.css tweak.
http://kb.mozillazine.org/UserChrome.cssCode: Select all
/* Thunderbird userChrome.css */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); window { --viewTodayBackground: red !important; --viewDayBoxSelectedBackground: orange !important; }
http://dxr.mozilla.org/comm-central/sou ... -views.css
-
- Posts: 6404
- Joined: February 3rd, 2009, 6:29 pm
Re: Color for current date in Ligntning
You can switch the priority. (red over orange)
note: rules that appear later in the code override earlier rules if both have the same specificity
Code: Select all
/* Thunderbird userChrome.css */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
.calendar-month-day-box-current-month[selected="true"] {
background-color: orange !important;
}
.calendar-month-day-box-current-month[relation="today"] {
background-color: red !important;
}
- Barkley Hound
- Posts: 358
- Joined: June 1st, 2006, 8:53 am
Re: Color for current date in Ligntning
Perfect. Thanks. Since I rarely have to change the chrome it is easier to just ask and not try to learn it. I would forget by the time it was used.morat wrote:You can switch the priority. (red over orange)
note: rules that appear later in the code override earlier rules if both have the same specificityCode: Select all
/* Thunderbird userChrome.css */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); .calendar-month-day-box-current-month[selected="true"] { background-color: orange !important; } .calendar-month-day-box-current-month[relation="today"] { background-color: red !important; }