mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Changed CMS close from an 'x' to a silverstripe font icon
This commit is contained in:
parent
3d1673f687
commit
7887be704e
File diff suppressed because one or more lines are too long
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user