icon styling

This commit is contained in:
Daniel Caine 2015-04-24 10:27:09 +12:00
parent ac4509776c
commit 30acb4f383
3 changed files with 13 additions and 3 deletions

View File

@ -101,7 +101,7 @@ class GridFieldMergeAction implements GridField_ColumnProvider, GridField_Action
* {@inheritdoc} * {@inheritdoc}
*/ */
public function getColumnMetadata($gridField, $columnName) { public function getColumnMetadata($gridField, $columnName) {
return array('title' => 'Move Posts To'); return array('title' => 'Move posts to');
} }
/** /**

View File

@ -134,11 +134,16 @@ label.right.toggle-description-correct-right {
z-index: 999; z-index: 999;
} }
#Form_EditForm_Categories .MergeActionReveal,
#Form_EditForm_Tags .MergeActionReveal {
margin-left: 10px;
}
#Form_EditForm_Categories .MergeActionReveal:after, #Form_EditForm_Categories .MergeActionReveal:after,
#Form_EditForm_Tags .MergeActionReveal:after { #Form_EditForm_Tags .MergeActionReveal:after {
content: ''; content: '';
background: url("../images/move-icon.png"); background: url("../images/move-icon.png");
display: block; display: inline-block;
height: 16px; height: 16px;
width: 16px; width: 16px;
margin-left: 4px;
} }

View File

@ -172,11 +172,16 @@ label.right.toggle-description-correct-right {
#Form_EditForm_Tags { #Form_EditForm_Tags {
// ID to be changed for a .class once a developer adds one one to the parent of both IDs // ID to be changed for a .class once a developer adds one one to the parent of both IDs
.MergeActionReveal {
margin-left: 10px;
}
.MergeActionReveal:after { .MergeActionReveal:after {
content: ''; content: '';
background: url('../images/move-icon.png'); background: url('../images/move-icon.png');
display: block; display: inline-block;
height: 16px; height: 16px;
width: 16px; width: 16px;
margin-left: 4px;
} }
} }