forked from mirrors/0ad
d88db989a0
Post f78d3ddf71, chat uses a list, which has natively a larger interline
space.
This introduces a new style to revert to A23-like interline, making chat
denser and better looking.
Patch By: nani
Reviewed By: wraitii
Differential Revision: https://code.wildfiregames.com/D3533
This was SVN commit r24846.
130 lines
2.6 KiB
XML
130 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<styles>
|
|
|
|
<!--
|
|
==========================================
|
|
MENU TEXT STYLES
|
|
==========================================
|
|
-->
|
|
|
|
<style name="TitleText"
|
|
font="sans-bold-stroke-14"
|
|
textcolor="white"
|
|
text_align="center"
|
|
text_valign="center"
|
|
/>
|
|
|
|
<style name="LargeTitleText"
|
|
font="sans-bold-24"
|
|
textcolor="white"
|
|
text_align="center"
|
|
text_valign="center"
|
|
/>
|
|
|
|
<style name="MediumTitleText"
|
|
font="sans-bold-12"
|
|
textcolor="white"
|
|
text_align="center"
|
|
text_valign="center"
|
|
/>
|
|
|
|
<!--
|
|
==========================================
|
|
MENU WINDOW STYLES
|
|
==========================================
|
|
-->
|
|
|
|
<style name="TranslucentPanel"
|
|
sprite="BackgroundTranslucent"
|
|
buffer_zone="10"
|
|
font="sans-bold-stroke-14"
|
|
textcolor="white"
|
|
text_align="left"
|
|
text_valign="top"
|
|
/>
|
|
|
|
<style name="TranslucentPanelThinBorder"
|
|
sprite="TranslucentPanelThinBorder"
|
|
/>
|
|
|
|
<style name="StonePanelThinBorder"
|
|
sprite="StonePanelThinBorder"
|
|
/>
|
|
|
|
<!--
|
|
==========================================
|
|
MENU CONTROL ELEMENT STYLES
|
|
==========================================
|
|
-->
|
|
|
|
<style name="StoneButtonFancy"
|
|
sprite="StoneButton"
|
|
sprite_disabled="StoneButtonDisabled"
|
|
sprite_over="StoneButtonFancyOver"
|
|
sprite_pressed="StoneButtonFancyGlow"
|
|
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="StoneButton"
|
|
sprite="StoneButton"
|
|
sprite_disabled="StoneButtonDisabled"
|
|
sprite_over="StoneButtonOver"
|
|
sprite_pressed="StoneButtonGlow"
|
|
font="sans-bold-stroke-14"
|
|
textcolor="white"
|
|
text_align="center"
|
|
text_valign="center"
|
|
sound_pressed="audio/interface/ui/ui_button_click.ogg"
|
|
/>
|
|
|
|
<style name="MapPlayerList"
|
|
buffer_zone="8"
|
|
font="sans-14"
|
|
scrollbar="true"
|
|
scrollbar_style="ModernScrollBar"
|
|
scroll_bottom="false"
|
|
textcolor="white"
|
|
text_align="left"
|
|
text_valign="top"
|
|
/>
|
|
|
|
<style name="ChatPanel"
|
|
buffer_zone="5"
|
|
font="sans-13"
|
|
scrollbar="true"
|
|
scrollbar_style="ModernScrollBar"
|
|
scroll_bottom="true"
|
|
textcolor="white"
|
|
text_align="left"
|
|
/>
|
|
|
|
<style name="ChatPanelList"
|
|
buffer_zone="2"
|
|
font="sans-13"
|
|
scrollbar="true"
|
|
scrollbar_style="ModernScrollBar"
|
|
scroll_bottom="true"
|
|
textcolor="white"
|
|
text_align="left"
|
|
/>
|
|
|
|
<style name="TutorialPanel"
|
|
buffer_zone="8"
|
|
font="sans-bold-14"
|
|
scrollbar="true"
|
|
scrollbar_style="ModernScrollBar"
|
|
scroll_bottom="true"
|
|
textcolor="white"
|
|
text_align="left"
|
|
text_valign="center"
|
|
sprite="ModernDarkBoxGold"
|
|
/>
|
|
|
|
</styles>
|