File tree Expand file tree Collapse file tree 2 files changed +161
-167
lines changed Expand file tree Collapse file tree 2 files changed +161
-167
lines changed Original file line number Diff line number Diff line change 33@if (HasExpansionPanel )
44{
55 <MudExpansionPanel Text =" @Title" >
6- <MudCard Class =" component-card mx-sm-2 my-8 pa-sm-2 example-card " Style =" cursor: default" Elevation =" 4" >
6+ <MudCard Class =" component-card mx-sm-2 my-8 pa-sm-2" Style =" cursor: default" Elevation =" 4" >
77 <MudCardHeader >
88 <div >
99 <MudText Class =" example-card-text" Typo =" Typo.h6" Color =" Color.Inherit" >@Title </MudText >
2020}
2121else
2222{
23- <MudCard Class =" component-card mx-sm-2 my-8 pa-sm-2 example-card " Style =" cursor: default" Elevation =" 4" >
23+ <MudCard Class =" component-card mx-sm-2 my-8 pa-sm-2" Style =" cursor: default" Elevation =" 4" >
2424 <MudCardHeader >
2525 <div >
2626 <MudText Class =" example-card-text" Typo =" Typo.h6" Color =" Color.Inherit" >@Title </MudText >
2727 <MudText Class =" example-card-text" Typo =" Typo.body2" Color =" Color.Inherit" >@Description </MudText >
28+ <MudDivider />
2829 </div >
2930 </MudCardHeader >
3031 <MudCardContent >
9899}
99100
100101<style >
101- .example-card {
102- background-color : transparent ;
103- /* color: var(--mud-palette-secondary);*/
104- transition : background-color .6s ;
102+ .example-card-text {
103+ color : var (--mud-palette-secondary );
105104 transition : color 1s ;
106- cursor : pointer ;
107105 }
108-
109- .example-card :hover {
110- /* color: white;*/
111- background : linear-gradient (to right , var (--mud-palette-primary ), var (--mud-palette-secondary ));
112- }
113-
114- .example-card .example-card-text {
115- color : var (--mud-palette-secondary );
116- transition : color 1s ;
117- }
118-
119- .example-card :hover .example-card-text {
120- color : white ;
121- }
122106 </style >
You can’t perform that action at this time.
0 commit comments