spicetify-themes/Matte/user.css

607 lines
18 KiB
CSS
Raw Normal View History

/* ================================
USER-EDITABLE VARIABLES
================================ */
2023-04-16 02:56:38 +02:00
:root {
/* top bar vars */
--top-bar-padding-top: 45px;
--top-bar-padding-right: 20px;
--top-bar-padding-bottom: 5px;
--top-bar-padding-left: 20px;
--tab-border-radius: 6px;
--top-bar-border-width: 2px;
2023-04-16 02:56:38 +02:00
/* sidebar vars */
--sidebar-button-border-radius: 4px;
--sidebar-border-width: 2px;
2023-04-16 02:56:38 +02:00
/* player vars */
--player-height: 90px;
--player-padding: 0 20px;
--player-border-width: 2px;
2023-04-16 02:56:38 +02:00
/* scrollbar vars */
--scrollbar-border-radius: 4px;
--scrollbar-width: 6px;
--scrollbar-width-hover: 6px;
}
/* ================================
TOPBAR
================================ */
2024-06-25 15:55:11 +02:00
.spotify__container--is-desktop:not(.fullscreen) .main-topBar-container,
.spotify__container--is-desktop:not(.fullscreen) .main-topBar-background {
-webkit-app-region: drag !important;
}
2023-04-16 02:56:38 +02:00
.Root__top-container {
/* rearrange grid layout */
grid-template-areas:
2024-06-25 15:55:11 +02:00
". . ."
"left-sidebar main-view right-sidebar"
2023-04-16 02:56:38 +02:00
"now-playing-bar now-playing-bar now-playing-bar";
2024-06-25 15:55:11 +02:00
grid-template-rows:
calc(var(--top-bar-padding-top) + 40px + var(--top-bar-padding-bottom))
1fr auto;
overflow: hidden !important;
2023-04-16 02:56:38 +02:00
}
.Root__nav-bar {
grid-area: left-sidebar !important;
}
.Root__right-sidebar {
grid-area: right-sidebar !important;
}
.Root__now-playing-bar {
grid-area: now-playing-bar !important;
}
2023-06-05 19:34:46 +02:00
.body-drag-top {
/* make whole top bar draggable */
2023-04-16 02:56:38 +02:00
height: calc(
var(--top-bar-padding-top) + 40px + var(--top-bar-padding-bottom)
2023-06-05 19:34:46 +02:00
) !important;
2023-04-16 02:56:38 +02:00
}
2024-06-25 15:55:11 +02:00
.main-topBar-container,
.main-topBar-container:empty {
/* customize top bar */
position: fixed;
top: 0;
left: 0;
padding-top: var(--top-bar-padding-top);
padding-right: var(--top-bar-padding-right);
padding-bottom: var(--top-bar-padding-bottom);
padding-left: var(--top-bar-padding-left);
height: calc(
var(--top-bar-padding-top) + 40px + var(--top-bar-padding-bottom)
);
width: 100%;
border-bottom: var(--top-bar-border-width) solid var(--spice-topbar-border);
}
.main-topBar-container .contentSpacing {
max-width: unset;
padding: 0;
2023-04-16 02:56:38 +02:00
}
.main-topBar-background {
/* remove background upon scrolling */
opacity: 0 !important;
}
.queue-tabBar-active {
/* customize active tab */
border-radius: var(--tab-border-radius);
}
[dir="ltr"] .collection-collection-tabBar,
.queue-tabBar-nav {
/* remove tab bar left padding */
padding-left: 0;
padding-inline-start: 0;
}
.main-topBar-topbarContent {
/* add bigger gap between play button and name */
gap: 16px;
}
2024-06-25 15:55:11 +02:00
.x-searchInput-searchInputInput {
height: 41px;
}
.x-searchInput-searchInputInput:hover,
.x-searchInput-searchInputInput:focus,
.x-entityImage-imageContainer {
box-shadow: none;
}
.x-searchInput-searchInputInput,
.x-filterBox-filterInput {
border-radius: var(--tab-border-radius);
}
/* ================================
NAVBAR / LEFT SIDEBAR
================================ */
2023-04-16 02:56:38 +02:00
.Root__nav-bar {
/* add border */
border-right: var(--sidebar-border-width) solid var(--spice-sidebar-border);
}
2023-04-16 02:56:38 +02:00
.LayoutResizer__resize-bar--resizing,
.LayoutResizer__resize-bar:focus-within,
.LayoutResizer__resize-bar:hover {
/* remove border on hovering layout resizer */
opacity: 0;
}
.LayoutResizer__resize-bar {
/* replace cursor on layout resize */
cursor: w-resize;
2024-06-25 15:55:11 +02:00
width: 2px;
2023-04-16 02:56:38 +02:00
}
2024-06-25 15:55:11 +02:00
.LayoutResizer__inline-end {
inset-inline-end: 0;
}
.main-yourLibraryX-entryPoints,
.Root__main-view {
border-radius: 0;
}
.main-yourLibraryX-navItems {
padding-bottom: 0;
}
.main-yourLibraryX-navItem,
.main-yourLibraryX-headerContent {
padding: 4px 0;
2023-04-16 02:56:38 +02:00
}
2024-06-25 15:55:11 +02:00
.main-yourLibraryX-header {
padding-top: 0;
}
.main-yourLibraryX-navItem {
padding: 4px 0;
}
.main-yourLibraryX-navLink {
padding: 12px;
text-decoration: none !important;
}
.main-yourLibraryX-navLink,
.main-yourLibraryX-header .main-yourLibraryX-collapseButtonWrapper {
gap: 20px;
2023-04-16 02:56:38 +02:00
}
2024-06-25 15:55:11 +02:00
.Wrapper-md-leading {
margin-inline-end: 0;
}
/* ================================
MAIN VIEW
================================ */
2023-04-16 02:56:38 +02:00
.main-view-container__scroll-node-child-spacer {
/* remove main view padding */
display: none;
}
2024-06-25 15:55:11 +02:00
.marketplace-header,
.main-home-filterChipsContainer,
2023-04-16 02:56:38 +02:00
.main-trackList-trackListHeader,
.search-searchCategory-SearchCategory,
.artist-artistDiscography-topBar {
2024-06-25 15:55:11 +02:00
/* fix home filter, track list header, search category, artist discography */
top: -1px !important;
2023-04-16 02:56:38 +02:00
height: auto;
}
2024-06-25 15:55:11 +02:00
.LVMjmN2CaPruPAo62RAY {
height: unset !important;
}
.marketplace-header,
.main-home-filterChipsContainer,
.search-searchCategory-SearchCategory {
2024-06-25 15:55:11 +02:00
/* home filter, fix search category */
2023-04-16 02:56:38 +02:00
border-bottom: 1px solid rgba(var(--spice-rgb-selected-row), 0.1);
padding: 16px 0;
}
2024-06-25 15:55:11 +02:00
.search-searchCategory-catergoryGrid button {
margin-bottom: 0 !important;
}
.search-searchCategory-catergoryGrid button[aria-checked="true"] span {
/* customize active search category */
2023-04-16 02:56:38 +02:00
border-radius: var(--tab-border-radius);
}
.main-trackList-trackListHeader,
.artist-artistDiscography-topBar {
/* fix track list header & artist discography */
padding: 16px 32px 0 32px;
2023-04-16 02:56:38 +02:00
}
.main-trackList-trackListHeaderStuck.main-trackList-trackListHeader,
.artist-artistDiscography-topBar.artist-artistDiscography-topBarScrolled {
/* fix tracklist header & artist discography */
2023-04-16 02:56:38 +02:00
box-shadow: none;
2024-06-25 15:55:11 +02:00
border-bottom: 1px solid rgba(var(--spice-rgb-selected-row), 0.1);
2023-04-16 02:56:38 +02:00
}
.search-recentSearches-searchPageGrid
.main-trackList-trackListHeader.main-trackList-trackListHeaderStuck {
/* fix tracklist header in search */
top: 64px !important;
}
2023-04-16 02:56:38 +02:00
.main-home-homeHeader,
.x-entityHeader-overlay,
.x-actionBarBackground-background,
.main-actionBarBackground-background,
.main-entityHeader-overlay,
.main-entityHeader-backgroundColor {
/* remove background gradient */
background-color: unset !important;
background-image: unset !important;
}
2023-04-16 02:56:38 +02:00
/* full window artist background */
.main-entityHeader-background.main-entityHeader-gradient {
opacity: 0.3 !important;
2023-04-16 02:56:38 +02:00
}
.main-entityHeader-container.main-entityHeader-withBackgroundImage,
.main-entityHeader-background,
.main-entityHeader-background.main-entityHeader-overlay:after {
height: 100vh;
}
.main-entityHeader-withBackgroundImage .main-entityHeader-headerText {
justify-content: center;
}
.main-entityHeader-container.main-entityHeader-nonWrapped.main-entityHeader-withBackgroundImage {
padding-left: 9%;
}
.main-entityHeader-background.main-entityHeader-overlay:after {
background-image: linear-gradient(transparent, transparent),
linear-gradient(var(--spice-main), var(--spice-main));
}
.artist-artistOverview-overview .main-entityHeader-withBackgroundImage h1 {
font-size: 20vh !important;
line-height: 20vh !important;
2023-04-16 02:56:38 +02:00
}
/* cards */
.main-cardImage-imageWrapper {
background-color: transparent;
}
.main-card-card {
background: none;
}
.main-cardImage-image {
border-radius: 12px;
}
.main-cardImage-imageWrapper,
.main-entityHeader-shadow {
/* remove drop shadows from images */
-webkit-box-shadow: none;
box-shadow: none;
}
/* popup modal */
.main-trackCreditsModal-container {
background-color: var(--spice-main);
}
.main-trackCreditsModal-closeBtn svg path {
fill: var(--spice-subtext);
}
/* lyrics */
.lyrics-lyrics-background {
background-color: var(--spice-main);
}
.lyrics-lyrics-container.lyrics-lyrics-coverTopBar {
--lyrics-color-active: var(--spice-text) !important;
--lyrics-color-inactive: var(--spice-subtext) !important;
--lyrics-color-passed: var(--spice-subtext) !important;
--lyrics-color-messaging: var(--spice-subtext) !important;
}
.lyrics-lyricsContent-lyric {
opacity: 0.3;
}
.lyrics-lyricsContent-lyric.lyrics-lyricsContent-highlight {
opacity: 0.7;
}
.lyrics-lyricsContent-lyric.lyrics-lyricsContent-isInteractive.lyrics-lyricsContent-active {
text-shadow: 0 0 10px var(--lyrics-color-background),
-2px 1px 0 var(--spice-main), -3px 2px 0 var(--lyrics-color-background),
2px -1px 0 var(--spice-main), 3px -2px 0 var(--lyrics-color-background);
opacity: 1;
}
2023-04-16 02:56:38 +02:00
/* ================================
FRIEND ACTIVITY BAR / RIGHT SIDEBAR
================================ */
.Root__nav-right-sidebar {
border-left: var(--sidebar-border-width) solid var(--spice-sidebar-border);
}
.spotify__os--is-windows .main-buddyFeed-content {
margin-top: 0;
}
/* ================================
NOW PLAYING BAR
================================ */
.Root__now-playing-bar {
border-top: var(--player-border-width) solid var(--spice-player-border);
2023-04-16 02:56:38 +02:00
}
.main-nowPlayingBar-nowPlayingBar {
/* customize now playing bar */
height: var(--player-height);
padding: var(--player-padding);
}
.main-nowPlayingBar-container {
/* customize now playing bar*/
border-top: none;
}
[dir="ltr"] .main-nowPlayingWidget-coverExpanded {
transform: translateX(-76px);
2023-04-16 02:56:38 +02:00
}
.x-progressBar-fillColor {
2023-04-16 02:56:38 +02:00
/* fluid progress bars */
transition: transform, 0s, ease, 0.25s;
}
.progress-bar__slider {
/* fluid progress bars */
transition: left, 0s, ease, 0.25s;
}
/* ================================
MISC & FIXES
================================ */
/* font style
-------------------------------- */
2023-04-16 02:56:38 +02:00
* {
/* heading font weight */
font-weight: normal !important;
--font-family: CircularSp, CircularSp-Arab, CircularSp-Hebr, CircularSp-Cyrl,
CircularSp-Grek, CircularSp-Deva, var(--fallback-fonts, sans-serif),
sans-serif;
2023-04-16 02:56:38 +02:00
}
2024-06-25 15:55:11 +02:00
/* root
-------------------------------- */
.Root {
--panel-gap: 0 !important;
}
.spotify__container--is-desktop .Root__top-container {
padding-top: 0 !important;
}
/* scrollbar
-------------------------------- */
2024-06-25 15:55:11 +02:00
.os-scrollbar-handle {
2023-04-16 02:56:38 +02:00
/* customize scrollbar */
2024-06-25 15:55:11 +02:00
border-radius: var(--scrollbar-border-radius) !important;
width: var(--scrollbar-width) !important;
2023-04-16 02:56:38 +02:00
}
2024-06-25 15:55:11 +02:00
.os-scrollbar-handle:hover {
2023-04-16 02:56:38 +02:00
/* customize hovered scrollbar */
2024-06-25 15:55:11 +02:00
border-radius: var(--scrollbar-border-radius) !important;
width: var(--scrollbar-width-hover) !important;
2023-04-16 02:56:38 +02:00
}
2024-06-25 15:55:11 +02:00
.os-scrollbar-vertical {
2023-04-16 02:56:38 +02:00
/* fix scrollbar positioning */
top: 5px !important;
right: 5px !important;
2023-04-16 02:56:38 +02:00
}
.os-scrollbar-handle {
/* increase size from right to left */
position: absolute;
top: 0;
right: 0;
}
/* tooltip
-------------------------------- */
.main-contextMenu-tippy {
/* position below the element */
transform: translate(0, 65px);
}
2024-06-25 15:55:11 +02:00
/* placeholder
-------------------------------- */
.T7WHRub8pynnWPXERh8e,
.rOgsguaurlHVlgCTY0P7,
.eC25_w41L83mXDCqdm_A {
/* playlists loading placeholder */
opacity: 0.05;
filter: contrast(0.1);
}
/* color reassignment
-------------------------------- */
.encore-dark-theme,
.encore-dark-theme .encore-base-set {
/* song duration & queue button & folder arrow & settings desc text */
--text-subdued: var(--spice-subtext) !important;
--essential-subdued: var(--spice-button) !important;
}
/* ====topbar==== */
2024-06-25 15:55:11 +02:00
.main-topBar-container,
.main-topBar-container:empty {
background-color: var(--spice-topbar);
}
.main-topBar-historyButtons .main-topBar-button {
background-color: transparent;
color: var(--spice-topbar-text);
}
.main-topBar-historyButtons .main-topBar-button:disabled {
color: var(--spice-topbar-subtext);
opacity: 1;
}
.main-entityHeader-topbarTitle {
color: var(--spice-topbar-text) !important;
}
.queue-tabBar-active {
background-color: var(--spice-tab-active) !important;
color: var(--spice-tab-active-text) !important;
}
.queue-tabBar-headerItemLink {
color: var(--spice-topbar-subtext);
}
.queue-tabBar-headerItemLink:hover {
background-color: rgba(var(--spice-rgb-tab-hover), 0.3);
}
2023-04-16 02:56:38 +02:00
.x-searchInput-searchInputSearchIcon,
.x-searchInput-searchInputClearButton,
.x-searchInput-searchInputInput {
color: var(--spice-tab-active-text) !important;
2023-04-16 02:56:38 +02:00
}
.x-searchInput-searchInputInput {
background-color: var(--spice-tab-active);
2024-06-25 15:55:11 +02:00
color: var(--spice-tab-active-text) !important;
}
.x-searchInput-searchInputInput:hover {
background-color: var(--spice-tab-hover);
2023-04-16 02:56:38 +02:00
}
.x-filterBox-filterInput {
background-color: rgba(var(--spice-rgb-subtext), 0.1);
2023-04-16 02:56:38 +02:00
}
::placeholder {
color: var(--spice-topbar-subtext);
2023-04-16 02:56:38 +02:00
}
/* ====left sidebar==== */
2024-06-25 15:55:11 +02:00
.main-yourLibraryX-entryPoints {
background-color: var(--spice-sidebar);
}
.main-yourLibraryX-navLinkActive,
.main-yourLibraryX-navLinkActive .home-active-icon,
.main-yourLibraryX-navLinkActive .search-active-icon {
color: var(--spice-link-active-text) !important;
2024-06-25 15:55:11 +02:00
background-color: var(--spice-link-active);
border-radius: var(--tab-border-radius);
2023-04-16 02:56:38 +02:00
}
.link-subtle {
transition-property: none;
color: var(--spice-sidebar-text);
2023-04-16 02:56:38 +02:00
}
.link-subtle:focus,
.link-subtle:hover {
color: var(--spice-link-hover-text);
2023-04-16 02:56:38 +02:00
}
2024-06-25 15:55:11 +02:00
.Button-md-24-buttonTertiary-iconLeading-condensed-useBrowserDefaultFocusStyle,
.Button-md-24-buttonTertiary-iconLeading-condensed-isUsingKeyboard-useBrowserDefaultFocusStyle {
color: var(--spice-sidebar-text);
}
/* ====main view==== */
.main-trackList-trackListRow.main-trackList-selected,
.main-trackList-trackListRow.main-trackList-selected:hover,
.main-trackList-trackListRow:focus-within,
.main-trackList-trackListRow:hover {
background-color: var(--spice-card);
}
.main-trackList-trackListHeaderStuck.main-trackList-trackListHeader,
.artist-artistDiscography-topBar.artist-artistDiscography-topBarScrolled {
2024-06-25 15:55:11 +02:00
background: var(--spice-main) !important;
}
.main-trackList-placeholder {
/* recolor loading tracklist */
opacity: 0.05;
filter: contrast(0.1);
}
2024-06-25 15:55:11 +02:00
.view-homeShortcutsGrid-equaliser,
.main-trackList-playingIcon,
.main-devicePicker-nowPlayingActiveIcon {
/* change playing icon color to theme color */
filter: grayscale(1) opacity(0.2)
drop-shadow(0 0 0 var(--spice-button-active))
drop-shadow(0 0 0 var(--spice-button-active))
drop-shadow(0 0 0 var(--spice-button-active));
}
2024-06-25 15:55:11 +02:00
.main-home-filterChipsSection,
.main-home-filterChipsSection:after {
background-color: var(--spice-main) !important;
}
.search-searchCategory-catergoryGrid button[aria-checked="true"] span {
color: var(--spice-main);
background-color: var(--spice-button-active) !important;
}
.search-searchCategory-catergoryGrid span {
border-radius: var(--tab-border-radius);
color: var(--spice-subtext);
}
.artist-artistAbout-container.artist-artistAbout-backgroundImage
.artist-artistAbout-content
> div {
/* change about artist text color */
color: #fff;
}
.main-dropDown-dropDown,
.x-settings-input {
background-color: var(--spice-button-disabled);
color: var(--spice-text);
}
/* ====right sidebar==== */
.TypeElement-balladBold-textBase-type,
.main-buddyFeed-activityMetadata .main-buddyFeed-artistAndTrackName {
color: var(--spice-sidebar-text);
}
/* ====now playing bar==== */
2024-06-25 15:55:11 +02:00
.main-nowPlayingBar-container {
background-color: var(--spice-player);
}
.main-trackInfo-name,
.main-trackInfo-artists a:active,
.main-trackInfo-artists a:focus,
.main-trackInfo-artists a:hover {
color: var(--spice-player-text) !important;
}
.main-trackInfo-artists a:link,
.main-trackInfo-artists a:visited {
color: var(--spice-player-subtext);
}
.main-playPauseButton-button {
color: var(--spice-player);
background-color: var(--spice-button-active);
}
.control-button-heart[aria-checked="false"],
.player-controls__left button,
.player-controls__right button,
.main-nowPlayingBar-extraControls button {
color: rgba(var(--spice-rgb-player-selected-row), 0.7);
}
2024-06-25 15:55:11 +02:00
.Button-textBrightAccent-small-small-buttonTertiary-iconOnly-useBrowserDefaultFocusStyle,
.Button-textBrightAccent-small-small-buttonTertiary-iconOnly-isUsingKeyboard-useBrowserDefaultFocusStyle {
color: var(--spice-button) !important;
}
.progress-bar {
--bg-color: rgba(var(--spice-rgb-player-selected-row), 0.3);
--fg-color: var(--spice-player-selected-row);
}
/* ====misc==== */
/* ----scrollbar---- */
2024-06-25 15:55:11 +02:00
.os-scrollbar-handle {
background-color: var(--spice-scrollbar) !important;
}
2024-06-25 15:55:11 +02:00
.os-scrollbar-handle:hover,
.os-scrollbar-handle:active {
background-color: var(--spice-scrollbar-hover) !important;
}
/* ----context menu---- */
.main-contextMenu-menu {
background-color: var(--spice-context-menu);
}
.main-contextMenu-menuHeading,
.main-contextMenu-menuItemButton,
.main-contextMenu-menuItemButton:not(.main-contextMenu-disabled):focus,
.main-contextMenu-menuItemButton:not(.main-contextMenu-disabled):hover {
color: var(--spice-context-menu-text);
}
.main-contextMenu-menuItemButton:not(.main-contextMenu-disabled):focus,
.main-contextMenu-menuItemButton:not(.main-contextMenu-disabled):hover {
background-color: var(--spice-context-menu-hover);
}
/* ----button---- */
2023-04-16 02:56:38 +02:00
#_R_G *:not([fill="none"]) {
/* fix heart color on click */
fill: var(--spice-button-active) !important;
}
#_R_G *:not([stroke="none"]) {
stroke: var(--spice-button-active);
}
.ButtonInner-md-iconOnly {
/* base play/pause icon color on player instead of sidebar */
color: var(--spice-player);
2023-04-16 02:56:38 +02:00
}
.Button-sm-16-buttonTertiary-iconOnly-condensedAll-useBrowserDefaultFocusStyle {
/* base play/pause icon color on sidebar text instead of subtext */
color: var(--spice-sidebar-text);
2023-04-16 02:56:38 +02:00
}