Skip to content

Commit

Permalink
Improve the selection of vc icons style
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatrakazas committed Sep 6, 2024
1 parent 82ec39d commit 36ffcc6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 7 additions & 3 deletions public/styles/consent.css
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,14 @@ section.MainLayout {
padding-bottom: 30px;
}
.is-selected, .is-not-selected {
margin-bottom: 15px;
margin-right: 15px;
font-size: 20px;
color: white;
color: var(--primary-color);
background-color: white;
position:absolute;
top:-10px;
right: -10px;
padding: 2px;
border-radius: 20px;
}

.GetMultiBtn {
Expand Down
6 changes: 3 additions & 3 deletions views/issuer/consent.pug
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ block layout-content
for credential, index in credentialViewList
.credential-card
input(type="hidden" name="selected_credential_id_list[]" id=`${credential.credential_id}_${index}` value=`${credential.credential_id}` disabled)
a.credential.toggle-card(id=`${credential.credential_id}_${index}` style=`background-image: url(${credential.credential_supported_object.display[0].logo.url});`)
a.credential.toggle-card(id=`${credential.credential_id}_${index}` style=`position:relative; background-image: url(${credential.credential_supported_object.display[0].logo.url});`)
if grant_type == "authorization_code"
i.is-selected.fa.fa-check-square-o(aria-hidden="true" style="display: none;")
i.is-not-selected.fa.fa-square-o(aria-hidden="true")
i.is-selected.fa.fa-check-circle-o(aria-hidden="true" style="display: none;")
i.is-not-selected.fa.fa-circle-o(aria-hidden="true")
a.toggle-details(id=`${credential.credential_id}_${index}` style="display:inline;")
span.show-text
| Show Details
Expand Down

0 comments on commit 36ffcc6

Please sign in to comment.