From e3c672f4648997dbe00624e09c63c990a8ea3596 Mon Sep 17 00:00:00 2001 From: pdp8 Date: Mon, 22 Aug 2022 00:52:15 +0200 Subject: audio and video rendering, Fork-Awesome-1.2.0 included --- .../src/doc/assets/less/gandy-grid/grid.less | 43 ++++++++++++++++++++++ .../src/doc/assets/less/gandy-grid/mixins.less | 18 +++++++++ 2 files changed, 61 insertions(+) create mode 100644 snippets/Fork-Awesome-1.2.0/src/doc/assets/less/gandy-grid/grid.less create mode 100644 snippets/Fork-Awesome-1.2.0/src/doc/assets/less/gandy-grid/mixins.less (limited to 'snippets/Fork-Awesome-1.2.0/src/doc/assets/less/gandy-grid') 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); +} -- cgit v1.2.3