Files
illogical-impulse/tetrio/.config/eww/css/_music.scss
T
2024-02-22 15:35:06 +07:00

226 lines
4.0 KiB
SCSS
Executable File

.music-area {
}
.song-cover-art {
background-position: center;
background-size: 100%;
margin: 4px 5px 4px 0;
min-height: 24px;
min-width: 24px;
}
.music-window {
background-color: $colorbarbg;
border: 3px solid;
color: $colortext;
margin: 3px;
}
.music-cover-art {
background-color: transparent;
background-size: cover;
background-repeat: no-repeat;
background-image: url("eww_covers/cover_art_default");
background-position: 50% 15%;
// border-radius: 5px;
// margin: 1em;
// min-height: 200px;
min-width: 200px;
}
.music-box {
padding-top: 24px;
background-color: rgba(0, 0, 0, 0.6);
background-position: top;
}
.music-title-bar {
// font-weight: bold;
font-family: 'Rubik';
min-height: 30px;
font-size: 19pt;
color: $colormusic;
padding-left: 10px;
padding-right: 10px;
}
.music-title {
// font-weight: bold;
font-family: 'Rubik';
min-height: 38px;
font-size: 19pt;
color: $colormusic;
padding-left: 10px;
padding-right: 10px;
}
.music-title-hover {
// font-weight: bold;
font-family: 'Rubik';
font-size: 19pt;
color: $colortext;
background-color: $overlay0;
padding-left: 10px;
padding-right: 10px;
}
.music-artist {
color: $colortext;
font-family: 'Rubik';
font-weight: bold;
margin-bottom: 5px;
min-height: 25px;
}
.music-button label {
font-family: 'Material Symbols Outlined';
// color: $text;
font-size: 2rem;
font-family: SF Mono Nerd Font;
padding: 8px;
}
.music-time {
font-family: 'Rubik';
color: $color1;
margin: 0 1rem;
}
.music-bar scale {
font-family: 'Material Symbols Outlined';
font-family: SF Mono Nerd Font;
highlight {
background-color: $color1;
}
trough {
background-color: $surface0;
min-height: 10px;
min-width: 170px;
}
}
.music-ctl {
// border-radius: 0px;
color: $color1;
// padding-right: 10px;
min-height: 32px;
}
.music-ctl-revealer {
// transition: 200ms cubic-bezier(0.3, 0, 0.8, 0.15);
}
.music-ctl-revealer-false {
// padding-left: 10px;
}
.music-ctl-revealer-true {
background-color: $overlay0;
}
.music-media-source {
min-width: 40px;
min-height: 20px;
padding-left: 5px;
background-color: rgba(0, 0, 0, 0.6);
}
.music-media-source-wedge {
border-left: 29px solid rgba(0, 0, 0, 0.6);
border-bottom: 29px solid transparent;
}
.music-source-icon {
font-family: 'JetBrainsMono Nerd Font';
font-size: 16pt;
margin-right: 5px;
}
.song-button {
color: $colortext;
// border-radius: 9999px;
margin: 3px 3px;
min-width: 58px;
font-size: 36pt;
}
.song-button:hover {
background-color: $overlay0;
}
.music-button-box {
font-family: 'Material Symbols Outlined';
color: $colortext;
min-width: 160px;
margin-top: 2px;
padding-bottom: 0px;
background-color: rgba(0, 0, 0, 0.6);
}
.osu-music-box-false {
min-width: 75px;
min-height: 32px;
background-size: auto 65%;
background-position: 35% 50%;
// background-color: $colorbarbg;
background-repeat: no-repeat;
}
.osu-music-box-true {
min-width: 75px;
min-height: 32px;
background-size: auto 65%;
background-position: 35% 50%;
background-color: $overlay0;
background-repeat: no-repeat;
}
.osu-music-box-dummy {
min-width: 50px;
min-height: 32px;
}
.osu-music-slider {
margin-top: 9px;
margin-bottom: 9px;
min-height: 6px;
padding-left: 13px;
trough {
// border-radius: 9999px;
background-color: #24222A;
min-height: 6px;
// margin-left: 32px;
// margin-right: 32px;
// min-width: 70px;
min-width: 3px;
}
highlight {
min-width: 3px;
// border-radius: 9999px;
background-color: $colorbar;
}
}
.track-scale {
// @include rounding;
trough {
// border-bottom-left-radius: 9999px;
// border-bottom-right-radius: 9999px;
background-color: $overlay0;
min-height: 8px;
// margin-left: 32px;
// margin-right: 32px;
// min-width: 70px;
min-width: 3px;
}
highlight {
min-width: 8px;
// border-bottom-left-radius: 9999px;
// border-bottom-right-radius: 9999px;
background-color: $color0;
}
}