phorge/webroot/rsrc/css/font/phui-font-icon-base.css
Andre Klapper 112174b900 Remove some pre-2013 vendor-prefixed -ms- CSS properties
Summary:
Per https://caniuse.com/ and MDN,
* `-ms-transform` superseded by unprefixed `transform` supported since IE 10 released 09/2012
* `@-ms-keyframes` superseded by unprefixed `@keyframes` supported since IE 10 released 09/2012
* `-ms-transition` superseded by unprefixed `transition` supported since IE 10 released 09/2012

Test Plan: None. Probably installing old browser versions if you don't trust documentation.

Reviewers: O1 Blessed Committers, valerio.bozzolan

Reviewed By: O1 Blessed Committers, valerio.bozzolan

Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25928
2025-03-28 06:57:42 +01:00

165 lines
2.6 KiB
CSS

/**
* @provides phui-font-icon-base-css
*/
.phui-font-fa {
display: inline-block;
color: {$darkgreytext};
font-style: normal;
font-weight: normal;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.ph-rotate-90 {
transform: rotate(90deg);
}
.ph-rotate-180 {
transform: rotate(180deg);
}
.ph-rotate-270 {
transform: rotate(270deg);
}
.ph-flip-horizontal {
transform: scale(-1, 1);
}
.ph-flip-vertical {
transform: scale(1, -1);
}
.ph-spin {
-webkit-animation: spin 2s infinite linear;
animation: spin 2s infinite linear;
}
@-webkit-keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(359deg);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(359deg);
}
}
.phui-icon-view.dark {
color: {$darkgreytext};
}
.phui-icon-view.bluegrey {
color: {$bluetext};
}
.phui-icon-view.white {
color: #fff;
}
.phui-icon-view.red {
color: {$red};
}
.phui-icon-view.delete-color {
color: {$delete-color};
}
.phui-icon-view.orange {
color: {$orange};
}
.phui-icon-view.yellow {
color: {$yellow};
}
.phui-icon-view.green {
color: {$green}
}
.phui-icon-view.create-color {
color: {$create-color};
}
.phui-icon-view.blue {
color: {$blue};
}
.phui-icon-view.sky {
color: {$sky};
}
.phui-icon-view.indigo {
color: {$indigo};
}
.phui-icon-view.pink {
color: {$pink};
}
.phui-icon-view.fire {
color: {$fire};
}
.phui-icon-view.violet {
color: {$violet};
}
.phui-icon-view.lightbluetext {
color: {$lightbluetext};
}
.phui-icon-view.lightgreytext,
.phui-icon-view.grey {
color: rgba({$alphagrey},0.3);
}
/* Backgrounds */
.phui-icon-view.bg-dark {
background-color: {$darkgreytext};
}
.phui-icon-view.bg-bluegrey {
background-color: {$bluetext};
}
.phui-icon-view.bg-grey {
background-color: {$lightgreytext};
}
.phui-icon-view.bg-red {
background-color: {$red};
}
.phui-icon-view.bg-orange {
background-color: {$orange};
}
.phui-icon-view.bg-yellow {
background-color: {$yellow};
}
.phui-icon-view.bg-green {
background-color: {$green}
}
.phui-icon-view.bg-blue {
background-color: {$blue};
}
.phui-icon-view.bg-sky {
background-color: {$sky};
}
.phui-icon-view.bg-indigo {
background-color: {$indigo};
}
.phui-icon-view.bg-pink {
background-color: {$pink};
}
.phui-icon-view.bg-fire {
background-color: {$fire};
}
.phui-icon-view.bg-violet {
background-color: {$violet};
}
/* Hovers */
.device-desktop a.phui-icon-view.lightgreytext:hover,
.device-desktop a.phui-icon-view.grey:hover {
color: {$darkgreytext};
}
.device-desktop a.phui-icon-view.bluegrey:hover {
color: {$darkbluetext};
}