themes cleanup, ui improvements
This commit is contained in:
@@ -2,14 +2,14 @@
|
||||
<include src="wlx_theme.xml" />
|
||||
|
||||
<template name="TopButton">
|
||||
<rectangle id="~id" color="~bg_color" padding="8" round="50%">
|
||||
<sprite color="~device_color" width="48" height="48" src="${src}" />
|
||||
<rectangle id="~id" color="~color_bg" padding="8" round="50%">
|
||||
<sprite width="48" height="48" src="${src}" />
|
||||
</rectangle>
|
||||
</template>
|
||||
|
||||
<elements>
|
||||
<div box_sizing="content_box" flex_direction="column" justify_content="center">
|
||||
<rectangle padding="10" gap="8" round="100%" color="~bg_color" justify_content="center">
|
||||
<rectangle padding="10" gap="8" round="100%" color="~color_bg" justify_content="center">
|
||||
<TopButton id="lock" src="bar/lock_open.svg" />
|
||||
<TopButton id="anchor" src="bar/anchor.svg" />
|
||||
<TopButton id="mouse" src="bar/mouse.svg" />
|
||||
@@ -19,7 +19,7 @@
|
||||
<TopButton id="inout" src="bar/inout.svg" />
|
||||
<TopButton id="delete" src="bar/delete.svg" />
|
||||
</rectangle>
|
||||
<rectangle padding="8" gap="8" round="100%" color="~bg_color_active" justify_content="center" align_items="center">
|
||||
<rectangle padding="8" gap="8" round="100%" color="~color_bg_active" justify_content="center" align_items="center">
|
||||
<label size="18" translation="BAR.OPACITY" color="~text_color" />
|
||||
<Slider width="150" height="24" min_value="0" max_value="100" value="100" />
|
||||
<CheckBox translation="BAR.ADDITIVE" color="~text_color" />
|
||||
|
||||
Reference in New Issue
Block a user