add translation selector and fix translation of data-attributes

This commit is contained in:
schlagmichdoch 2023-08-30 14:57:40 +02:00
parent 19f56a8499
commit 17afa18d84
18 changed files with 312 additions and 68 deletions

View file

@ -23,6 +23,7 @@ body {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
transition: color 300ms;
}
body {
@ -40,6 +41,10 @@ html {
min-height: fill-available;
}
.fw {
width: 100%;
}
.row-reverse {
display: flex;
flex-direction: row-reverse;
@ -591,7 +596,6 @@ footer {
align-items: center;
padding: 0 0 16px 0;
text-align: center;
transition: color 300ms;
cursor: default;
}
@ -683,7 +687,6 @@ x-dialog x-paper {
top: max(50%, 350px);
margin-top: -328.5px;
width: calc(100vw - 20px);
height: 625px;
}
#pair-device-dialog ::-moz-selection,
@ -761,7 +764,7 @@ x-dialog a {
}
x-dialog hr {
margin: 40px -24px 30px -24px;
margin: 20px -24px 20px -24px;
border: solid 1.25px var(--border-color);
}
@ -868,18 +871,18 @@ x-dialog .row {
}
/* button row*/
x-paper > div:last-child {
margin: auto -24px -15px;
x-paper > .button-row {
margin: 25px -24px -15px;
border-top: solid 2.5px var(--border-color);
height: 50px;
}
x-paper > div:last-child > .button {
x-paper > .button-row > .button {
height: 100%;
width: 100%;
}
x-paper > div:last-child > .button:not(:last-child) {
x-paper > .button-row > .button:not(:last-child) {
border-left: solid 2.5px var(--border-color);
}
@ -1044,6 +1047,11 @@ x-dialog .dialog-subheader {
opacity: 0.1;
}
.button[selected],
.icon-button[selected] {
opacity: 0.1;
}
#cancel-paste-mode {
z-index: 2;
margin: 0;
@ -1301,7 +1309,7 @@ x-peers:empty~x-instructions {
x-dialog x-paper {
padding: 15px;
}
x-paper > div:last-child {
x-paper > .button-row {
margin: auto -15px -15px;
}
}