mirror of
https://github.com/silverstripe/silverstripe-dms
synced 2024-10-22 14:05:56 +02:00
ENHANCEMENT: Add tab styling to add document dialog
This commit is contained in:
parent
df6dc7b53e
commit
8da51ff5e9
@ -55,6 +55,7 @@ class DMSDocumentAddController extends LeftAndMain {
|
|||||||
public function getEditForm($id = null, $fields = null) {
|
public function getEditForm($id = null, $fields = null) {
|
||||||
Requirements::javascript(FRAMEWORK_DIR . '/javascript/AssetUploadField.js');
|
Requirements::javascript(FRAMEWORK_DIR . '/javascript/AssetUploadField.js');
|
||||||
Requirements::css(FRAMEWORK_DIR . '/css/AssetUploadField.css');
|
Requirements::css(FRAMEWORK_DIR . '/css/AssetUploadField.css');
|
||||||
|
Requirements::css('dms/css/DMSMainCMS.css');
|
||||||
|
|
||||||
$page = $this->currentPage();
|
$page = $this->currentPage();
|
||||||
|
|
||||||
|
@ -3,3 +3,7 @@
|
|||||||
#Root_Documents table td { white-space: normal; }
|
#Root_Documents table td { white-space: normal; }
|
||||||
#Root_Documents table td.col-buttons { white-space: nowrap; }
|
#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; }
|
#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; }
|
||||||
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user