default.theme 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. theme mainMenu
  2. {
  3. texture = res/png/default-theme.png
  4. imageList normalImages
  5. {
  6. color = #4A8799ff
  7. image unchecked
  8. {
  9. region = 78, 1, 46, 46
  10. }
  11. image checked
  12. {
  13. region = 78, 46, 46, 46
  14. }
  15. image unselected
  16. {
  17. region = 127, 1, 46, 46
  18. }
  19. image selected
  20. {
  21. region = 127, 46, 46, 46
  22. }
  23. image minCap
  24. {
  25. region = 3, 115, 8, 11
  26. }
  27. image maxCap
  28. {
  29. region = 3, 115, 8, 11
  30. }
  31. image marker
  32. {
  33. region = 16, 113, 18, 18
  34. }
  35. image track
  36. {
  37. region = 42, 119, 26, 6
  38. }
  39. image textCaret
  40. {
  41. region = 5, 149, 11, 25
  42. color = #C3D9BFff
  43. }
  44. image scrollBarTopCap
  45. {
  46. region = 0, 99, 12, 5
  47. }
  48. image verticalScrollBar
  49. {
  50. region = 0, 104, 12, 19
  51. }
  52. image scrollBarBottomCap
  53. {
  54. region = 0, 138, 12, 5
  55. }
  56. image scrollBarLeftCap
  57. {
  58. region = 35, 115, 5, 12
  59. }
  60. image horizontalScrollBar
  61. {
  62. region = 43, 115, 19, 12
  63. }
  64. image scrollBarRightCap
  65. {
  66. region = 65, 115, 5, 12
  67. }
  68. }
  69. imageList activeImages : normalImages
  70. {
  71. color = #C3D9BFff
  72. image unchecked
  73. {
  74. region = 78, 91, 46, 46
  75. }
  76. image checked
  77. {
  78. region = 78, 91, 46, 46
  79. }
  80. image unselected
  81. {
  82. region = 127, 91, 46, 46
  83. }
  84. image selected
  85. {
  86. region = 127, 91, 46, 46
  87. }
  88. }
  89. skin mainNormal
  90. {
  91. border
  92. {
  93. left = 10
  94. right = 10
  95. top = 10
  96. bottom = 10
  97. }
  98. region = 1, 1, 74, 74
  99. color = #4A8799ff
  100. }
  101. skin mainFocus : mainNormal
  102. {
  103. color = #ff0000ff
  104. }
  105. skin mainActive : mainNormal
  106. {
  107. color = #C3D9BFff
  108. }
  109. skin formEntry : mainNormal
  110. {
  111. region = 78, 1, 46, 46
  112. color = #25434Cff
  113. }
  114. skin underliner
  115. {
  116. border
  117. {
  118. bottom = 10
  119. }
  120. region = 4, 82, 68, 5
  121. color = #ffffffff
  122. }
  123. skin plusNormal
  124. {
  125. region = 81, 139, 40, 40
  126. color = #4A8799ff
  127. }
  128. skin plusActive : plusNormal
  129. {
  130. color = #C3D9BFff
  131. }
  132. skin minusNormal
  133. {
  134. region = 81, 184, 40, 40
  135. color = #4A8799ff
  136. }
  137. skin minusActive : minusNormal
  138. {
  139. color = #C3D9BFff
  140. }
  141. style plus
  142. {
  143. stateNormal
  144. {
  145. skin = plusNormal
  146. }
  147. stateActive
  148. {
  149. skin = plusActive
  150. }
  151. }
  152. style minus
  153. {
  154. stateNormal
  155. {
  156. skin = minusNormal
  157. }
  158. stateActive
  159. {
  160. skin = minusActive
  161. }
  162. }
  163. style underlined
  164. {
  165. padding
  166. {
  167. top = 5
  168. }
  169. stateNormal
  170. {
  171. skin = underliner
  172. textColor = #ffffffff
  173. font = res/common/arial18.gpb
  174. fontSize = 25
  175. textAlignment = ALIGN_BOTTOM_HCENTER
  176. }
  177. stateFocus
  178. {
  179. textColor = #00ff00ff
  180. }
  181. }
  182. style leftAlignedUnderlined : underlined
  183. {
  184. stateNormal
  185. {
  186. textAlignment = ALIGN_TOP_LEFT
  187. }
  188. }
  189. style basic
  190. {
  191. stateNormal
  192. {
  193. skin = mainNormal
  194. imageList = normalImages
  195. font = res/common/arial18.gpb
  196. textColor = #ffffffff
  197. fontSize = 18
  198. textAlignment = ALIGN_VCENTER_HCENTER
  199. }
  200. stateFocus
  201. {
  202. skin = mainFocus
  203. }
  204. stateActive
  205. {
  206. imageList = activeImages
  207. }
  208. stateDisabled
  209. {
  210. opacity = 0.6
  211. }
  212. }
  213. style topLeftAlignedEntry : basic
  214. {
  215. stateNormal
  216. {
  217. skin = formEntry
  218. textAlignment = ALIGN_TOP_LEFT
  219. }
  220. }
  221. style buttonStyle : basic
  222. {
  223. padding
  224. {
  225. top = -10
  226. bottom = -10
  227. }
  228. stateNormal
  229. {
  230. font = res/common/arial18.gpb
  231. fontSize = 20
  232. }
  233. stateFocus
  234. {
  235. textColor = #00ff00ff
  236. }
  237. stateActive
  238. {
  239. skin = mainActive
  240. }
  241. }
  242. style noBorder
  243. {
  244. stateNormal
  245. {
  246. imageList = normalImages
  247. font = res/common/arial18.gpb
  248. textColor = #ffffffff
  249. fontSize = 14
  250. textAlignment = ALIGN_VCENTER_HCENTER
  251. }
  252. stateFocus
  253. {
  254. textColor = #00ff00ff
  255. }
  256. stateActive
  257. {
  258. imageList = activeImages
  259. textAlignment = ALIGN_VCENTER_HCENTER
  260. }
  261. }
  262. style iconNoBorder : noBorder
  263. {
  264. stateNormal
  265. {
  266. font = res/common/arial18.gpb
  267. fontSize = 20
  268. textAlignment = ALIGN_VCENTER_LEFT
  269. }
  270. stateFocus
  271. {
  272. textColor = #00ff00ff
  273. }
  274. stateActive
  275. {
  276. font = res/common/arial18.gpb
  277. fontSize = 20
  278. textAlignment = ALIGN_VCENTER_LEFT
  279. }
  280. }
  281. style topLeftNoBorder : iconNoBorder
  282. {
  283. stateNormal
  284. {
  285. textAlignment = ALIGN_TOP_LEFT
  286. }
  287. stateActive
  288. {
  289. textAlignment = ALIGN_TOP_LEFT
  290. }
  291. }
  292. style title
  293. {
  294. stateNormal
  295. {
  296. textColor = #ffffffff
  297. font = res/common/arial18.gpb
  298. fontSize = 26
  299. textAlignment = ALIGN_BOTTOM_HCENTER
  300. }
  301. stateActive
  302. {
  303. textColor = #C3D9BFff
  304. }
  305. }
  306. }