[ui cleanup] [minor]
This commit is contained in:
parent
f2ac485b1b
commit
f18ba49a00
3 changed files with 12 additions and 10 deletions
|
|
@ -95,7 +95,7 @@ div#freeze {
|
|||
|
||||
.form-headline {
|
||||
margin-bottom: 10px;
|
||||
font-size: 130%;
|
||||
font-size: 120%;
|
||||
}
|
||||
|
||||
.form-dashboard {
|
||||
|
|
@ -134,7 +134,7 @@ div#freeze {
|
|||
.list-timestamp {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
bottom: -2px;
|
||||
bottom: 2px;
|
||||
font-size: 70%;
|
||||
color: #888;
|
||||
}
|
||||
|
|
@ -264,7 +264,7 @@ div#freeze {
|
|||
margin-top: -15px;
|
||||
font-size: 24px;
|
||||
text-align: center;
|
||||
width: 40px;
|
||||
width: 27px;
|
||||
}
|
||||
|
||||
.appframe .title-text {
|
||||
|
|
@ -274,8 +274,8 @@ div#freeze {
|
|||
}
|
||||
|
||||
.appframe .sub-title-area {
|
||||
margin-top: -24px;
|
||||
margin-left: 48px;
|
||||
margin-top: -20px;
|
||||
margin-left: 37px;
|
||||
font-size: 100%;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -53,6 +53,7 @@ wn.views.CommunicationList = Class.extend({
|
|||
.appendTo(this.parent);
|
||||
|
||||
this.body = $('<div class="list-group">')
|
||||
.css({"border":"1px solid #dddddd", "border-radius":"4px"})
|
||||
.appendTo(this.wrapper);
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ wn.views.ListView = Class.extend({
|
|||
} else if(d.fieldtype=="Check") {
|
||||
colspan = "1";
|
||||
} else if(in_list(["name", "subject", "title"], d.fieldname)) { // subjects are longer
|
||||
colspan = "3";
|
||||
colspan = "4";
|
||||
} else if(d.fieldtype=="Text Editor" || d.fieldtype=="Text") {
|
||||
colspan = "4";
|
||||
}
|
||||
|
|
@ -138,10 +138,11 @@ wn.views.ListView = Class.extend({
|
|||
this.id_list.push(data.name);
|
||||
|
||||
|
||||
var body = $('<div class="doclist-row" style="display: table; width: 100%;">\
|
||||
<div class="list-row-id-area" style="width: 200px; display: table-cell; "></div>\
|
||||
var body = $('<div class="doclist-row" style="display: table; width: 100%; table-layout: fixed">\
|
||||
<div class="list-row-id-area" style="width: 200px; display: table-cell; white-space:nowrap;\
|
||||
text-overflow: ellipsis; max-height: 30px"></div>\
|
||||
<div class="list-row-content-area row" style="display: table-cell"></div>\
|
||||
</div>').appendTo(row),
|
||||
</div>').appendTo($(row).css({"position":"relative"})),
|
||||
colspans = 0,
|
||||
me = this;
|
||||
|
||||
|
|
@ -159,7 +160,7 @@ wn.views.ListView = Class.extend({
|
|||
});
|
||||
|
||||
|
||||
var timestamp = $('<div class="list-timestamp">').appendTo(body).html(comment_when(data.modified));
|
||||
var timestamp = $('<div class="list-timestamp">').appendTo(row).html(comment_when(data.modified));
|
||||
|
||||
// row #2
|
||||
var row2 = $('<div class="row tag-row">\
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue