Update user.css

Simplify profile css rules and bring back real name
This commit is contained in:
Julien 2021-02-13 11:37:20 +01:00 committed by GitHub
parent 04e80472dc
commit 895b62cc37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,9 +64,8 @@ body {
overflow: hidden !important;
}
/*Hide some annoying elements like profile name and pic, upgrade button and device connect bar at bottom */
/*Hide some annoying elements like upgrade button and device connect bar at bottom */
.profile.content-top-bar__profile-link,
.upgrade-button,
.view-player .remote-playback-bar {
display: none !important;
@ -218,21 +217,13 @@ body {
margin-left: 8px;
}
.content-top-bar__profile,
.SearchInput__input,
.SearchInput__searchIcon,
.SearchInput__clearButton {
margin-top: 15px !important;
}
.content-top-bar__profile-menu-button {
margin-top: 15px !important;
}
.body-container--windows:not(.with-buddy-list):not(.messagebar) .content-top-bar__profile {
margin-right: calc(var(--os-windows-icon-dodge) * 110px) !important;
margin-top: calc(var(--os-windows-icon-dodge) * -5px);
}
/* Spice up Fullscreen mode */
#view-player .album-art .album-art__image {
@ -350,24 +341,6 @@ body {
overflow: visible !important;
}
/* Profile arrow in top left */
.content-top-bar__profile-menu-button .dropdown {
position: fixed !important;
top: 10px !important;
-webkit-app-region: no-drag !important;
}
/* [WINDOWS] Change Profile menu horizontal position */
body.body-container--windows .content-top-bar__profile-menu-button .dropdown {
right: calc(var(--os-windows-icon-dodge) * 170px + 20px) !important;
}
body:not(.body-container--windows) .content-top-bar__profile-menu-button .dropdown {
right: 20px !important;
}
/* Small tooltip */
#tooltip,