Via a link:
<link rel="stylesheet" type="text/css" href="../../../../../libs/font-awesome/less/font-awesome.css">

This is the widget:
http://go-lab.gw.utwente.nl/sources/tools/hypothesis/src/main/webapp/hypothesis0.7_buoyancy.xml

and this is what we get when the widget is rendered:
<link href="//shindig.epfl.ch:80/gadgets/concat?container=default&amp;gadget=http%3A%2F%2Fgo-lab.gw.utwente.nl%2Fsources%2Ftools%2Fhypothesis%2Fsrc%2Fmain%2Fwebapp%2Fhypothesis0.7_buoyancy.xml&amp;debug=0&amp;nocache=1&amp;type=css&amp;1=http%3A%2F%2Fgo-lab.gw.utwente.nl%2Fsources%2Ftools%2Fhypothesis%2Fsrc%2Fmain%2Fwebapp%2Fcss%2Fhypothesis0.7.css&amp;2=http%3A%2F%2Fgo-lab.gw.utwente.nl%2Fsources%2Flibs%2Fbootstrap%2Fcss%2Fbootstrap.min.css&amp;3=http%3A%2F%2Fgo-lab.gw.utwente.nl%2Fsources%2Flibs%2Ffont-awesome%2Fless%2Ffont-awesome.css" rel="stylesheet" type="text/css">

On 20.08.13 15:28, Stanton Sievers wrote:
Hi Evgeny,

How are you including the CSS in your gadget? Is it a style type link or is
it internal? If a link, is your link being rewritten through the shindig
proxy at runtime?

Thanks,
-Stanton
On Aug 20, 2013 8:36 AM, "Evgeny Bogdanov" <evgeny.bogda...@epfl.ch> wrote:

Hi

we have some problems with the CSS3 in our widgets on Shindig-2.5.0.
For example, we use the following code in CSS files:

/* FONT AWESOME CORE
  * -------------------------- */
[class^="icon-"],
[class*=" icon-"] {
   font-family: FontAwesome;
   font-weight: normal;
   font-style: normal;
   text-decoration: inherit;
   -webkit-font-smoothing: antialiased;
   *margin-right: .3em;
}
[class^="icon-"]:before,
[class*=" icon-"]:before {
   text-decoration: inherit;
   display: inline-block;
   speak: none;
}

However, these lines are removed by shindig from css files that gadget
uses.
How can I tell shindig not to remove them?

Thank you in advance,
Evgeny


Reply via email to