Apply prettier formatting
This commit is contained in:
parent
1cac306093
commit
526645c791
1576 changed files with 65385 additions and 62478 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue