ENHANCEMENT: Add tab styling to add document dialog

This commit is contained in:
Ryan O'Hara 2012-08-07 16:51:39 +12:00
parent df6dc7b53e
commit 8da51ff5e9
3 changed files with 22 additions and 0 deletions

View File

@ -55,6 +55,7 @@ class DMSDocumentAddController extends LeftAndMain {
public function getEditForm($id = null, $fields = null) {
Requirements::javascript(FRAMEWORK_DIR . '/javascript/AssetUploadField.js');
Requirements::css(FRAMEWORK_DIR . '/css/AssetUploadField.css');
Requirements::css('dms/css/DMSMainCMS.css');
$page = $this->currentPage();

View File

@ -3,3 +3,7 @@
#Root_Documents table td { white-space: normal; }
#Root_Documents table td.col-buttons { white-space: nowrap; }
#Root_Documents table td.col-buttons .dms-delete-link-only .ui-icon { background: url(../images/chain-unchain.png) no-repeat; }
.DMSDocumentAddController .ui-tabs ul.ui-tabs-nav { border-bottom: none; float: right; margin: 8px 0 -1px 0; padding: 0 24px 0 0; }
.DMSDocumentAddController .ui-tabs ul.ui-tabs-nav li { padding-bottom: 1px; border: 1px solid #C0C0C2; }
.DMSDocumentAddController .ui-tabs ul.ui-tabs-nav li a { padding: 8px 20px 8px; }

View File

@ -21,3 +21,20 @@
}
}
}
.DMSDocumentAddController .ui-tabs{
ul.ui-tabs-nav{
border-bottom:none;
float: right;
margin: 8px 0 -1px 0;
padding: 0 24px 0 0;
li{
padding-bottom: 1px;
border: 1px solid #C0C0C2;
a{
padding: 8px 20px 8px;
}
}
}
}