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

FontAwesome only in flat.css?

by Peter Thu Nov 02, 2017 11:03 pm

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: 59
Joined: Fri Sep 22, 2017 7:02 am

Re: FontAwesome only in flat.css?

by Dirk Geppert Wed Nov 29, 2017 7:40 am

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

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

Re: FontAwesome only in flat.css?

by Peter Wed Nov 29, 2017 8:18 am

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: 59
Joined: Fri Sep 22, 2017 7:02 am

Re: FontAwesome only in flat.css?

by Dirk Geppert Fri Dec 01, 2017 10:10 am

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

Re: FontAwesome only in flat.css?

by Dirk Geppert Thu Mar 29, 2018 9:15 am

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

Re: FontAwesome only in flat.css?

by Peter Thu Mar 29, 2018 10:07 am

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: 59
Joined: Fri Sep 22, 2017 7:02 am

Re: FontAwesome only in flat.css?

by Dirk Geppert Fri Mar 30, 2018 2:13 pm

Thx Peter! It works!! :D
Return to Coding Questions

Who is online

Users browsing this forum: No registered users and 2 guests