Jump to content

try to disable item from menu


LOVECHEN
Go to solution Solved by Happy2Play,

Recommended Posts

LOVECHEN

server version 4.7.0.13

first share my code :

/*Disable Trailer , Rating , Playstate , card button and playOSD more option*/
.btnPlayTrailer , .btnUserRating , .btnPlaystate, .cardOverlayButtonIcon-hover, .btnOsdMore-bottom {display: none !important; }

 

but i want disable single option in the menu , any bro can help this?

thanks!
 

image.thumb.png.a50ccf602b7e2a766a828261f9dc7918.png

image.thumb.png.31936fe6476b56fdb42db2a3534992f1.png

image.thumb.png.a68a30ce7465ec412f43fafada154157.png

Edited by LOVECHEN
Link to comment
Share on other sites

  • Solution
Happy2Play

Are you asking to remove the menu option altogether overlaycard and itemdetails button?  Or are you wanting target each one of those menu options?  Are you look at only the Itemdetails page or everywhere?

But everywhere would be something like this.

button[data-action="menu"], button[title="More"] {display: none;}

But knowing there is a right click option on card you will need to target each button per data-id.

example

div.actionsheetScrollSlider [data-id="resume"] {display: none;}

image.thumb.png.2f3da7bd573858adbd9b834ee450299e.png

Let me know if you need more assistance with this.

Link to comment
Share on other sites

LOVECHEN
1 hour ago, Happy2Play said:

Are you asking to remove the menu option altogether overlaycard and itemdetails button?  Or are you wanting target each one of those menu options?  Are you look at only the Itemdetails page or everywhere?

But everywhere would be something like this.


button[data-action="menu"], button[title="More"] {display: none;}

But knowing there is a right click option on card you will need to target each button per data-id.

example


div.actionsheetScrollSlider [data-id="resume"] {display: none;}

image.thumb.png.2f3da7bd573858adbd9b834ee450299e.png

Let me know if you need more assistance with this.

Thank you successfully banned the function I don't want LOL

 

Link to comment
Share on other sites

Happy2Play
12 minutes ago, LOVECHEN said:

Thank you successfully banned the function I don't want LOL

 

But as mentioned right clicking on cardoverlays will bring up the menus if you know about this option.  But am guessing you were able to target each button.

Edited by Happy2Play
Link to comment
Share on other sites

LOVECHEN
1 minute ago, Happy2Play said:

But as mentioned right clicking on cardoverlays will bring up the menus if you know about this option.

Yes, when I read your reply, I fully understand what you mean, and then I succeeded directly. Thanks for the help

Link to comment
Share on other sites

LOVECHEN
16 minutes ago, Happy2Play said:

But as mentioned right clicking on cardoverlays will bring up the menus if you know about this option.  But am guessing you were able to target each button.

One more question, how do I use or replace the background of the login page alone? I looked up the solutions in the forum, or it didn't work, or it just changed all the backgrounds.

Link to comment
Share on other sites

Happy2Play
2 minutes ago, LOVECHEN said:

One more question, how do I use or replace the background of the login page alone? I looked up the solutions in the forum, or it didn't work, or it just changed all the backgrounds.

Since page ids were removed you can't.  You would have to apply page id to manuallogin and login html file then target the page id code.

Link to comment
Share on other sites

LOVECHEN
2 hours ago, Happy2Play said:

Since page ids were removed you can't.  You would have to apply page id to manuallogin and login html file then target the page id code.

okayyy no skill to do that 

 

image.png.72f4cd29665d09d1957e104ceed759f6.png

How can I make it light up in a circle when the cursor is over it?

 

 

Link to comment
Share on other sites

Happy2Play
9 hours ago, LOVECHEN said:
12 hours ago, Happy2Play said:

Since page ids were removed you can't.  You would have to apply page id to manuallogin and login html file then target the page id code.

okayyy no skill to do that 

What do you mean 😃 it is a simple html edit but needs to be done with every server update as the entire system folder gets replaced.

C:\Users\Media\AppData\Roaming\Emby-Server\system\dashboard-ui\startup

login.html

image.thumb.png.e5868ae1a933a8580f4843834e3d94d1.png

Now you can target the page with #loginpage in your css to target that page elements.  You would does similar to the manuallogin.html.

 

9 hours ago, LOVECHEN said:

How can I make it light up in a circle when the cursor is over it?

You would play around with this but each overlay is a different shape so you may want to target them differently.

This is adjusted default code as different browser needs different code.

div.cardOverlayContainer {
    background: -webkit-radial-gradient(50% 50%,farthest-corner,transparent 50%,#222 75%);
    background: -o-radial-gradient(50% 50%,farthest-corner,transparent 50%,#222 75%);
    background: radial-gradient(farthest-corner at 50% 50%,transparent 50%,#222 75%);
}

 

Edited by Happy2Play
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...