Rangeslider blacked out styling for box selector

Is it possible to change the style of the box selector, so that it looks like rangeslider?


To be exact, when using box selector i get this dashed line, but is it possible to have the area outside the box selector black out just like in rangeslider? Is there a way to catch box selector and add some styling to it?