Files
0ad/binaries/data/mods/mod/gui/common/modern/styles.xml
T
elexis 31a2dd294e Fix top panel being hidden during pause mode following 702cdbf0c7 / D2292 reported by Freagarach, ValihrAnt, Krinkle et al.
Remove the false misleading default.cfg z value that is always
overwritten by CGUI::Xeromyces_ReadObject, both introduced in
e21ebb37f5.
Remove multiline property since its redundant with the default C++
boolean, making the default style more agnostic of final GUI Object
classes.

Close advanced locale dialog correctly upon cancel following 86c151ebaa
/ D1684.
Don't switch the background image when closing the credits dialog
following bcf2c75513, refs #3744.

This was SVN commit r22966.
2019-09-22 10:51:08 +00:00

192 lines
5.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<styles>
<!--
==========================================
- DEFAULT STYLE: The style with the name 'default' is special, it will
- be called by every object before any other style is loaded.
==========================================
Note that the default z value is determined by GUI engine regardless of what is specified here.
-->
<style name="default"
absolute="false"
enabled="true"
ghost="false"
hidden="false"
size="0 0 100% 100%"
font="sans-14"
buffer_zone="5"
/>
<style name="ModernWindow"
sprite="ModernWindow"
/>
<style name="ModernDialog"
sprite="ModernDialog"
/>
<style name="ModernList"
buffer_zone="5"
font="sans-bold-stroke-14"
scrollbar="true"
scrollbar_style="ModernScrollBar"
sprite="ModernDarkBoxGoldNoTop"
sprite_selectarea="ModernDarkBoxWhite"
sprite_heading="ModernDarkBoxGoldNoBottom"
textcolor="white"
textcolor_selected="white"
text_align="left"
sound_selected="audio/interface/ui/ui_button_click.ogg"
/>
<style name="ModernSortedList"
buffer_zone="5"
font="sans-bold-stroke-14"
scrollbar="true"
scrollbar_style="ModernScrollBar"
sprite="ModernDarkBoxGoldNoTop"
sprite_selectarea="ModernDarkBoxWhite"
sprite_heading="ModernDarkBoxGoldNoBottom"
sprite_asc="ModernArrowUp"
sprite_desc="ModernArrowDown"
sprite_not_sorted="ModernNotSorted"
textcolor="white"
textcolor_selected="white"
text_align="left"
sound_selected="audio/interface/ui/ui_button_click.ogg"
/>
<style name="ModernDropDown"
dropdown_buffer="1"
font="sans-bold-14"
textcolor="white"
text_align="left"
text_valign="center"
button_width="16"
sprite="ModernDarkBoxGold"
sprite_disabled="ModernDarkBoxGoldDisabled"
sprite2="ModernDropDownArrow"
sprite2_disabled="ModernDropDownArrowDisabled"
sprite2_pressed="ModernDropDownArrowHighlight"
buffer_zone="8"
dropdown_size="225"
minimum_visible_items="3"
sprite_list="BlackBorderOnGray"
sprite_selectarea="ModernDarkBoxWhite"
textcolor_selected="white"
textcolor_disabled="140 140 140 255"
scrollbar="true"
scrollbar_style="ModernScrollBar"
sound_opened="audio/interface/ui/ui_button_click.ogg"
sound_closed="audio/interface/ui/ui_button_click.ogg"
sound_selected="audio/interface/ui/ui_button_click.ogg"
/>
<style name="ModernLabelText"
font="sans-bold-stroke-14"
textcolor="white"
textcolor_disabled="140 140 140 255"
text_align="center"
text_valign="center"
/>
<style name="ModernRightLabelText"
font="sans-bold-stroke-14"
textcolor="white"
textcolor_disabled="140 140 140 255"
text_align="right"
text_valign="center"
/>
<style name="ModernLeftLabelText"
font="sans-bold-stroke-14"
textcolor="white"
textcolor_disabled="140 140 140 255"
text_align="left"
text_valign="center"
/>
<style name="ModernTopLabelText"
font="sans-bold-stroke-14"
textcolor="white"
text_align="center"
text_valign="top"
/>
<style name="ModernLeftTopLabelText"
font="sans-bold-stroke-14"
textcolor="white"
text_align="left"
text_valign="top"
/>
<style name="ModernText"
font="sans-14"
textcolor="white"
text_align="left"
text_valign="top"
scrollbar="true"
scrollbar_style="ModernScrollBar"
/>
<style name="ModernTextPanel"
buffer_zone="8"
scrollbar="true"
scrollbar_style="ModernScrollBar"
textcolor="white"
text_align="left"
text_valign="center"
sprite="ModernDarkBoxGold"
/>
<style name="ModernInput"
sprite="ModernDarkBoxWhite"
sprite_selectarea="color:150 0 0"
textcolor="white"
textcolor_selected="white"
/>
<style name="ModernTickBox"
sprite="ModernTickOff"
sprite2="ModernTickOn"
sprite_disabled="ModernTickDisabledOff"
sprite2_disabled="ModernTickDisabledOn"
sound_pressed="audio/interface/ui/ui_button_click.ogg"
/>
<style name="ModernSlider"
sprite="ModernSliderButton"
sprite_bar="ModernSliderLine"
button_width="20"
tooltip_style="sliderTooltip"
/>
<style name="ModernButtonRed"
sprite="ModernButtonRed"
sprite_disabled="ModernButtonRedDisabled"
sprite_over="ModernButtonRedOver"
sprite_pressed="ModernButtonRed"
font="sans-bold-stroke-14"
textcolor="white"
textcolor_disabled="210 210 210 160"
text_align="center"
text_valign="center"
sound_pressed="audio/interface/ui/ui_button_click.ogg"
/>
<style name="ModernProgressBarBackground"
sprite="ModernProgressBarBackground"
/>
<style name="ModernProgressBar"
sprite_bar="ModernProgressBar"
size="3 0 100%-3 100%"
/>
<style name="ModernProgressBarText"
font="sans-stroke-14"
textcolor="white"
text_align="center"
text_valign="center"
/>
<style name="ModernTabButtonHorizontal"
sprite="ModernTabHorizontalBackground"
sound_pressed="audio/interface/ui/ui_button_click.ogg"
/>
<style name="ModernTabButtonVertical"
sprite="ModernTabVerticalBackground"
sound_pressed="audio/interface/ui/ui_button_click.ogg"
/>
<style name="ModernChart"
axis_color="209 174 132 255"
axis_width="2"
buffer_zone="4"
font="sans-stroke-14"
format_x="DECIMAL2"
format_y="DECIMAL2"
text_align="left"
/>
</styles>