apply special feedTree styles only to main UI feedtree, fix feedParam and filterParam screwing with tree node layout

master
Andrew Dolgov 12 years ago
parent 58fc7095ed
commit 33e2d26bcb

@ -1064,28 +1064,28 @@ div.hl.active {
margin-right : 25px;
}
#feedTree .dijitTreeRow {
body#ttrssMain #feedTree .dijitTreeRow {
padding : 2px 0px 2px;
border-width : 1px;
border-color : transparent;
color : #333;
}
#feedTree .dijitFolderClosed,
#feedTree .dijitFolderOpened {
body#ttrssMain #feedTree .dijitFolderClosed,
body#ttrssMain #feedTree .dijitFolderOpened {
display : none;
}
#feedTree .dijitTreeIsRoot > .dijitTreeRow > .dijitTreeExpando {
body#ttrssMain #feedTree .dijitTreeIsRoot > .dijitTreeRow > .dijitTreeExpando {
margin-left : 5px;
}
#feedTree .dijitTreeNode {
body#ttrssMain #feedTree .dijitTreeNode {
padding : 0px;
border-width : 0px;
}
#feedTree {
body#ttrssMain #feedTree {
height : 100%;
overflow-x : hidden;
font-family : "Segoe UI", Tahoma, sans-serif;

@ -32,7 +32,8 @@ dojo.declare("fox.PrefFeedTree", lib.CheckBoxTree, {
param = dojo.doc.createElement('span');
param.className = 'feedParam';
param.innerHTML = args.item.param[0];
dojo.place(param, tnode.labelNode, 'after');
//dojo.place(param, tnode.labelNode, 'after');
dojo.place(param, tnode.rowNode, 'first');
}
var id = args.item.id[0];

@ -29,7 +29,7 @@ dojo.declare("fox.PrefFilterTree", lib.CheckBoxTree, {
param = dojo.doc.createElement('span');
param.className = (enabled != false) ? 'labelParam' : 'labelParam Disabled';
param.innerHTML = args.item.param[0];
dojo.place(param, tnode.labelNode, 'after');
dojo.place(param, tnode.rowNode, 'first');
}
return tnode;

Loading…
Cancel
Save