mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
fix(ci): use biome to sort CSS properties (#1490)
This commit is contained in:
@@ -5,23 +5,23 @@
|
||||
/* Base button */
|
||||
.media-default-skin .media-button {
|
||||
display: flex;
|
||||
flex-shrink: 0;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
padding: 0.5rem 1rem;
|
||||
border: none;
|
||||
border-radius: calc(infinity * 1px);
|
||||
text-align: center;
|
||||
touch-action: manipulation;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
outline: 2px solid transparent;
|
||||
outline-offset: -2px;
|
||||
border: none;
|
||||
border-radius: calc(infinity * 1px);
|
||||
transition-timing-function: ease-out;
|
||||
transition-duration: 150ms;
|
||||
transition-property: background-color, outline-offset, scale;
|
||||
/* Fix weird jumping when clicking on the buttons in Safari. */
|
||||
will-change: scale;
|
||||
transition-duration: 150ms;
|
||||
transition-timing-function: ease-out;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
text-align: center;
|
||||
touch-action: manipulation;
|
||||
|
||||
&:focus-visible {
|
||||
outline-color: currentColor;
|
||||
@@ -33,9 +33,9 @@
|
||||
}
|
||||
|
||||
&[disabled] {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.5;
|
||||
filter: grayscale(1);
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
&[data-availability="unavailable"],
|
||||
@@ -46,23 +46,23 @@
|
||||
|
||||
/* Primary button variant */
|
||||
.media-default-skin .media-button--primary {
|
||||
background: oklch(1 0 0);
|
||||
color: oklch(0 0 0);
|
||||
font-weight: 500;
|
||||
color: oklch(0 0 0);
|
||||
text-shadow: none;
|
||||
background: oklch(1 0 0);
|
||||
}
|
||||
|
||||
/* Subtle button variant */
|
||||
.media-default-skin .media-button--subtle {
|
||||
background: transparent;
|
||||
color: inherit;
|
||||
text-shadow: inherit;
|
||||
background: transparent;
|
||||
|
||||
&:hover,
|
||||
&:focus-visible,
|
||||
&[aria-expanded="true"] {
|
||||
background-color: oklch(from currentColor l c h / 0.1);
|
||||
text-decoration: none;
|
||||
background-color: oklch(from currentColor l c h / 0.1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,8 +70,8 @@
|
||||
.media-default-skin .media-button--icon {
|
||||
display: grid;
|
||||
width: 2.25rem;
|
||||
padding: 0;
|
||||
aspect-ratio: 1;
|
||||
padding: 0;
|
||||
|
||||
&:active {
|
||||
scale: 0.9;
|
||||
@@ -104,8 +104,8 @@
|
||||
padding: 0;
|
||||
|
||||
&::after {
|
||||
content: attr(data-rate) "\00D7";
|
||||
width: 4ch;
|
||||
font-variant-numeric: tabular-nums;
|
||||
content: attr(data-rate) "\00D7";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user