css on the boxes

This commit is contained in:
Sanj 2011-04-11 04:46:57 +05:30
parent 98b3217767
commit 242b6ed5b4
2 changed files with 7 additions and 0 deletions

View File

@ -11,6 +11,12 @@
font-weight: bold; font-weight: bold;
} }
.itfBoxTitle {
font-size: 18px;
font-weight: bold;
text-align: center;
}
.OxCommentWrapper { .OxCommentWrapper {
margin-bottom: 4px; margin-bottom: 4px;
} }

View File

@ -74,6 +74,7 @@ Ox.ItfBox = function(boxData) {
}).appendTo(that); }).appendTo(that);
var $title = new Ox.Element() var $title = new Ox.Element()
.addClass('OxTitle') .addClass('OxTitle')
.addClass('itfBoxTitle')
.html(boxData.title) .html(boxData.title)
.appendTo($titlebar); .appendTo($titlebar);
var $buttons = new Ox.Element().appendTo($title).css({'position': 'absolute', 'top': '1px', 'right': '10px'}); var $buttons = new Ox.Element().appendTo($title).css({'position': 'absolute', 'top': '1px', 'right': '10px'});