Skip to content

Instantly share code, notes, and snippets.

View PixelHeadsLtd's full-sized avatar

Mike King PixelHeadsLtd

View GitHub Profile
@PixelHeadsLtd
PixelHeadsLtd / flex-group
Created November 17, 2025 17:35
Migrated gist (migrated)
<div class="flex-group">
<div>auto</div>
<div>auto</div>
<div>auto</div>
</div>
<div class="flex-group">
<div class="flex-1">flex 1</div>
<div class="flex-2">flex 2</div>
<div class="flex-3">flex 3</div>
@PixelHeadsLtd
PixelHeadsLtd / table-boxed.html
Created November 17, 2025 17:35
Tables (migrated)
<table class="boxed">
<thead>
<th>Status</th>
<th>Approver</th>
<th>Created date</th>
<th>Modified date</th>
</thead>
<tbody>
<tr *ngFor="let approval of approvals">
<td><span class="alert-shield" ngClass="{{ approval.statusClass }}">{{ approval.status }}</span></td>
@PixelHeadsLtd
PixelHeadsLtd / flex-group
Created November 17, 2025 17:38
Migrated gist (migrated)
<div class="flex-group">
<div>auto</div>
<div>auto</div>
<div>auto</div>
</div>
<div class="flex-group">
<div class="flex-1">flex 1</div>
<div class="flex-2">flex 2</div>
<div class="flex-3">flex 3</div>
@PixelHeadsLtd
PixelHeadsLtd / table-boxed.html
Created November 17, 2025 17:38
Tables (migrated)
<table class="boxed">
<thead>
<th>Status</th>
<th>Approver</th>
<th>Created date</th>
<th>Modified date</th>
</thead>
<tbody>
<tr *ngFor="let approval of approvals">
<td><span class="alert-shield" ngClass="{{ approval.statusClass }}">{{ approval.status }}</span></td>
<ag-grid-angular
#agGrid id="myGrid"
class="ag-theme-balham ag-grid"
[gridOptions]="gridOptions"
[rowData]="rowData"
(gridReady)="onGridReady($event)">
</ag-grid-angular>
<!--Primary-->
<ph-button
[buttonSplit]="true"
[navLeftside]="false"
[navBottom]="false"
(buttonClick)="onClick()"
fieldClass="boxed"
buttonClass="bg-aa-light-blue-100 chevron-up"
buttonLabel="Primary"
buttonText="Publish"
<section class="editorial-content">
<h2>Feature paragraph</h2>
<p class="feature">
"Nothing there!" said Peter, and they all trooped out again—all except Lucy. She stayed
behind because she thought it would be worth while trying the door of the wardrobe, even though she felt almost
sure that it would be locked. To her surprise it opened quite easily, and two moth-balls dropped out.
</p>
</section>
@PixelHeadsLtd
PixelHeadsLtd / aa-footer
Last active November 17, 2025 17:57
(migrated)
@PixelHeadsLtd
PixelHeadsLtd / tab-navigation
Created November 17, 2025 17:57
(migrated)
<aa-tab-navigation [routerLink]="'routerLink'" [routerLinkActive]="'routerLinkActive'" [routerLinkActiveOptions]="'routerLinkActiveOptions'"></aa-tab-navigation>
@PixelHeadsLtd
PixelHeadsLtd / border
Last active November 18, 2025 10:44
(migrated)
// ----------------------------- GLOBAL BORDERS --------------------------
.bd-1 {border-width: 1px!important}
.bd-1-5 {border-width: .085rem!important}
.bd-2 {border-width: 2px!important}
.bd-3 {border-width: 3px!important}
.bd-4 {border-width: 4px!important}
.bd-5 {border-width: 5px!important}
.bd-6 {border-width: 6px!important}
// ...