Use stock close button instead of cross in speed dial
I'm not entirely decided if it's better or worse, we'll see how it is and can revert if needed.
This commit is contained in:
parent
4c2a3f5bb7
commit
3388c17f74
1 changed files with 8 additions and 13 deletions
|
@ -131,24 +131,19 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.cross {
|
.cross {
|
||||||
-webkit-border-radius: 7px;
|
height: 16px;
|
||||||
background-color: #ddd;
|
width: 16px;
|
||||||
height: 15px;
|
|
||||||
width: 15px;
|
|
||||||
font-size: 11px;
|
|
||||||
font-weight: bolder;
|
|
||||||
font-family: sans-serif;
|
|
||||||
margin-bottom: -17px;
|
margin-bottom: -17px;
|
||||||
margin-left: 183px;
|
margin-left: 180px;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
text-align: center;
|
background: url({stock}/16/gtk-close) 98% 70% no-repeat;
|
||||||
color: #fff;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
z-index: -4;
|
z-index: -4;
|
||||||
|
opacity: 0.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cross:hover {
|
.cross:hover {
|
||||||
background-color: #ff7575;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.activated p {
|
.activated p {
|
||||||
|
@ -210,7 +205,7 @@
|
||||||
a.empty ().removeClass ('waiter').grab (im);
|
a.empty ().removeClass ('waiter').grab (im);
|
||||||
a.setProperty ('href', href);
|
a.setProperty ('href', href);
|
||||||
|
|
||||||
var cross = new Element ('div', { 'html': 'x' });
|
var cross = new Element ('div', { 'html': '' });
|
||||||
cross.setProperty ('onclick', 'clearShortcut("' + id + '");');
|
cross.setProperty ('onclick', 'clearShortcut("' + id + '");');
|
||||||
cross.addClass ('cross');
|
cross.addClass ('cross');
|
||||||
cross.inject ($(id), 'top');
|
cross.inject ($(id), 'top');
|
||||||
|
@ -313,7 +308,7 @@
|
||||||
{
|
{
|
||||||
div.addClass ('activated');
|
div.addClass ('activated');
|
||||||
var im = new Element ('img', { src: 'data:image/png;base64,' + item.img });
|
var im = new Element ('img', { src: 'data:image/png;base64,' + item.img });
|
||||||
var cross = new Element ('div', { 'html': 'x' });
|
var cross = new Element ('div', { 'html': '' });
|
||||||
cross.setProperty ('onclick', 'clearShortcut("' + item.id + '");');
|
cross.setProperty ('onclick', 'clearShortcut("' + item.id + '");');
|
||||||
cross.addClass ('cross');
|
cross.addClass ('cross');
|
||||||
cross.inject (div, 'top');
|
cross.inject (div, 'top');
|
||||||
|
|
Loading…
Reference in a new issue