mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-11 04:33:00 +00:00
tweaked input styles
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
.passwordSection {
|
||||
text-align: left;
|
||||
padding: 40px;
|
||||
padding: 40px 0;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.passwordForm {
|
||||
@@ -10,14 +11,6 @@
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.input--password {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.inputBtn--password {
|
||||
flex: 0 1 165px;
|
||||
}
|
||||
|
||||
.red {
|
||||
color: red;
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ module.exports = function(state, emit) {
|
||||
${label}
|
||||
<form class="passwordForm" onsubmit=${checkPassword} data-no-csrf>
|
||||
<input id="password-input"
|
||||
class="input input--password input--noBtn"
|
||||
class="input input--noBtn"
|
||||
maxlength="64"
|
||||
autocomplete="off"
|
||||
placeholder="${state.translate('unlockInputPlaceholder')}"
|
||||
@@ -25,7 +25,7 @@ module.exports = function(state, emit) {
|
||||
type="password" />
|
||||
<input type="submit"
|
||||
id="password-btn"
|
||||
class="inputBtn inputBtn--password inputBtn--hidden"
|
||||
class="inputBtn inputBtn--hidden"
|
||||
value="${state.translate('unlockButtonLabel')}"/>
|
||||
</form>
|
||||
</div>`;
|
||||
|
||||
Reference in New Issue
Block a user