Skip to content

Commit

Permalink
refactor(Collapse): add accordion-button variable of css (#1514)
Browse files Browse the repository at this point in the history
* refactor: 增加背景色变量方便二开

* refactor: update attributes configuration

* Revert "refactor: update attributes configuration"

This reverts commit 5ccc390.

* chore: bump version 7.8.5-beta01
  • Loading branch information
ArgoZhang authored Jul 9, 2023
1 parent 3998698 commit 6bde6d2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/BootstrapBlazor/BootstrapBlazor.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<Version>7.8.4</Version>
<Version>7.8.5-beta01</Version>
</PropertyGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
Expand Down
8 changes: 8 additions & 0 deletions src/BootstrapBlazor/Components/Collapse/Collapse.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@
color: var(--bs-btn-color);
}

.accordion .accordion-button:active {
background-color: var(--bs-accordion-btn-bg);
}

.accordion .accordion-button:hover {
background-color: var(--bs-accordion-btn-hover-bg);
}

.accordion .accordion-button.btn-primary {
background-color: var(--bs-primary);
}
Expand Down

Large diffs are not rendered by default.

0 comments on commit 6bde6d2

Please sign in to comment.