1
0
mirror of http://git.whoc.org.uk/git/password-manager.git synced 2025-10-25 01:37:34 +02:00

Merged and cleaned-up features implemented by Dario

- delete account
- change passphrase
This commit is contained in:
Giulio Cesare Solaroli
2015-04-14 11:07:10 +02:00
parent e2781071d0
commit edeb859746
10 changed files with 330 additions and 196 deletions

View File

@@ -25,13 +25,17 @@ div.dialog {
@include box-shadow(0px, 2px, 5px, rgba(50, 50, 50, 0.75));
@include border-radius(8px);
max-width: 70%;
background-color: white;
padding: 30px;
box-shadow: 4px 4px 6px 5px rgba(0,0,0, 0.3);
h3.message {
font-size: 18pt;
font-weight: bold;
padding-bottom: 20px;
white-space: pre-wrap;
word-wrap: break-word;
}
div.answers {

View File

@@ -49,8 +49,14 @@ refer to http://www.clipperz.com.
// padding-right: 0px;
border-bottom: 1px solid white;
& > h1 {
cursor: pointer;
font-size: 16pt;
padding: 10px;
}
& > ul {
padding-left: 10px;
// padding-left: 10px;
}
// &:last-child {
@@ -68,8 +74,15 @@ refer to http://www.clipperz.com.
li {
& > ul > li {
padding: 10px;
padding-left: 20px;
padding-right: 0px;
cursor: pointer;
&.selected {
background-color: #333;
// color: black;
}
& > div {
padding: 4px;
}
@@ -83,13 +96,14 @@ refer to http://www.clipperz.com.
}
h1 {
cursor: pointer;
font-size: 16pt;
padding: 10px;
}
// h1 {
// cursor: pointer;
// font-size: 16pt;
// padding: 10px;
// }
h2 {
// cursor: pointer;
font-weight: 300;
font-size: 14pt;
}
@@ -157,6 +171,17 @@ refer to http://www.clipperz.com.
display: none;
}
.extraFeature {
padding: 20px;
h1 {
font-size: 20pt;
padding-bottom: 20px;
}
}
/*
.changePassphraseForm {
label {
display: block;
@@ -184,28 +209,79 @@ refer to http://www.clipperz.com.
display: inline-block;
}
}
*/
form {
input.valid + .invalidMsg, input.empty + .invalidMsg, input:focus + .invalidMsg, input.invalid:focus + .invalidMsg {
visibility: hidden;
label {
display: none;
}
input {
$border-size: 0px; // 2px;
display: block;
font-size: 18pt;
margin-bottom: 8px;
padding: (6px - $border-size) (10px - $border-size);
border: $border-size solid white;
width: 350px;
color: black;
&.invalid {
border: $border-size solid $clipperz-orange;
color: gray;
}
}
input:focus {
border: 2px solid $clipperz-orange;
p {
@include flexbox;
@include flex-direction(row);
input {
width: 30px;
@include flex(auto);
}
span {
@include flex(auto);
font-size: 12pt;
}
}
input.valid:focus {
border: 2px solid $clipperz-blue;
}
input.invalid + .invalidMsg {
visibility: visible;
}
.invalidMsg::before {
font-family: serif;
content: "\26A0 \0000a0";
button {
font-family: "clipperz-font";
// min-height: 48px;
// min-width: 48px;
color: white;
// font-size: 24pt;
font-size: 14pt;
// font-weight: 500;
border: 0px;
margin-top: 20px;
padding: 6px 10px;
border: 1px solid white;
background-color: $main-color;
@include transition(background-color font-weight, 0.2s, linear);
&:hover {
};
&:disabled {
font-weight: 100;
background-color: #c0c0c0;
cursor: default;
&:hover {
};
}
}
// input.valid:focus {
// border: 2px solid $clipperz-blue;
// }
}
}