mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 23:16:52 +08:00
Added border color darken for active state on buttons, made buttons by default block
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@ -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%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user