mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 15:06:15 -04:00
Remove css nesting to support devices with iOS 16.4 and older and other browsers (https://caniuse.com/css-nesting)
This commit is contained in:
parent
684fe7142d
commit
e367ca9f78
2 changed files with 50 additions and 72 deletions
|
@ -689,21 +689,18 @@ footer .logo {
|
|||
position: relative;
|
||||
}
|
||||
|
||||
html:not([dir="rtl"]) {
|
||||
#display-name,
|
||||
#edit-pen {
|
||||
html:not([dir="rtl"]) #display-name,
|
||||
html:not([dir="rtl"]) #edit-pen {
|
||||
margin-left: -1rem;
|
||||
}
|
||||
}
|
||||
|
||||
html[dir="rtl"] {
|
||||
#display-name,
|
||||
#edit-pen {
|
||||
html[dir="rtl"] #display-name,
|
||||
html[dir="rtl"] #edit-pen {
|
||||
margin-right: -1rem;
|
||||
}
|
||||
#edit-pen {
|
||||
}
|
||||
|
||||
html[dir="rtl"] #edit-pen {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog */
|
||||
|
@ -986,24 +983,20 @@ x-paper > .button-row > .button {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
html:not([dir="rtl"]) {
|
||||
& x-paper > .button-row > .button:not(:first-child) {
|
||||
html:not([dir="rtl"]) x-paper > .button-row > .button:not(:first-child) {
|
||||
border-right: solid 1.5px var(--border-color);
|
||||
}
|
||||
|
||||
& x-paper > .button-row > .button:not(:last-child) {
|
||||
border-left: solid 1.5px var(--border-color);
|
||||
}
|
||||
}
|
||||
|
||||
html[dir="rtl"] {
|
||||
& x-paper > .button-row > .button:not(:first-child) {
|
||||
html:not([dir="rtl"]) x-paper > .button-row > .button:not(:last-child) {
|
||||
border-left: solid 1.5px var(--border-color);
|
||||
}
|
||||
}
|
||||
|
||||
& x-paper > .button-row > .button:not(:last-child) {
|
||||
html[dir="rtl"] x-paper > .button-row > .button:not(:first-child) {
|
||||
border-left: solid 1.5px var(--border-color);
|
||||
}
|
||||
|
||||
html[dir="rtl"] x-paper > .button-row > .button:not(:last-child) {
|
||||
border-right: solid 1.5px var(--border-color);
|
||||
}
|
||||
}
|
||||
|
||||
.language-buttons > button > span {
|
||||
|
@ -1280,16 +1273,12 @@ button::-moz-focus-inner {
|
|||
z-index: -1;
|
||||
}
|
||||
|
||||
html:not([dir="rtl"]) {
|
||||
#about x-background {
|
||||
html:not([dir="rtl"]) #about x-background {
|
||||
right: calc(36px - var(--size-half));
|
||||
}
|
||||
}
|
||||
|
||||
html[dir="rtl"] {
|
||||
#about x-background {
|
||||
html[dir="rtl"] #about x-background {
|
||||
left: calc(36px - var(--size-half));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -719,21 +719,18 @@ footer .logo {
|
|||
position: relative;
|
||||
}
|
||||
|
||||
html:not([dir="rtl"]) {
|
||||
#display-name,
|
||||
#edit-pen {
|
||||
html:not([dir="rtl"]) #display-name,
|
||||
html:not([dir="rtl"]) #edit-pen {
|
||||
margin-left: -1rem;
|
||||
}
|
||||
}
|
||||
|
||||
html[dir="rtl"] {
|
||||
#display-name,
|
||||
#edit-pen {
|
||||
html[dir="rtl"] #display-name,
|
||||
html[dir="rtl"] #edit-pen {
|
||||
margin-right: -1rem;
|
||||
}
|
||||
#edit-pen {
|
||||
}
|
||||
|
||||
html[dir="rtl"] #edit-pen {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
}
|
||||
|
||||
/* Dialog */
|
||||
|
@ -1016,24 +1013,20 @@ x-paper > .button-row > .button {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
html:not([dir="rtl"]) {
|
||||
& x-paper > .button-row > .button:not(:first-child) {
|
||||
html:not([dir="rtl"]) x-paper > .button-row > .button:not(:first-child) {
|
||||
border-right: solid 1.5px var(--border-color);
|
||||
}
|
||||
|
||||
& x-paper > .button-row > .button:not(:last-child) {
|
||||
border-left: solid 1.5px var(--border-color);
|
||||
}
|
||||
}
|
||||
|
||||
html[dir="rtl"] {
|
||||
& x-paper > .button-row > .button:not(:first-child) {
|
||||
html:not([dir="rtl"]) x-paper > .button-row > .button:not(:last-child) {
|
||||
border-left: solid 1.5px var(--border-color);
|
||||
}
|
||||
}
|
||||
|
||||
& x-paper > .button-row > .button:not(:last-child) {
|
||||
html[dir="rtl"] x-paper > .button-row > .button:not(:first-child) {
|
||||
border-left: solid 1.5px var(--border-color);
|
||||
}
|
||||
|
||||
html[dir="rtl"] x-paper > .button-row > .button:not(:last-child) {
|
||||
border-right: solid 1.5px var(--border-color);
|
||||
}
|
||||
}
|
||||
|
||||
.language-buttons > button > span {
|
||||
|
@ -1310,16 +1303,12 @@ button::-moz-focus-inner {
|
|||
z-index: -1;
|
||||
}
|
||||
|
||||
html:not([dir="rtl"]) {
|
||||
#about x-background {
|
||||
html:not([dir="rtl"]) #about x-background {
|
||||
right: calc(36px - var(--size-half));
|
||||
}
|
||||
}
|
||||
|
||||
html[dir="rtl"] {
|
||||
#about x-background {
|
||||
html[dir="rtl"] #about x-background {
|
||||
left: calc(36px - var(--size-half));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue