Apply prettier formatting

This commit is contained in:
Michael Weimann 2022-12-12 12:24:14 +01:00
parent 1cac306093
commit 526645c791
No known key found for this signature in database
GPG key ID: 53F535A266BB9584
1576 changed files with 65385 additions and 62478 deletions

View file

@ -24,7 +24,7 @@ limitations under the License.
background-color: $system;
&::before {
content: '';
content: "";
position: absolute; /* sizing varies by icon */
background-color: $secondary-content;
mask-repeat: no-repeat;
@ -40,7 +40,7 @@ limitations under the License.
height: 16px;
top: 8px; /* center */
left: 12px; /* center */
mask-image: url('$(res)/img/element-icons/play.svg');
mask-image: url("$(res)/img/element-icons/play.svg");
}
&.mx_PlayPauseButton_pause::before {
@ -48,6 +48,6 @@ limitations under the License.
height: 12px;
top: 10px; /* center */
left: 11px; /* center */
mask-image: url('$(res)/img/element-icons/pause.svg');
mask-image: url("$(res)/img/element-icons/pause.svg");
}
}

View file

@ -61,8 +61,9 @@ limitations under the License.
/* browsers. Firefox responds to webkit-prefixed values now, which means we can't use media */
/* or support queries to selectively apply the rule. An upside is that this CSS doesn't work */
/* in firefox, so it's just wasted CPU/GPU time. */
&::before { /* ::before to ensure it ends up under the thumb */
content: '';
&::before {
/* ::before to ensure it ends up under the thumb */
content: "";
background-color: $tertiary-content;
/* Absolute positioning to ensure it overlaps with the existing bar */
@ -93,7 +94,7 @@ limitations under the License.
/* We do it this way to keep the same padding and margins of the element, avoiding margin math. */
/* Source: https://front-back.com/expand-clickable-areas-for-a-better-touch-experience/ */
&::after {
content: '';
content: "";
position: absolute;
top: -6px;
bottom: -6px;