mapping BS3 forms to Moodle's HTML #117
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This was one of the trickiest bits of getting Bootstrap 2.3 to
work with Moodle, and Bootstrap 3 totally changed the way this was
done. So I worked on the principle that if it was better to start from
scratch. So I commented out the entire forms.less file and slowly
started working my way through the file from top to bottom either
uncommenting bits or deleting them.
The bits that are still commented out at the bottom (though above the RTL stuff) mean I've not
got around to them yet. Maybe they can be deleted, maybe they need
rewritten. E.g. I know the login page looks a bit funky at certain widths.
There's almost certainly lots of niggly bugs left because
every form in Moodle is different for no reason but the basics of
responsive forms seem done so I thought I'd commit this.
In general I'm finding BS3 a fair bit easier to work with, with less clashes and better tools for fixing problems (including extend).