mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Bug 340477 add bold styling to the 'header' rows in the agenda-tree-view, r=lilmatt
This commit is contained in:
parent
1c70977f59
commit
8f289e3fa0
@ -218,7 +218,15 @@ agendaTreeView.getImageSrc =
|
||||
function getImageSrc(row, column) { return null; };
|
||||
|
||||
agendaTreeView.getCellProperties =
|
||||
function getCellProperties(row, column) { return null; };
|
||||
function getCellProperties(row, column, props) {
|
||||
if (!this.isContainer(row)) {
|
||||
return;
|
||||
}
|
||||
|
||||
var atomSvc = Components.classes["@mozilla.org/atom-service;1"]
|
||||
.getService(Components.interfaces.nsIAtomService);
|
||||
props.AppendElement(atomSvc.getAtom("agenda-header"));
|
||||
};
|
||||
|
||||
agendaTreeView.getRowProperties =
|
||||
function getRowProperties(row) { return null; };
|
||||
|
@ -66,6 +66,10 @@ treechildren::-moz-tree-image(col-calendar-Checkbox, unchecked) {
|
||||
list-style-image: url("chrome://calendar/skin/checkbox_unchecked.png");
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-cell-text(agenda-header) {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Navigation controls for the views
|
||||
*-------------------------------------------------------------------*/
|
||||
|
@ -66,6 +66,10 @@ treechildren::-moz-tree-image(col-calendar-Checkbox, unchecked) {
|
||||
list-style-image: url("chrome://calendar/skin/checkbox_unchecked.png");
|
||||
}
|
||||
|
||||
treechildren::-moz-tree-cell-text(agenda-header) {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Navigation controls for the views
|
||||
*-------------------------------------------------------------------*/
|
||||
|
Loading…
Reference in New Issue
Block a user