`;
feedback += `
${claimData.profile.display}`;
if (claim.isVerified) {
@@ -1438,3 +1438,11 @@ if (elUtilProfileURL) {
elInput.dispatchEvent(new Event("input"));
}
+
+function capitalizeLetteredServices(serviceName) {
+ var servName = serviceName.toLowerCase();
+ if (servName === 'dns' || servName === 'xmpp') {
+ return servName.toUpperCase();
+ }
+ return serviceName;
+}
diff --git a/static/styles.css b/static/styles.css
index b333a8e..92372a3 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -75,7 +75,8 @@ footer a {
color: #777;
}
.container {
- max-width: 720px;
+ /*max-width: 720px;*/
+ max-width: 770px;
width: 100%;
margin: 0 auto;
}
@@ -279,6 +280,9 @@ select {
flex-direction: row;
align-items: center;
margin-bottom: 32px;
+ background-color: #c4e3f657;
+ padding: 15px;
+ border-radius: 15px;
}
#profileAvatar {
width: 100%;
@@ -295,6 +299,13 @@ select {
overflow: hidden;
text-overflow: ellipsis;
}
+
+#profileData {
+ background-color: #dceef957;
+ padding: 15px;
+ border-radius: 15px;
+}
+
.profileDataItem {
position: relative;
display: flex;
@@ -319,6 +330,7 @@ select {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
+ text-transform: capitalize;
}
.profileDataItem__value {
display: inline-block;
@@ -335,6 +347,16 @@ select {
overflow: hidden;
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 {
color: #777;
}
@@ -395,9 +417,18 @@ noscript p {
.profileDataItem__value {
min-height: 28px;
}
- .profileDataItem--noLabel .profileDataItem__label {
+ .profileDataItem--noLabel .profileDataItem__label {
display: none;
}
+
+ #profileData .profileDataItem__value a:first-child {
+ max-width: 85%;
+ }
+
+ #profileData #profileProofs .profileDataItem__value a:first-child {
+ display: block;
+ }
+
input[type="text"] {
width: 100%;