mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
button clear updates
This commit is contained in:
@ -255,6 +255,10 @@ a[button] {
|
||||
&[clear] {
|
||||
color: $fg-color;
|
||||
background: none;
|
||||
|
||||
&.activated {
|
||||
opacity: 0.4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -93,15 +93,11 @@ $button-material-border-radius: 3px !default;
|
||||
&[clear] {
|
||||
box-shadow: none;
|
||||
|
||||
/* @if lightness(get-color($color, base)) > 90 {
|
||||
color: get-color($color, inverse);
|
||||
}*/
|
||||
|
||||
&:hover,
|
||||
&.hover {
|
||||
background-color: rgba(158, 158, 158, 0.2);
|
||||
}
|
||||
&:activated {
|
||||
&.activated {
|
||||
background-color: rgba(158, 158, 158, 0.4);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user