From 03bb4268367dcd3b2d327d3834e2047a56687a86 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 26 Jun 2024 21:47:55 +0200 Subject: Menus --- tpl/objects/action-menu.pug | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 tpl/objects/action-menu.pug (limited to 'tpl/objects/action-menu.pug') diff --git a/tpl/objects/action-menu.pug b/tpl/objects/action-menu.pug deleted file mode 100644 index be9d86d..0000000 --- a/tpl/objects/action-menu.pug +++ /dev/null @@ -1,35 +0,0 @@ -include icon.pug -include status-indicator.pug - -mixin action-menu - .o-action-menu.u-p-static.t-up - block - -mixin action-menu-item - button.o-action-menu__item(disabled=attributes.disabled) - .l-media.l-media--flush - .l-media__block.o-action-menu__icon-slot - if attributes.icon - if attributes.iconIsStatus - +status-indicator(attributes.icon)(class='o-action-menu__icon') - else - +icon(attributes.icon)(class='o-action-menu__icon') - .l-media__block.l-media__block--main - block - .l-media__block.o-action-menu__icon-slot - if attributes.postIcon - +icon(attributes.postIcon)(class='o-action-menu__icon') - -mixin action-menu-separator - .o-action-menu__separator - -mixin action-menu-slot - - - let classes = { - 'o-action-menu__slot ': true, - } - if (attributes.class) { - classes[attributes.class] = true; - } - div(class=classes) - block -- cgit v1.2.3-70-g09d2