default.theme 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380
  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 basicContainer
  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. stateFocus
  205. {
  206. skin = mainFocus
  207. imageList = focusImages
  208. textColor = #aaa000ff
  209. }
  210. stateDisabled
  211. {
  212. opacity = 0.6
  213. }
  214. }
  215. style basic : basicContainer
  216. {
  217. stateActive
  218. {
  219. imageList = activeImages
  220. }
  221. }
  222. style topLeftAlignedEntry : basic
  223. {
  224. stateNormal
  225. {
  226. skin = formEntry
  227. textAlignment = ALIGN_TOP_LEFT
  228. }
  229. stateFocus
  230. {
  231. skin = formFocus
  232. }
  233. }
  234. style buttonStyle : basic
  235. {
  236. padding
  237. {
  238. top = -10
  239. bottom = -10
  240. }
  241. stateNormal
  242. {
  243. font = res/common/arial18.gpb
  244. fontSize = 20
  245. }
  246. stateActive
  247. {
  248. skin = mainActive
  249. }
  250. }
  251. style buttonHover : buttonStyle
  252. {
  253. stateHover
  254. {
  255. textColor = #ff0000ff
  256. }
  257. }
  258. style noBorder
  259. {
  260. stateNormal
  261. {
  262. imageList = normalImages
  263. font = res/common/arial18.gpb
  264. textColor = #ffffffff
  265. fontSize = 14
  266. textAlignment = ALIGN_VCENTER_HCENTER
  267. }
  268. stateFocus
  269. {
  270. textColor = #aaa000ff
  271. imageList = focusImages
  272. }
  273. stateActive
  274. {
  275. imageList = activeImages
  276. textAlignment = ALIGN_VCENTER_HCENTER
  277. }
  278. }
  279. style iconNoBorder : noBorder
  280. {
  281. stateNormal
  282. {
  283. font = res/common/arial18.gpb
  284. fontSize = 20
  285. textAlignment = ALIGN_VCENTER_LEFT
  286. }
  287. stateActive
  288. {
  289. font = res/common/arial18.gpb
  290. fontSize = 20
  291. textAlignment = ALIGN_VCENTER_LEFT
  292. }
  293. }
  294. style topLeftNoBorder : iconNoBorder
  295. {
  296. stateNormal
  297. {
  298. textAlignment = ALIGN_TOP_LEFT
  299. }
  300. stateActive
  301. {
  302. textAlignment = ALIGN_TOP_LEFT
  303. }
  304. }
  305. style title
  306. {
  307. stateNormal
  308. {
  309. textColor = #ffffffff
  310. font = res/common/arial18.gpb
  311. fontSize = 26
  312. textAlignment = ALIGN_BOTTOM_HCENTER
  313. }
  314. stateActive
  315. {
  316. textColor = #C3D9BFff
  317. }
  318. }
  319. }