/share/lumbricus/data/gui_themes/normal.conf
http://github.com/dellort/lumbricus · Config · 362 lines · 351 code · 11 blank · 0 comment · 0 complexity · f07658c385a8d427ca447415fdc1e81a MD5 · raw file
- styles {
- * {
- border-back-color = "0.984 0.945 0.81"
- focus-border = "2"
- }
- + "/w-any:disabled" {
- //disabled widget: if no specific style, overdraw with gray
- highlight-alpha = "0.5"
- }
- //xxx: ok, there's the w-button widget class, but w-scrollbar-floater should
- // behave (mostly) the same *shrug*
- //for now, cut-n-paste inside the selectors...
- + "/w-button, /w-scrollbar-floater" {
- border-enable = "true"
- border-color = "0.25 0.24 0.07"
- border-back-color = "0.73 0.33 0.23"
- border-bevel-enable = "true"
- border-bevel-color = "0.93 0.66 0.28"
- }
- + "/w-button:hover, /w-scrollbar-floater:hover" {
- highlight-alpha = "0.3"
- }
- + "/w-button:disabled, /w-scrollbar-floater:disabled" {
- //standard graying gives ugly gray corners
- text-font-fore-color = "k=0.25"
- highlight-alpha = "0"
- //same colors as above, faded to gray
- border-color = "0.375 0.37 0.285"
- border-back-color = "0.615 0.415 0.365"
- border-bevel-color = "0.715 0.58 0.39"
- }
- + "/w-button:button-down" {
- //+ "highlight-alpha" = "0.7"
- border-bevel-color = "0.25 0.24 0.07"
- border-color = "0.93 0.66 0.28"
- }
- + "/w-editline" {
- bitmap-cursor-res = "text_cursor"
- //text-font-...
- }
- + "/w-spacer" {
- border-enable = "true"
- border-width = "0"
- border-corner-radius = "0"
- border-back-color = "grey"
- }
- + "/w-splitbar" {
- border-back-color = "k=0.7"
- }
- + "/w-splitbar-h" { bitmap-cursor-res = "size_we" }
- + "/w-splitbar-v" { bitmap-cursor-res = "size_ns" }
- + "/checkbox" {
- border-enable = "false"
- }
- + "/drop-down-control" {
- }
- + "/drop-down-select" {
- border-enable = "true"
- }
- + "/drop-down-select:selected" {
- text-font-fore-color = "white"
- }
- + "/scrollbar-background" {
- bitmap-background-res = "checkered_small"
- bitmap-background-tile = "tile"
- }
- + "/window-sizer" {
- widget-pad = "2"
- }
- + "/window-sizer-ns" { bitmap-cursor-res = "size_ns" }
- + "/window-sizer-we" { bitmap-cursor-res = "size_we" }
- + "/window-sizer-nesw" { bitmap-cursor-res = "size_nesw" }
- + "/window-sizer-nwse" { bitmap-cursor-res = "size_nwse" }
- + "/w-list, /window-title-bar" {
- border-enable = "true"
- }
- + "/window-decoration" {
- border-enable = "true"
- //border-corner-radius = "0"
- border-back-color = "white"
- }
- + "/w-window" {
- window-fullscreen-color = "white"
- }
- //xxx: and here, I'd like to query the state of a containing widget (state
- // of the window); instead it's directly hacked in...
- //need something like: if the next w-window up in the tree has state
- // :focused, then check the rest of this selector, e.g. sth. like
- // "/w-window:focused > /window-decoration"
- //keep in mind that if we had multiple nested window, this rule should only
- // apply if the "closest" parent w-window is :focused, not any other
- // indirect parent w-window; but it still should work of other, unrelated
- // container widgets are between window-decoration and w-window
- //for now, hack to get the old functionality
- + "/window-decoration:active" {
- border-color = "blue"
- }
- + "/window-button" {
- border-enable = "false"
- }
- + "/window-title" {
- text-font-size = "18"
- }
- + "/tooltip-label" {
- text-font-size = "16"
- }
- + "/tab-button" {
- border-enable = "false"
- focus-border = "0"
- }
- + "/big-button" {
- //important button, like ok/cancel
- text-font-size = "16"
- }
- + "/window-switcher" {
- border-enable = "true"
- }
- + "/wm-caption" {
- }
- + "/wm-label" {
- widget-background = "transparent"
- text-font-size = "16"
- }
- + "/wm-label :selected" {
- widget-background = "k=0.7"
- }
- + "/wm-label :windowtitle" {
- text-font-size = "12" //undo /wm-label??
- }
- //xxx: there should be sub-element selectors, so that pseudo-classes like
- // console-edit etc. are not needed
- + "/w-console, /console-edit, /console-prompt" {
- text-font-fore-color = "black"
- text-font-size = "12"
- }
- + "/systemconsole, /s-console-edit, /s-console-prompt" {
- text-font-fore-color = "white"
- //text-font-size = "14"
- }
- + "/systemconsole" {
- border-enable = "true"
- border-width = "0"
- border-corner-radius = "0"
- border-back-color = "k=0.7, a=0.7"
- }
- + "/systemconsole:disabled" {
- highlight-alpha = "0"
- }
- //doesn't belong here, but I was lazy
- + "/weaponwindow" {
- border-enable = "true"
- border-back-color = "k=0.7, a=0.7"
- }
- + "/in-weapon-cell" {
- border-enable = "false"
- cooldown-color = "k=0.25, a=0.5"
- }
- + "/in-weapon-cell:button-down" {
- highlight-alpha = "0.7"
- }
- + "/weaponsel_shortcut" {
- text-font-size = "8"
- }
- + "/weaponsel_name" {
- text-font-size = "10"
- }
- + "/weaponsel_quantity" {
- text-font-size = "10"
- text-font-bold = "true"
- }
- + "/preparebox" {
- border-enable = "true"
- border-width = "1"
- border-color = "grey"
- border-back-color = "black, a=0.7"
- text-font-fore-color = "white"
- text-font-bold = "true"
- text-font-size = "22"
- }
- + "/gametimer" {
- border-enable = "true"
- border-color = "k=0.7"
- border-back-color = "black, a=0.7"
- border-width = "1"
- }
- + "/gametimer :active" {
- border-width = "2"
- }
- + "/powerup-icon" {
- border-enable = "true"
- border-back-color = "0 0 0 0.7"
- border-corner-radius = "3"
- }
- + "/weapon-icon" {
- border-enable = "true"
- border-back-color = "0 0 0 0.7"
- border-corner-radius = "3"
- cooldown-color = "k=0.5, a=0.5"
- misfire-color = "red, a=0.7"
- }
- + "/weaponquantitylabel" {
- text-font-border-color = "0 0 0"
- text-font-border-width = "1"
- text-font-size = "14"
- text-font-fore-color = "red, a=0.7"
- text-font-bold = "true"
- }
- + "/weaponparamlabel" {
- text-font-border-color = "0 0 0"
- text-font-border-width = "1"
- text-font-size = "16"
- text-font-fore-color = "red, a=0.7"
- text-font-bold = "true"
- }
- + "/gamepauselabel" {
- text-font-size = "40"
- text-font-bold = "true"
- text-font-fore-color = "k=0.8"
- border-enable = "true"
- border-color = "k=0.4"
- border-back-color = "black"
- widget-pad = "5"
- }
- + "/netlaglabel" {
- text-font-fore-color = "k=0.8"
- }
- + "/neterrorbox" {
- border-enable = "true"
- border-back-color = "black, a=0.5"
- border-width = "0"
- border-corner-radius = "0"
- }
- + "/netclosebox" {
- border-enable = "true"
- border-corner-radius = "3"
- }
- + "/loadingscreen-label" {
- text-font-size = "20"
- text-font-bold = "true"
- text-font-fore-color = "grey"
- }
- + "/loadingscreen-label:highlight" {
- text-font-fore-color = "white"
- text-font-back-color = "k=0.6"
- text-font-size = "24"
- text-font-bold = "true"
- }
- + "/load-error-dialog" {
- border-enable = "true"
- border-back-color = "k=0.3"
- border-width = "10"
- border-corner-radius = "0"
- }
- + "/load-error-caption" {
- text-font-fore-color = "white"
- text-font-back-color = "transparent"
- text-font-size = "20"
- text-font-bold = "true"
- }
- + "/image-button" {
- border-enable = "true"
- border-color = "0.25 0.24 0.07"
- border-bevel-enable = "true"
- border-bevel-color = "0.93 0.66 0.28"
- border-corner-radius = "1"
- }
- + "/keybind_help_table" {
- border-width = "3"
- }
- + "/keybind_help_table, /keybind_help_header" {
- border-enable = "true"
- border-color = "k=0.6"
- border-back-color = "black"
- }
- + "/keybind_help_caption, /keybind_help_bind, /keybind_help_header" {
- text-font-fore-color = "k=0.8"
- }
- + "/keybind_help_header" {
- border-back-color = "k=0.3"
- text-font-bold = "true"
- text-font-size = "14"
- }
- + "/score_label" {
- text-font-fore-color = "white"
- text-font-size = "14"
- }
- + "/replaydisplay" {
- text-font-fore-color = "red, a=0.7"
- text-font-size = "125"
- text-font-border-width = "3"
- text-font-border-color = "white"
- }
- + "/replaytime" {
- text-font-fore-color = "white"
- text-font-size = "20"
- }
- //xxx same as above: needs widget sub-selectors
- + "/chatbox, /chatbox-edit, /chatbox-prompt" {
- text-font-size = "12"
- text-font-fore-color = "white"
- text-font-shadow-offset = "1"
- text-font-shadow-color = "black, a=0.7"
- //lines will fade out after this time (0 to disable)
- fade-delay = "30 s"
- }
- //stuff taken out of data/dialogs/*.conf after r1001
- + "/enableborder" {
- border-enable = "true"
- }
- + "/disableborder" {
- border-enable = "false"
- }
- + "/lobbyerror" {
- text-font-fore-color = "red"
- }
- + "/winlabel, /roundwinlabel" {
- text-font-bold = "true"
- text-font-size = "18"
- }
- + "/winlabel" {
- text-font-size = "26"
- }
- + "/winlabel:notfinal" {
- text-font-size = "1" //what really, 1?
- }
- + "/welcomelabel" {
- text-font-fore-color = "r=0.6, g=0, b=0"
- text-font-bold = "true"
- //text-font-border-width = "5"
- //text-font-border-color = "k=0.5"
- text-font-size = "26"
- }
- + "/whitefont" {
- text-font-fore-color = "white"
- }
- + "/welcome-button" {
- border-color = "0.25 0.24 0.07"
- border-bevel-color = "0.7 0.7 0.7"
- border-back-color = "k=0.4"
- text-font-fore-color = "white"
- text-font-size = "24"
- }
- + "/welcome-button:button-down" {
- border-color = "0.7 0.7 0.7"
- border-bevel-color = "0.25 0.24 0.07"
- }
- + "/mainframe" {
- bitmap-background-res = "background"
- bitmap-background-tile = "fitOuter"
- }
- }