chiark / gitweb /
css: reworked support for floatable components.
authorVladimír Vondruš <mosra@centrum.cz>
Sat, 3 Nov 2018 21:23:58 +0000 (22:23 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 4 Nov 2018 12:00:03 +0000 (13:00 +0100)
commit0c746406603209bf19d90e669d148eb674d8a8d4
tree3aa2ee53c9633087b33a27f27b5c9b178cf8e449
parent9239e620589c22a4a99dc364fd2979a420464662
css: reworked support for floatable components.

What's done, roughly:

 * It's now possible to tuck the floating components out of the page
   flow similarly to .m-container-inflate. This required me to update
   the active section highlighting to handle this case correctly as well
   (and there's a lot more CSS for that now, ugh).
 * The .m-container-inflate has now padding after to make it better
   integrable into everything else.
 * OTOH, the all-around padding for .m-col-*-* elements is done only
   when they are direct children of .m-row. Otherwise, the padding is
   done only for .m-left-*, .m-right-*, .m-center-* and only on sides
   where it is needed.

Also added a few tests for functionality that was neglected before.
13 files changed:
css/m-components.css
css/m-dark+doxygen.compiled.css
css/m-dark.compiled.css
css/m-grid.css
css/m-layout.css
css/m-light+doxygen.compiled.css
css/m-light.compiled.css
doc/css/components-test.rst
doc/css/components.rst
doc/css/grid-test.rst [new file with mode: 0644]
doc/css/grid.rst
doc/css/page-layout-test.rst
doc/css/typography.rst