############################################################# # The GUI section. This part is currently under development # # Expect frequent changes! # ############################################################# gui { dpi_scaling = False .type = bool font_size_steps = 950 750 540 450 420 0 .type = strings font_size_rel_size = '+3' '+2' '+1' '0' '-1' '-2' .type = strings font_top_system_adjust = 0 .type = int centre_image_text = True .type = bool .help = "Centre the text of panel images (tabs, buttons, headers) from the font's own measures, instead of the skin's top values" console_offset = 10 .type = int .help = Left indent of the console text in pixels (macro console.offset) battery_font_adjust = -1 .type = int ppi_font_adjust_amount = -2 .type = int internal_scale = 2 .type = int timing = False .type = bool chinese_font_name = YaHei .type = str base_colour = #aaaaaa .type = colour logo_colour = #777777 .type = colour dev_colour = #ea4335 .type = colour alpha_colour = #fbbc05 .type = colour beta_colour = #1fc432 .type = colour default_font_name = Signika-Regular.ttf .type = str default_font_name_bold = Signika-Bold.ttf .type = str default_font_name_italic = Signika-Italic.ttf .type = str image_font_name = DefaultFont .type = str purple = #a245a2 .type = colour ed_bg = #444444 .type = colour ed_fg = #FDDA0D .type = colour red = #bd2010 .type = colour dark_red = #bd2010 .type = colour green = #00b400 .type = colour dark_green = #307125 .type = colour green_text = #307125 .type = colour blue = #0080ff .type = colour light_blue = #0080ff .type = colour grey = #555555 .type = colour action_colour = #0080ff .type = colour light_grey = #dedede .type = colour watermark = #ababab .type = colour orange = #ff8f00 .type = colour dark_yellow = #f5b041 .type = colour image_highlight = None .type = str notification_base_colour = #307125 .type = colour notification_highlight_colour = #ff8f00 .type = colour GuiImages { action = None .type=str } icons .help = "Colours of the flat icon set. None means the skin colour named in each help. Skins may set them, spy.gui.theme.designer() edits them live." { ink = None .type = colour .help = "Lines and glyphs. None: gui.html.font_colour" accent = None .type = colour .help = "The one element that carries the meaning. None: gui.html.highlight_colour" secondary = None .type = colour .help = "A second distinct element (atoms, axes, arrows). None: gui.action_colour" muted = None .type = colour .help = "Quiet fill behind outlines. None: the ink colour, see muted_opacity" muted_opacity = 25 .type = int .help = "Opacity of the muted fill in percent" red = None .type = colour .help = "Accent of delete/stop/less. None: gui.red" green = None .type = colour .help = "Accent of OK/more. None: gui.green" border = True .type = bool .help = "Draw the thin frame round toolbar icons (gui.skin.icon_border_colour)" } notification{ normal_bg = 'gui.html.table_bg_colour' .type = str normal_fg = 'gui.grey' .type = str centered = False .type = bool border = 0 .type = int invert = False .type = bool } xgrid { positive_surface_material = '247;3623943936;4278255360;3632300160;2130722816;4278206464;36;36' .type = str negative_surface_material = '247;3623878911;4278190335;3632300160;2130706496;4278190144;36;366' .type = str } css{ h1{ font_size = 24 .type = int font_name = Verdana .type = str color = #ffffff .type = colour line_height = 26 .type = int } h2{ font_size = 12 .type = int font_name = "Signika-Regular.ttf" .type = str color = #ffffff .type = colour line_height = 14 .type = int } big{ font_size = 30 .type = int font_name = Arial Bold .type = str color = #ffffff .type = colour line_height = 32 .type = int } } skin { base_width = 500 .type = int materials_have_been_set = False .type = bool name = default .type = str extension = None .type = str logo_name= None .type = path logo_is_colourised = True .type = bool size_factor = 1.0 .type = float clearcolor = 8404992 .type = int icon_size = 30 .type = int icon_border_colour = #bcbcbc .type = colour button.highlight.lightness = 120 .type = int button.border.lightness = 120 .type = int R1.border.lightness = 220 .type = int R1.highlight.lightness = 20 .type = int link_type = 'gui-link-button' .type = str default_link = 'gui/snippets/gui-link-button' .type = str link_button{ flat = True .type = bool bgcolor = #dddddd .type = colour fgcolor = #0064b4 .type = colour } diagnostics { colour_grade1 = #307125 .type = colour colour_grade2 = #b4be10 .type = colour colour_grade3 = #d6a113 .type = colour colour_grade4 = #c21a08 .type = colour colour_grade5 = #660066 .type = colour } } html { base_colour = #aaaaaa .type = colour bg_colour = #ffffff .type = colour .caption = "Background colour" font_colour = #442244 .type = colour font_name = "Bahnschrift" .type = str font_size = 2 .type = int font_size_controls = 2 .type = int font_size_large = 7 .type = int font_size_extra_large = 9 .type = int font_size_medium = 4 .type = int formula_colour = #442244 .type = colour formula_size = 5 .type = int highlight_colour = #ff8800 .type = colour input_bg_colour = #ffffff .type = colour input_height = 20 .type = int checkbox_height = 18 .type = int checkbox_width = 14 .type = int checkbox_width_2 = 18 .type = int combo_width_2 = 50 .type = int .help = "Width of a combobox that is to take 2 digits and a decimal point." combo_height = 20 .type = int spin_height = 18 .type = int link_colour = #585886 .type = colour table_bg_colour = #eaeaea .type = colour table_group_bg_colour = #e6e6e6 .type = colour table_group_header_colour = #dedede .type = colour table_row_bg_colour = #dadada .type = colour table_firstcol_colour = #dedede .type = colour table_firstcol_width = 16 .type = int MainToolbarTabButtonActive = None .type = str code { bg_colour = #e9e9e9 .type = colour fg_colour = #6f6f8b .type = colour html_tag = code .type = str } help{ bg_colour = #ffffff .type = colour } } timage{ base_colour = #777777 .type = colour grad_colour = #454570 .type = colour font_colour = #a4a4c7 .type = colour grad_step = 0.2 .type = float bg_colour_L = 0.8 .type = float grad_colour_L = 0.7 .type = float font_colour_L = 1.4 .type = float font_name = DefaultFont .type = str font_size = 12 .type = int adval = 13 .type = int info_size_scale = 4 .type = int snumtitle{ scale = 2 .type = int base_colour = None .type = colour grad_colour = #205c90 .type = colour height = 42 .type = int font_colour = '(237, 237, 237)' .type = colour font_dark = '(40, 40, 40)' .type = colour font_name = DefaultFont Bold .type = str font_colour_L = 1.4 .type = float font_size = 23 .type = int top = 1 .type = int left = 5 .type = int bg_colour_L = 1.4 .type = float grad_step = 0.1 .type = float grad_colour_L = 0.75 .type = float filefullinfo_size = 12 .type = int filefullinfo_colour = '(221, 221, 221)' .type = colour filefullinfo_colour_dark = '(0, 0, 0)' .type = colour filefullinfo_colour_L = 1.3 .type = float sginfo_scale = 1.0 .type = float sg_L = 1.8 .type = float corner_rad = 5 .type = int rounded = 1100 .type = str shadow = False .type = bool border = 0 .type = int border_colour = #dedede .type = colour arrows = None .type = str buttonmark = None .type = str type_band_height = 4 .type = int .help = "Height of the striped file-type band under the title (0 = off)" type_band_period = 8 .type = int .help = "Distance between the stripes of the file-type band" type_colour_ins = None .type = colour .help = "Stripes for res/ins files (None = gui.blue)" type_colour_cif = None .type = colour .help = "Stripes for cif files (None = gui.green)" type_colour_oxm = None .type = colour .help = "Stripes for oxm files (None = gui.orange)" type_colour_other = None .type = colour .help = "Stripes for other files (None = gui.grey)" type_colour_ed = None .type = colour .help = "Second stripe colour for electron diffraction data (None = gui.ed_fg)" } tab{ scale = 2 .type = int base_colour = #aaaaaa .type = colour grad_colour = #767676 .type = colour font_colour = #ededed .type = colour height = 30 .type = int corner_rad = 3 .type = int grad_step = 0.3 .type = float bg_colour_L = 0.7 .type = float grad_colour_L = 0.7 .type = float font_colour_L = 1.2 .type = float font_name = DefaultFont Bold .type = str font_size = 22 .type = int top = 3 .type = int left = 6 .type = int rounded = 1100 .type = str arrows = "bar:top:4" .type = str gap = 0 .type = int .help = "Pixels of panel colour to the right of each tab image, so neighbours do not run together (dark skins)" off_L = 0.9 .type = float hover_L = 0.8 .type = float on_L = 1.2 .type = float border = 1 .type = int border_colour = #ababab .type = colour shadow = False .type = bool } cbtn{ scale = 1 .type = int base_colour = #444444 .type = colour grad_colour = #999999 .type = colour grad_step = 0.2 .type = float font_colour = #ffffff .type = colour height = 24 .type = int corner_rad = 2 .type = int bg_colour_L = 1.8 .type = float grad_colour_L = 1.8 .type = float font_colour_L = 0.8 .type = float font_name = DefaultFont Bold .type = str font_size = 17 .type = int top = 3 .type = int left = 4 .type = int rounded = 0101 .type = str arrows = "bar:right:26,arrow_right:onup:offdown:hoverdown:hoveronup" .type = str gap = 0 .type = int .help = "Pixels of panel colour to the right of each Solve/Refine/Draw/Report image, so neighbours do not run together (dark skins)" buttonmark = None .type = str off_L = 1.6 .type = float on_L = 1.2 .type = float hover_L = 1.0 .type = float vline = 27 .type = int dot_size = 4 .type = int dot_pad = 1 .type = int dot_left = 1 .type = int dot_colour_off = #dedede .type = colour dot_colour_on = #444444 .type = colour arrow_disc = True .type = bool .help = "Fill only the disc behind the open/close arrow with the state colour; the rest of the arrow box shows the button background. False: solid square as before." outline = 0.3 .type = float .help = "The button outline, 1 screen pixel: the button colour mixed this far towards the font colour (0 = no outline)." shadow = False .type = bool border = 1 .type = int border_colour = #ababab .type = colour } button{ scale = 1 .type = int base_colour = #e1e1e1 .type = colour grad_colour = #dedede .type = colour grad_step = 0.3 .type = float height = 21 .type = int corner_rad = 3 .type = int rounded = 0000 .type = str font_name = DefaultFont .type = str font_size = 12 .type = int halign = left .type = str top = 3 .type = int left = 4 .type = int bg_colour_L = 1.8 .type = float grad_colour_L = 1.9 .type = float font_colour_L = 1.7 .type = float font_colour = #565656 .type = colour arrows = None .type = str buttonmark = 2:#999999:6 .type = str off_L = 0.9 .type = float hover_L = 0.8 .type = float on_L = 1.2 .type = float border = 1 .type = int border_colour = #888888 .type = colour shadow = False .type = bool } small_button{ rounded = 0000 .type = str scale = 1 .type = int width = 65 .type = int height = 20 .type = int buttonmark = 2:#999999:6 .type = str } tinybutton{ scale = 2 .type = int base_colour = #e1e1e1 .type = colour grad_colour = #dedede .type = colour grad_step = 0.1 .type = float height = 18 .type = int width = 20 .type = int corner_rad = 0 .type = int rounded = 0000 .type = str font_size = 14 .type = int font_name = DefaultFont .type = str halign = middle .type = str top = 1 .type = int left = 0 .type = int bg_colour_L = 1.8 .type = float grad_colour_L = 1.9 .type = float font_colour_L = 0.7 .type = float font_colour = #ffffff .type = colour arrows = None .type = str border = 1 .type = int border_colour = #ababab .type = colour shadow = False .type = bool buttonmark = None .type = str } hos{ height = 22 .type = int font_size = 16 .type = int font_name = DefaultFont .type = str .help = "Font of the HOS images, kept apart from the All images font of the theme" } h1{ scale = 1 .type = int base_colour = #aaaaaa .type = colour grad_colour = #dddddd .type = colour grad_step = 0.2 .type = float height = 23 .type = int corner_rad = 3 .type = int rounded = 1111 .type = str font_name = DefaultFont .type = str font_size = 18 .type = int top = 1 .type = int left = 8 .type = int bg_colour_L = 1.3 .type = float grad_colour_L = 1.3 .type = float font_colour_L = 0.2 .type = float font_colour = #555555 .type = colour arrows = "bar:left:5" .type = str off_L = 1.2 .type = float on_L = 1.2 .type = float hover_L = 0.8 .type = float shadow = True .type = bool border = 1 .type = int border_colour = #dddddd .type = colour } h3{ scale = 2 .type = int height = 19 .type = int info_circle = 36 .type = int width_adjust = 7 .type = int base_colour = #aaaaaa .type = colour grad_colour = #cbcbcb .type = colour font_colour = #555555 .type = colour font_name = DefaultFont .type = str bg_colour_L = 1.2 .type = float grad_colour_L = 1.2 .type = float font_colour_L = 0.5 .type = float grad_step = 0.1 .type = float corner_rad = 3 .type = int rounded = 1111 .type = str font_size = 14 .type = int top = 1 .type = int left = 6 .type = int arrows = "bar:left:4" .type = str off_L = 1.0 .type = float on_L = 1.0 .type = float hover_L = 0.8 .type = float shadow = False .type = bool border = 1 .type = int border_colour = #dddddd .type = colour } } lines_of_cmd_text = 10 .type = str button_colouring = #ababab .type = colour button_writing = #00ff00 .type = colour button_font_name = Default .type = str tab_colour = #ff0000 .type = colour tab_font_colour = #ff0000 .type = colour infobox_text = '2053;2143326838;2143979345' .type = str infobox_plane = '2053;2136422952;2137144606' .type = str console_font = #olex2.fnt:frb_12 .type = str labels_font = #olex2.fnt:frb_20 .type = str console_colours .help = "Text colours of the console in the 3D view. None keeps Olex2's own. Skins may set them; spy.gui.theme.designer() edits them. Info and warning lines are orange, set in Olex2's core and not changeable here." { text = None .type = colour .help = "Typed commands and ordinary output. None: gui.infobox_text" output = None .type = colour .help = "Output of programs Olex2 runs, e.g. SHELXL during a refinement. None: yellow" error = None .type = colour .help = "Error messages. None: orange" exception = None .type = colour .help = "Program faults. None: red" help = None .type = colour .help = "Help text. None: cyan" help_command = None .type = colour .help = "Command names in the help. None: yellow" } label_colours .help = "Text colours of labels in the 3D view. None keeps the colours of the 3D style." { all = None .type = colour .help = "Labels of all atoms, the cell and the axes (style material Labels.Text)" atoms = None .type = colour .help = "Single atom labels (style material PLabels.Text)" } console_colours_light .help = "The same console colours on a light 3D background (plain colour or gradient). None uses the value above." { text = None .type = colour .help = "Used on a light background; None: the dark-background value" output = None .type = colour .help = "Used on a light background; None: the dark-background value" error = None .type = colour .help = "Used on a light background; None: the dark-background value" exception = None .type = colour .help = "Used on a light background; None: the dark-background value" help = None .type = colour .help = "Used on a light background; None: the dark-background value" help_command = None .type = colour .help = "Used on a light background; None: the dark-background value" } label_colours_light .help = "The same colours on a light 3D background (plain colour or gradient). None uses the value above." { all = None .type = colour .help = "Used on a light background; None: the dark-background value" atoms = None .type = colour .help = "Used on a light background; None: the dark-background value" } element_buttons .help = "Element buttons below the formula: model count below, equal to or above the formula. None takes the colour from the skin." { neutral = None .type = colour .help = "Plain button; None: gui.html.input_bg_colour" under = None .type = colour .help = "Fewer atoms than the formula; None: input background with gui.purple mixed in" ok = None .type = colour .help = "As in the formula; None: input background with gui.green mixed in" over = None .type = colour .help = "More atoms than the formula; None: input background with gui.red mixed in" font_colour = None .type = colour .help = "Element symbol; None: gui.html.font_colour" tint = 0.25 .type = float .help = "Share of the status colour on a light input background, 0 to 1" tint_dark = 0.45 .type = float .help = "Share of the status colour on a dark input background, 0 to 1" } htmlpanelwidth = 500 .type = int htmlpanelwidth_margin_adjust = 21 .type = int htmlpanel_side = right .type = str .help = left or right: the side of the HTML panel (macro htmlpanelswap) appearance = skin .type = str .help = Native controls: skin (dark when the skin's panel is dark), light, dark or system. Applied on the fly by the Olex2 function Appearence (gui.skin.apply_appearance), in builds that have it grad_top_left = #1f3257 .type = colour grad_top_right = #1f3257 .type = colour grad_bottom_left = #ffffff .type = colour grad_bottom_right = #ffffff .type = colour use_fader=False .type = bool shelx_restraints = None .type = strings shelx_constraints = None .type = strings archive_last = None .type = strings help{ src = "BaseDir()\etc\help" .type = str width_fraction = 0.333 .type = float font_size_base = 3 .type = int pop_template = 'md_box' .type = str bg_colour = '#222222' .type = colour font_colour = '#ffffff' .type = colour h1_colour = '#ffffff' .type = colour h2_colour = '#ffffff' .type = colour h3_colour = '#ffffff' .type = colour highlight_colour = '#ff8800' .type = colour git_url = "https://github.com/Olex2/help/tree/master/gui/" .type = str language = "EN" .type = str code_buttons_flat = True .type = bool } help_box{ width = 450 .type = int .help = "Width of the help popup boxes" height_factor = 60 .type = int .help = "A factor that helps estimating the height of the help box by the total number of characters in the help text" height_constant = 60 .type = int .help = "Number of pixels to add per row to the height of a help box" height_max = 500 .type = int .help = "Maximum height of the help popup boxes" } buttons{ small_buttons{ width = 60 .type = int rounded = 0000 .type = str } } report{ width = 800 .type = int title{ height = 50 .type = int colour = #326496 .type = colour font_name = Georgia Bold .type = str font_size = 35 .type = int font_colour = #ffffff .type = colour } } graph{ light_grey = #888888 .type = colour grey = #444444 .type = colour dark_grey = #222222 .type = colour filename_colour = #bbbbbb .type = colour title_colour = #777777 .type = colour fill_colour = #ffffff .type = colour outline_colour = #666666 .type = colour fitline_colour = #888888 .type = colour page_colour = #ffffff .type = colour graph_bg_colour = #ffffff .type = colour axislabel_colour = #888888 .type = colour } g3{ task = solve .type = str top{ start_new_structure{ label = start_new_structure .type = str } work_on_existing_structure{ label = work_on_existing_structure .type = str } analyse_finished_structure{ label = analyse_finished_structure .type = str } } start_new_structure{ analyse_diffraction_data{ label = analyse_diffraction_data .type = str } determine_space_group{ label = determine_space_group .type = str } solve_structure{ label = solve_structure .type = str } } } materials{ # PART colours are not set here: gui/disorder/palette.py ghost = "1109;4290822336;2143338688;16777215;128" .type = str blue = "1039;2147450880;16744448;2138535799;2139127936" .type = str green = "1039;2130771712;65280;2138535799;2139127936" .type = str orange = "1039;2130739455;33023;2138535799;2139127936" .type = str yellow = "1039;2130739455;33023;2138535799;2139127936" .type = str dp1 = "1109;4290822336;2143338688;16777215;128" .type = str dp2 = "1039;2147450880;16744448;2138535799;2139127936" .type = str dp3 = "1039;2130771712;65280;2138535799;2139127936" .type = str dp4 = "1039;2130739455;33023;2138535799;2139127936" .type = str dp5 = "1039;2130771967;33023;2130771967;2139127936" .type = str dp6 = "1039;2130771967;33023;2130771967;2139127936" .type = str } }