From e80f9a6f5934891a9329b1a308a6edec1d6d9ae8 Mon Sep 17 00:00:00 2001 From: Sebastian Castro <90scastro@gmail.com> Date: Thu, 8 Nov 2018 21:56:11 +0100 Subject: [PATCH] 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 9aea689438d364cfd89a476d06729b3dd1195b8e (move tiny bit of font awesome we actually use into pad.css) from 2014-11-19. Preparatory work for introducing colibris skin --- src/static/css/pad.css | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/static/css/pad.css b/src/static/css/pad.css index 484e6f2ab..6a759a4aa 100644 --- a/src/static/css/pad.css +++ b/src/static/css/pad.css @@ -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;