• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Themes & Styles CSS for movie library cast crew thumbs in grid view

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    CSS for movie library cast crew thumbs in grid view

    zelpi
    Offline

    Member

    Posts: 59
    Threads: 19
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #1
    2024-10-16, 05:18 PM
    I think the thread title says it all. Can someone of the experts post a code for this? I searched desperately on the web and found to my surprise nothing. A grid imo would be much better as overview for a movie’s involved persons images than the current horizontal scroll view…
    1
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-10-16, 07:48 PM (This post was last modified: 2024-10-16, 07:49 PM by TheDreadPirate. Edited 1 time in total.)
    Something like this?

    Code:
    #castContent .card.overflowPortraitCard {
      width: 4.2cm;
      font-size: 90%;
    }
    #castContent .personCard {
      width: auto;
    }
    #castContent .personCard .cardBox {
      margin-bottom: 0px;
      margin-right: 0px;
    }
    #castContent {
        flex-wrap: wrap;
    }
    .itemDetailPage .cardText {
      text-align: left;
    }
    .itemDetailPage .textActionButton {
      text-align: left;
    }

       
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    zelpi
    Offline

    Member

    Posts: 59
    Threads: 19
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #3
    2024-10-17, 07:38 AM (This post was last modified: 2024-10-17, 08:02 AM by zelpi. Edited 1 time in total.)
    Looks good, thank you. I will test it and give feedback.

    Maybe a slight change: A small gap between the thumbs ?
    zelpi
    Offline

    Member

    Posts: 59
    Threads: 19
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #4
    2024-10-17, 07:49 AM (This post was last modified: 2024-10-17, 07:53 AM by zelpi. Edited 2 times in total.)
    Another issue concerning cast/crew integration. Would this be the right nfo-file for writing a person into the cast of the movie profile?

    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <movie>
    <title> Oblivion </title>
    <originaltitle> Oblivion </originaltitle>
    <actor>
    <name> Tom Cruise </name>
    <role> Jack </role>
    </actor>
    </movie>
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #5
    2024-10-17, 02:19 PM (This post was last modified: 2024-10-17, 02:20 PM by TheDreadPirate.)
    An example from my test instance.

    Code:
    <tvshow>
      <actor>
        <name>Mike Judge</name>
        <role>Hank Hill / Boomhauer (voice)</role>
        <type>Actor</type>
        <sortorder>2</sortorder>
        <thumb>/config/metadata/People/M/Mike Judge/folder.jpg</thumb>
      </actor>
    </tvshow>

    (2024-10-17, 07:38 AM)zelpi Wrote: Looks good, thank you. I will test it and give feedback.

    Maybe a slight change: A small gap between the thumbs ?

    You'd change the two margin lines to be however many pixels of buffer you want.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    1
    zelpi
    Offline

    Member

    Posts: 59
    Threads: 19
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #6
    2024-10-19, 07:43 PM
    After inserting the css code all went as expected. Thank you very much!
    zelpi
    Offline

    Member

    Posts: 59
    Threads: 19
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #7
    2024-10-20, 05:05 PM (This post was last modified: 2024-10-20, 05:06 PM by zelpi. Edited 1 time in total.)
    @TheDreadPirate - would you please post a css code for putting also the Special Features into a grid?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-10-20, 06:26 PM
    Special features? Can you show a screenshot of what you want in a grid?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    zelpi
    Offline

    Member

    Posts: 59
    Threads: 19
    Joined: 2024 Oct
    Reputation: 0
    Country:Germany
    #9
    2024-10-20, 07:23 PM
    When a movie has more than 4 or 5 clips as bonus material, you have to scroll horizontally.

    You see this for example in this video at 3:05.
    https://www.youtube.com/watch?v=mn18xFVXogc

    With a grid, that would not be necessary any more.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-10-20, 08:55 PM
    Code:
    #specialsContent {
        flex-wrap: wrap;
    }
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 3 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode