default.theme 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368
  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. imageList focusImages : normalImages
  90. {
  91. color = #2A6779ff
  92. }
  93. skin mainNormal
  94. {
  95. border
  96. {
  97. left = 10
  98. right = 10
  99. top = 10
  100. bottom = 10
  101. }
  102. region = 1, 1, 74, 74
  103. color = #4A8799ff
  104. }
  105. skin mainActive : mainNormal
  106. {
  107. color = #C3D9BFff
  108. }
  109. skin mainFocus : mainNormal
  110. {
  111. color = #2A6779ff
  112. }
  113. skin formEntry : mainNormal
  114. {
  115. region = 78, 1, 46, 46
  116. color = #35535Cff
  117. }
  118. skin formFocus : formEntry
  119. {
  120. color = #15333Cff
  121. }
  122. skin underliner
  123. {
  124. border
  125. {
  126. bottom = 10
  127. }
  128. region = 4, 82, 68, 5
  129. color = #ffffffff
  130. }
  131. skin plusNormal
  132. {
  133. region = 81, 139, 40, 40
  134. color = #4A8799ff
  135. }
  136. skin plusActive : plusNormal
  137. {
  138. color = #C3D9BFff
  139. }
  140. skin minusNormal
  141. {
  142. region = 81, 184, 40, 40
  143. color = #4A8799ff
  144. }
  145. skin minusActive : minusNormal
  146. {
  147. color = #C3D9BFff
  148. }
  149. style plus
  150. {
  151. stateNormal
  152. {
  153. skin = plusNormal
  154. }
  155. stateActive
  156. {
  157. skin = plusActive
  158. }
  159. }
  160. style minus
  161. {
  162. stateNormal
  163. {
  164. skin = minusNormal
  165. }
  166. stateActive
  167. {
  168. skin = minusActive
  169. }
  170. }
  171. style underlined
  172. {
  173. padding
  174. {
  175. top = 5
  176. }
  177. stateNormal
  178. {
  179. skin = underliner
  180. textColor = #ffffffff
  181. font = res/common/arial18.gpb
  182. fontSize = 25
  183. textAlignment = ALIGN_BOTTOM_HCENTER
  184. }
  185. }
  186. style leftAlignedUnderlined : underlined
  187. {
  188. stateNormal
  189. {
  190. textAlignment = ALIGN_TOP_LEFT
  191. }
  192. }
  193. style basic
  194. {
  195. stateNormal
  196. {
  197. skin = mainNormal
  198. imageList = normalImages
  199. font = res/common/arial18.gpb
  200. textColor = #ffffffff
  201. fontSize = 18
  202. textAlignment = ALIGN_VCENTER_HCENTER
  203. }
  204. stateActive
  205. {
  206. imageList = activeImages
  207. }
  208. stateFocus
  209. {
  210. skin = mainFocus
  211. imageList = focusImages
  212. }
  213. stateDisabled
  214. {
  215. opacity = 0.6
  216. }
  217. }
  218. style topLeftAlignedEntry : basic
  219. {
  220. stateNormal
  221. {
  222. skin = formEntry
  223. textAlignment = ALIGN_TOP_LEFT
  224. }
  225. stateFocus
  226. {
  227. skin = formFocus
  228. }
  229. }
  230. style buttonStyle : basic
  231. {
  232. padding
  233. {
  234. top = -10
  235. bottom = -10
  236. }
  237. stateNormal
  238. {
  239. font = res/common/arial18.gpb
  240. fontSize = 20
  241. }
  242. stateActive
  243. {
  244. skin = mainActive
  245. }
  246. }
  247. style noBorder
  248. {
  249. stateNormal
  250. {
  251. imageList = normalImages
  252. font = res/common/arial18.gpb
  253. textColor = #ffffffff
  254. fontSize = 14
  255. textAlignment = ALIGN_VCENTER_HCENTER
  256. }
  257. stateFocus
  258. {
  259. textColor = #aaa000ff
  260. imageList = focusImages
  261. }
  262. stateActive
  263. {
  264. imageList = activeImages
  265. textAlignment = ALIGN_VCENTER_HCENTER
  266. }
  267. }
  268. style iconNoBorder : noBorder
  269. {
  270. stateNormal
  271. {
  272. font = res/common/arial18.gpb
  273. fontSize = 20
  274. textAlignment = ALIGN_VCENTER_LEFT
  275. }
  276. stateActive
  277. {
  278. font = res/common/arial18.gpb
  279. fontSize = 20
  280. textAlignment = ALIGN_VCENTER_LEFT
  281. }
  282. }
  283. style topLeftNoBorder : iconNoBorder
  284. {
  285. stateNormal
  286. {
  287. textAlignment = ALIGN_TOP_LEFT
  288. }
  289. stateActive
  290. {
  291. textAlignment = ALIGN_TOP_LEFT
  292. }
  293. }
  294. style title
  295. {
  296. stateNormal
  297. {
  298. textColor = #ffffffff
  299. font = res/common/arial18.gpb
  300. fontSize = 26
  301. textAlignment = ALIGN_BOTTOM_HCENTER
  302. }
  303. stateActive
  304. {
  305. textColor = #C3D9BFff
  306. }
  307. }
  308. }