openvibers/openvibe.network Commits
openvibe.my's sign-in card: buttons look like buttons (#696)
Changes
@@@ -98,6 +98,7 @@ body{min-height:100%;color:var(--text);font-family:'Inter',-apple-system,BlinkMa.btn{padding:8px 20px;border:none;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;transition:all var(--ov-dur-2, .15s);++ text-decoration:none; /* a link drawn as a button (the signed-out card's Sign in) is not underlined */}.btn-primary{background:var(--accent-strong, var(--accent, #3472d8));color:var(--on-accent-strong, var(--on-accent,#fff))}.btn-primary:hover{background:var(--accent-dark)}@@@ -61,7 +61,7 @@ function showSignedOutHub() {signIn.setAttribute('href', signIn.href);signIn.textContent = 'Sign in with OpenVibe';const everywhere = document.createElement('a');-- everywhere.className = 'btn';++ everywhere.className = 'btn btn-outline'; // the second way, drawn as one (it read as a stray underlined link)everywhere.href = 'https://openvibe.network/sso/fanout?action=logout&next=' + encodeURIComponent('https://openvibe.my/?sso=none');everywhere.setAttribute('href', everywhere.href);everywhere.textContent = 'Sign out everywhere';
@@ -98,6 +98,7 @@ body{min-height:100%;color:var(--text);font-family:'Inter',-apple-system,BlinkMa
@@ -98,6 +98,7 @@ body{min-height:100%;color:var(--text);font-family:'Inter',-apple-system,BlinkMa
.btn{
.btn{
padding:8px 20px;border:none;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;transition:all var(--ov-dur-2, .15s);
padding:8px 20px;border:none;border-radius:8px;font-size:12px;font-weight:600;cursor:pointer;transition:all var(--ov-dur-2, .15s);
+ text-decoration:none; /* a link drawn as a button (the signed-out card's Sign in) is not underlined */
}
}
.btn-primary{background:var(--accent-strong, var(--accent, #3472d8));color:var(--on-accent-strong, var(--on-accent,#fff))}
.btn-primary{background:var(--accent-strong, var(--accent, #3472d8));color:var(--on-accent-strong, var(--on-accent,#fff))}
.btn-primary:hover{background:var(--accent-dark)}
.btn-primary:hover{background:var(--accent-dark)}
@@ -61,7 +61,7 @@ function showSignedOutHub() {
@@ -61,7 +61,7 @@ function showSignedOutHub() {
signIn.setAttribute('href', signIn.href);
signIn.setAttribute('href', signIn.href);
signIn.textContent = 'Sign in with OpenVibe';
signIn.textContent = 'Sign in with OpenVibe';
const everywhere = document.createElement('a');
const everywhere = document.createElement('a');
- everywhere.className = 'btn';
+ everywhere.className = 'btn btn-outline'; // the second way, drawn as one (it read as a stray underlined link)
everywhere.href = 'https://openvibe.network/sso/fanout?action=logout&next=' + encodeURIComponent('https://openvibe.my/?sso=none');
everywhere.href = 'https://openvibe.network/sso/fanout?action=logout&next=' + encodeURIComponent('https://openvibe.my/?sso=none');
everywhere.setAttribute('href', everywhere.href);
everywhere.setAttribute('href', everywhere.href);
everywhere.textContent = 'Sign out everywhere';
everywhere.textContent = 'Sign out everywhere';