2
0

default.theme 6.3 KB

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