Css Style, modified background and primary tag for email.

This commit is contained in:
KiddyTheKid 2020-12-25 21:46:56 -05:00
parent 30a88560cc
commit 98e4f59699
2 changed files with 12 additions and 1 deletions

View file

@ -369,7 +369,7 @@ async function displayProfile(opts) {
feedback += `<div class="profileDataItem profileDataItem--separator profileDataItem--noLabel">`; feedback += `<div class="profileDataItem profileDataItem--separator profileDataItem--noLabel">`;
feedback += `<div class="profileDataItem__label"></div>`; feedback += `<div class="profileDataItem__label"></div>`;
// feedback += `<div class="profileDataItem__value"><a href="mailto:${keyData.users[i].userId.email}">${keyData.users[i].userId.email}</a> (primary)</div>`; // feedback += `<div class="profileDataItem__value"><a href="mailto:${keyData.users[i].userId.email}">${keyData.users[i].userId.email}</a> (primary)</div>`;
feedback += `<div class="profileDataItem__value">${keyData.users[i].userId.email} (primary)</div>`; feedback += `<div class="profileDataItem__value">${keyData.users[i].userId.email} <small class="primary">primary</small></div>`;
feedback += `</div>`; feedback += `</div>`;
if (userId.length === 0) { if (userId.length === 0) {

View file

@ -303,6 +303,7 @@ select {
#profileData { #profileData {
background-color: #dceef957; background-color: #dceef957;
padding: 15px; padding: 15px;
border-radius: 15px;
} }
.profileDataItem { .profileDataItem {
@ -346,6 +347,16 @@ select {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.profileDataItem__value small {
color: white;
background: #2178ff;
border-radius: 6px;
padding: 2.8px 5px;
font-size: 0.65em;
vertical-align: middle;
}
a.proofUrl { a.proofUrl {
color: #777; color: #777;
} }