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

This commit is contained in:
Andrew Dolgov 2013-06-07 10:01:11 +04:00
parent 58fc7095ed
commit 33e2d26bcb
3 changed files with 9 additions and 8 deletions

View File

@ -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;

View File

@ -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];

View File

@ -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;