#89 Use OpenPGP.js v5.1.0 (still in progress)

This commit is contained in:
the-djmaze 2022-01-27 16:00:52 +01:00
parent dfd255545a
commit ff7e41ad08
130 changed files with 1871 additions and 44411 deletions

View file

@ -1,4 +1,4 @@
#V-PopupsViewOpenPgpKey, #V-PopupsNewOpenPgpKey {
#V-PopupsViewOpenPgpKey, #V-PopupsOpenPgpGenerate {
max-width: 570px;
}
@ -9,124 +9,7 @@
}
}
#V-PopupsComposeOpenPgp {
max-width: 800px;
.key-list {
background-color: #f9f9f9;
border-radius: 5px;
padding: 10px 15px;
&-wrp {
&:hover {
overflow: auto;
}
&:hover .key-list__item-name {
overflow: visible;
}
&.empty {
text-align: center;
padding-top: 10px;
color: #aaa;
font-size: 16px;
}
}
&__item {
color: #333;
white-space: nowrap;
padding-bottom: 4px;
display: flex;
&:last-child {
padding-bottom: 0;
}
&-delete {
cursor: pointer;
&.disabled {
cursor: not-allowed;
}
}
&-names {
color: #333;
width: 80%;
&.empty {
color: red;
}
}
&-name {
overflow: hidden;
text-overflow: ellipsis;
}
&-error {
color: red;
width: 80%;
}
&-hash {
color: #aaa;
width: 20%;
}
}
}
.key-actions {
margin-top: 10px;
min-height: 40px;
select option:nth-child(even) {
background-color: rgba(128, 128, 128, 0.1);
}
}
}
#V-PopupsMessageOpenPgp {
max-width: 700px;
.key-list {
margin-top: 5px;
overflow: hidden;
&__item {
color: #555;
cursor: pointer;
text-overflow: ellipsis;
white-space: nowrap;
&__radio {
padding: 3px 5px 0 0;
vertical-align: top;
}
&__name {
border-bottom: 1px solid transparent;
}
&__names {
display: inline-block;
&:hover .key-list__item__name {
border-bottom: 1px dashed #555;
}
}
}
}
}
#V-PopupsAddOpenPgpKey {
#V-PopupsOpenPgpImport {
max-width: 645px;
.inputKey {

View file

@ -1,40 +1,18 @@
V-Settings-OpenPgp {
#V-Settings-OpenPgp {
td * {
cursor: pointer;
}
td + td {
width: 1%;
}
table {
.open-pgp-key-img {
margin-right: 10px;
vertical-align: top;
}
.open-pgp-key-id, .open-pgp-key-user {
display: inline-block;
word-break: break-all;
box-sizing: border-box;
line-height: 22px;
cursor: default;
}
.open-pgp-key-user-address:first-child {
line-height: 30px;
margin-bottom: -4px;
}
.open-pgp-key-user {
white-space: nowrap;
}
.open-pgp-key-item {
.delete-open-pgp-key, .view-open-pgp-key {
cursor: pointer;
opacity: 0.7;
&:hover {
opacity: 0.9;
}
}
.delete-open-pgp-key:not(:hover) {
opacity: 0.7;
}
}