addressing issue with button text showing

pull/1034/head
Dave Cranwell 2015-02-27 17:57:11 +00:00
rodzic 40ebd540f6
commit 4e63ed9569
1 zmienionych plików z 9 dodań i 6 usunięć

Wyświetl plik

@ -551,18 +551,21 @@
.button{
@include border-radius(0);
overflow: visible;
display:inline-block;
padding:0;
width:3.45em;
background-color:$color-salmon;
background-color:$color-salmon-light;
font-size:0; /* helps fake the effect of t.ext-replace class, which can't be used here. */
width:2em;
&:before{
position:relative;
padding:0;
line-height:1.8em; /* specific height required as parent 'a' has no height */
font-size:1.4rem;
width:100%;
background-color:transparent;
width:1.8em;
background-color:$color-salmon;
}
&:hover:before{
background-color:darken($color-salmon, 5%);
}
}
}