gitlab-org--gitlab-foss/app/assets/stylesheets/fontawesome_custom.scss

200 lines
3.0 KiB
SCSS

/*!
* Font Awesome 4.7.0 by @davegandy - http://fontawesome.io - @fontawesome
* License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
*/
// stylelint-disable property-no-vendor-prefix
// stylelint-disable at-rule-no-vendor-prefix
// stylelint-disable stylelint-gitlab/duplicate-selectors
// scss-lint:disable MergeableSelector
@font-face {
font-family: 'FontAwesome';
src: asset-url('fontawesome-webfont.woff2?v=4.7.0') format('woff2'), asset-url('fontawesome-webfont.woff?v=4.7.0') format('woff');
font-weight: normal;
font-style: normal;
}
.fa {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* makes the font 33% larger relative to the icon container */
.fa-lg {
font-size: 1.33333333em;
line-height: 0.75em;
vertical-align: -15%;
}
.fa-2x {
font-size: 2em;
}
.fa-3x {
font-size: 3em;
}
.fa-4x {
font-size: 4em;
}
.fa-5x {
font-size: 5em;
}
.fa-fw {
width: 1.28571429em;
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 {
color: $white;
}
.fa-chevron-down::before {
content: '\f078';
}
.fa-caret-down::before {
content: '\f0d7';
}
.fa-check::before {
content: '\f00c';
}
.fa-warning::before,
.fa-exclamation-triangle::before {
content: '\f071';
}
.fa-spinner::before {
content: '\f110';
}
.fa-caret-right::before {
content: '\f0da';
}
.fa-chevron-up::before {
content: '\f077';
}
.fa-exclamation-circle::before {
content: '\f06a';
}
.fa-file-o::before {
content: '\f016';
}
.fa-lightbulb-o::before {
content: '\f0eb';
}
.fa-circle::before {
content: '\f111';
}
.fa-thumb-tack::before {
content: '\f08d';
}
.fa-fire::before {
content: '\f06d';
}
.fa-file-pdf-o::before {
content: '\f1c1';
}
.fa-file-word-o::before {
content: '\f1c2';
}
.fa-file-excel-o::before {
content: '\f1c3';
}
.fa-file-powerpoint-o::before {
content: '\f1c4';
}
.fa-file-image-o::before {
content: '\f1c5';
}
.fa-file-archive-o::before {
content: '\f1c6';
}
.fa-file-audio-o::before {
content: '\f1c7';
}
.fa-file-video-o::before {
content: '\f1c8';
}
.fa-square-o::before {
content: '\f096';
}
.fa-check-square-o::before {
content: '\f046';
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
.sr-only-focusable:active,
.sr-only-focusable:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto;
}