mirror of
https://github.com/irislib/iris-messenger.git
synced 2024-10-18 14:13:21 +00:00
login style
This commit is contained in:
parent
aaf213a586
commit
8f8cae356f
@ -9,7 +9,7 @@
|
|||||||
--msg-content-background: #22244C;
|
--msg-content-background: #22244C;
|
||||||
--our-msg: #314C22;
|
--our-msg: #314C22;
|
||||||
--notify: #476974;
|
--notify: #476974;
|
||||||
--login-background: #154352;
|
--login-background: rgb(22, 23, 44);
|
||||||
--seen-indicator: rgba(255, 255, 255, 0.45);
|
--seen-indicator: rgba(255, 255, 255, 0.45);
|
||||||
--input-bg: #262642;
|
--input-bg: #262642;
|
||||||
--input-text: #ffffff;
|
--input-text: #ffffff;
|
||||||
|
@ -22,8 +22,9 @@ a {
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover, a:focus {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
input, button, .button {
|
input, button, .button {
|
||||||
@ -331,6 +332,14 @@ header #back-button {
|
|||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#login a {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
#login a:hover {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
#login-content {
|
#login-content {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="description" content="Social Networking Freedom">
|
<meta name="description" content="Social Networking Freedom">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||||
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||||
<meta property="og:title" content="Iris Messenger" />
|
<meta property="og:title" content="Iris Messenger" />
|
||||||
<meta property="og:description" content="Encrypted P2P Messaging" />
|
<meta property="og:description" content="Encrypted P2P Messaging" />
|
||||||
<meta property="og:url" content="https://iris.to" />
|
<meta property="og:url" content="https://iris.to" />
|
||||||
@ -69,11 +70,11 @@
|
|||||||
<input autofocus autocomplete="off" autocorrect="off" autocapitalize="sentences" spellcheck="off" id="login-form-name" type="text" name="name" placeholder="What's your name?">
|
<input autofocus autocomplete="off" autocorrect="off" autocapitalize="sentences" spellcheck="off" id="login-form-name" type="text" name="name" placeholder="What's your name?">
|
||||||
<p><button id="sign-up" type="input">Go</button></p>
|
<p><button id="sign-up" type="input">Go</button></p>
|
||||||
<br>
|
<br>
|
||||||
<p><a id="show-existing-account-login">Already have an account?</a></p>
|
<p><a href="#" id="show-existing-account-login">Already have an account?</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="existing-account-login" class="hidden">
|
<div id="existing-account-login" class="hidden">
|
||||||
<p><a id="show-create-account">< Back</a></p>
|
<p><a href="#" id="show-create-account">< Back</a></p>
|
||||||
<input id="paste-privkey" placeholder="Paste a private key">
|
<input id="paste-privkey" placeholder="Paste a private key">
|
||||||
<p>
|
<p>
|
||||||
<button id="scan-privkey-btn">Scan private key QR code</button>
|
<button id="scan-privkey-btn">Scan private key QR code</button>
|
||||||
|
@ -515,14 +515,16 @@ function showLogoutConfirmation() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$('#show-existing-account-login').click(showSwitchAccount);
|
$('#show-existing-account-login').click(showSwitchAccount);
|
||||||
function showSwitchAccount() {
|
function showSwitchAccount(e) {
|
||||||
|
e.preventDefault();
|
||||||
resetView();
|
resetView();
|
||||||
$('#create-account').hide();
|
$('#create-account').hide();
|
||||||
$('#existing-account-login').show();
|
$('#existing-account-login').show();
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#show-create-account').click(showCreateAccount);
|
$('#show-create-account').click(showCreateAccount);
|
||||||
function showCreateAccount() {
|
function showCreateAccount(e) {
|
||||||
|
e.preventDefault();
|
||||||
$('#privkey-qr-video').hide();
|
$('#privkey-qr-video').hide();
|
||||||
$('#create-account').show();
|
$('#create-account').show();
|
||||||
$('#existing-account-login').hide();
|
$('#existing-account-login').hide();
|
||||||
|
Loading…
Reference in New Issue
Block a user