beiona 0 Posted November 7, 2020 Share Posted November 7, 2020 i want to remove some buttons in the red circle. remove top "play on other device" "settings" "manage emby server" and remove all the "play" button, even the one in the poster. is that possible? Link to comment Share on other sites More sharing options...
Happy2Play 8140 Posted November 7, 2020 Share Posted November 7, 2020 Some can be targeted differently to combine, but kept them more targeted. /*Header buttons*/ button.headerCastButton, button.headerUserButton, button.headerSettingsButton {display: none;} /*Card Overlay buttons*/ button.cardOverlayFab-primary, button.cardOverlayButton[title="Played"], button.cardOverlayButton[title="More"] {display: none;} /*ItemDetails buttons*/ button.btnResume, button.btnPlay, button.btnShuffle, button.btnPlayTrailer, button.btnPlaystate, button.btnMoreCommands {display: none;} /*Season view buttons*/ button.listItemButton[title="Played"], button.listItemButton[title="More"] {display: none;} Link to comment Share on other sites More sharing options...
beiona 0 Posted November 8, 2020 Author Share Posted November 8, 2020 7 hours ago, Happy2Play said: headerUserButton thank you ,so much. All work well, except this one in the season view. seems like it is not a "cardOverlayButton". And i missed one to remove. In the left side bar, there are some setting manage buttons I want to remove. But keep the "Sing out" button. Link to comment Share on other sites More sharing options...
Happy2Play 8140 Posted November 8, 2020 Share Posted November 8, 2020 Here you go. /*List item play button*/ button.listItemImageButton {display: none;} /*Navdrawer options not Dashboard*/ div.navDrawerCollapseSection[title="Admin"] a.navMenuOption[title="Manage Emby Server"], div.navDrawerCollapseSection[title="Admin"] a.navMenuOption[title="Metadata Manager"], div.navDrawerCollapseSection[title="Admin"] a.navMenuOption[title="Settings"] {display: none !important;} Link to comment Share on other sites More sharing options...
beiona 0 Posted November 9, 2020 Author Share Posted November 9, 2020 8 hours ago, Happy2Play said: Here you go. Your code works very well ! but, here is another problem. Although I remove the play button, when click on the picture in the red circle , it still play the viedo. Is there any way to turn the yellow mark [data-action="resume"] into [data-action="link"] ? (same function as the small button on the right.) Link to comment Share on other sites More sharing options...
Happy2Play 8140 Posted November 9, 2020 Share Posted November 9, 2020 3 hours ago, beiona said: Your code works very well ! but, here is another problem. Although I remove the play button, when click on the picture in the red circle , it still play the viedo. Is there any way to turn the yellow mark [data-action="resume"] into [data-action="link"] ? (same function as the small button on the right.) Sorry you will have to manually edit the \Emby-Server\system\dashboard-ui\modules\listview\listview.js. Note this will have to updated with every server update. Link to comment Share on other sites More sharing options...
PenkethBoy 2063 Posted November 9, 2020 Share Posted November 9, 2020 @Happy2Play can you not hide the overlay? Link to comment Share on other sites More sharing options...
Happy2Play 8140 Posted November 9, 2020 Share Posted November 9, 2020 3 hours ago, PenkethBoy said: @Happy2Play can you not hide the overlay? There is not overlay on season "listItemImageContainer-large". Looks like you would have to modify the both resume in js to link Link to comment Share on other sites More sharing options...
beiona 0 Posted November 9, 2020 Author Share Posted November 9, 2020 1 hour ago, Happy2Play said: Looks like you would have to modify the both resume in js to link I missed the first one. Cool, change both "resume" with "link", finally worked!!! Only one thing left. The Mobile web. I want to remove everything, except the "sign out", in the "More" list below. Link to comment Share on other sites More sharing options...
Happy2Play 8140 Posted November 9, 2020 Share Posted November 9, 2020 (edited) Something like this, If you truly want to remove the Home button remove ":not(:first-child). But I left it to be able to back out of Settings. /*Remove all AppFooter buttons except last*/ div.appfooter a:not(:first-child):not(:last-child) {display: none;} /*User Settings sections*/ div.dynamicRoutes h3, div.dynamicRoutes a:not([title="Sign Out"]) {display: none !important;} as for appfooter buttons, it depends on whether you want the button to cover the entire footer or use visibility: hidden instead of display: none. Edited November 9, 2020 by Happy2Play Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now