Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped
Bundle the Medeo Mono variable webfonts and replace the remaining monospace fallbacks so every text style belongs to the Medeo family.
482 lines
8.3 KiB
SCSS
482 lines
8.3 KiB
SCSS
@font-face {
|
|
font-family: "Medeo Sans";
|
|
src: url("../assets/fonts/medeo/MedeoSansVariable.woff2") format("woff2");
|
|
font-weight: 100 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Medeo Sans";
|
|
src: url("../assets/fonts/medeo/MedeoSansVariable-Italic.woff2") format("woff2");
|
|
font-weight: 100 900;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Medeo Mono";
|
|
src: url("../assets/fonts/medeo/MedeoMonoVariable.woff2") format("woff2");
|
|
font-weight: 100 900;
|
|
font-style: normal;
|
|
font-display: swap;
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Medeo Mono";
|
|
src: url("../assets/fonts/medeo/MedeoMonoVariable-Italic.woff2") format("woff2");
|
|
font-weight: 100 900;
|
|
font-style: italic;
|
|
font-display: swap;
|
|
}
|
|
|
|
:root {
|
|
--font-mono: "Medeo Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 14px;
|
|
background: $clr-background-dark;
|
|
}
|
|
|
|
div::-webkit-scrollbar {
|
|
width: 14px;
|
|
background: transparent;
|
|
}
|
|
|
|
.roundedScrollbar::-webkit-scrollbar-track {
|
|
border-radius: 1000px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background-color: transparent;
|
|
&:hover {
|
|
background-color: rgb(255 255 255 / 0.1);
|
|
}
|
|
}
|
|
::-webkit-scrollbar-thumb {
|
|
border: 4px solid transparent;
|
|
background-clip: padding-box;
|
|
border-radius: 9999px;
|
|
background-color: rgb(255 255 255 / 0.25);
|
|
&:hover {
|
|
background-color: rgb(255 255 255 / 0.45);
|
|
}
|
|
}
|
|
|
|
::selection {
|
|
background: $clr-secondary-default;
|
|
}
|
|
|
|
html {
|
|
overscroll-behavior: none;
|
|
}
|
|
|
|
// While the OS window is being resized, skip layout transitions so elements
|
|
// do not chase the new size frame by frame.
|
|
html.is-resizing *,
|
|
html.is-resizing *::before,
|
|
html.is-resizing *::after {
|
|
transition: none !important;
|
|
}
|
|
|
|
body {
|
|
font-family: "Medeo Sans", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
font-optical-sizing: auto;
|
|
background: $clr-background-default;
|
|
margin: 0;
|
|
padding: 0;
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100vh;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
overscroll-behavior: none;
|
|
}
|
|
|
|
.app-backdrop {
|
|
transition: 1.2s;
|
|
object-fit: cover;
|
|
width: calc(100% + 160px);
|
|
height: calc(100% + 160px);
|
|
position: absolute;
|
|
top: -80px;
|
|
left: -80px;
|
|
z-index: -2;
|
|
filter: blur(160px) saturate(140%) contrast(200%);
|
|
&-container {
|
|
position: fixed;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
left: 0;
|
|
top: 0;
|
|
z-index: -1;
|
|
filter: brightness(0.5);
|
|
}
|
|
}
|
|
|
|
#root,
|
|
.root-page {
|
|
height: fit-content;
|
|
width: 100%;
|
|
position: relative;
|
|
overflow: hidden;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.centered {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.loading {
|
|
opacity: 0.35;
|
|
}
|
|
|
|
/* Fast, compositor-driven page transitions. */
|
|
@supports (view-transition-name: none) {
|
|
::view-transition-old(root),
|
|
::view-transition-new(root) {
|
|
animation-duration: 160ms;
|
|
animation-timing-function: cubic-bezier(0.2, 0, 0, 1);
|
|
animation-fill-mode: both;
|
|
}
|
|
|
|
::view-transition-old(root) {
|
|
animation-name: routeFadeOut;
|
|
}
|
|
|
|
::view-transition-new(root) {
|
|
animation-name: routeFadeIn;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
::view-transition-old(root),
|
|
::view-transition-new(root) {
|
|
animation: none !important;
|
|
}
|
|
}
|
|
|
|
@keyframes routeFadeOut {
|
|
from {
|
|
opacity: 1;
|
|
}
|
|
to {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes routeFadeIn {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.fadeIn {
|
|
animation: 0.5s fadeInPage forwards;
|
|
}
|
|
|
|
.fadeOut {
|
|
animation: 0.5s fadeOutPage forwards;
|
|
}
|
|
|
|
.glass-panel {
|
|
@include glass-effect;
|
|
}
|
|
|
|
.glass-menu-paper, .glass-dialog-paper {
|
|
@include glass-effect;
|
|
border-radius: 16px !important;
|
|
}
|
|
|
|
.glass-menu-paper {
|
|
.MuiMenuItem-root {
|
|
font-family: inherit;
|
|
transition: background-color 0.2s;
|
|
border-radius: 8px;
|
|
margin: 4px;
|
|
|
|
&:hover {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
&.Mui-selected {
|
|
background-color: rgba(255, 255, 255, 0.2) !important;
|
|
color: white;
|
|
&:hover {
|
|
background-color: rgba(255, 255, 255, 0.25) !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@keyframes fadeInPage {
|
|
from {
|
|
opacity: 0;
|
|
transform: translate(-20px, 0);
|
|
}
|
|
to {
|
|
opacity: 1;
|
|
transform: translate(0px, 0px);
|
|
}
|
|
}
|
|
|
|
@keyframes fadeOutPage {
|
|
from {
|
|
opacity: 1;
|
|
transform: translate(0px, 0px);
|
|
}
|
|
to {
|
|
transform: translate(20px, 0);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
h1 {
|
|
color: white !important;
|
|
}
|
|
|
|
.scrollY {
|
|
overflow-x: hidden;
|
|
overflow-y: visible;
|
|
height: fit-content;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
min-height: 100vh;
|
|
padding: ($page-margin - 1.2em) $page-margin;
|
|
&.padded-top {
|
|
padding-top: 4.4em;
|
|
}
|
|
}
|
|
|
|
.empty {
|
|
display: none;
|
|
}
|
|
|
|
.MuiChip-label {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.material-symbols-rounded {
|
|
--fill: 0;
|
|
--wght: 300;
|
|
--grad: 25;
|
|
--opsz: 40;
|
|
|
|
font-variation-settings: "FILL" var(--fill, 0), "wght" var(--wght, 300), "GRAD" var(--grad, 25), "opsz" var(--opsz, 40);
|
|
font-size: 1.1em;
|
|
transition: all $transition-time-default;
|
|
&.fill{
|
|
--fill: 1;
|
|
}
|
|
}
|
|
|
|
/* Keep the end of every page reachable above the floating player bar. */
|
|
body.has-player-bar #root {
|
|
padding-bottom: 104px;
|
|
}
|
|
|
|
.audio-playing .scrollY {
|
|
padding-bottom: 9em !important;
|
|
}
|
|
|
|
.audio-playing .scrollY.library {
|
|
padding-bottom: 0 !important;
|
|
}
|
|
|
|
.audio-playing .library-items {
|
|
padding-bottom: 9em !important;
|
|
}
|
|
|
|
// Normalize listItemIcons for material symbols
|
|
.MuiListItemIcon-root {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.animate-icon {
|
|
position: relative;
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%) scale(1);
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 100%;
|
|
opacity: 0;
|
|
// filter: blur(10px);
|
|
animation: iconAnimation ease-out 1s infinite;
|
|
background: var(--clr);
|
|
z-index: -1;
|
|
// background: radial-gradient(transparent, var(--clr));
|
|
}
|
|
}
|
|
|
|
.animate-rotate{
|
|
animation: rotation linear 1s infinite;
|
|
}
|
|
|
|
@keyframes rotation {
|
|
0%{
|
|
transform: rotate(0deg);
|
|
}
|
|
100%{
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes iconAnimation {
|
|
0% {
|
|
opacity: 1;
|
|
transform: translate(-50%, -50%) scale(0);
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
transform: translate(-50%, -50%) scale(4);
|
|
}
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
&-row {
|
|
flex-direction: row !important;
|
|
}
|
|
&-column {
|
|
flex-direction: column;
|
|
}
|
|
&-center {
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
&-align-center {
|
|
align-items: center;
|
|
}
|
|
&-justify-spaced-between {
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% {
|
|
opacity: 0.1;
|
|
}
|
|
50% {
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
opacity: 0.1;
|
|
}
|
|
}
|
|
|
|
.gradient-text{
|
|
background: $clr-gradient-default;
|
|
color: transparent;
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
}
|
|
|
|
.divider-circle{
|
|
width: 4px;
|
|
height: 4px;
|
|
aspect-ratio: 1;
|
|
border-radius: 10px;
|
|
background: white;
|
|
}
|
|
|
|
.react-multi-carousel-list{
|
|
overflow: visible !important;
|
|
}
|
|
|
|
.react-multi-carousel-item{
|
|
filter: brightness(0.4);
|
|
transition: filter 500ms;
|
|
&.react-multi-carousel-item--active{
|
|
filter: brightness(1);
|
|
}
|
|
}
|
|
|
|
@function neg($var) {
|
|
@return $var * -1;
|
|
}
|
|
|
|
.fullWidth {
|
|
width: 100%;
|
|
}
|
|
|
|
.glass {
|
|
background-color: rgba(20, 20, 30, 0.7) !important;
|
|
backdrop-filter: blur(24px) saturate(180%) !important;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.opacity-07{
|
|
opacity: 0.7;
|
|
}
|
|
|
|
a {
|
|
color: $clr-accent-default;
|
|
}
|
|
|
|
/* TV / gamepad spatial navigation focus */
|
|
[data-tv-focus="true"] {
|
|
outline: 2px solid var(--mui-palette-primary-main, #ff2d78) !important;
|
|
outline-offset: 3px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.card[data-tv-focus="true"] {
|
|
border-radius: 12px;
|
|
box-shadow:
|
|
0 0 0 2px var(--mui-palette-primary-main, #ff2d78),
|
|
0 12px 32px rgb(0 0 0 / 0.4);
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.scrollY {
|
|
padding: 0.75rem 1rem;
|
|
}
|
|
|
|
.scrollY.padded-top {
|
|
padding-top: 4.8rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 700px) {
|
|
.MuiDialog-container .MuiDialog-paper {
|
|
margin: 1rem;
|
|
width: calc(100% - 2rem) !important;
|
|
max-width: calc(100% - 2rem) !important;
|
|
max-height: calc(100% - 2rem);
|
|
border-radius: 18px;
|
|
background-color: rgb(20 20 27) !important;
|
|
background-image: none !important;
|
|
backdrop-filter: blur(24px) saturate(160%) !important;
|
|
}
|
|
|
|
.MuiDialogTitle-root {
|
|
padding: 1rem 1.1rem 0.5rem;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.MuiDialogContent-root {
|
|
padding: 0.75rem 1.1rem;
|
|
}
|
|
|
|
.MuiDialogActions-root {
|
|
padding: 0.75rem 1.1rem 1rem;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
}
|
|
}
|