Archive

Disabling bootstrap-enterprise.css

Explorer

I'm working on a fully custom app and would like to disable bootstrap-enterprise.css, is this possible ?

SplunkTrust
SplunkTrust

Is this only for Dashboards built in your App?

You can either override all the settings in appserver/static/dashboard.css or create your own CSS file to be included in your dashboards like save your own copy of bootstrap.css and save as bootstrap-enterprise.css.

You can check out Custom Layout Dark Example from Splunk Dashboard Examples App as well.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

Ultra Champion

Are you referring to ${SPLUNK_HOME}/share/splunk/search_mrsparkle/exposed/build/css/bootstrap-enterprise.css

I've never come across this file. How is it getting in your way? Give more context on the larger goal/challenge at hand in case there are other approaches worth us sharing.

0 Karma

Explorer

Could be that, not sure where the file comes from exactly.
It gets in our way by applying styles we then have to counter with other styles.
I get the idea that there is no way around this as any client that would download our app from the marketplace would have the bootstrap-enterprise.css file in their Splunk instance anyway.

0 Karma

Ultra Champion

See @niketnilay's comment. I asked which file because if it's one from the app or the one from the splunk base install determines if this is really an issue or not. The below comment captures the point I was getting at.

0 Karma