mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-01-21 16:56:11 +01:00
feat: add a bunch of new Nebular demos (#1911)
This commit is contained in:
parent
c594a5a4c5
commit
3f1f4c558b
185 changed files with 5176 additions and 422 deletions
|
|
@ -0,0 +1,17 @@
|
|||
<nb-card>
|
||||
<nb-card-header>Button Elements</nb-card-header>
|
||||
<nb-card-body>
|
||||
<div class="button-container">
|
||||
<button (click)="onClick()" nbButton>Button</button>
|
||||
</div>
|
||||
<div class="button-container">
|
||||
<input (click)="onClick()" nbButton type="submit" value="Input Submit"/>
|
||||
</div>
|
||||
<div class="button-container">
|
||||
<input (click)="onClick()" nbButton type="button" value="Input Button"/>
|
||||
</div>
|
||||
<div class="button-container">
|
||||
<a (click)="onClick()" href="#" nbButton>Link</a>
|
||||
</div>
|
||||
</nb-card-body>
|
||||
</nb-card>
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
@import '../../../../@theme/styles/themes';
|
||||
@import '~@nebular/bootstrap/styles/buttons';
|
||||
|
||||
@include nb-install-component() {
|
||||
|
||||
nb-card-body {
|
||||
padding: 0 1.25rem 1.25rem 0;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.button-container {
|
||||
margin: 1.25rem 0 0 1.25rem;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'ngx-button-elements',
|
||||
styleUrls: ['./button-elements.component.scss'],
|
||||
templateUrl: './button-elements.component.html',
|
||||
})
|
||||
export class ButtonElementsComponent {
|
||||
|
||||
onClick() {
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue