mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2025-10-24 17:27:35 +02:00
BTC Certificate feature
Added the ability to register card content on the BTC blockchain in order to certify its existance/content
This commit is contained in:
@@ -36,6 +36,7 @@ refer to http://www.clipperz.com.
|
||||
|
||||
@import "style/loadingPage";
|
||||
@import "style/loginPage";
|
||||
@import "style/errorPage";
|
||||
@import "style/selectionPanel";
|
||||
@import "style/settingsPanel";
|
||||
@import "style/accountStatus";
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -109,6 +109,7 @@ input[type=text] {
|
||||
|
||||
&.selection {
|
||||
@include flex($selectionPanelFlexWidth, 0);
|
||||
max-width: 20%;
|
||||
// height: 100%;
|
||||
// @include overflow-auto;
|
||||
}
|
||||
@@ -326,6 +327,8 @@ div.cardToolbar {
|
||||
@include flex(4);
|
||||
text-align: center;
|
||||
|
||||
font-size: 28pt;
|
||||
|
||||
&.tag, &.search {
|
||||
font-size: 14pt;
|
||||
}
|
||||
@@ -374,17 +377,16 @@ div.cardToolbar {
|
||||
|
||||
h3 {
|
||||
font-weight: bold;
|
||||
font-size: 33pt;
|
||||
|
||||
letter-spacing: -10px;
|
||||
font-size: 32pt;
|
||||
letter-spacing: -12px;
|
||||
}
|
||||
|
||||
.badge {
|
||||
position: absolute;
|
||||
margin-left: -12px;
|
||||
margin-left: -8px;
|
||||
width: auto;
|
||||
height: 16px;
|
||||
line-height: 17px;
|
||||
line-height: 16px;
|
||||
background-color: #1863a1;
|
||||
color: white;
|
||||
text-align: center;
|
||||
@@ -399,10 +401,49 @@ div.cardToolbar {
|
||||
|
||||
&.bottom {
|
||||
top: 25px;
|
||||
margin-left: -42px;
|
||||
margin-left: -36px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.certificateQueueToggleButton {
|
||||
@include icon-font();
|
||||
margin-right: 10px;
|
||||
|
||||
h3 {
|
||||
font-weight: bold;
|
||||
font-size: 22pt;
|
||||
letter-spacing: -12px;
|
||||
line-height: 34pt;
|
||||
}
|
||||
|
||||
.badge {
|
||||
position: absolute;
|
||||
margin-left: -4px;
|
||||
width: auto;
|
||||
height: 16px;
|
||||
line-height: 16px;
|
||||
// background-color: #1863a1;
|
||||
color: white;
|
||||
text-align: center;
|
||||
font-size: 8pt;
|
||||
font-weight: bold;
|
||||
border-radius: 8px;
|
||||
padding: 0px 4px;
|
||||
|
||||
&.top {
|
||||
top: 8px;
|
||||
background-color: #666;
|
||||
}
|
||||
|
||||
&.bottom {
|
||||
top: 26px;
|
||||
// margin-left: -42px;
|
||||
background-color: #EAD143;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -450,7 +491,7 @@ div.attachmentQueueStatus {
|
||||
border-width: 0 $arrow-size $arrow-size $arrow-size;
|
||||
border-color: transparent transparent black transparent;
|
||||
position: fixed;
|
||||
right: 70px;
|
||||
right: 66px;
|
||||
top: calc(49px - #{$arrow-size});
|
||||
}
|
||||
|
||||
@@ -609,6 +650,208 @@ div.attachmentQueueStatus {
|
||||
}
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
||||
$arrow-size: 8px;
|
||||
div.certificateQueueStatus {
|
||||
position: fixed;
|
||||
top: calc(48px - #{$arrow-size});
|
||||
right: 0;
|
||||
padding: 0;
|
||||
color: white;
|
||||
z-index: 10;
|
||||
|
||||
height: calc(100% - 48px);
|
||||
pointer-events: none;
|
||||
|
||||
.arrow {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-style: solid;
|
||||
border-width: 0 $arrow-size $arrow-size $arrow-size;
|
||||
border-color: transparent transparent black transparent;
|
||||
position: fixed;
|
||||
right: 110px;
|
||||
top: calc(49px - #{$arrow-size});
|
||||
}
|
||||
|
||||
&.closed {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
p {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
ul {
|
||||
pointer-events: all;
|
||||
|
||||
max-height: 100%;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
white-space: nowrap;
|
||||
|
||||
background: black;
|
||||
margin-top: $arrow-size;
|
||||
padding: 0;
|
||||
box-shadow: 0px 2px 5px #888888;
|
||||
|
||||
li {
|
||||
padding: 0 0 0 1em;;
|
||||
border-bottom: 1px solid white;
|
||||
|
||||
span {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
}
|
||||
|
||||
&.requested {
|
||||
.icon {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.close {
|
||||
// display: none;
|
||||
visibility: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
&.published {
|
||||
.icon {
|
||||
color: #EAD143;
|
||||
}
|
||||
}
|
||||
|
||||
.icon {
|
||||
@include icon-font();
|
||||
color: white;
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
.name {
|
||||
width: 250px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.status {
|
||||
width: 150px;
|
||||
text-align: right;
|
||||
|
||||
.statusString {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
// .processIcon {
|
||||
// margin-left: 1em;
|
||||
// font-size: 15pt;
|
||||
// }
|
||||
}
|
||||
|
||||
.close {
|
||||
a {
|
||||
@include icon-font();
|
||||
display: inline-block;
|
||||
|
||||
width: 50px;
|
||||
text-align: center;
|
||||
letter-spacing: 1px;
|
||||
font-size: 20px;
|
||||
|
||||
@include userSelectNone();
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: lightgray;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
// .progress {
|
||||
// width: 50px;
|
||||
// height: 30px;
|
||||
// text-align: center;
|
||||
//
|
||||
// @include userSelectNone();
|
||||
// }
|
||||
|
||||
&:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*
|
||||
.radialProgressIndicator {
|
||||
height: 25px;
|
||||
|
||||
.background {
|
||||
fill: white;
|
||||
}
|
||||
|
||||
.progress {
|
||||
fill: $clipperz-orange;
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
|
||||
.narrow {
|
||||
.certificateQueueStatus {
|
||||
width:100%;
|
||||
|
||||
ul {
|
||||
white-space: inherit;
|
||||
|
||||
li {
|
||||
padding-top: .2em;
|
||||
padding-bottom: .2em;
|
||||
|
||||
span {
|
||||
height: 25px;
|
||||
line-height: 30px;
|
||||
}
|
||||
|
||||
.name {
|
||||
width: 225px;
|
||||
}
|
||||
|
||||
.status {
|
||||
padding-left: 30px;
|
||||
text-align: left;
|
||||
width: calc(100% - 100px);
|
||||
line-height: 20px;
|
||||
font-size: .8em;
|
||||
|
||||
.processIcon {
|
||||
margin-left: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
.close {
|
||||
height: inherit;
|
||||
line-height: inherit;
|
||||
float: right;
|
||||
display: block;
|
||||
margin-top: -5px;
|
||||
}
|
||||
|
||||
// .progress {
|
||||
// padding-left: 18px;
|
||||
// margin-top: -24px;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
|
||||
|
||||
div.cardContent {
|
||||
// @include flex(flex-grow); // ???
|
||||
|
||||
@@ -116,46 +116,6 @@ div.overlay {
|
||||
}
|
||||
}
|
||||
|
||||
// http://37signals.com/svn/posts/2577-loading-spinner-animation-using-css-and-webkit
|
||||
div.spinner {
|
||||
position: relative;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
left: 50%;
|
||||
top: 40%;
|
||||
|
||||
margin-left: -50px;
|
||||
margin-top: -50px;
|
||||
|
||||
// display: inline-block;
|
||||
display: block;
|
||||
|
||||
div {
|
||||
width: 12%;
|
||||
height: 26%;
|
||||
background: #ffffff;
|
||||
position: absolute;
|
||||
left: 44.5%;
|
||||
top: 37%;
|
||||
opacity: 0;
|
||||
@include animation(overlay-spin, 1s, linear, infinite);
|
||||
@include border-radius(50px);
|
||||
@include box-shadow(0, 0, 3px, rgba(0,0,0,0.2));
|
||||
}
|
||||
|
||||
div.bar01 {@include transform( 0deg, 0, -142%); @include animation-delay(-0.00000s);}
|
||||
div.bar02 {@include transform( 30deg, 0, -142%); @include animation-delay(-0.91670s);}
|
||||
div.bar03 {@include transform( 60deg, 0, -142%); @include animation-delay(-0.83300s);}
|
||||
div.bar04 {@include transform( 90deg, 0, -142%); @include animation-delay(-0.75000s);}
|
||||
div.bar05 {@include transform(120deg, 0, -142%); @include animation-delay(-0.66700s);}
|
||||
div.bar06 {@include transform(150deg, 0, -142%); @include animation-delay(-0.58330s);}
|
||||
div.bar07 {@include transform(180deg, 0, -142%); @include animation-delay(-0.50000s);}
|
||||
div.bar08 {@include transform(210deg, 0, -142%); @include animation-delay(-0.41667s);}
|
||||
div.bar09 {@include transform(240deg, 0, -142%); @include animation-delay(-0.33300s);}
|
||||
div.bar10 {@include transform(270deg, 0, -142%); @include animation-delay(-0.25000s);}
|
||||
div.bar11 {@include transform(300deg, 0, -142%); @include animation-delay(-0.16670s);}
|
||||
div.bar12 {@include transform(330deg, 0, -142%); @include animation-delay(-0.08330s);}
|
||||
}
|
||||
|
||||
&.spinnerOnly {
|
||||
.spinner {
|
||||
@@ -183,6 +143,46 @@ div.overlay {
|
||||
}
|
||||
}
|
||||
|
||||
// http://37signals.com/svn/posts/2577-loading-spinner-animation-using-css-and-webkit
|
||||
div.spinner {
|
||||
position: relative;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
left: 50%;
|
||||
top: 40%;
|
||||
|
||||
margin-left: -50px;
|
||||
margin-top: -50px;
|
||||
|
||||
display: block;
|
||||
|
||||
div {
|
||||
width: 12%;
|
||||
height: 26%;
|
||||
background: #ffffff;
|
||||
position: absolute;
|
||||
left: 44.5%;
|
||||
top: 37%;
|
||||
opacity: 0;
|
||||
@include animation(overlay-spin, 1s, linear, infinite);
|
||||
@include border-radius(50px);
|
||||
@include box-shadow(0, 0, 3px, rgba(0,0,0,0.2));
|
||||
}
|
||||
|
||||
div.bar01 {@include transform( 0deg, 0, -142%); @include animation-delay(-0.00000s);}
|
||||
div.bar02 {@include transform( 30deg, 0, -142%); @include animation-delay(-0.91670s);}
|
||||
div.bar03 {@include transform( 60deg, 0, -142%); @include animation-delay(-0.83300s);}
|
||||
div.bar04 {@include transform( 90deg, 0, -142%); @include animation-delay(-0.75000s);}
|
||||
div.bar05 {@include transform(120deg, 0, -142%); @include animation-delay(-0.66700s);}
|
||||
div.bar06 {@include transform(150deg, 0, -142%); @include animation-delay(-0.58330s);}
|
||||
div.bar07 {@include transform(180deg, 0, -142%); @include animation-delay(-0.50000s);}
|
||||
div.bar08 {@include transform(210deg, 0, -142%); @include animation-delay(-0.41667s);}
|
||||
div.bar09 {@include transform(240deg, 0, -142%); @include animation-delay(-0.33300s);}
|
||||
div.bar10 {@include transform(270deg, 0, -142%); @include animation-delay(-0.25000s);}
|
||||
div.bar11 {@include transform(300deg, 0, -142%); @include animation-delay(-0.16670s);}
|
||||
div.bar12 {@include transform(330deg, 0, -142%); @include animation-delay(-0.08330s);}
|
||||
}
|
||||
|
||||
//========================================================
|
||||
|
||||
@include keyframes(overlay-spin) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -21,38 +21,47 @@ refer to http://www.clipperz.com.
|
||||
|
||||
*/
|
||||
|
||||
div.dialog {
|
||||
@include box-shadow(0px, 2px, 5px, rgba(50, 50, 50, 0.75));
|
||||
@include border-radius(8px);
|
||||
div.dialogBox {
|
||||
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);
|
||||
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;
|
||||
}
|
||||
h3.message {
|
||||
font-size: 18pt;
|
||||
font-weight: bold;
|
||||
padding-bottom: 20px;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
div.answers {
|
||||
div.answers {
|
||||
|
||||
div.button {
|
||||
@include border-radius(4);
|
||||
// border: 1px solid black;
|
||||
margin-left: 10px;
|
||||
font-size: 16pt;
|
||||
padding: 15px 25px;
|
||||
background-color: #ddd;
|
||||
div.button {
|
||||
@include border-radius(4);
|
||||
// border: 1px solid black;
|
||||
margin-left: 10px;
|
||||
font-size: 16pt;
|
||||
padding: 15px 25px;
|
||||
background-color: #ddd;
|
||||
|
||||
&.isDefault {
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
background-color: #666;
|
||||
&.isDefault {
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
background-color: #666;
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
cursor: default;
|
||||
color: #aaa;
|
||||
background-color: #ddd;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
71
frontend/delta/scss/style/errorPage.scss
Normal file
71
frontend/delta/scss/style/errorPage.scss
Normal file
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
|
||||
Copyright 2008-2015 Clipperz Srl
|
||||
|
||||
This file is part of Clipperz, the online password manager.
|
||||
For further information about its features and functionalities please
|
||||
refer to http://www.clipperz.com.
|
||||
|
||||
* Clipperz is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU Affero General Public License as published
|
||||
by the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
* Clipperz is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
||||
See the GNU Affero General Public License for more details.
|
||||
|
||||
* You should have received a copy of the GNU Affero General Public
|
||||
License along with Clipperz. If not, see http://www.gnu.org/licenses/.
|
||||
|
||||
*/
|
||||
|
||||
#errorPage {
|
||||
|
||||
header {
|
||||
background-color: $clipperz-orange;
|
||||
color: white;
|
||||
height: 48px;
|
||||
text-align: center;
|
||||
@include icon-font();
|
||||
|
||||
h2 {
|
||||
font-size: 24pt;
|
||||
padding-top: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
.error-box {
|
||||
@include border-radius(16px);
|
||||
background-color: #000;
|
||||
color: white;
|
||||
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 50px;
|
||||
|
||||
div {
|
||||
padding: 20px;
|
||||
padding-bottom: 0px;
|
||||
p {
|
||||
font-size: 20pt;
|
||||
line-height: 1.5em;
|
||||
text-align: center;
|
||||
padding-bottom: 8px;
|
||||
}
|
||||
|
||||
&.error-message {
|
||||
padding-top: 0px;
|
||||
p {
|
||||
font-size: 14pt;
|
||||
color: #333;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -57,8 +57,11 @@ refer to http://www.clipperz.com.
|
||||
content: "recent";
|
||||
}
|
||||
|
||||
&.withCertificateCards:before {
|
||||
content: "certificate";
|
||||
}
|
||||
|
||||
&.withAttachmentCards:before {
|
||||
// transform: scaleX(-1);
|
||||
content: "attachment";
|
||||
font-weight: bold;
|
||||
}
|
||||
@@ -270,6 +273,16 @@ $selectionColor: $clipperz-orange;
|
||||
}
|
||||
}
|
||||
|
||||
#selections.WITH_CERTIFICATE {
|
||||
li.withCertificateCards {
|
||||
color: $selectionColor;
|
||||
|
||||
&:before {
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#selections.WITH_ATTACHMENTS {
|
||||
li.withAttachmentCards {
|
||||
color: $selectionColor;
|
||||
|
||||
@@ -524,6 +524,94 @@ refer to http://www.clipperz.com.
|
||||
}
|
||||
}
|
||||
|
||||
.plan {
|
||||
h2 {
|
||||
font-size: 15pt;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
div {
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
dl {
|
||||
dt {
|
||||
float: left;
|
||||
clear: both;
|
||||
padding-right: 5px;
|
||||
padding-bottom: 6px;
|
||||
|
||||
span {
|
||||
font-weight: bold;
|
||||
|
||||
&:after {
|
||||
content: ": ";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dd {
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
.certificates {
|
||||
ul {
|
||||
li {
|
||||
// display: inline-block;
|
||||
padding-bottom: 5px;
|
||||
|
||||
&.published {
|
||||
&:before {
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
|
||||
&.requested {
|
||||
&:before {
|
||||
color: #777;
|
||||
}
|
||||
}
|
||||
|
||||
&.available {
|
||||
&:before {
|
||||
color: #222;
|
||||
}
|
||||
}
|
||||
|
||||
&:before {
|
||||
content: "certificate";
|
||||
@include icon-font();
|
||||
font-size: 30px;
|
||||
margin-right: 10px;
|
||||
vertical-align: middle;
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.progressBar {
|
||||
// display: block;
|
||||
// width: 100%;
|
||||
background-color: #222;
|
||||
height: 10px;
|
||||
margin-top: 50px;
|
||||
// margin-bottom: 25px;
|
||||
margin-right: 20px;
|
||||
padding-bottom: 0px;
|
||||
@include border-radius(5px);
|
||||
|
||||
.progress {
|
||||
background-color: #999;
|
||||
// width: 70%;
|
||||
height: 10px;
|
||||
display: block;
|
||||
@include border-radius(5px);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.OTP {
|
||||
.header {
|
||||
.description {
|
||||
|
||||
Reference in New Issue
Block a user