scinote-web/app/views/design_elements/_button.html.erb

544 lines
17 KiB
Text
Raw Normal View History

2024-01-24 16:47:45 +08:00
<h1>Button</h1>
2024-01-29 16:49:55 +08:00
<div class="buttons flex flex-wrap">
<div class="mb-4 primary mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Primary, large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-primary btn-lg">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Primary, medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-primary">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Primary, small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-primary btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Primary, x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-primary btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="secondary mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Secondary, large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-secondary btn-lg">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Secondary, medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-secondary">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Secondary, small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-secondary btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Secondary, x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-secondary btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="tertiary mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Tertiary, large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-tertiary btn-lg">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Tertiary, medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-tertiary">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Tertiary, small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-tertiary btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Tertiary, x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-tertiary btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="delete mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Delete, large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-danger btn-lg">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Delete, medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-danger ">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Delete, small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-danger btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Delete, x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-danger btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="primary-disabled mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Primary, disabled large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-primary btn-lg" disabled>
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Primary, disabled medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-primary">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Primary, disabled small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-primary btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Primary, disabled x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-primary btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="secondary-disabled mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Secondary, disabled large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-secondary btn-lg">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Secondary, disabled medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-secondary">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Secondary, disabled small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-secondary btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Secondary, disabled x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-secondary btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="tertiary mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Tertiary, disabled large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-tertiary btn-lg">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Tertiary, disabled medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-tertiary ">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Tertiary, disabled small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-tertiary btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Tertiary, disabled x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-tertiary btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="delete-disabled mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Delete, disabled large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-danger btn-lg">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Delete, disabled medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-danger">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Delete, disabled small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-danger btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Delete, disabled x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-danger btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
<span><%= 'Button' %><span>
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="primary-icon mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Primary icon, large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-primary icon-btn btn-lg">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Primary icon, medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-primary icon-btn">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Primary icon, small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-primary icon-btn btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Primary icon, x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-primary icon-btn btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="secondary-icon mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Secondary icon, large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-secondary icon-btn btn-lg">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Secondary icon, medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-secondary icon-btn">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Secondary icon, small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-secondary icon-btn btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Secondary icon, x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-secondary icon-btn btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="tertiary-icon mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Tertiary icon, large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-tertiary icon-btn btn-lg">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Tertiary icon, medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-tertiary icon-btn">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Tertiary icon, small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-tertiary icon-btn btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Tertiary icon, x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block btn btn-tertiary icon-btn btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="primary-icon-disabled mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Primary icon disabled, large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-primary icon-btn btn-lg">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Primary icon disabled, medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-primary icon-btn">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Primary icon disabled, small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-primary icon-btn btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Primary icon disabled, x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-primary icon-btn btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="secondary-icon-disabled mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Secondary icon disabled, large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-secondary icon-btn btn-lg">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Secondary icon disabled, medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-secondary icon-btn">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Secondary icon disabled, small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-secondary icon-btn btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Secondary icon disabled, x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-secondary icon-btn btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="tertiary-icon-disabled mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Tertiary icon disabled, large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-tertiary icon-btn btn-lg">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Tertiary icon disabled, medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-tertiary icon-btn">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Tertiary icon disabled, small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-tertiary icon-btn btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Tertiary icon disabled, x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-tertiary icon-btn btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="delete-icon-disabled mx-2 box-border mb-4">
2024-01-24 16:47:45 +08:00
<label>Delete icon disabled, large</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-danger icon-btn btn-lg">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Delete icon disabled, medium</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-danger icon-btn">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Delete icon disabled, small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-danger icon-btn btn-sm">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
<label>Delete icon disabled, x-small</label>
2024-01-29 16:49:55 +08:00
<button type="button" class="block disabled btn btn-danger icon-btn btn-xs">
2024-01-24 16:47:45 +08:00
<span class="sn-icon sn-icon-new-task" aria-hidden="true"></span>
</button>
2024-01-29 16:49:55 +08:00
2024-01-24 16:47:45 +08:00
</div>
2024-01-29 16:49:55 +08:00
<div class="text-button mx-2 box-borders">
<button class="block btn btn-light icon-btn sn-science-blue has-unseen">
2024-01-24 16:47:45 +08:00
All
</button>
</div>
</div>
<style>
.has-unseen {
&::after {
align-items: center;
background-color: var(--sn-science-blue);
border-radius: .5rem;
color: var(--sn-white);
content: attr(data-unseen);
display: flex;
font-size: 10px;
height: 1rem;
justify-content: center;
left: 1.25rem;
min-width: 1rem;
padding: 0 .25rem;
position: absolute;
top: 0;
white-space: nowrap;
}
}
</style>