[MOD] Nova2 Colors in Rank Selectboxes
16 posts
• Page 1 of 2 • 1, 2
[MOD] Nova2 Colors in Rank Selectboxes
It always drove me crazy that I need to manually try out the different ranks in the selectboxes when creating and updating a character.To solve that, I created a very very small mod that adds a background color to the rank selectboxes.
Please note that the mod folder has "titan" for the template, but it works in ANY template. Just follow the instructions in the readme file and put the css in your template.
You can also add more styles/colors and change the color definitions in the css file. Again, read the README, it's all there.
The mod is here: https://github.com/mooeypoo/Nova2-Mod-- ... nk-Selects
If you have any special requests, or if it doesn't fit your ranksets, please let me know here or in the issues. If I see there's a big demand for this, I'll transform it to a big more robust mod that works with the rankset control panel in the back end rather than the somewhat cheater'y fix I made with reading the first letter of the rank images.
Enjoy it!
~mooey
Find my Nova MODs: https://github.com/mooeypoo
Re: [MOD] Nova2 Colors in Rank Selectboxes
Hi Mooey,Just tried this mod on the Ship 2 skin and had no luck

Any ideas since the admin/css folder didnt have a admin.css file.
-
-
Posts: 33
Re: [MOD] Nova2 Colors in Rank Selectboxes
The contents of admin.css should go into SOME active css file in your template, in the admin section. Can you tell me the list of css files in the views/[template]/admin/css folder?Find my Nova MODs: https://github.com/mooeypoo
Re: [MOD] Nova2 Colors in Rank Selectboxes
Any news, Timor? I can help, but I need to know which CSS files there are in your template....?Find my Nova MODs: https://github.com/mooeypoo
Re: [MOD] Nova2 Colors in Rank Selectboxes
Sorry must not have selected the ticky box for replies.The CSS Files are as follows:
admin.css
jquery.chosen.css
jquery.ui.tabs.css
jquery.ui.theme.css
main.css
skin.css
structure.css
Not sure if it is worth mentioning but the skin I am using the Ship 2 located in this topic here >> viewtopic.php?f=61&t=3478
-
-
Posts: 33
Re: [MOD] Nova2 Colors in Rank Selectboxes
Okay I took a look at the template.Go to "skin.css". Go all the way to the bottom. Paste ths in:
- Code: Select all
.modsel_r { background-color: #910b0b; color: #ffffff; }
.modsel_y { background-color: #e0ca06; color: #000000; }
.modsel_g { background-color: #eacf00; color: #000000; }
.modsel_t { background-color: #107772; color: #ffffff; }
.modsel_s { background-color: #bcbcbc; color: #000000; }
.modsel_v { background-color: #B116C3; color: #ffffff; }
.modsel_g { background-color: #045700; color: #ffffff; }
.modsel_c { background-color: #246EBE; color: #000000; }
.modsel_w { background-color: #ffffff; color: #000000; }
That's the contents of the css in the mod.
This should work.
~mooey
Find my Nova MODs: https://github.com/mooeypoo
Re: [MOD] Nova2 Colors in Rank Selectboxes
Thanks Mooey, your awesome!! *big hugs*-
-
Posts: 33
Re: [MOD] Nova2 Colors in Rank Selectboxes

Find my Nova MODs: https://github.com/mooeypoo
Re: [MOD] Nova2 Colors in Rank Selectboxes
I used an @import in the main.css file ...Thank you for helping,
Jamey
Jamey
-
-
Posts: 16
Re: [MOD] Nova2 Colors in Rank Selectboxes
That works too
In general, the css code needs to be in the main portion of the site, so either add it to an active css page or add the admin.css file and add an @import.
~mooey
Find my Nova MODs: https://github.com/mooeypoo
Re: [MOD] Nova2 Colors in Rank Selectboxes
I did both of those fixes for the Ship 2 skin and couldn't get it. I then tried it in Karma Sinclair's skin based on the Titan 1 skin. Couldn't get it to work on either of those either. Any ideas what I'm doing wrong?LadyBird
http://xtras.anodyne-productions.com/profile/LadyBird
FruitLoop
Owner,
Sci-Fi Avatars
http://scfiavatars.com
http://scifiavatars.net
http://stavatars.com
http://stavatars.net
http://xtras.anodyne-productions.com/profile/LadyBird
FruitLoop
Owner,
Sci-Fi Avatars
http://scfiavatars.com
http://scifiavatars.net
http://stavatars.com
http://stavatars.net
Re: [MOD] Nova2 Colors in Rank Selectboxes
I've done the @import and it didn't work. I then added this to the bottom of the skin.css file for both admin and main sections and it still didn't work. What do I try next?/*
|---------------------------------------------------------------
| Rank Select Boxes
|---------------------------------------------------------------
*/
.modsel_r { background-color: #910b0b; color: #ffffff; }
.modsel_y { background-color: #e0ca06; color: #000000; }
.modsel_g { background-color: #eacf00; color: #000000; }
.modsel_t { background-color: #107772; color: #ffffff; }
.modsel_s { background-color: #bcbcbc; color: #000000; }
.modsel_v { background-color: #B116C3; color: #ffffff; }
.modsel_g { background-color: #045700; color: #ffffff; }
.modsel_c { background-color: #246EBE; color: #000000; }
.modsel_w { background-color: #ffffff; color: #000000; }
LadyBird
http://xtras.anodyne-productions.com/profile/LadyBird
FruitLoop
Owner,
Sci-Fi Avatars
http://scfiavatars.com
http://scifiavatars.net
http://stavatars.com
http://stavatars.net
http://xtras.anodyne-productions.com/profile/LadyBird
FruitLoop
Owner,
Sci-Fi Avatars
http://scfiavatars.com
http://scifiavatars.net
http://stavatars.com
http://stavatars.net
Re: [MOD] Nova2 Colors in Rank Selectboxes
Nevermind, I put the admin.css in the main section and it worked.LadyBird
http://xtras.anodyne-productions.com/profile/LadyBird
FruitLoop
Owner,
Sci-Fi Avatars
http://scfiavatars.com
http://scifiavatars.net
http://stavatars.com
http://stavatars.net
http://xtras.anodyne-productions.com/profile/LadyBird
FruitLoop
Owner,
Sci-Fi Avatars
http://scfiavatars.com
http://scifiavatars.net
http://stavatars.com
http://stavatars.net
Re: [MOD] Nova2 Colors in Rank Selectboxes
I need to add more colors to the rank select boxes such as Klingon, Romulan, and Cardassian. Any idea how I could do that?LadyBird
http://xtras.anodyne-productions.com/profile/LadyBird
FruitLoop
Owner,
Sci-Fi Avatars
http://scfiavatars.com
http://scifiavatars.net
http://stavatars.com
http://stavatars.net
http://xtras.anodyne-productions.com/profile/LadyBird
FruitLoop
Owner,
Sci-Fi Avatars
http://scfiavatars.com
http://scifiavatars.net
http://stavatars.com
http://stavatars.net
Re: [MOD] Nova2 Colors in Rank Selectboxes
Yep, you can edit the CSS file:https://github.com/mooeypoo/Nova2-Mod-- ... /admin.css
Just add whatever color shortcut that you use for the rank type. For instance, if you ahve something like "lt-x" rank type (x being the color, and for now can only be 1 character long) then you add:
- Code: Select all
.modsel_x { background-color: #000000; color: #cccccc; }
The CSS classes are determined by the image name (as the image ranks are produced now, including their colors in the filename) so just make sure whatever color shortcut you use is set in the image.
~mooey
Find my Nova MODs: https://github.com/mooeypoo
16 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest