Changed CMS close from an 'x' to a silverstripe font icon

This commit is contained in:
Steve Boyd 2016-04-01 13:39:03 +13:00
parent 3d1673f687
commit 7887be704e
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;
}
}