pad.css: group togheter three very similar rules.

a) these rules:
  [class^="icon-"]:before
  [class*=" icon-"]:before

b) were the same as this one:
  [data-icon]:before

except the rules in b) had a "content: attr(data-icon)" rule, too.

This commit groups all of them together, and gets rid of the "attr(data-icon)".

The commit that introduced these rules in the first place, and that are now
partially reverted, was 9aea689438 (move tiny bit
of font awesome we actually use into pad.css) from 2014-11-19.

Preparatory work for introducing colibris skin
This commit is contained in:
Sebastian Castro 2018-11-08 21:56:11 +01:00
parent 63ec2d8cc2
commit e80f9a6f59

View file

@ -1320,19 +1320,7 @@ input[type=checkbox] {
}
[data-icon]:before {
font-family: "fontawesome-etherpad" !important;
content: attr(data-icon);
font-style: normal !important;
font-weight: normal !important;
font-variant: normal !important;
text-transform: none !important;
speak: none;
line-height: 1;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
[data-icon]:before,
[class^="icon-"]:before,
[class*=" icon-"]:before {
font-family: "fontawesome-etherpad" !important;