summaryrefslogtreecommitdiffstats
path: root/tpl/objects
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-03-13 10:10:47 +0100
committerVolpeon <git@volpeon.ink>2022-03-13 10:10:47 +0100
commitdacf3684105df492503163bb27d080d738c3160b (patch)
tree16228a964f5b1cfacc57add74760d24be5ace223 /tpl/objects
parentTable: Fixed hover bg, added small size (diff)
downloadiro-design-dacf3684105df492503163bb27d080d738c3160b.tar.gz
iro-design-dacf3684105df492503163bb27d080d738c3160b.tar.bz2
iro-design-dacf3684105df492503163bb27d080d738c3160b.zip
More table options
Diffstat (limited to 'tpl/objects')
-rw-r--r--tpl/objects/table.pug17
1 files changed, 12 insertions, 5 deletions
diff --git a/tpl/objects/table.pug b/tpl/objects/table.pug
index b7ec881..e635589 100644
--- a/tpl/objects/table.pug
+++ b/tpl/objects/table.pug
@@ -1,10 +1,11 @@
1mixin table 1mixin table
2 - 2 -
3 let classes = { 3 let classes = {
4 'o-table': true, 4 'o-table': true,
5 'o-table--flush': attributes.flush, 5 'o-table--flush': attributes.flush,
6 'o-table--box': attributes.box, 6 'o-table--box': attributes.box,
7 'o-table--50': attributes.size50, 7 'o-table--interactive': attributes.interactive,
8 'o-table--50': attributes.size50,
8 } 9 }
9 10
10 table(class=classes) 11 table(class=classes)
@@ -27,5 +28,11 @@ mixin table-row
27 block 28 block
28 29
29mixin table-cell 30mixin table-cell
30 td.o-table__cell 31 -
32 let classes = {
33 'o-table__cell': true,
34 'o-table__cell--divider': attributes.divider,
35 }
36
37 td(class=classes)
31 block 38 block