Commit 133be993 authored by Brandon Labuschagne's avatar Brandon Labuschagne

Merge branch 'mw-cleanup-fa-spinner-styles' into 'master'

Remove deprecated fa-spinner styles

See merge request gitlab-org/gitlab!48590
parents aebedb59 fcf66745
...@@ -51,35 +51,6 @@ ...@@ -51,35 +51,6 @@
text-align: center; text-align: center;
} }
.fa-spin {
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear;
}
@-webkit-keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
.fa-inverse { .fa-inverse {
color: $white; color: $white;
} }
...@@ -97,10 +68,6 @@ ...@@ -97,10 +68,6 @@
content: '\f071'; content: '\f071';
} }
.fa-spinner::before {
content: '\f110';
}
.fa-caret-right::before { .fa-caret-right::before {
content: '\f0da'; content: '\f0da';
} }
......
...@@ -143,15 +143,9 @@ ...@@ -143,15 +143,9 @@
.fa { .fa {
position: absolute; position: absolute;
&.fa-spinner {
font-size: 16px;
margin-top: -3px;
}
} }
.fa-chevron-down, .fa-chevron-down {
.fa-spinner {
position: absolute; position: absolute;
top: 11px; top: 11px;
right: 8px; right: 8px;
......
...@@ -4,22 +4,22 @@ ...@@ -4,22 +4,22 @@
* @usage * @usage
* ### Active and Inactive text should be provided as data attributes: * ### Active and Inactive text should be provided as data attributes:
* <button type="button" class="project-feature-toggle" data-enabled-text="Enabled" data-disabled-text="Disabled"> * <button type="button" class="project-feature-toggle" data-enabled-text="Enabled" data-disabled-text="Disabled">
* <i class="fa fa-spinner fa-spin loading-icon hidden"></i> * <span class="gl-spinner loading-icon hidden" aria-label="Loading"></span>
* </button> * </button>
* ### Checked should have `is-checked` class * ### Checked should have `is-checked` class
* <button type="button" class="project-feature-toggle is-checked" data-enabled-text="Enabled" data-disabled-text="Disabled"> * <button type="button" class="project-feature-toggle is-checked" data-enabled-text="Enabled" data-disabled-text="Disabled">
* <i class="fa fa-spinner fa-spin loading-icon hidden"></i> * <span class="gl-spinner loading-icon hidden" aria-label="Loading"></span>
* </button> * </button>
* ### Disabled should have `is-disabled` class * ### Disabled should have `is-disabled` class
* <button type="button" class="project-feature-toggle is-disabled" data-enabled-text="Enabled" data-disabled-text="Disabled" disabled="true"> * <button type="button" class="project-feature-toggle is-disabled" data-enabled-text="Enabled" data-disabled-text="Disabled" disabled="true">
* <i class="fa fa-spinner fa-spin loading-icon hidden"></i> * <span class="gl-spinner loading-icon hidden" aria-label="Loading"></span>
* </button> * </button>
* ### Loading should have `is-loading` and an icon with `loading-icon` class * ### Loading should have `is-loading` and an icon with `loading-icon` class
* <button type="button" class="project-feature-toggle is-loading" data-enabled-text="Enabled" data-disabled-text="Disabled"> * <button type="button" class="project-feature-toggle is-loading" data-enabled-text="Enabled" data-disabled-text="Disabled">
* <i class="fa fa-spinner fa-spin loading-icon"></i> * <span class="gl-spinner loading-icon" aria-label="Loading"></span>
* </button> * </button>
*/ */
.project-feature-toggle { .project-feature-toggle {
......
...@@ -255,10 +255,6 @@ $colors: ( ...@@ -255,10 +255,6 @@ $colors: (
} }
} }
.btn-success .fa-spinner {
color: var(--white, $white);
}
.editor-wrap { .editor-wrap {
&.is-loading { &.is-loading {
.editor { .editor {
......
...@@ -174,12 +174,6 @@ ...@@ -174,12 +174,6 @@
} }
.commit-actions { .commit-actions {
@include media-breakpoint-up(sm) {
.fa-spinner {
font-size: 12px;
}
}
.ci-status-icon svg { .ci-status-icon svg {
vertical-align: text-bottom; vertical-align: text-bottom;
} }
......
...@@ -190,8 +190,7 @@ $note-form-margin-left: 72px; ...@@ -190,8 +190,7 @@ $note-form-margin-left: 72px;
border: 1px solid darken($gray-100, 25%); border: 1px solid darken($gray-100, 25%);
} }
.note-headline-light, .note-headline-light {
.fa-spinner {
margin-left: 3px; margin-left: 3px;
} }
} }
...@@ -249,16 +248,6 @@ $note-form-margin-left: 72px; ...@@ -249,16 +248,6 @@ $note-form-margin-left: 72px;
.note-emoji-button { .note-emoji-button {
position: relative; position: relative;
line-height: 1; line-height: 1;
.fa-spinner {
display: none;
}
&.is-loading {
.fa-spinner {
display: inline-block;
}
}
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment