Skip to content

Commit

Permalink
HxGridProgressIndicator color defaults, docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
crdo committed Jun 26, 2024
1 parent a942949 commit e1c8b93
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Havit.Blazor.Components.Web.Bootstrap/Grids/HxGrid.razor.css
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ th.hx-grid-sorted.text-end .hx-grid-header-cell-template {
.hx-grid-progress-indicator thead:before {
content: "";
position: absolute;
z-index: 1000;
display: block;
bottom: -1px;
height: 1px;
background: var(--bs-primary);
background: var(--hx-grid-progress-indicator-color);
animation: 1.5s ease-in-out 0s 1 slideRight;
animation-iteration-count: infinite;
}
Expand Down
1 change: 1 addition & 0 deletions Havit.Blazor.Components.Web.Bootstrap/wwwroot/defaults.css
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
--hx-grid-button-hover-background: var(--bs-secondary-bg);
--hx-grid-button-border-radius: var(--bs-border-radius);
--hx-grid-sorted-icon-color: var(--bs-primary);
--hx-grid-progress-indicator-color: var(--bs-primary);

/* HxInputFileDropZone */
--hx-input-file-drop-zone-border-width: 1px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@
<ComponentApiDocCssVariable Name="--hx-grid-sorted-icon-color" Default="var(--bs-primary)">
Color of the sorted icon.
</ComponentApiDocCssVariable>
<ComponentApiDocCssVariable Name="--hx-grid-progress-indicator-color" Default="var(--bs-primary)">
Color of the grid progress indicator line.
</ComponentApiDocCssVariable>
</CssVariables>
</ComponentApiDoc>

Expand Down

0 comments on commit e1c8b93

Please sign in to comment.