IMPROVEMENT: animate button icons

This commit is contained in:
Tony Air 2019-12-16 06:06:45 +07:00
parent f0a58611be
commit 26ab1727d3
4 changed files with 27 additions and 16 deletions

14
dist/css/app.css vendored
View File

@ -14684,7 +14684,9 @@ img {
a:hover,
a:focus,
[data-toggle]:hover,
[data-toggle]:focus {
[data-toggle]:focus,
button:hover,
button:focus {
opacity: .8;
}
@ -14711,7 +14713,15 @@ a:focus.fab,
[data-toggle]:focus > .fas,
[data-toggle]:focus > .fab,
[data-toggle]:focus.fas,
[data-toggle]:focus.fab {
[data-toggle]:focus.fab,
button:hover > .fas,
button:hover > .fab,
button:hover.fas,
button:hover.fab,
button:focus > .fas,
button:focus > .fab,
button:focus.fas,
button:focus.fab {
-webkit-transform: rotate(-180deg);
transform: rotate(-180deg);
}

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "@a2nt/ss-bootstrap-ui-webpack-boilerplate",
"version": "1.3.3",
"version": "1.3.4",
"author": "Tony Air <tony@twma.pro>",
"license": "MIT",
"description": "This UI Kit allows you to build Bootstrap 4 webapp with some extra UI features. It's easy to extend and easy to convert HTML templates to CMS templates.",

View File

@ -17,19 +17,20 @@ img {
cursor: pointer;
}
.a:hover,
.a:focus,
a:hover,
a:focus,
[data-toggle]:hover,
[data-toggle]:focus {
opacity: .8;
.a,
a,
[data-toggle],
button {
&:hover,
&:focus {
opacity: .8;
> .fas,
> .fab,
&.fas,
&.fab {
transform: rotate(-180deg);
> .fas,
> .fab,
&.fas,
&.fab {
transform: rotate(-180deg);
}
}
}