Jump to content

Highlighting latest music


Recommended Posts

arrbee99
Posted

Any thoughts on highlighting items in this top row please -

EmbyHighlightlatestmusic.thumb.jpg.d197c2a41866d40623bc3a0828f13d3a.jpg

the only thing I could find that might affect just that row is this vibrant thing -

div.cardBox.visualCardBox.visualCardBox-vibrant.cardBox-touchzoom

so as to highlight when hovering with mouse or selecting via keyboard. Have played with :before and :focus and :hover and...nothing.

Happy2Play
Posted
4 hours ago, arrbee99 said:

Any thoughts on highlighting items in this top row please -

EmbyHighlightlatestmusic.thumb.jpg.d197c2a41866d40623bc3a0828f13d3a.jpg

the only thing I could find that might affect just that row is this vibrant thing -

div.cardBox.visualCardBox.visualCardBox-vibrant.cardBox-touchzoom

so as to highlight when hovering with mouse or selecting via keyboard. Have played with :before and :focus and :hover and...nothing.

For focus/keyboard select did you look at the existing :before?  I just copied it to needed level.

existing code

image.thumb.png.d71851c9451749a5ef9f6fe01af4bad1.png

Added and edited to different element (adjusted color and border-width)  

div.card:focus-visible div.cardBox::before
 {
    content: " ";
    position: absolute;
    top: -.34em;
    left: -.34em;
    right: -.34em;
    bottom: -.34em;
    border-width: .5em;
    border-style: solid;
    border-radius: .6em;
	z-index: 1;
    border-color: red;
}

image.png.74cda46e36dc8e2d54a594bc9580c96f.png

As for hover 

div.card-hoverable div.cardBox:hover
 {
    top: -.34em;
    left: -.34em;
    right: -.34em;
    bottom: -.34em;
    border-width: .5em;
    border-style: solid;
    border-radius: .6em;
	z-index: 1;
	border-color: red;
}

image.png.1c4691518feae8c3a59f94d2c142851e.png

Focus will need more tweaking as you see the border differences.  Along with limiting code if you only want in specific areas.  

Looks like Music acts a little different than other areas though.

arrbee99
Posted

Thank you, I shall have a play with that. Didn't spot that existing before though. 

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...