UX: Tweak play button css (#25754)

* Remove unnecessary properties
* Use rem unit
* Add a drop shadow
* Make the "box shadow" slightly more subtle
* Use --d-border-radius
* Don't scale the "box shadow" on hover
* Scale down the on-hover size
* Make the button slightly larger
* Respect prefers-reduced-motion
* Use white rather than --secondary-or-primary
* Don't animate on-hover on mobile
This commit is contained in:
Jarek Radosz 2024-02-20 12:13:20 +01:00 committed by Nat
parent c90488b917
commit b1111e64d1
No known key found for this signature in database
GPG Key ID: 4938B35D927EC773

View File

@ -965,23 +965,6 @@ aside.onebox.mixcloud-preview {
transition: transform 0s;
}
}
.spinner {
border-color: #fff;
border-right-color: rgba(0, 0, 0, 0);
margin: 0;
}
.d-icon-play {
cursor: pointer;
padding: 1em;
margin: 0.5em;
background-color: rgba(0, 0, 0, 0.5);
display: inline-flex;
justify-content: center;
align-items: center;
color: var(--secondary-or-primary);
}
}
@include hover {