awtk/demos/assets/raw/styles/default.xml
2018-10-04 18:48:07 +08:00

397 lines
12 KiB
XML

<window>
<style name="default">
<normal bg_color="#f0f0f0"/>
</style>
<style name="dark">
<normal bg_color="#664d74"/>
</style>
<style name="bricks">
<normal bg_image="bricks" bg_image_draw_type="repeat"/>
</style>
<style name="sky">
<normal bg_image="bg800x480"/>
</style>
</window>
<calibration_win>
<style name="default" fg_color="black" text_color="black">
<normal bg_color="#f0f0f0"/>
</style>
</calibration_win>
<popup>
<style name="default" border_color="#a0a0a0">
<normal bg_color="#f0f0f0"/>
</style>
</popup>
<button>
<style name="default" border_color="#a0a0a0" text_color="black">
<normal bg_color="#f0f0f0" />
<pressed bg_color="#c0c0c0" />
<over bg_color="#e0e0e0" />
<disable bg_color="gray" text_color="#d0d0d0" />
</style>
<style name="combobox_down" border_color="#a0a0a0">
<normal bg_color="#f0f0f0" icon="arrow_down_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_down_p"/>
<over bg_color="#e0e0e0" icon="arrow_down_o"/>
</style>
<style name="spinbox_down" border_color="#a0a0a0">
<normal bg_color="#f0f0f0" icon="arrow_down_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_down_p"/>
<over bg_color="#e0e0e0" icon="arrow_down_o"/>
</style>
<style name="spinbox_up" border_color="#a0a0a0">
<normal bg_color="#f0f0f0" icon="arrow_up_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_up_p"/>
<over bg_color="#e0e0e0" icon="arrow_up_o"/>
</style>
<style name="spinbox_left" border_color="#a0a0a0">
<normal bg_color="#f0f0f0" icon="arrow_left_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_left_p"/>
<over bg_color="#e0e0e0" icon="arrow_left_o"/>
</style>
<style name="spinbox_right" border_color="#a0a0a0">
<normal bg_color="#f0f0f0" icon="arrow_right_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_right_p"/>
<over bg_color="#e0e0e0" icon="arrow_right_o"/>
</style>
<style name="edit_clear">
<normal icon="edit_clear_n"/>
<pressed icon="edit_clear_p"/>
<over icon="edit_clear_o"/>
</style>
<style name="grid_item" border_color="#a0a0a0" text_color="black">
<pressed bg_color="#c0c0c0" />
</style>
<style name="scroll_down" border_color="#a0a0a0">
<normal bg_color="#f0f0f0" icon="arrow_down_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_down_p"/>
<over bg_color="#e0e0e0" icon="arrow_down_o"/>
</style>
<style name="scroll_up" border_color="#a0a0a0">
<normal bg_color="#f0f0f0" icon="arrow_up_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_up_p"/>
<over bg_color="#e0e0e0" icon="arrow_up_o"/>
</style>
<style name="scroll_left" border_color="#a0a0a0">
<normal bg_color="#f0f0f0" icon="arrow_left_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_left_p"/>
<over bg_color="#e0e0e0" icon="arrow_left_o"/>
</style>
<style name="scroll_right" border_color="#a0a0a0">
<normal bg_color="#f0f0f0" icon="arrow_right_n"/>
<pressed bg_color="#c0c0c0" icon="arrow_right_p"/>
<over bg_color="#e0e0e0" icon="arrow_right_o"/>
</style>
</button>
<edit>
<style name="default" border_color="#a0a0a0" text_color="black" text_align_h="left">
<normal bg_color="#f0f0f0" />
<focused bg_color="#f0f0f0" border_color="black"/>
<disable bg_color="gray" text_color="#d0d0d0" />
<error bg_color="#f0f0f0" text_color="red" />
<empty bg_color="#f0f0f0" text_color="#a0a0a0" />
</style>
<style name="line" border="bottom" border_color="#a0a0a0" text_color="black" text_align_h="left" text_align_v="bottom">
<normal bg_color="#f0f0f0" />
<focused bg_color="#f0f0f0" border_color="black"/>
<disable bg_color="gray" text_color="#d0d0d0" />
<error bg_color="#f0f0f0" text_color="red" />
<empty bg_color="#f0f0f0" text_color="#a0a0a0" />
</style>
</edit>
<spin_box>
<style name="default" border_color="#a0a0a0" text_color="black" text_align_h="left">
<normal bg_color="#f0f0f0" />
<focused bg_color="#f0f0f0" border_color="black"/>
<disable bg_color="gray" text_color="#d0d0d0" />
<error bg_color="#f0f0f0" text_color="red" />
<empty bg_color="#f0f0f0" text_color="#a0a0a0" />
</style>
</spin_box>
<label>
<style name="default">
<normal text_color="black" />
</style>
<style name="green">
<normal text_color="green" />
</style>
<style name="left">
<normal text_color="red" text_align_h="left" border_color="#a0a0a0" margin="4" />
</style>
<style name="center">
<normal text_color="green" text_align_h="center" border_color="#a0a0a0"/>
</style>
<style name="right">
<normal text_color="blue" text_align_h="right" border_color="#a0a0a0" margin="4"/>
</style>
<style name="center_ap">
<normal text_color="green" text_align_h="center" border_color="#a0a0a0" font_name="ap" font_size="12"/>
</style>
<style name="big_green">
<normal text_color="green" font_size="24" text_align_h="center" border_color="#a0a0a0"/>
</style>
</label>
<progress_bar>
<style>
<normal bg_color="#f0f0f0" text_color="gold" fg_color="#c0c0c0" border_color="#a0a0a0" />
</style>
<style name="img" bg_image="slider_bg" fg_image="slider_fg">
<normal icon="slider_drag"/>
</style>
<style name="img_v" bg_image="slider_v_bg" fg_image="slider_v_fg" bg_image_draw_type="patch3_y" fg_image_draw_type="patch3_y">
<normal icon="slider_drag"/>
</style>
</progress_bar>
<slider>
<style>
<normal bg_color="#a0a0a0" fg_color="blue" border_color="#ffd700"/>
<pressed bg_color="#a0a0a0" fg_color="blue" border_color="#ffa700"/>
<over bg_color="#a0a0a0" fg_color="blue" border_color="#ffe700"/>
</style>
<style name="img" bg_image="slider_bg" fg_image="slider_fg">
<normal icon="slider_drag"/>
<pressed icon="slider_drag_p"/>
<over icon="slider_drag_o"/>
</style>
<style name="img_v" bg_image="slider_v_bg" fg_image="slider_v_fg" bg_image_draw_type="patch3_y" fg_image_draw_type="patch3_y">
<normal icon="slider_drag"/>
<pressed icon="slider_drag_p"/>
<over icon="slider_drag_o"/>
</style>
</slider>
<group_box>
<style>
<normal />
</style>
<style name="box">
<normal bg_color="#f0f0f0" border_color="#a0a0a0" />
</style>
</group_box>
<check_button bg_color="#f0f0f0" text_color="black">
<style name="default">
<checked icon="checked" />
<unchecked icon="unchecked" />
</style>
<style name="mute" >
<checked icon="unmuted" />
<unchecked icon="muted" />
</style>
<style name="odd_icon_right" text_color="black" margin="4">
<checked bg_color="#f5f5f5" icon_at="right" icon="check" />
<unchecked bg_color="#f5f5f5" icon_at="right" />
</style>
<style name="even_icon_right" text_color="black" margin="4">
<checked bg_color="#eaeaea" icon_at="right" icon="check" />
<unchecked bg_color="#eaeaea" icon_at="right" />
</style>
</check_button>
<radio_button>
<style name="default" bg_color="#f0f0f0" text_color="black">
<checked icon="radio_checked" />
<unchecked icon="radio_unchecked" />
</style>
<style name="left">
<checked icon="left_on" />
<unchecked icon="left_off" />
</style>
<style name="middle">
<checked icon="middle_on" />
<unchecked icon="middle_off" />
</style>
<style name="right">
<checked icon="right_on" />
<unchecked icon="right_off" />
</style>
<style name="odd_icon_right" text_color="black" margin="4">
<checked bg_color="#f5f5f5" icon_at="right" icon="check" />
<unchecked bg_color="#f5f5f5" icon_at="right" />
</style>
<style name="even_icon_right" text_color="black" margin="4">
<checked bg_color="#eaeaea" icon_at="right" icon="check" />
<unchecked bg_color="#eaeaea" icon_at="right" />
</style>
</radio_button>
<image>
<style name="border">
<normal border_color="#000000" bg_color="#e0e0e0" text_color="black"/>
</style>
<style name="selectable">
<normal text_color="black"/>
<pressed border_color="#000000" bg_color="#e0e0e0" text_color="black"/>
<selected icon="check" border_color="#000000" bg_color="#e0e0e0" text_color="black"/>
</style>
</image>
<dialog>
<style name="default">
<normal border_color="#606060" />
</style>
</dialog>
<dialog_title icon="info" text_color="black">
<style name="default">
<normal bg_color="#a9a9a0" />
</style>
</dialog_title>
<dialog_title>
<style name="empty">
<normal bg_color="#a9a9a0" />
</style>
</dialog_title>
<dialog_client>
<style name="default">
<normal bg_color="#ededed" />
</style>
</dialog_client>
<scroll_bar>
<style name="default">
<normal bg_color="#c0c0c0" fg_color="#808080"/>
<over bg_color="#c0c0c0" fg_color="#808080"/>
<pressed bg_color="#c0c0c0" fg_color="#808080"/>
</style>
<style name="destkop" border_color="gray">
<normal bg_color="#f0f0f0"/>
<over bg_color="#f0f0f0" />
<pressed bg_color="#f0f0f0" />
</style>
</scroll_bar>
<dragger>
<style name="scroll_bar" >
<normal bg_color="#d0d0d0" />
<pressed bg_color="#c0c0c0" />
<over bg_color="#c0c0c0" />
</style>
</dragger>
<list_item>
<style name="default" border_color="#a0a0a0" border="bottom" text_color="black">
<normal bg_color="#f0f0f0" />
<pressed bg_color="#c0c0c0" />
<over bg_color="#f0f0f0" />
</style>
<style name="odd_clickable" border_color="#a0a0a0" border="bottom" text_color="black">
<normal bg_color="#f5f5f5" />
<pressed bg_color="#c0c0c0" />
<over bg_color="#f5f5f5" />
</style>
<style name="even_clickable" border_color="#a0a0a0" border="bottom" text_color="black">
<normal bg_color="#eaeaea" />
<pressed bg_color="#c0c0c0" />
<over bg_color="#eaeaea" />
</style>
<style name="odd" border_color="#a0a0a0" border="bottom" text_color="black">
<normal bg_color="#f5f5f5" />
<pressed bg_color="#f5f5f5" />
<over bg_color="#f5f5f5" />
</style>
<style name="even" border_color="#a0a0a0" border="bottom" text_color="black">
<normal bg_color="#eaeaea" />
<pressed bg_color="#eaeaea" />
<over bg_color="#eaeaea" />
</style>
<style name="empty" >
<normal />
<pressed />
<over />
</style>
</list_item>
<tab_button>
<style name="default" border_color="#a0a0a0" text_color="black">
<normal bg_color="#d0d0d0" />
<pressed bg_color="#f0f0f0" />
<over bg_color="#e0e0e0" />
</style>
<style name="default_active" border_color="#a0a0a0" text_color="black">
<normal bg_color="#f0f0f0" />
<pressed bg_color="#f0f0f0" />
<over bg_color="#f0f0f0" />
</style>
</tab_button>
<tab_button_group>
<style name="default">
<normal/>
</style>
</tab_button_group>
<combo_box>
<style name="default" border_color="#a0a0a0" text_color="black" text_align_h="left">
<normal bg_color="#f0f0f0" />
<focused bg_color="#f0f0f0" border_color="black"/>
<disable bg_color="gray" text_color="#d0d0d0" />
<error bg_color="#f0f0f0" text_color="red" />
<empty bg_color="#f0f0f0" text_color="#a0a0a0" />
</style>
</combo_box>
<combo_box_item>
<style name="default" icon_at="left" text_color="black" bg_color="#f0f0f0" icon="empty">
<normal />
<pressed bg_color="#1296db" text_color="white" />
<over bg_color="#1296db" text_color="white" />
</style>
<style name="default_selected" icon_at="left" text_color="black" bg_color="#f0f0f0" icon="check">
<normal />
<pressed bg_color="#1296db" text_color="white" />
<over bg_color="#1296db" text_color="white" />
</style>
</combo_box_item>
<text_selector>
<style name="default" fg_color="#a0a0a0" text_color="black" text_align_h="center">
<normal bg_color="#f0f0f0" />
</style>
</text_selector>
<switch>
<style name="default">
<normal bg_image="switch" />
</style>
<style name="color" fg_color="#f0f0f0" bg_color="4ed164" text_color="black">
<normal />
</style>
</switch>