1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-26 19:47:20 +00:00

Rename "tw-password-wrapper" class to "tc-password-wrapper"

Part of #764
This commit is contained in:
Jermolene 2014-08-28 17:38:53 +01:00
parent 54591100b5
commit 35a3224dba
2 changed files with 6 additions and 6 deletions

View File

@ -9,7 +9,7 @@ Basic styles used before we boot up the parsing engine
Error message and password prompt Error message and password prompt
*/ */
.tw-password-wrapper, .tw-error-form { .tc-password-wrapper, .tw-error-form {
font-family: sans-serif; font-family: sans-serif;
z-index: 20000; z-index: 20000;
position: fixed; position: fixed;
@ -40,23 +40,23 @@ Error message and password prompt
text-shadow: none; text-shadow: none;
} }
.tw-password-wrapper { .tc-password-wrapper {
color: #000; color: #000;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
background-color: rgb(197, 235, 183); background-color: rgb(197, 235, 183);
border: 8px solid rgb(164, 197, 152); border: 8px solid rgb(164, 197, 152);
} }
.tw-password-wrapper form { .tc-password-wrapper form {
text-align: left; text-align: left;
} }
.tw-password-wrapper h1 { .tc-password-wrapper h1 {
font-size: 16px; font-size: 16px;
line-height: 20px; line-height: 20px;
padding-bottom: 16px; padding-bottom: 16px;
} }
.tw-password-wrapper input { .tc-password-wrapper input {
width: 100%; width: 100%;
} }

View File

@ -447,7 +447,7 @@ $tw.utils.PasswordPrompt = function() {
// Store of pending password prompts // Store of pending password prompts
this.passwordPrompts = []; this.passwordPrompts = [];
// Create the wrapper // Create the wrapper
this.promptWrapper = $tw.utils.domMaker("div",{"class":"tw-password-wrapper"}); this.promptWrapper = $tw.utils.domMaker("div",{"class":"tc-password-wrapper"});
document.body.appendChild(this.promptWrapper); document.body.appendChild(this.promptWrapper);
// Hide the empty wrapper // Hide the empty wrapper
this.setWrapperDisplay(); this.setWrapperDisplay();