1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Guest, due to a lack of interest, playerbase, and general desire to continue, PO will hereby cease our separate tiering and adopt Smogon tiers for SM. More information and updates here.

    Dismiss Notice

[Themes] What is the QT CSS lines that effect the format of the 3 checkboxes in battle inside default.css?

Discussion in 'Arts and Graphics' started by Nightfall Alicorn, Apr 29, 2015.

  1. Nightfall Alicorn

    Nightfall Alicorn Left Pokémon Online, most likely not coming back.

    Joined:
    Oct 15, 2013
    Messages:
    491
    Likes Received:
    169
    PO Trainer Name:
    Nightmare Moon
    I've been trying a few times but I can't seem to find the lines that are preventing me fully completing this theme.

    In battle there are 3 check boxes with text beside them. I'm using classic theme as a screenshot since text won't show well with dark background at the moment. What I want is either to change the text colour of the text relating to the check boxes or, if it has one, to change the colour of just the block group for all 3 while excluding the rest of the background.

    I've put red ring around the screenshot to show what I mean.

    [​IMG]
     
  2. Crystal Moogle

    Crystal Moogle Ayaya~

    Joined:
    Jul 19, 2010
    Messages:
    3,203
    Likes Received:
    524
    PO Trainer Name:
    Hanako
    What happens if you try editing the font colour of QCheckBox? If that doesn't work, then it's probably not possible
     
  3. Nightfall Alicorn

    Nightfall Alicorn Left Pokémon Online, most likely not coming back.

    Joined:
    Oct 15, 2013
    Messages:
    491
    Likes Received:
    169
    PO Trainer Name:
    Nightmare Moon
  4. Crystal Moogle

    Crystal Moogle Ayaya~

    Joined:
    Jul 19, 2010
    Messages:
    3,203
    Likes Received:
    524
    PO Trainer Name:
    Hanako
    Did you do what I asked? :v If it's possible then that should work

    And if it does work, it's just a case of finding the parent name and doing it that way. Like TeamMenu QCheckBox for the teammenu
     
  5. Nightfall Alicorn

    Nightfall Alicorn Left Pokémon Online, most likely not coming back.

    Joined:
    Oct 15, 2013
    Messages:
    491
    Likes Received:
    169
    PO Trainer Name:
    Nightmare Moon
    /* team_builder pokemon radio_button text */
    TeamMenu QRadioButton, TeamMenu QCheckBox, TeamMenu QGroupBox {

    /* team_builder > pokemon_menu > checkbox */
    TeamMenu QCheckBox::indicator:checked {
    TeamMenu QCheckBox::indicator:checked:hover {
    TeamMenu QCheckBox::indicator:pressed {


    /* clause_list and checkbox color for challenge menu */
    ChallengeDialog QCheckBox {

    This is all the qcheckboxes I could find. I think it's missing one with the prefix BaseBattleWindow but I can't seem to create it from other pieces of the css.

    I imagine it's missing something like BaseBattleWindow QCheckBox:: {

    Edit 1: I've found it somehow. I just need to figure out the properties of the qt object. I should be fine now. Thanks Crystal.

    For others being unable to find it. Here's a sample code:
    Code (CSS):
    1. BaseBattleWindow QCheckBox {
    2.      background: #888888;
    3.      background-color: #00ff00;
    4.    /* color: #00ff00; */
    5.    }
    Edit 2: Here's link to qcheckboxes properties. http://doc.qt.io/qt-5/stylesheet-examples.html#customizing-qcheckbox

    Thanks for link on your guide. @SongSing
     
    Last edited: Apr 29, 2015