diff options
author | pdp8 <pdp8@pdp8.info> | 2022-08-22 00:52:15 +0200 |
---|---|---|
committer | pdp8 <pdp8@pdp8.info> | 2022-08-22 00:52:15 +0200 |
commit | e3c672f4648997dbe00624e09c63c990a8ea3596 (patch) | |
tree | 2b81023c89da84b09188d9bbbcc3d907faf8df6f /snippets/Fork-Awesome-1.2.0/src/doc/assets/less/gandy-grid | |
parent | 28792e4d504d59b5aeab70d66ea6be51c9c683b1 (diff) |
audio and video rendering, Fork-Awesome-1.2.0 included
Diffstat (limited to 'snippets/Fork-Awesome-1.2.0/src/doc/assets/less/gandy-grid')
-rw-r--r-- | snippets/Fork-Awesome-1.2.0/src/doc/assets/less/gandy-grid/grid.less | 43 | ||||
-rw-r--r-- | snippets/Fork-Awesome-1.2.0/src/doc/assets/less/gandy-grid/mixins.less | 18 |
2 files changed, 61 insertions, 0 deletions
diff --git a/snippets/Fork-Awesome-1.2.0/src/doc/assets/less/gandy-grid/grid.less b/snippets/Fork-Awesome-1.2.0/src/doc/assets/less/gandy-grid/grid.less new file mode 100644 index 0000000..7aca7db --- /dev/null +++ b/snippets/Fork-Awesome-1.2.0/src/doc/assets/less/gandy-grid/grid.less @@ -0,0 +1,43 @@ +.gg { .gg(); } +.gg-fixed { table-layout: fixed; } +.gg-col { .gg-col(); } +.gg-row { display: table-row; } +.gg-min-width { width: 1%; } + +.gg-top { vertical-align: top; } +.gg-middle { vertical-align: middle; } +.gg-bottom { vertical-align: bottom; } + +.gg-padded { + margin-left: -1rem; + margin-right: -1rem; + .gg { border-spacing: 1rem 0; } +} + +.gg-col-1, +.gg-col-2, +.gg-col-3, +.gg-col-4, +.gg-col-5, +.gg-col-6, +.gg-col-7, +.gg-col-8, +.gg-col-9, +.gg-col-10, +.gg-col-11, +.gg-col-12 { + .gg-col(); +} + +.gg-col-1 { .gg-make-col(1,12); } +.gg-col-2 { .gg-make-col(2,12); } +.gg-col-3 { .gg-make-col(3,12); } +.gg-col-4 { .gg-make-col(4,12); } +.gg-col-5 { .gg-make-col(5,12); } +.gg-col-6 { .gg-make-col(6,12); } +.gg-col-7 { .gg-make-col(7,12); } +.gg-col-8 { .gg-make-col(8,12); } +.gg-col-9 { .gg-make-col(9,12); } +.gg-col-10 { .gg-make-col(10,12); } +.gg-col-11 { .gg-make-col(11,12); } +.gg-col-12 { .gg-make-col(12,12); } diff --git a/snippets/Fork-Awesome-1.2.0/src/doc/assets/less/gandy-grid/mixins.less b/snippets/Fork-Awesome-1.2.0/src/doc/assets/less/gandy-grid/mixins.less new file mode 100644 index 0000000..49c7749 --- /dev/null +++ b/snippets/Fork-Awesome-1.2.0/src/doc/assets/less/gandy-grid/mixins.less @@ -0,0 +1,18 @@ +.gg { + display: table; + width: 100%; + vertical-align: middle; +} + +.gg-col { + display: table-cell; + vertical-align: inherit; +} + +.gg-vertical-align(@align) { + vertical-align: @align; +} + +.gg-make-col(@column-width, @total-columns) { + width: (100% / @total-columns * @column-width); +} |