mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-08-26 08:15:45 +08:00
51 lines
1021 B
Plaintext
51 lines
1021 B
Plaintext
.inner-icon {
|
|
display: inline-block;
|
|
color: inherit;
|
|
font-style: normal;
|
|
line-height: 0;
|
|
text-align: center;
|
|
text-transform: none;
|
|
outline: none;
|
|
vertical-align: -0.125em;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
> * {
|
|
line-height: 1;
|
|
}
|
|
|
|
svg {
|
|
display: inline-block;
|
|
width: 1em;
|
|
height: 1em;
|
|
fill: currentColor;
|
|
}
|
|
|
|
&::before {
|
|
display: none; // dont display old icon.
|
|
}
|
|
|
|
&[tabindex] {
|
|
cursor: pointer;
|
|
}
|
|
&--spin {
|
|
display: inline-block;
|
|
animation: loadingCircle 1s infinite linear;
|
|
}
|
|
|
|
@-webkit-keyframes loadingCircle {
|
|
100% {
|
|
-webkit-transform: rotate(360deg);
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
@keyframes loadingCircle {
|
|
100% {
|
|
-webkit-transform: rotate(360deg);
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
}
|