mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-21 01:40:13 +01:00
fix(ui-features): improve the icon buttons styles (#18)
This commit is contained in:
parent
f745d4eb43
commit
8127f98f3c
3 changed files with 18 additions and 4 deletions
|
|
@ -9,11 +9,11 @@
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-primary">Icon Button</button>
|
<button type="button" class="btn btn-primary">Icon Button</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-group">
|
<div class="btn-with-icon-example">
|
||||||
<button type="button" class="btn btn-primary btn-group-icon">
|
<button type="button" class="btn btn-primary btn-with-icon">
|
||||||
<i class="ion-ios-gear-outline"></i>
|
<i class="icon ion-ios-home-outline"></i>
|
||||||
|
<span>Icon Button</span>
|
||||||
</button>
|
</button>
|
||||||
<button type="button" class="btn btn-primary">Icon Button</button>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="icon-button-examples">
|
<div class="icon-button-examples">
|
||||||
<button type="button" class="btn btn-outline-primary btn-icon">
|
<button type="button" class="btn btn-outline-primary btn-icon">
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
nga-card-body {
|
||||||
|
div:not(:last-child) {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-with-icon-example {
|
||||||
|
width: 100%;
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -2,6 +2,7 @@ import { Component } from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'ngx-icon-buttons',
|
selector: 'ngx-icon-buttons',
|
||||||
|
styleUrls: ['./icon-buttons.component.scss'],
|
||||||
templateUrl: './icon-buttons.component.html',
|
templateUrl: './icon-buttons.component.html',
|
||||||
})
|
})
|
||||||
export class IconButtonsComponent {
|
export class IconButtonsComponent {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue