Improved crypto and password prompting mechanism

Now encrypted tiddlywikis prompt for their password with an html form,
instead of a horrible javascript prompt.
This commit is contained in:
Jeremy Ruston
2012-11-16 16:59:47 +00:00
parent e76a7f1c01
commit db3a4651a2
4 changed files with 266 additions and 80 deletions
+30
View File
@@ -42,6 +42,36 @@ body {
padding-top: @navbarHeight; // Allow for the navbar
}
/*
Password prompts
*/
.tw-password-wrapper {
z-index: 20000;
position: fixed;
text-align: center;
width: 480px;
top: 1em;
left: 50%;
margin-left: -264px; /* - width/2 - paddingHorz/2 - border */
padding: 16px 16px 16px 16px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
color: #000;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
background-color: rgb(197, 235, 183);
border: 8px solid rgb(164, 197, 152);
}
.tw-password-wrapper form {
text-align: left;
}
.tw-password-wrapper h1 {
font-size: 16px;
line-height: 20px;
}
/*
Tweaks for full screen mode
*/