Merge branch 'master' of ssh://gitorious.silverstripe.com:2222/electricityauth/dms

This commit is contained in:
Julian Seidenberg 2012-08-13 14:15:04 +12:00
commit 8264ab4396
8 changed files with 82 additions and 39 deletions

View File

@ -28,7 +28,13 @@ form.small .field input.text, form.small .field textarea, form.small .field sele
#ActionsPanel .fieldgroup-field { float: none; width: auto; }
#ActionsPanel .fieldgroup-field .fieldholder-small label { float: none; width: auto; margin: 0; padding: 0; }
#ActionsPanel .fieldgroup-field .fieldholder-small label.ss-ui-button { float: left; margin: 0 10px 0 0; }
#ActionsPanel .ss-uploadfield-files .ss-uploadfield-item-preview { background: url("../images/app_icons/generic_32.png") -10px -6px no-repeat; }
#ActionsPanel .ss-uploadfield-files .ss-uploadfield-item-name span.name { width: 260px; }
#ActionsPanel .ss-uploadfield-files .ss-uploadfield-item-actions .ss-uploadfield-item-cancel { width: auto; text-indent: 0; }
#ActionsPanel .ss-uploadfield-files .ss-uploadfield-item-actions .ss-uploadfield-item-cancel .btn-icon-deleteLight { background-position: 0 -128px; display: inline-block; }
#ActionsPanel .ss-uploadfield-files .ss-uploadfield-item-actions .ss-uploadfield-item-cancel .ui-button-text { display: block; position: relative; float: right; color: #555; padding: 0; padding-left: 2em; }
#Form_ItemEditForm fieldset table.ss-gridfield-table { width: auto; max-width: 508px; }
#Form_ItemEditForm fieldset table.ss-gridfield-table { width: 508px; }
#Form_ItemEditForm fieldset table.ss-gridfield-table tr th.main { min-width: 175px; }
#Form_ItemEditForm fieldset table.ss-gridfield-table tr th.main.col-action_SetOrderID { width: 60px; min-width: 60px; }
#Form_ItemEditForm fieldset table.ss-gridfield-table tr td { white-space: normal; }

View File

@ -1,3 +1,5 @@
.ui-autocomplete { border: 1px solid #DDD; box-shadow: 0 1px 2px 0px #AFAFAF; }
#Root_Documents { padding-left: 0; }
#Root_Documents table { white-space: normal; }
#Root_Documents table th.col-action_SetOrderTitle, #Root_Documents table th.col-FilenameWithoutID { width: 300px; }

View File

@ -60,7 +60,6 @@
}
});
});
}(jQuery));

View File

@ -123,13 +123,41 @@ form.small .field .TreeDropdownField,
}
}
}
.ss-uploadfield-files{
.ss-uploadfield-item-preview{
background: url('../images/app_icons/generic_32.png') -10px -6px no-repeat;
}
.ss-uploadfield-item-name{
span.name{
width: 260px;
}
}
.ss-uploadfield-item-actions{
.ss-uploadfield-item-cancel{
width: auto;
text-indent:0;
.btn-icon-deleteLight{
background-position: 0 -128px;
display: inline-block;
}
.ui-button-text{
display: block;
position: relative;
float: right;
color: #555;
padding:0;
padding-left: 2em;
}
}
}
}
}
#Form_ItemEditForm{
fieldset{
table.ss-gridfield-table{
width: auto;
max-width:508px;
width: 508px;
//max-width:508px;
tr{
th.main{
min-width:175px;
@ -138,6 +166,9 @@ form.small .field .TreeDropdownField,
min-width:60px;
}
}
td{
white-space:normal;
}
}
}
}

View File

@ -1,5 +1,10 @@
//data-icon="cross-circle"
.ui-autocomplete{
border: 1px solid #DDD;
box-shadow: 0 1px 2px 0px #AFAFAF;
}
#Root_Documents{
padding-left: 0;
table{

View File

@ -1,4 +1,4 @@
<div class="ss-add">
<div class="ss-add ss-upload">
<div class="document-add-existing field">
<h3>
@ -8,7 +8,7 @@
</span>
</h3>
<input class="document-autocomplete" placeholder="Search by ID or filename" />
<input class="document-autocomplete text" type="text" placeholder="Search by ID or filename" />
</div>
<div class="ss-assetuploadfield">
@ -18,7 +18,7 @@
<span class="title">Edit Document Details</span>
</span>
</h3>
<div class="fileOverview">
<!-- <div class="fileOverview"></div> -->
<ul class="files ss-uploadfield-files ss-add-files"></ul>
</div>
</div>

View File