Currently, I am dealing with a project that was not originally coded by me and have come across an issue that is proving to be challenging to resolve.
Please review the code snippet below:
<ion-item detail *ngIf="c.cv" [routerLink]="['/contact',c.uid]">
<div class="avatar-voyant">
<div class="group-circle">
<div class="circle opacity-100" style="margin-left: -2px; margin-top: -2px; width: 62px;"></div>
<div class="circle opacity-50" style="margin-top: 1px; margin-left: 7px;"></div>
<div class="circle opacity-35" style="margin-top: 6px; margin-left: 13px; width: 45px"></div>
<div class="circle opacity-20"
style="margin-left: 0px; margin-top: 11px; width: 45px; height: 45px; border-radius: 13px;"></div>
<div class="circle opacity-35" style="margin-top: 5px; margin-left: -10px; height: 45px;"></div>
<div class=" circle opacity-20"
style="margin-left: -7px; margin-top: 0px; border-radius: 50%; height: 35px; width: 35px;"></div>
<ion-thumbnail>
<ion-img [src]="c.picture"></ion-img>
</ion-thumbnail>
</div>
<div style="padding-bottom: 15px"></div>
</div>
<ion-label class="ion-text-wrap">
<h3 class="text-rose-pale padding-bottom-5"><b>{{c.username}}</b></h3>
<h5>{{c.competence1}} - {{c.competence2}} - {{c.competence3}}</h5>
</ion-label>
<ion-badge slot="end" *ngIf="c.nbMsg">{{c.nbMsg}}</ion-badge>
<ion-icon name="mail" color="tertiary" slot="end" size="small"
*ngIf="c.m && c.m.fromUid!=profileServ.uid && c.m.lu<1"></ion-icon>
</ion-item>
The main issue at hand is the requirement to use ion-item with the detail parameter, which adds an arrow on the right side of the list. However, the default opacity is set to 0.2, and my attempts to override it targeting the SVG or the ion-item have been unsuccessful. I also tried utilizing a variable in my global.scss file like this:
.item-detail-icon {
color: var(--detail-icon-color);
font-size: var(--detail-icon-font-size);
opacity: var(--detail-icon-opacity);
}
Even after setting --detail-icon-opacity, the opacity remains at 0.2, as if the variable is not defined in the project. This leaves me puzzled on how to adjust the opacity to 1.0.
If anyone within the community has insights on resolving this issue, your assistance would be greatly appreciated. Thank you!
I have attempted to modify the value of --detail-icon-opacity or overwrite the opacity without success.