/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

  1. styles {
  2. * {
  3. border-back-color = "0.984 0.945 0.81"
  4. focus-border = "2"
  5. }
  6. + "/w-any:disabled" {
  7. //disabled widget: if no specific style, overdraw with gray
  8. highlight-alpha = "0.5"
  9. }
  10. //xxx: ok, there's the w-button widget class, but w-scrollbar-floater should
  11. // behave (mostly) the same *shrug*
  12. //for now, cut-n-paste inside the selectors...
  13. + "/w-button, /w-scrollbar-floater" {
  14. border-enable = "true"
  15. border-color = "0.25 0.24 0.07"
  16. border-back-color = "0.73 0.33 0.23"
  17. border-bevel-enable = "true"
  18. border-bevel-color = "0.93 0.66 0.28"
  19. }
  20. + "/w-button:hover, /w-scrollbar-floater:hover" {
  21. highlight-alpha = "0.3"
  22. }
  23. + "/w-button:disabled, /w-scrollbar-floater:disabled" {
  24. //standard graying gives ugly gray corners
  25. text-font-fore-color = "k=0.25"
  26. highlight-alpha = "0"
  27. //same colors as above, faded to gray
  28. border-color = "0.375 0.37 0.285"
  29. border-back-color = "0.615 0.415 0.365"
  30. border-bevel-color = "0.715 0.58 0.39"
  31. }
  32. + "/w-button:button-down" {
  33. //+ "highlight-alpha" = "0.7"
  34. border-bevel-color = "0.25 0.24 0.07"
  35. border-color = "0.93 0.66 0.28"
  36. }
  37. + "/w-editline" {
  38. bitmap-cursor-res = "text_cursor"
  39. //text-font-...
  40. }
  41. + "/w-spacer" {
  42. border-enable = "true"
  43. border-width = "0"
  44. border-corner-radius = "0"
  45. border-back-color = "grey"
  46. }
  47. + "/w-splitbar" {
  48. border-back-color = "k=0.7"
  49. }
  50. + "/w-splitbar-h" { bitmap-cursor-res = "size_we" }
  51. + "/w-splitbar-v" { bitmap-cursor-res = "size_ns" }
  52. + "/checkbox" {
  53. border-enable = "false"
  54. }
  55. + "/drop-down-control" {
  56. }
  57. + "/drop-down-select" {
  58. border-enable = "true"
  59. }
  60. + "/drop-down-select:selected" {
  61. text-font-fore-color = "white"
  62. }
  63. + "/scrollbar-background" {
  64. bitmap-background-res = "checkered_small"
  65. bitmap-background-tile = "tile"
  66. }
  67. + "/window-sizer" {
  68. widget-pad = "2"
  69. }
  70. + "/window-sizer-ns" { bitmap-cursor-res = "size_ns" }
  71. + "/window-sizer-we" { bitmap-cursor-res = "size_we" }
  72. + "/window-sizer-nesw" { bitmap-cursor-res = "size_nesw" }
  73. + "/window-sizer-nwse" { bitmap-cursor-res = "size_nwse" }
  74. + "/w-list, /window-title-bar" {
  75. border-enable = "true"
  76. }
  77. + "/window-decoration" {
  78. border-enable = "true"
  79. //border-corner-radius = "0"
  80. border-back-color = "white"
  81. }
  82. + "/w-window" {
  83. window-fullscreen-color = "white"
  84. }
  85. //xxx: and here, I'd like to query the state of a containing widget (state
  86. // of the window); instead it's directly hacked in...
  87. //need something like: if the next w-window up in the tree has state
  88. // :focused, then check the rest of this selector, e.g. sth. like
  89. // "/w-window:focused > /window-decoration"
  90. //keep in mind that if we had multiple nested window, this rule should only
  91. // apply if the "closest" parent w-window is :focused, not any other
  92. // indirect parent w-window; but it still should work of other, unrelated
  93. // container widgets are between window-decoration and w-window
  94. //for now, hack to get the old functionality
  95. + "/window-decoration:active" {
  96. border-color = "blue"
  97. }
  98. + "/window-button" {
  99. border-enable = "false"
  100. }
  101. + "/window-title" {
  102. text-font-size = "18"
  103. }
  104. + "/tooltip-label" {
  105. text-font-size = "16"
  106. }
  107. + "/tab-button" {
  108. border-enable = "false"
  109. focus-border = "0"
  110. }
  111. + "/big-button" {
  112. //important button, like ok/cancel
  113. text-font-size = "16"
  114. }
  115. + "/window-switcher" {
  116. border-enable = "true"
  117. }
  118. + "/wm-caption" {
  119. }
  120. + "/wm-label" {
  121. widget-background = "transparent"
  122. text-font-size = "16"
  123. }
  124. + "/wm-label :selected" {
  125. widget-background = "k=0.7"
  126. }
  127. + "/wm-label :windowtitle" {
  128. text-font-size = "12" //undo /wm-label??
  129. }
  130. //xxx: there should be sub-element selectors, so that pseudo-classes like
  131. // console-edit etc. are not needed
  132. + "/w-console, /console-edit, /console-prompt" {
  133. text-font-fore-color = "black"
  134. text-font-size = "12"
  135. }
  136. + "/systemconsole, /s-console-edit, /s-console-prompt" {
  137. text-font-fore-color = "white"
  138. //text-font-size = "14"
  139. }
  140. + "/systemconsole" {
  141. border-enable = "true"
  142. border-width = "0"
  143. border-corner-radius = "0"
  144. border-back-color = "k=0.7, a=0.7"
  145. }
  146. + "/systemconsole:disabled" {
  147. highlight-alpha = "0"
  148. }
  149. //doesn't belong here, but I was lazy
  150. + "/weaponwindow" {
  151. border-enable = "true"
  152. border-back-color = "k=0.7, a=0.7"
  153. }
  154. + "/in-weapon-cell" {
  155. border-enable = "false"
  156. cooldown-color = "k=0.25, a=0.5"
  157. }
  158. + "/in-weapon-cell:button-down" {
  159. highlight-alpha = "0.7"
  160. }
  161. + "/weaponsel_shortcut" {
  162. text-font-size = "8"
  163. }
  164. + "/weaponsel_name" {
  165. text-font-size = "10"
  166. }
  167. + "/weaponsel_quantity" {
  168. text-font-size = "10"
  169. text-font-bold = "true"
  170. }
  171. + "/preparebox" {
  172. border-enable = "true"
  173. border-width = "1"
  174. border-color = "grey"
  175. border-back-color = "black, a=0.7"
  176. text-font-fore-color = "white"
  177. text-font-bold = "true"
  178. text-font-size = "22"
  179. }
  180. + "/gametimer" {
  181. border-enable = "true"
  182. border-color = "k=0.7"
  183. border-back-color = "black, a=0.7"
  184. border-width = "1"
  185. }
  186. + "/gametimer :active" {
  187. border-width = "2"
  188. }
  189. + "/powerup-icon" {
  190. border-enable = "true"
  191. border-back-color = "0 0 0 0.7"
  192. border-corner-radius = "3"
  193. }
  194. + "/weapon-icon" {
  195. border-enable = "true"
  196. border-back-color = "0 0 0 0.7"
  197. border-corner-radius = "3"
  198. cooldown-color = "k=0.5, a=0.5"
  199. misfire-color = "red, a=0.7"
  200. }
  201. + "/weaponquantitylabel" {
  202. text-font-border-color = "0 0 0"
  203. text-font-border-width = "1"
  204. text-font-size = "14"
  205. text-font-fore-color = "red, a=0.7"
  206. text-font-bold = "true"
  207. }
  208. + "/weaponparamlabel" {
  209. text-font-border-color = "0 0 0"
  210. text-font-border-width = "1"
  211. text-font-size = "16"
  212. text-font-fore-color = "red, a=0.7"
  213. text-font-bold = "true"
  214. }
  215. + "/gamepauselabel" {
  216. text-font-size = "40"
  217. text-font-bold = "true"
  218. text-font-fore-color = "k=0.8"
  219. border-enable = "true"
  220. border-color = "k=0.4"
  221. border-back-color = "black"
  222. widget-pad = "5"
  223. }
  224. + "/netlaglabel" {
  225. text-font-fore-color = "k=0.8"
  226. }
  227. + "/neterrorbox" {
  228. border-enable = "true"
  229. border-back-color = "black, a=0.5"
  230. border-width = "0"
  231. border-corner-radius = "0"
  232. }
  233. + "/netclosebox" {
  234. border-enable = "true"
  235. border-corner-radius = "3"
  236. }
  237. + "/loadingscreen-label" {
  238. text-font-size = "20"
  239. text-font-bold = "true"
  240. text-font-fore-color = "grey"
  241. }
  242. + "/loadingscreen-label:highlight" {
  243. text-font-fore-color = "white"
  244. text-font-back-color = "k=0.6"
  245. text-font-size = "24"
  246. text-font-bold = "true"
  247. }
  248. + "/load-error-dialog" {
  249. border-enable = "true"
  250. border-back-color = "k=0.3"
  251. border-width = "10"
  252. border-corner-radius = "0"
  253. }
  254. + "/load-error-caption" {
  255. text-font-fore-color = "white"
  256. text-font-back-color = "transparent"
  257. text-font-size = "20"
  258. text-font-bold = "true"
  259. }
  260. + "/image-button" {
  261. border-enable = "true"
  262. border-color = "0.25 0.24 0.07"
  263. border-bevel-enable = "true"
  264. border-bevel-color = "0.93 0.66 0.28"
  265. border-corner-radius = "1"
  266. }
  267. + "/keybind_help_table" {
  268. border-width = "3"
  269. }
  270. + "/keybind_help_table, /keybind_help_header" {
  271. border-enable = "true"
  272. border-color = "k=0.6"
  273. border-back-color = "black"
  274. }
  275. + "/keybind_help_caption, /keybind_help_bind, /keybind_help_header" {
  276. text-font-fore-color = "k=0.8"
  277. }
  278. + "/keybind_help_header" {
  279. border-back-color = "k=0.3"
  280. text-font-bold = "true"
  281. text-font-size = "14"
  282. }
  283. + "/score_label" {
  284. text-font-fore-color = "white"
  285. text-font-size = "14"
  286. }
  287. + "/replaydisplay" {
  288. text-font-fore-color = "red, a=0.7"
  289. text-font-size = "125"
  290. text-font-border-width = "3"
  291. text-font-border-color = "white"
  292. }
  293. + "/replaytime" {
  294. text-font-fore-color = "white"
  295. text-font-size = "20"
  296. }
  297. //xxx same as above: needs widget sub-selectors
  298. + "/chatbox, /chatbox-edit, /chatbox-prompt" {
  299. text-font-size = "12"
  300. text-font-fore-color = "white"
  301. text-font-shadow-offset = "1"
  302. text-font-shadow-color = "black, a=0.7"
  303. //lines will fade out after this time (0 to disable)
  304. fade-delay = "30 s"
  305. }
  306. //stuff taken out of data/dialogs/*.conf after r1001
  307. + "/enableborder" {
  308. border-enable = "true"
  309. }
  310. + "/disableborder" {
  311. border-enable = "false"
  312. }
  313. + "/lobbyerror" {
  314. text-font-fore-color = "red"
  315. }
  316. + "/winlabel, /roundwinlabel" {
  317. text-font-bold = "true"
  318. text-font-size = "18"
  319. }
  320. + "/winlabel" {
  321. text-font-size = "26"
  322. }
  323. + "/winlabel:notfinal" {
  324. text-font-size = "1" //what really, 1?
  325. }
  326. + "/welcomelabel" {
  327. text-font-fore-color = "r=0.6, g=0, b=0"
  328. text-font-bold = "true"
  329. //text-font-border-width = "5"
  330. //text-font-border-color = "k=0.5"
  331. text-font-size = "26"
  332. }
  333. + "/whitefont" {
  334. text-font-fore-color = "white"
  335. }
  336. + "/welcome-button" {
  337. border-color = "0.25 0.24 0.07"
  338. border-bevel-color = "0.7 0.7 0.7"
  339. border-back-color = "k=0.4"
  340. text-font-fore-color = "white"
  341. text-font-size = "24"
  342. }
  343. + "/welcome-button:button-down" {
  344. border-color = "0.7 0.7 0.7"
  345. border-bevel-color = "0.25 0.24 0.07"
  346. }
  347. + "/mainframe" {
  348. bitmap-background-res = "background"
  349. bitmap-background-tile = "fitOuter"
  350. }
  351. }