View Full Version : Window Shadow, SASS

24 Oct 2011, 12:19 AM

i dont get it. how can i change the window shadow color?

i inspected a window with firebug. the shadow is set directly to the element, is it possible to change the color in my sass theme?

21 May 2012, 3:46 PM
As this is hard-coded into the shadow function...after all why would you want to theme it... ;)

Line 190-192 of shadow.js:

if (Ext.supports.CSS3BoxShadow) {
targetStyle[this.boxShadowProperty] = '0 0 ' + this.offset + 'px #888';

It would appear that you will have to put some nice css code with !important to get around this. Which I am sure you agree is horrible, but looking at EXT's css they use it everywhere, so it must be ok. [I hope you all know that I am joking and that ext should invest in writing correct CSS rather than throwing !important around every 5 seconds...]