Skip to content

Instantly share code, notes, and snippets.

@aldrik
Last active August 29, 2015 14:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aldrik/4bc8efefcc926dde85dc to your computer and use it in GitHub Desktop.
Save aldrik/4bc8efefcc926dde85dc to your computer and use it in GitHub Desktop.
Planetary Annihlation UI tweaks
#control_group_bar {
bottom: -30px !important;
}
.div_unit_selection_cont {
bottom: 30px !important;
}
.pip.bottom_right,
.div_game_menu {
bottom: 31px !important;
}
.div_build_bar_cont,
.bottom_show_unit_group_controls {
bottom: 0px !important;
}
/* Remove type selection buttons (to make room for idle alerts) */
.div_implicit_group_cont:not(.idle_groups) {
display: none;
}
/* Position idle alerts over main bar (to prevent overlapping selected units) */
.div_implicit_group_cont.idle_groups {
bottom: 30px !important;
border: none !important;
}
/* Position type filters at the bottom */
.wrapper {
flex-direction: column-reverse !important;
margin-bottom: -11px !important;
}
.summary_bar {
border-top: 1px solid #002A3D;;
border-bottom: none !important;
}
/* Remove scroll bar */
.div_unit_list {
max-height: none !important;
max-width: 218px !important;
margin-bottom: -20px;
}
/* Remove the remove from selection buttons (use right click instead) */
.close.btn_win {
display: none !important;
}
var scene_mod_list = {
'live_game': [
"coui://ui/mods/hideControlGroupBar.css"
],
'live_game_selection': [
"coui://ui/mods/selection.css"
],
'live_game_control_group_bar': [
"coui://ui/mods/idel_only.css"
],
// ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment