Added border color darken for active state on buttons, made buttons by default block

This commit is contained in:
Ben Sperry
2013-08-26 11:01:34 -05:00
parent d160ca6117
commit a3b45c3c02
4 changed files with 31 additions and 12 deletions

View File

@ -1,12 +1,16 @@
.button {
position: relative;
display: inline-block;
display: block;
vertical-align: middle;
text-align: center;
cursor: pointer;
margin: 0;
&.button-borderless {
&.button-inline {
display: inline-block;
}
&.button-borderless {
border: none;
}
}

View File

@ -16,6 +16,7 @@
&.active, &:active {
background-color: darken($bgColor, 10%);
box-shadow: inset 0px 1px 3px rgba(0,0,0,0.15);
border-color: darken($borderColor, 10%);
}
}