IMPR: minor optimizations

This commit is contained in:
Tony Air 2022-05-03 22:41:45 +02:00
parent 72bfe00d0c
commit 072cec089c
1 changed files with 18 additions and 64 deletions

View File

@ -78,94 +78,48 @@ p {
} }
} }
// exclude bootstrap-table
[data-toggle="table"] {
&:hover,
&.active,
&:focus {
opacity: 1;
}
}
[data-toggle="collapse"] {
&[aria-expanded="true"] {
.accordion-icon {
&:before {
content: "\f068";
}
}
}
}
// transactions // transactions
.transition,
a, a,
a *,
.a, .a,
.a *,
button, button,
input, input,
optgroup, optgroup,
select, select,
textarea, textarea,
option,
.btn, .btn,
.btn *, .transition {
.dropdown,
.row,
.alert,
.alert *,
.message,
[data-toggle],
[data-toggle] * {
transition: all 0.4s ease; transition: all 0.4s ease;
} }
.a,
a, a,
[data-toggle], .a,
button,
.btn { .btn {
&:hover, &:hover,
&.active, &.active {
&[aria-expanded="true"] { opacity: 0.8;
> .fa, > .fa,
> .far,
> .fas,
> .fab,
> .svg-inline--fa, > .svg-inline--fa,
&.fa, &.fa,
&.far,
&.fas,
&.fab,
&.svg-inline--fa { &.svg-inline--fa {
transform: scale(1.5); transform: scale(1.5);
} }
} }
&:hover,
&[aria-expanded="true"] {
opacity: 0.8;
}
&.disabled { &.disabled {
opacity: 0.5; opacity: 0.8;
cursor: default; cursor: default;
}
&:hover, }
&.active,
&[aria-expanded="true"] { [data-toggle][aria-expanded="true"] {
> .fa, opacity: 0.8;
> .far,
> .fas, > .fa,
> .fab, > .svg-inline--fa,
> .svg-inline--fa, &.fa,
&.fa, &.svg-inline--fa {
&.far, transform: scale(1.5);
&.fas,
&.fab,
&.svg-inline--fa {
transform: rotate(0deg);
}
}
} }
} }