skip to Main Content

Css – How to change ngx datatable header background color?

i want to set the table header background to blue color. this is my html: <ngx-datatable class="material" [rows]="rows" [columnMode]="'force'" [headerHeight]="50" [footerHeight]="50" [rowHeight]="'auto'" ngClass="{'table-striped': false}"> <ngx-datatable-column name="ID RECLAMO" prop="idReclamo" class="bg-dark"></ngx-datatable-column> <ngx-datatable-column name="SEGNALTO" prop="dataSegnalizione"> <ng-template let-row="row" ngx-datatable-cell-template> {{ row.dataSegnalizione | date:'dd/MM/yyyy' }}…

VIEW QUESTION

Css – How to set up Angular project to be able to use mixins?

I have an Angular 16 project with this scss files: styles.scss @import url(./assets/scss/mixins.scss); @import url(./assets/scss/elements.scss); assets/scss/mixins.scss @mixin no-text-selection { -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } assets/scss/elements.scss @import './mixins.scss'; input[type='checkbox'] { cursor: pointer; appearance:…

VIEW QUESTION

Css – SASS variables into :root are not interpolated

I want to override base-font-size by calling a function, its definition is given below base-font-size variable is defined in the root export const changeBaseFontSize = (newSize: string) => { document.documentElement.style.setProperty("--base-font-size", newSize); }; Calling this function as given below changeBaseFontSize("16"); Now,…

VIEW QUESTION
Back To Top
Search