Merge pull request #5257 from steve-silverstripe/update-close-icon-on-cms-notices

Changed CMS close from an 'x' to a silverstripe font icon
This commit is contained in:
Damian Mooyman 2016-04-01 14:36:39 +13:00
commit 4585e67e15
2 changed files with 18 additions and 21 deletions

File diff suppressed because one or more lines are too long

View File

@ -875,24 +875,21 @@ body.cms {
}
.notice-item-close {
font-weight: normal;
width: 12px;
height: 16px;
color: #555;
font-size: 16px;
overflow: hidden;
top: 4px;
right: 4px;
padding: 2px;
font-size: 0; // hide the textNode "x" that jquery.notice.js inserts
opacity: .8;
&::before {
content: 'x';
}
&:hover {
opacity: 1;
}
// apply relevant styles from .font-icon-cancel
&::before {
content: "\44";
font-size: 15px;
font-family: silverstripe, sans-serif;
font-weight: normal;
-webkit-font-smoothing: antialiased;
}
}