Update close icon

stable
Xavier Julián 2015-10-15 15:33:08 +02:00
parent 6972a1d0c0
commit 361a38188e
4 changed files with 11 additions and 5 deletions

View File

@ -245,7 +245,7 @@ class ConfirmService extends taiga.Service
delete @.tsem delete @.tsem
el.on "click", ".icon-delete", (event) => el.on "click", ".icon-delete, .close", (event) =>
body.find(selector) body.find(selector)
.removeClass('active') .removeClass('active')
.addClass('inactive') .addClass('inactive')

View File

@ -25,4 +25,5 @@ div.notification-light.notification-message-light-error
div.text div.text
h4.warning(translate="NOTIFICATION.WARNING") h4.warning(translate="NOTIFICATION.WARNING")
p(translate="NOTIFICATION.WARNING_TEXT") p(translate="NOTIFICATION.WARNING_TEXT")
a.icon.icon-delete(href="", title="{{'NOTIFICATION.CLOSE' | translate}}") a.close(href="", title="{{'NOTIFICATION.CLOSE' | translate}}")
include ../../../svg/remove.svg

View File

@ -128,10 +128,12 @@
color: $white; color: $white;
line-height: 1.5rem; line-height: 1.5rem;
} }
.icon-delete { .close {
@extend %larger;
color: $white;
margin-right: 1rem; margin-right: 1rem;
width: 2rem;
path {
fill: $white;
}
} }
} }

3
app/svg/remove.svg Normal file
View File

@ -0,0 +1,3 @@
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1000 1000">
<path d="M749.2 197.3 500 446.4 250.8 197.2 197.2 250.8 446.4 500 197.3 749.2 250.8 802.7 500 553.6 749.2 802.8 802.8 749.2 553.6 500 802.7 250.8 749.2 197.3Z"/>
</svg>

After

Width:  |  Height:  |  Size: 291 B