add title to service icons. yay. [ci skip]
This commit is contained in:
parent
5d92d2464b
commit
f053b71c87
3 changed files with 7 additions and 9 deletions
|
|
@ -6,6 +6,8 @@ app.views.ServicesSelector = app.views.Base.extend({
|
||||||
"click label" : "askForAuth"
|
"click label" : "askForAuth"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
tooltipSelector : "img",
|
||||||
|
|
||||||
services : [
|
services : [
|
||||||
'facebook',
|
'facebook',
|
||||||
'twitter',
|
'twitter',
|
||||||
|
|
|
||||||
|
|
@ -423,12 +423,6 @@ div[data-template=flow] {
|
||||||
width : 28px;
|
width : 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
input + label {
|
|
||||||
&:hover img {
|
|
||||||
@include box-shadow(0, 0, 10px, rgba(255,255,255,0.6))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
input:not(:checked) + label {
|
input:not(:checked) + label {
|
||||||
img {
|
img {
|
||||||
@include opacity(0.4);
|
@include opacity(0.4);
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,9 @@
|
||||||
<div class="magic-service-selector">
|
<div class="magic-service-selector">
|
||||||
{{#each services}}
|
{{#each services}}
|
||||||
<input id="service_toggle_{{this}}" type="checkbox" name="services" class="service" value="{{this}}"/>
|
<input id="service_toggle_{{this}}" type="checkbox" name="services" class="service" value="{{this}}"/>
|
||||||
<label for="service_toggle_{{this}}"><img class="legacy-provider-image" src="/assets/social_media_logos/{{this}}-32x32.png" data-provider="{{this}}" data-url="/auth/{{this}}" /></label>
|
<label for="service_toggle_{{this}}">
|
||||||
|
<img class="legacy-provider-image" src="/assets/social_media_logos/{{this}}-32x32.png" data-provider="{{this}}" data-url="/auth/{{this}}" title="Share on {{this}}" />
|
||||||
|
</label>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue