2026-01-25 15:23:57 +05:30
|
|
|
//- Button mixins with various styles
|
2026-01-17 18:50:16 +05:30
|
|
|
|
2026-01-25 15:23:57 +05:30
|
|
|
mixin btn(text, type)
|
|
|
|
|
- var btnClass = type ? "btn btn-" + type : "btn btn-primary"
|
|
|
|
|
button(class=btnClass)= text
|
|
|
|
|
|
|
|
|
|
mixin btn-link(href, text, type)
|
|
|
|
|
- var btnClass = type ? "btn btn-" + type : "btn btn-primary"
|
|
|
|
|
a(href=href class=btnClass)= text
|
|
|
|
|
|
|
|
|
|
mixin btn-icon(icon, text, type)
|
|
|
|
|
- var btnClass = type ? "btn btn-" + type : "btn btn-primary"
|
|
|
|
|
button(class=btnClass)
|
|
|
|
|
span.icon= icon
|
|
|
|
|
span= text
|