From 3c40055e2ef3f5a86e479615160119f78c0101a2 Mon Sep 17 00:00:00 2001 From: Ralf Zerres Date: Sun, 28 Feb 2021 19:26:54 +0100 Subject: [PATCH] theming: update default_dark Signed-off-by: Ralf Zerres --- .../assets/advotracker/default_dark.ron | 233 ++++++++++++++---- 1 file changed, 183 insertions(+), 50 deletions(-) diff --git a/advotracker/assets/advotracker/default_dark.ron b/advotracker/assets/advotracker/default_dark.ron index bcaa12c..ac65322 100644 --- a/advotracker/assets/advotracker/default_dark.ron +++ b/advotracker/assets/advotracker/default_dark.ron @@ -1,54 +1,187 @@ Theme ( styles: { - "button_menu": ( - base: "button", - properties: { - "padding": 4, - "border_radius": 0, - }, - ), - "container_form": ( - base: "container", - properties: { - "padding": 14, - "border_width": 1, - "border_radius": 0, - "border_brush": "$CONTAINER_BORDER", - }, - ), - "configuration_form": ( - base: "container", - properties: { - "margin": 4, - }, - ), - "container_progress": ( - base: "container", - properties: { - "padding": 14, - //"border_width": 1, - //"border_radius": 0, - "border_brush": "$CONTAINER_BORDER", - }, - ), - "popup_progress": ( - base: "popup", - properties: { - //"background": "$BACKGROUND", - "padding": 4, - }, - ), - "text_block_progress": ( - base: "small_text", - properties: { - "background": "$PROGRESS_BAR_BACKGROUND", - }, - ), - "stack_progress": ( - base: "container", - properties: { - "spacing": 10, - }, - ), + "button_action": ( + base: "button", + properties: { + //"background": "transparent", + "border_radius": 3, + "h_align": "center", + "v_align": "center", + }, + ), + "button_menu": ( + base: "button_single_content", + properties: { + "h_align": "end", + //"icon": "material_icons_font::MD_MENU", + }, + ), + "combo_box_form": ( + base: "combo_box", + properties: { + "width": 200, + "height": 28, + }, + ), + "mail_label": ( + base: "base", + properties: { + "h_align": "end", + "v_align": "center", + }, + ), + "mail_to": ( + base: "combo_box_form", + properties: { + "h_align": "end", + }, + ), + "mail_cc": ( + base: "combo_box_form", + properties: { + "h_align": "end", + }, + ), + "combo_box_popup": ( + //base: "popup", + properties: { + //"height": 120, + "width": 240, + }, + ), + "configuration_form": ( + base: "container", + properties: { + "margin": 4, + }, + ), + "container_action": ( + base: "container_form", + properties: { + "border_width": 1, + "padding": { + "left": 14, + "top": 0, + "right": 14, + "bottom": 0, + }, + "h_align": "center", + }, + ), + "container_form": ( + base: "container", + properties: { + "padding": 14, + "border_brush": "$CONTAINER_BORDER", + "border_radius": 0, + "border_width": 1, + "min_height": 330, + }, + ), + "container_mail": ( + base: "container_form", + properties: { + "border_width": 0, + "padding": { + "left": 14, + "top": 0, + "right": 14, + "bottom": 14, + } + }, + ), + "container_progress": ( + base: "container", + properties: { + "border_brush": "$CONTAINER_BORDER", + "h_align": "center", + "padding": 14, + "v_align": "center", + }, + ), + "header_bar": ( + base: "header", + properties: { + //"h_align": "center", + //"v_align": "center", + "min_height": 32, + //"padding": 14, + } + ), + "header_text": ( + base: "header", + properties: { + "h_align": "center", + "v_align": "center", + } + ), + "popup_form": ( + //base: "popup", + properties: { + "background": "#FFFFFF", + "border_brush": "#0000FF", + "border_radius": 3, + "border_width": 2, + "padding": 4, + }, + ), + "popup_menu": ( + //base: "popup", + properties: { + "width": 300, + "hight": 200, + "border_radius": 0, + "border_width": 1, + "h_align": "center", + }, + ), + "popup_progress": ( + base: "popup", + properties: { + "padding": 4, + }, + ), + "stack_action": ( + //base: "stack", + properties: { + //"min_height": 50, + "orientation": "Horizontal", + "spacing": 50, + }, + ), + "stack_progress": ( + base: "container", + properties: { + "spacing": 10, + }, + ), + "ticket_data_form_label": ( + base: "container_form", + properties: { + "padding": 1, + "h_align": "end", + "v_align": "center", + "margin": { + "left": 0, + "top": 0, + "right": 0, + "bottom": 0, + }, + "min_size": 300, + "max_size": 400, + }, + ), + "ticket_data_form_input": ( + base: "ticket_data_form_label", + properties: { + "h_align": "start", + }, + ), + "text_block_progress": ( + base: "small_text", + properties: { + "background": "$PROGRESS_BAR_BACKGROUND", + }, + ), } )