Icon replacements

This commit is contained in:
Ruud
2013-05-10 15:14:47 +02:00
parent f3c60e8fa6
commit fede348fbd
8 changed files with 125 additions and 72 deletions
@@ -13,11 +13,11 @@
.profile > .delete {
position: absolute;
padding: 25px 20px;
background-position: center;
padding: 16px;
right: 0;
cursor: pointer;
opacity: 0.6;
color: #fd5353;
}
.profile > .delete:hover {
opacity: 1;
@@ -29,6 +29,7 @@
.profile .qualities {
min-height: 80px;
padding-top: 0;
}
.profile .formHint {
@@ -97,11 +98,13 @@
}
.profile .types .type .delete {
background-position: left center;
height: 20px;
width: 20px;
line-height: 20px;
visibility: hidden;
cursor: pointer;
font-size: 13px;
color: #fd5353;
}
.profile .types .type:hover:not(.is_empty) .delete {
@@ -24,7 +24,7 @@ var Profile = new Class({
var data = self.data;
self.el = new Element('div.profile').adopt(
self.delete_button = new Element('span.delete.icon', {
self.delete_button = new Element('span.delete.icon2', {
'events': {
'click': self.del.bind(self)
}
@@ -256,7 +256,7 @@ Profile.Type = new Class({
}
})
),
new Element('span.delete.icon', {
new Element('span.delete.icon2', {
'events': {
'click': self.del.bind(self)
}