BabylonJS / Editor

Community managed visual editor for Babylon.js
http://editor.babylonjs.com/
813 stars 232 forks source link

Add new font (same font like on babylonjs.com), Fix #60 #66

Closed gotwig closed 6 years ago

gotwig commented 6 years ago

The way I did it in css is not good enough, stuff like code editor get overwritten, so maybe we need to specify it without !important and for each element individualy. Do you like the font choice?

gotwig commented 6 years ago

Ok I removed the !important statement can you pls recheck?

gotwig commented 6 years ago

According to this info: https://stackoverflow.com/questions/10870564/how-to-exclude-a-class-with-all-children-in-style-definition

"You cannot reliably use the :not() selector in CSS for excluding an element and/or its descendants"

So we have to overwrite. I commit something real quick

gotwig commented 6 years ago

eh ... somehow im not able to override my body * !important statement :(

gotwig commented 6 years ago

Alright I was able to overwrite the code editor font with the original one, and add font weight to active tab in w2ui. can you recheck?

gotwig commented 6 years ago

sry i didnt saw i removed this. i readded