cleanup. added fallback mechanism for IE11 and unsupported browsers.
This commit is contained in:
parent
aa0564406a
commit
acdb5e5c7a
22 changed files with 464 additions and 385 deletions
|
@ -11,18 +11,22 @@
|
|||
|
||||
<script src="./favorite_button.js" ></script>
|
||||
|
||||
<style lang='scss'>
|
||||
.fav-active {
|
||||
cursor: pointer;
|
||||
animation-duration: 0.6s;
|
||||
&:hover {
|
||||
color: orange;
|
||||
color: var(--cOrange);
|
||||
}
|
||||
}
|
||||
.favorite-button.icon-star {
|
||||
color: orange;
|
||||
color: var(--cOrange);
|
||||
}
|
||||
<style lang="scss">
|
||||
@import '../../_variables.scss';
|
||||
|
||||
.fav-active {
|
||||
cursor: pointer;
|
||||
animation-duration: 0.6s;
|
||||
|
||||
&:hover {
|
||||
color: $fallback--cOrange;
|
||||
color: var(--cOrange, $fallback--cOrange);
|
||||
}
|
||||
}
|
||||
|
||||
.favorite-button.icon-star {
|
||||
color: $fallback--cOrange;
|
||||
color: var(--cOrange, $fallback--cOrange);
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue