diff options
author | redmatrix <git@macgirvin.com> | 2016-05-01 08:02:03 +1000 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-05-01 08:02:03 +1000 |
commit | 9446d0cbb463af6a256efebf97e10618469f1193 (patch) | |
tree | 3704de63c7188086ea6a5399094dfde170afaa69 /library/font_awesome/src/assets/less/gandy-grid | |
parent | 8a41e2a011bd1c69c138fb75d138ed2bb4bf779f (diff) | |
parent | 3fe8fc0aa80a03fc63905e1e80999e6ccb8672e8 (diff) | |
download | volse-hubzilla-9446d0cbb463af6a256efebf97e10618469f1193.tar.gz volse-hubzilla-9446d0cbb463af6a256efebf97e10618469f1193.tar.bz2 volse-hubzilla-9446d0cbb463af6a256efebf97e10618469f1193.zip |
Merge pull request #362 from Treer/fontawesome
Update Font-Awesome to 4.6.1
Diffstat (limited to 'library/font_awesome/src/assets/less/gandy-grid')
-rw-r--r-- | library/font_awesome/src/assets/less/gandy-grid/grid.less | 43 | ||||
-rw-r--r-- | library/font_awesome/src/assets/less/gandy-grid/mixins.less | 18 |
2 files changed, 61 insertions, 0 deletions
diff --git a/library/font_awesome/src/assets/less/gandy-grid/grid.less b/library/font_awesome/src/assets/less/gandy-grid/grid.less new file mode 100644 index 000000000..7aca7dbb7 --- /dev/null +++ b/library/font_awesome/src/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/library/font_awesome/src/assets/less/gandy-grid/mixins.less b/library/font_awesome/src/assets/less/gandy-grid/mixins.less new file mode 100644 index 000000000..49c774998 --- /dev/null +++ b/library/font_awesome/src/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); +} |