✏️ Add shadow on button hover

This commit is contained in:
Sebastien Clement 2021-04-27 01:17:40 +02:00
parent 0777b0bf17
commit ff7769c0ba
2 changed files with 18 additions and 2 deletions

View File

@ -2,6 +2,10 @@
padding: 12px 0px 12px; padding: 12px 0px 12px;
} }
.ses_small:hover .fa-circle{
text-shadow: grey 1px 0px 3px ;
}
.ses_small i { .ses_small i {
color: red; color: red;
} }
@ -64,6 +68,10 @@
display: inline; display: inline;
} }
.ses_big_middle span{
font-size: 11px;
}
.ses_big i { .ses_big i {
/*font-size: 20px;*/ /*font-size: 20px;*/
/*font-weight: bold;*/ /*font-weight: bold;*/
@ -72,3 +80,11 @@
text-shadow: none; text-shadow: none;
vertical-align: middle; vertical-align: middle;
} }
.ses_big:hover .fa-circle{
text-shadow: grey 1px 0px 8px ;
}
.ses_big:hover h5{
text-shadow: grey 1px 0px 8px ;
}

View File

@ -12,12 +12,12 @@
<a data-bind="click: click, css: big_button_css(), attr: { title: get_title() }, visible: big_button_visible()" <a data-bind="click: click, css: big_button_css(), attr: { title: get_title() }, visible: big_button_visible()"
href="#"> href="#">
<div class="ses_big_middle"> <div class="ses_big_middle">
<span class="fa-stack" style="font-size: 11px"> <span class="fa-stack">
<i class="far fa-circle fa-stack-2x"></i> <i class="far fa-circle fa-stack-2x"></i>
<i class="fas fa-hand-paper fa-stack-1x fa-inverse"></i> <i class="fas fa-hand-paper fa-stack-1x fa-inverse"></i>
</span> </span>
<h5>{{ _("Emergency Stop") }}</h5> <h5>{{ _("Emergency Stop") }}</h5>
<span class="fa-stack" style="font-size: 11px"> <span class="fa-stack">
<i class="far fa-circle fa-stack-2x"></i> <i class="far fa-circle fa-stack-2x"></i>
<i class="fas fa-hand-paper fa-stack-1x fa-inverse"></i> <i class="fas fa-hand-paper fa-stack-1x fa-inverse"></i>
</span> </span>