angular-backtop
Version:
37 lines (36 loc) • 755 B
text/less
#backtop.dark {
bottom: 30px;
right: 30px;
&.full-width {
background: black;
bottom: 0;
left: 0;
width: 100%;
button {
width: 100%;
margin: 0 auto;
text-align: center;
padding: 15px 0;
border-radius: 0;
border-left: none;
border-right: none;
}
}
button {
color: white;
background: black;
padding: 10px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
&:hover, &:focus {
background: #444;
}
&:active {
-webkit-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
-moz-box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.6);
background: #666;
}
}
}