You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openNG/old/components/uikit/button/component.tag

24 lines
512 B
Plaintext

uikit-button
button.pure-button(type="{opts.type}", class="{confirm: opts.type === 'submit', cancel: opts.type === 'cancel', normal: opts.type == null}")
i(if="{opts.icon != null}", class="fa fa-{opts.icon}")
!= "<yield/>"
style(scoped, type="scss").
button {
font-weight: bold;
&.confirm {
background-color: #006B00;
color: white;
}
&.cancel {
background-color: #AF0000;
color: white;
}
&.normal {
background-color: #1B4AB5;
color: white;
}
}