Salutations, XWiki Forum.
Short Version: How can I reduce (or remove) my dependency on the Bootstrap framework? Specifically, I am developing a custom framework and have a great need to normalize and simplify CSS/LESS classes and rules.
Long Version: I’ve been spending the last few months developing a heavily modified custom skin, which has actually been going pretty well. I was wondering, though, if it was possible to move away from the Bootstrap framework, as it’s quite overkill for our use and is difficult to adhere to our brand and style guidelines.
My mission is to revamp the CSS/LESS to be as minimal as possible, with emphasis on normalizing a lot of the duplicate and redundant classes and rules.
For example, Bootstrap uses the classes btn
and btn-group
, but the buttonGroup.css resource uses the classes button
and button-group
.
This makes it particularly messy when trying to keep style consistent, as I find that I’m often having to write extra rules to account for such special cases.
I’m able to modify any of the resources easily, so that leaves the Bootstrap framework to be the problem child. I’ve already begun consolidating the source .less
files as well as I can, but so many components (.js
files, .vm
files, default and application pages, etc.) already have code for Bootstrap classes. I was hoping there would be a way to modify them without having to search for each class through Solr and go manually modify each individual page.
If I could even have access to the page content from the file system, that would make this task monumentally easier.
I understand this is an odd request and probably advised against (I’m prepared to handle future pitfalls as they come, e.g. upgrades, extensions, etc.), but I would greatly appreciate any assistance that can be provided.
Thank you, XWiki developers, for creating and making available this fantastic platform. I have so many ideas for using it in my organization, I fear I may not live long enough to implement them all!