MDL-47242 theme_bootstrapbase: inverted color and RTL fixes