Page 1 of 2 12 LastLast
Results 1 to 15 of 21

Thread: Classing Requests for Theme Creators

  1. #1
    Forum Addict Spahrep's Avatar
    Join Date
    Aug 2012
    Posts
    1,056

    Post Classing Requests for Theme Creators

    There are some areas of the html I'd really like to have classed so i can update colour when there is war. Much the same way utools does.

    There was a host of other little things like this I noticed today, but i figured i start a list.


    ---------

    1) If the "advice-messge" span could also have another class/id to signify what the message is about, it would let me style "dragon" vs "war" vs "plague" messages.
    2) Table rows on council pages
    Last edited by Spahrep; 09-07-2014 at 22:02.
    Work Safe Custom Theme: http://spahrep.github.io/
    Age 55 TFC - Faery Warrior - Triple Crown (acres,nw,honor) <Unicorn Stampede>
    Age 56 TFC - Faery Warrior <Fen of the Unicorn>
    Age 57 TFC - Elf Mystic - 1st TFC Prince :P (S) <Rarity>
    Age 58 HRS (S) - Elf Mystic <Space Truckin - Deep Purple>
    Age 59 HRS (M) / AC (M) Faery Merchant <Cantaloupe>
    Age 60 AC (council) - Human Sage <Cerulean Frost>
    Age 60b Simians - Orc Tact <Cerulean Frost Rebooted>
    Age 61 - Silly Pink Ghetto Cats - Dwarf Merchant <Starship Unicorn Express>
    Age 62 - A Ghetto - Human Sage - 1M+ nw <Cerulean Unicorn Adventure>
    Age 63 - Another Ghetto
    Daughter of the Fifth House, Holder of the Sacred Chalice of Riix, Heir to the Holy Rings of Betazed.

    -- The opinions/rants do not represent my kingdom or its affiliates, only me, and i have a lot of them.

  2. #2
    Post Fiend
    Join Date
    Sep 2008
    Location
    Michigan, USA
    Posts
    279
    Jquery Mobile for navigation menus

    There is a top nav, side navigation, and inner navigation to all contend with in regards to mobile. Be a lot more helpful if the menus were condensed by a mobile platform.

  3. #3
    Post Fiend
    Join Date
    Sep 2008
    Location
    Michigan, USA
    Posts
    279
    Put a class on each navigation menu
    Put a class on the body of each page, for instance, kingdom page would be "<body class="kingdom">" so that I could class out one page entirely different, if the colors aren't working correctly.

  4. #4
    Veteran
    Join Date
    Feb 2012
    Posts
    627
    Class on banners containers. Currently using:

    Code:
    #left-column > div:not(#content-area) {}
    #middle > div:not(#left-column):not(#right-column) {}

    Also wrapping the following three elements in a <div> with a class would be useful:

    Code:
    <table id="resource-bar"></table>
    <div class="game-header"></div>
    <div class="game-content"></div>
    Last edited by Araqiel; 10-07-2014 at 16:10.

  5. #5
    Post Fiend
    Join Date
    Sep 2008
    Location
    Michigan, USA
    Posts
    279
    In the forum:

    Above and below the pagination script, you wrap a DIV inside of a P tag, that's not kosher.

    It needs to be changed.

  6. #6
    Game Support Bishop's Avatar
    Join Date
    Jul 2008
    Posts
    21,332
    Dev request:

    Can you ask them to be very specific. Maybe a screenshot of a page with an arrow on the element they want the new class on
    otherwise it can be very difficult to pinpoint what they're after
    or alternatively a html example for a page that illustrates where they want the class added
    e.g. the first div inside #page-content
    Support email: utopiasupport@utopia-game.com <- please use this and don't just PM me| Account Deleted/Inactive | Utopia Facebook Page | #tactics <-- click to join IRC|
    PM DavidC for test server access

  7. #7
    Post Fiend
    Join Date
    Nov 2008
    Location
    South Carolina, USA
    Posts
    261
    Would be cool to have themes for occasions.. i.e. a halloween theme, holiday themes, Arbor Day theme.
    edit: thanks sabbot, I generated new thread for theme requests, this post can be deleted.
    Last edited by Goodgame; 12-07-2014 at 20:49.

  8. #8
    Forum Addict Spahrep's Avatar
    Join Date
    Aug 2012
    Posts
    1,056
    Quote Originally Posted by Goodgame View Post
    Would be cool to have themes for occasions.. i.e. a halloween theme, holiday themes, Arbor Day theme.
    This isnt a theme request thread. Its a request thread for theme makers to request developer changes.
    Work Safe Custom Theme: http://spahrep.github.io/
    Age 55 TFC - Faery Warrior - Triple Crown (acres,nw,honor) <Unicorn Stampede>
    Age 56 TFC - Faery Warrior <Fen of the Unicorn>
    Age 57 TFC - Elf Mystic - 1st TFC Prince :P (S) <Rarity>
    Age 58 HRS (S) - Elf Mystic <Space Truckin - Deep Purple>
    Age 59 HRS (M) / AC (M) Faery Merchant <Cantaloupe>
    Age 60 AC (council) - Human Sage <Cerulean Frost>
    Age 60b Simians - Orc Tact <Cerulean Frost Rebooted>
    Age 61 - Silly Pink Ghetto Cats - Dwarf Merchant <Starship Unicorn Express>
    Age 62 - A Ghetto - Human Sage - 1M+ nw <Cerulean Unicorn Adventure>
    Age 63 - Another Ghetto
    Daughter of the Fifth House, Holder of the Sacred Chalice of Riix, Heir to the Holy Rings of Betazed.

    -- The opinions/rants do not represent my kingdom or its affiliates, only me, and i have a lot of them.

  9. #9
    Post Fiend
    Join Date
    Sep 2008
    Location
    Michigan, USA
    Posts
    279
    There is a large amount of inconsistency in your code, I honestly believe you guys need to sit down and fix some things, however minor they seem. Adding classes are simply a band-aid.

    There are content pieces that need containers, pages that need a way to directly target that page, etc.

    For instance, on the Mystics page (/enchantment)........there is no way to target anything.

    1. No body class
    2. No wrapping container around the informative paragraph at the top
    3. Generic 2 Column Table that is used throughout Utopia
    4. Generic form with no identifier
    5. Generic table that isn't classed


    The only things I can target specifically on this page is the helptext span (which I assume would affect other places as well), the select box, the label, and specific links.

  10. #10
    Forum Addict Spahrep's Avatar
    Join Date
    Aug 2012
    Posts
    1,056

    <span class="advice-message">This kingdom is currently at war with infamous war agreed (<a href="/wol/game/kingdom_details/X/XX">X:XX</a>)</span>

    Can we get it so when there is 'war' this has <span class="advice-message war">

    This way i can make it very clear that a war is going on, so i don't hit into wars any more... Sorry Utopian

    Edit: <class="advice-message plague"> for having plague, and <class = "advice-message dragon gold"> for dragons. With this we can add colour/font/images for different dragons. I think that would be very cool.
    Last edited by Spahrep; 23-07-2014 at 20:56. Reason: Dragons and saying sorry.
    Work Safe Custom Theme: http://spahrep.github.io/
    Age 55 TFC - Faery Warrior - Triple Crown (acres,nw,honor) <Unicorn Stampede>
    Age 56 TFC - Faery Warrior <Fen of the Unicorn>
    Age 57 TFC - Elf Mystic - 1st TFC Prince :P (S) <Rarity>
    Age 58 HRS (S) - Elf Mystic <Space Truckin - Deep Purple>
    Age 59 HRS (M) / AC (M) Faery Merchant <Cantaloupe>
    Age 60 AC (council) - Human Sage <Cerulean Frost>
    Age 60b Simians - Orc Tact <Cerulean Frost Rebooted>
    Age 61 - Silly Pink Ghetto Cats - Dwarf Merchant <Starship Unicorn Express>
    Age 62 - A Ghetto - Human Sage - 1M+ nw <Cerulean Unicorn Adventure>
    Age 63 - Another Ghetto
    Daughter of the Fifth House, Holder of the Sacred Chalice of Riix, Heir to the Holy Rings of Betazed.

    -- The opinions/rants do not represent my kingdom or its affiliates, only me, and i have a lot of them.

  11. #11
    Regular Keller*'s Avatar
    Join Date
    Nov 2009
    Location
    Upstate NY USA
    Posts
    92
    Hey look I'm in that picture

    We'll link this thread to him.
    === SHOWTIME ===

  12. #12
    Forum Addict Spahrep's Avatar
    Join Date
    Aug 2012
    Posts
    1,056


    All of the circled elements need divs with classes applied also.

    This is true on all the 'council' pages.
    Work Safe Custom Theme: http://spahrep.github.io/
    Age 55 TFC - Faery Warrior - Triple Crown (acres,nw,honor) <Unicorn Stampede>
    Age 56 TFC - Faery Warrior <Fen of the Unicorn>
    Age 57 TFC - Elf Mystic - 1st TFC Prince :P (S) <Rarity>
    Age 58 HRS (S) - Elf Mystic <Space Truckin - Deep Purple>
    Age 59 HRS (M) / AC (M) Faery Merchant <Cantaloupe>
    Age 60 AC (council) - Human Sage <Cerulean Frost>
    Age 60b Simians - Orc Tact <Cerulean Frost Rebooted>
    Age 61 - Silly Pink Ghetto Cats - Dwarf Merchant <Starship Unicorn Express>
    Age 62 - A Ghetto - Human Sage - 1M+ nw <Cerulean Unicorn Adventure>
    Age 63 - Another Ghetto
    Daughter of the Fifth House, Holder of the Sacred Chalice of Riix, Heir to the Holy Rings of Betazed.

    -- The opinions/rants do not represent my kingdom or its affiliates, only me, and i have a lot of them.

  13. #13
    Member
    Join Date
    Dec 2013
    Location
    Philly. PA
    Posts
    44
    Why classes? You can apply styles like this:

    /*Barren land*/
    #council-internal-build-effects tbody tr:nth-child(rowNumber) > th

    /*Quantity */
    #council-internal-build-effects tbody tr:nth-child(rowNumber) > td:first-child

    /* % of Total */
    #council-internal-build-effects tbody tr:nth-child(rowNumber) > td:nth-child(2)

    /* Current Effects */
    #council-internal-build-effects thead tr th:nth-child([1-4])


    replace rowNumber with whichever one your after, I believe it is 1-based index.

    I haven't tested them, but they should work or be close enough to the actual.

    See http://www.w3schools.com/cssref/sel_nth-child.asp

  14. #14
    Game Support Bishop's Avatar
    Join Date
    Jul 2008
    Posts
    21,332
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />

    ^^ whoever asked for that it should be live now.
    Support email: utopiasupport@utopia-game.com <- please use this and don't just PM me| Account Deleted/Inactive | Utopia Facebook Page | #tactics <-- click to join IRC|
    PM DavidC for test server access

  15. #15
    Post Fiend
    Join Date
    Sep 2008
    Location
    Michigan, USA
    Posts
    279
    Well that changes a lot of things......errr

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •