Skip to content

Commit 0d0da15

Browse files
committed
All: remove unused FontAwesome utilities classes
* icon-muted * icon-border * icon-2x * icon-3x * icon-4x * icon-spin These appear to be unused, according to an org-wide search on GitHub, excluding matches in repos that don't use jquery-wp-content for their content (e.g. irc.jquery.org, bugs.jquery.com, and archived content repos such as web-events). Ref #455.
1 parent 6f7739b commit 0d0da15

File tree

1 file changed

+0
-87
lines changed

1 file changed

+0
-87
lines changed

themes/jquery/css/base.css

-87
Original file line numberDiff line numberDiff line change
@@ -694,12 +694,6 @@ a [class*=" icon-"] {
694694
.nav [class*=" icon-"].icon-large {
695695
line-height: .9em;
696696
}
697-
.btn [class^="icon-"].icon-spin,
698-
.nav [class^="icon-"].icon-spin,
699-
.btn [class*=" icon-"].icon-spin,
700-
.nav [class*=" icon-"].icon-spin {
701-
display: inline-block;
702-
}
703697
.nav-tabs [class^="icon-"],
704698
.nav-pills [class^="icon-"],
705699
.nav-tabs [class*=" icon-"],
@@ -734,35 +728,6 @@ ul.icons li [class^="icon-"],
734728
ul.icons li [class*=" icon-"] {
735729
width: .75em;
736730
}
737-
.icon-muted {
738-
color: #eee;
739-
}
740-
.icon-border {
741-
border: solid 1px #eee;
742-
padding: .2em .25em .15em;
743-
border-radius: 3px;
744-
}
745-
.icon-2x {
746-
font-size: 2em;
747-
}
748-
.icon-2x.icon-border {
749-
border-width: 2px;
750-
border-radius: 4px;
751-
}
752-
.icon-3x {
753-
font-size: 3em;
754-
}
755-
.icon-3x.icon-border {
756-
border-width: 3px;
757-
border-radius: 5px;
758-
}
759-
.icon-4x {
760-
font-size: 4em;
761-
}
762-
.icon-4x.icon-border {
763-
border-width: 4px;
764-
border-radius: 6px;
765-
}
766731
.pull-right {
767732
float: right;
768733
}
@@ -777,62 +742,10 @@ ul.icons li [class*=" icon-"] {
777742
[class*=" icon-"].pull-right {
778743
margin-left: .3em;
779744
}
780-
.btn [class^="icon-"].pull-left.icon-2x,
781-
.btn [class*=" icon-"].pull-left.icon-2x,
782-
.btn [class^="icon-"].pull-right.icon-2x,
783-
.btn [class*=" icon-"].pull-right.icon-2x {
784-
margin-top: .18em;
785-
}
786-
.btn [class^="icon-"].icon-spin.icon-large,
787-
.btn [class*=" icon-"].icon-spin.icon-large {
788-
line-height: .8em;
789-
}
790-
.btn.btn-small [class^="icon-"].pull-left.icon-2x,
791-
.btn.btn-small [class*=" icon-"].pull-left.icon-2x,
792-
.btn.btn-small [class^="icon-"].pull-right.icon-2x,
793-
.btn.btn-small [class*=" icon-"].pull-right.icon-2x {
794-
margin-top: .25em;
795-
}
796745
.btn.btn-large [class^="icon-"],
797746
.btn.btn-large [class*=" icon-"] {
798747
margin-top: 0;
799748
}
800-
.btn.btn-large [class^="icon-"].pull-left.icon-2x,
801-
.btn.btn-large [class*=" icon-"].pull-left.icon-2x,
802-
.btn.btn-large [class^="icon-"].pull-right.icon-2x,
803-
.btn.btn-large [class*=" icon-"].pull-right.icon-2x {
804-
margin-top: .05em;
805-
}
806-
.btn.btn-large [class^="icon-"].pull-left.icon-2x,
807-
.btn.btn-large [class*=" icon-"].pull-left.icon-2x {
808-
margin-right: .2em;
809-
}
810-
.btn.btn-large [class^="icon-"].pull-right.icon-2x,
811-
.btn.btn-large [class*=" icon-"].pull-right.icon-2x {
812-
margin-left: .2em;
813-
}
814-
.icon-spin {
815-
display: inline-block;
816-
animation: spin 2s infinite linear;
817-
}
818-
@keyframes spin {
819-
0% { transform: rotate(0deg); }
820-
100% { transform: rotate(359deg); }
821-
}
822-
@-moz-document url-prefix() {
823-
.icon-spin {
824-
height: .9em;
825-
}
826-
.btn .icon-spin {
827-
height: auto;
828-
}
829-
.icon-spin.icon-large {
830-
height: 1.25em;
831-
}
832-
.btn .icon-spin.icon-large {
833-
height: .75em;
834-
}
835-
}
836749
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
837750
readers do not read off random characters that represent icons */
838751
.icon-glass:before { content: "\f000"; }

0 commit comments

Comments
 (0)