FontAwesome only in flat.css?

Just starting out? Need help? Post your questions and find answers here.
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

FontAwesome only in flat.css?

Post by Peter »

Hello Fred,

is there any reason why flat.css has integrated FontAwesome-Informations but claro.css hasn't?

flat.css:

Code: Select all

@font-face{font-family:'FontAwesome';src:url("font-awesome-4.5.0/fonts/fontawesome-webfont.eot?v=4.5.0");src:url[...]
claro.css:

Code: Select all

.dijitReset {margin:0; border:0; padding:0; font: inherit; font-size: 12px; font-family: arial,sans-serif; line-[...]
Thanks in advance & Greetings ... Peter
Dirk Geppert
Posts: 282
Joined: Fri Sep 22, 2017 7:02 am

Re: FontAwesome only in flat.css?

Post by Dirk Geppert »

I'd like to add a spinner. Would that be possible via FontAwesome in flat style?

Cya Dirk
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: FontAwesome only in flat.css?

Post by Peter »

Hello Dirk,

do you want some kind of loading message? Then take a look here: http://forums.spiderbasic.com/viewtopic.php?f=9&t=1198

... and change the BlockUI() - Line:

Code: Select all

BlockUI("<h1>Waiting 3 seconds...</h1><p><i class='fa fa-spinner fa-spin fa-5x' aria-hidden='true'></i></p>")
Greetings ... Peter
Dirk Geppert
Posts: 282
Joined: Fri Sep 22, 2017 7:02 am

Re: FontAwesome only in flat.css?

Post by Dirk Geppert »

Hi Peter, thank you. I've got an idea now, how to do this.
Dirk Geppert
Posts: 282
Joined: Fri Sep 22, 2017 7:02 am

Re: FontAwesome only in flat.css?

Post by Dirk Geppert »

Unfortunately the spinner will not shown, if you use the gadget theme: "claro". Anyone can help?
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: FontAwesome only in flat.css?

Post by Peter »

untestet:

* open flat.css
* search for .dijitReset
* copy the whole FontAwesome-Stuff (before the first .dijitReset) to the top of claro.css

Greetings ... Peter
Dirk Geppert
Posts: 282
Joined: Fri Sep 22, 2017 7:02 am

Re: FontAwesome only in flat.css?

Post by Dirk Geppert »

Thx Peter! It works!! :D
Post Reply