text-align: center;
width: 1.25em;
+ &.disabled {
+ cursor: not-allowed;
+ opacity: 0.3;
+ }
+
+ &:hover {
+ text-decoration: none;
+ }
+}
+
+/* Default icon sizes */
+.icon {
&.icon16 {
--icon-size: 16px;
}
}
}
+/* Default icon colors */
+.icon {
+ &.green {
+ color: rgba(0, 153, 0, 1);
+ }
+
+ &.red {
+ color: rgba(204, 0, 0, 1);
+ }
+
+ &.black {
+ color: #333;
+ }
+
+ &.brown {
+ color: #c63;
+ }
+
+ &.orange {
+ color: #f90;
+ }
+
+ &.yellow {
+ color: #ff0;
+ }
+
+ &.blue {
+ color: #369;
+ }
+
+ &.purple {
+ color: #c0f;
+ }
+
+ &.pink {
+ color: #f0c;
+ }
+}
+
/* Shims */
$fa-var-external-link: "";
font-family: "Font Awesome 6 Brands";
font-weight: 400;
}
+
+.icon.fa-spinner {
+ animation: wcfSpinner 0.6s linear infinite;
+ border: 2px solid rgb(204, 204, 204);
+ border-top-color: rgb(79, 129, 189);
+ border-radius: 50%;
+ vertical-align: middle;
+
+ /* The new icons have a width of 1.25 times the height. */
+ margin: 0 calc(var(--icon-size) * 0.125);
+ width: var(--icon-size);
+}
+
+@keyframes wcfSpinner {
+ to {
+ transform: rotate(360deg);
+ }
+}