mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
commit
4585e67e15
File diff suppressed because one or more lines are too long
@ -875,24 +875,21 @@ body.cms {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.notice-item-close {
|
.notice-item-close {
|
||||||
font-weight: normal;
|
font-size: 0; // hide the textNode "x" that jquery.notice.js inserts
|
||||||
width: 12px;
|
|
||||||
height: 16px;
|
|
||||||
color: #555;
|
|
||||||
font-size: 16px;
|
|
||||||
overflow: hidden;
|
|
||||||
top: 4px;
|
|
||||||
right: 4px;
|
|
||||||
padding: 2px;
|
|
||||||
opacity: .8;
|
opacity: .8;
|
||||||
|
|
||||||
&::before {
|
|
||||||
content: 'x';
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
opacity: 1;
|
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