diff options
Diffstat (limited to 'tpl/objects/dialog.pug')
| -rw-r--r-- | tpl/objects/dialog.pug | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tpl/objects/dialog.pug b/tpl/objects/dialog.pug index 91b99d9..95aa41c 100644 --- a/tpl/objects/dialog.pug +++ b/tpl/objects/dialog.pug | |||
| @@ -18,7 +18,7 @@ mixin dialog(title) | |||
| 18 | 'o-dialog__header': true, | 18 | 'o-dialog__header': true, |
| 19 | 'u-themed': !attributes.flat, | 19 | 'u-themed': !attributes.flat, |
| 20 | 't-lowered': !attributes.flat, | 20 | 't-lowered': !attributes.flat, |
| 21 | 'l-card': true, | 21 | 'l-media': true, |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | let sidebarHeaderClass = { | 24 | let sidebarHeaderClass = { |
| @@ -40,7 +40,7 @@ mixin dialog(title) | |||
| 40 | if slots['sidebar-header'] | 40 | if slots['sidebar-header'] |
| 41 | - slots['sidebar-header']() | 41 | - slots['sidebar-header']() |
| 42 | else | 42 | else |
| 43 | +div-heading('sm')(class='o-dialog__title l-card__block l-card__block--main')= attributes.sidebarTitle | 43 | +div-heading('sm')(class='o-dialog__title l-media__block l-media__block--main')= attributes.sidebarTitle |
| 44 | 44 | ||
| 45 | if slots.sidebar | 45 | if slots.sidebar |
| 46 | .o-dialog__sidebar.l-overflow | 46 | .o-dialog__sidebar.l-overflow |
| @@ -51,8 +51,8 @@ mixin dialog(title) | |||
| 51 | - slots.header() | 51 | - slots.header() |
| 52 | else | 52 | else |
| 53 | if title | 53 | if title |
| 54 | +div-heading('sm')(class='o-dialog__title l-card__block l-card__block--main')= title | 54 | +div-heading('sm')(class='o-dialog__title l-media__block l-media__block--main')= title |
| 55 | +action-button(round=true quiet=true icon='x' class='o-dialog__close-btn l-card__block') | 55 | +action-button(round=true quiet=true icon='x' class='o-dialog__close-btn l-media__block') |
| 56 | 56 | ||
| 57 | section(class=bodyClass) | 57 | section(class=bodyClass) |
| 58 | if slots.body | 58 | if slots.body |
