PageRenderTime 48ms CodeModel.GetById 21ms RepoModel.GetById 1ms app.codeStats 0ms

/light-themes-0.1.11/Radiance/metacity-1/metacity-theme-1.xml.orig

#
Unknown | 530 lines | 496 code | 34 blank | 0 comment | 0 complexity | 1bba2d876e566e224b9867ab3f51671c MD5 | raw file
Possible License(s): CC-BY-SA-3.0
  1. <?xml version="1.0"?>
  2. <metacity_theme>
  3. <info>
  4. <name>Radiance</name>
  5. <author>Kenneth Wimer, James Schriver, Andrea Cimitan</author>
  6. <copyright>Canonical Ltd.</copyright>
  7. <date>June, 2011</date>
  8. <description>Metacity theme</description>
  9. </info>
  10. <!-- general window layout -->
  11. <frame_geometry name="frame_geometry_normal" title_scale="medium" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false">
  12. <distance name="left_width" value="1"/>
  13. <distance name="right_width" value="1"/>
  14. <distance name="bottom_height" value="1"/>
  15. <distance name="left_titlebar_edge" value="10"/>
  16. <distance name="right_titlebar_edge" value="10"/>
  17. <distance name="button_width" value="18"/>
  18. <distance name="button_height" value="20"/>
  19. <distance name="title_vertical_pad" value="11"/>
  20. <border name="title_border" left="2" right="2" top="0" bottom="0"/>
  21. <border name="button_border" left="0" right="0" top="1" bottom="0"/>
  22. </frame_geometry>
  23. <frame_geometry name="geometry_maximized" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
  24. <distance name="left_width" value="0"/>
  25. <distance name="right_width" value="0"/>
  26. <distance name="bottom_height" value="1"/>
  27. <distance name="left_titlebar_edge" value="10"/>
  28. <distance name="right_titlebar_edge" value="10"/>
  29. <distance name="button_width" value="18"/>
  30. <distance name="button_height" value="20"/>
  31. <distance name="title_vertical_pad" value="11"/>
  32. <border name="title_border" left="2" right="2" top="0" bottom="0"/>
  33. <border name="button_border" left="0" right="0" top="1" bottom="0"/>
  34. </frame_geometry>
  35. <frame_geometry name="border" has_title="false">
  36. <distance name="left_width" value="3"/>
  37. <distance name="right_width" value="3"/>
  38. <distance name="bottom_height" value="3"/>
  39. <distance name="left_titlebar_edge" value="0"/>
  40. <distance name="right_titlebar_edge" value="0"/>
  41. <distance name="button_width" value="0"/>
  42. <distance name="button_height" value="0"/>
  43. <distance name="title_vertical_pad" value="3"/>
  44. <border name="title_border" left="0" right="0" top="0" bottom="0"/>
  45. <border name="button_border" left="0" right="0" top="0" bottom="0"/>
  46. </frame_geometry>
  47. <!-- window title -->
  48. <draw_ops name="draw_title_text_normal">
  49. <title color="shade/#dfd7cf/1.06" x="10" y="(((height - title_height) / 2) `max` 0)+1"/>
  50. <title color="shade/#dfd7cf/1.06" x="10" y="(((height - title_height) / 2) `max` 0)-1"/>
  51. <title color="shade/#dfd7cf/1.06" x="9" y="(((height - title_height) / 2) `max` 0)"/>
  52. <title color="shade/#dfd7cf/1.06" x="11" y="(((height - title_height) / 2) `max` 0)"/>
  53. <title color="shade/#dfd7cf/0.4" x="10" y="(((height - title_height) / 2) `max` 0)"/>
  54. </draw_ops>
  55. <draw_ops name="draw_title_text_unfocused">
  56. <title color="shade/#dfd7cf/1.08" x="10" y="(((height - title_height) / 2) `max` 0)+1"/>
  57. <title color="#a39e9a" x="10" y="(((height - title_height) / 2) `max` 0)"/>
  58. </draw_ops>
  59. <draw_ops name="draw_title">
  60. <!-- frame and gradient -->
  61. <rectangle color="shade/#dfd7cf/0.8" filled="false" x="0" y="0" width="width-1" height="top_height"/>
  62. <gradient type="vertical" x="1" y="1" width="width-2" height="top_height-1">
  63. <color value="shade/#edebe6/1.06" />
  64. <color value="#dfd7cf" />
  65. </gradient>
  66. <!-- top line -->
  67. <gradient type="horizontal" x="0" y="1" width="width" height="1">
  68. <color value="shade/#edebe6/1.08" />
  69. <color value="shade/#edebe6/1.18" />
  70. <color value="shade/#edebe6/1.08" />
  71. </gradient>
  72. <!-- left arch -->
  73. <!-- <arc color="shade/#edebe6/1.08" x="0" y="1" width="9" height="7" start_angle="270" extent_angle="90" />
  74. <arc color="shade/#dfd7cf/0.8" x="0" y="0" width="9" height="9" start_angle="270" extent_angle="90" /> -->
  75. <line color="shade/#dfd7cf/0.8" x1="0" x2="4" y1="1" y2="1"/>
  76. <line color="shade/#dfd7cf/0.8" x1="0" x2="2" y1="2" y2="2"/>
  77. <line color="shade/#dfd7cf/0.8" x1="0" x2="1" y1="3" y2="3"/>
  78. <line color="shade/#dfd7cf/0.8" x1="0" x2="1" y1="4" y2="4"/>
  79. <!-- right arch -->
  80. <!-- <arc color="shade/#edebe6/1.08" x="width-10" y="1" width="9" height="7" start_angle="0" extent_angle="90" />
  81. <arc color="shade/#dfd7cf/0.8" x="width-10" y="0" width="9" height="9" start_angle="0" extent_angle="90" /> -->
  82. <line color="shade/#dfd7cf/0.8" x1="width-5" x2="width" y1="1" y2="1"/>
  83. <line color="shade/#dfd7cf/0.8" x1="width-3" x2="width" y1="2" y2="2"/>
  84. <line color="shade/#dfd7cf/0.8" x1="width-2" x2="width" y1="3" y2="3"/>
  85. <line color="shade/#dfd7cf/0.8" x1="width-2" x2="width" y1="4" y2="4"/>
  86. </draw_ops>
  87. <draw_ops name="draw_title_utility">
  88. <include name="draw_title" />
  89. <line color="shade/#dfd7cf/0.94" x1="1" x2="width-2" y1="height-1" y2="height-1"/>
  90. </draw_ops>
  91. <draw_ops name="draw_title_unfocused">
  92. <!-- frame and gradient -->
  93. <rectangle color="shade/#dfd7cf/0.8" filled="false" x="0" y="0" width="width-1" height="top_height"/>
  94. <gradient type="vertical" x="1" y="1" width="width-2" height="top_height-1">
  95. <color value="shade/#edebe6/0.96" />
  96. <color value="#dfd7cf" />
  97. </gradient>
  98. <!-- top line -->
  99. <gradient type="horizontal" x="0" y="1" width="width" height="1">
  100. <color value="shade/#edebe6/0.98" />
  101. <color value="#edebe6" />
  102. <color value="shade/#edebe6/0.98" />
  103. </gradient>
  104. <!-- left arch -->
  105. <!-- <arc color="shade/#edebe6/1.02" x="0" y="1" width="9" height="7" start_angle="270" extent_angle="90" />
  106. <arc color="shade/#dfd7cf/0.8" x="0" y="0" width="9" height="9" start_angle="270" extent_angle="90" /> -->
  107. <line color="shade/#dfd7cf/0.8" x1="0" x2="4" y1="1" y2="1"/>
  108. <line color="shade/#dfd7cf/0.8" x1="0" x2="2" y1="2" y2="2"/>
  109. <line color="shade/#dfd7cf/0.8" x1="0" x2="1" y1="3" y2="3"/>
  110. <line color="shade/#dfd7cf/0.8" x1="0" x2="1" y1="4" y2="4"/>
  111. <!-- right arch -->
  112. <!-- <arc color="shade/#edebe6/1.02" x="width-10" y="1" width="9" height="7" start_angle="0" extent_angle="90" />
  113. <arc color="shade/#dfd7cf/0.8" x="width-10" y="0" width="9" height="9" start_angle="0" extent_angle="90" /> -->
  114. <line color="shade/#dfd7cf/0.8" x1="width-5" x2="width" y1="1" y2="1"/>
  115. <line color="shade/#dfd7cf/0.8" x1="width-3" x2="width" y1="2" y2="2"/>
  116. <line color="shade/#dfd7cf/0.8" x1="width-2" x2="width" y1="3" y2="3"/>
  117. <line color="shade/#dfd7cf/0.8" x1="width-2" x2="width" y1="4" y2="4"/>
  118. </draw_ops>
  119. <draw_ops name="draw_title_utility_unfocused">
  120. <include name="draw_title_unfocused" />
  121. <line color="shade/#dfd7cf/0.94" x1="1" x2="width-2" y1="height-1" y2="height-1"/>
  122. </draw_ops>
  123. <draw_ops name="draw_title_maximized">
  124. <!-- frame and gradient -->
  125. <line color="shade/#dfd7cf/0.8" x1="0" x2="width" y1="0" y2="0"/>
  126. <gradient type="vertical" x="0" y="1" width="width" height="top_height-1">
  127. <color value="shade/#edebe6/0.98" />
  128. <color value="#dfd7cf" />
  129. </gradient>
  130. <!-- top line -->
  131. <gradient type="horizontal" x="0" y="1" width="width" height="1">
  132. <color value="shade/#edebe6/1.08" />
  133. <color value="shade/#edebe6/1.38" />
  134. <color value="shade/#edebe6/1.08" />
  135. </gradient>
  136. </draw_ops>
  137. <draw_ops name="draw_title_maximized_unfocused">
  138. <!-- frame and gradient -->
  139. <line color="shade/#dfd7cf/0.8" x1="0" x2="width" y1="0" y2="0"/>
  140. <gradient type="vertical" x="0" y="1" width="width" height="top_height-1">
  141. <color value="shade/#edebe6/0.94" />
  142. <color value="#dfd7cf" />
  143. </gradient>
  144. <!-- top line -->
  145. <line color="#edebe6" x1="0" x2="width" y1="1" y2="1"/>
  146. </draw_ops>
  147. <!-- window Frames -->
  148. <draw_ops name="draw_frame">
  149. <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/>
  150. <gradient type="vertical" x="0" y="0" width="width" height="60">
  151. <color value="shade/#dfd7cf/0.8" />
  152. <color value="shade/#dfd7cf/0.8" />
  153. <color value="shade/gtk:bg[NORMAL]/0.7" />
  154. </gradient>
  155. </draw_ops>
  156. <draw_ops name="draw_frame_utility">
  157. <rectangle color="shade/gtk:bg[NORMAL]/0.7" x="0" y="0" width="width" height="height" filled="true"/>
  158. </draw_ops>
  159. <draw_ops name="bottom_edge">
  160. <line color="shade/gtk:bg[NORMAL]/0.7" x1="0" x2="width" y1="height-1" y2="height-1"/>
  161. </draw_ops>
  162. <draw_ops name="border">
  163. <line color="shade/gtk:bg[NORMAL]/0.98" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/>
  164. <line color="shade/gtk:bg[NORMAL]/0.98" x1="width - 2" y1="1" x2="width - 2" y2="height - 2"/>
  165. <line color="shade/gtk:bg[NORMAL]/1.4" x1="1" y1="1" x2="width - 2" y2="1"/>
  166. <line color="shade/gtk:bg[NORMAL]/1.4" x1="1" y1="1" x2="1" y2="height - 2"/>
  167. <rectangle color="shade/gtk:bg[NORMAL]/0.25" filled="false" x="0" y="0" width="width - 1" height="height - 1"/>
  168. </draw_ops>
  169. <!-- buttons -->
  170. <!-- button trough left -->
  171. <draw_ops name="left_left_background_focused_normal">
  172. <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/>
  173. </draw_ops>
  174. <draw_ops name="left_left_background_focused_pressed">
  175. <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/>
  176. </draw_ops>
  177. <draw_ops name="left_middle_background_focused_normal">
  178. <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  179. </draw_ops>
  180. <draw_ops name="left_middle_background_focused_pressed">
  181. <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  182. </draw_ops>
  183. <draw_ops name="left_right_background_focused_normal">
  184. <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/>
  185. </draw_ops>
  186. <draw_ops name="left_right_background_focused_pressed">
  187. <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/>
  188. </draw_ops>
  189. <draw_ops name="left_left_background_unfocused_normal">
  190. <image filename="trough_unfocused_left.png" x="0" y="1" width="object_width" height="object_height"/>
  191. </draw_ops>
  192. <draw_ops name="left_left_background_unfocused_pressed">
  193. <image filename="trough_unfocused_left.png" x="0" y="1" width="object_width" height="object_height"/>
  194. </draw_ops>
  195. <draw_ops name="left_middle_background_unfocused_normal">
  196. <image filename="trough_unfocused_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  197. </draw_ops>
  198. <draw_ops name="left_middle_background_unfocused_pressed">
  199. <image filename="trough_unfocused_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  200. </draw_ops>
  201. <draw_ops name="left_right_background_unfocused_normal">
  202. <image filename="trough_unfocused_right.png" x="0" y="1" width="object_width" height="object_height"/>
  203. </draw_ops>
  204. <draw_ops name="left_right_background_unfocused_pressed">
  205. <image filename="trough_unfocused_right.png" x="0" y="1" width="object_width" height="object_height"/>
  206. </draw_ops>
  207. <!-- button Trough Right -->
  208. <draw_ops name="right_left_background_focused_normal">
  209. <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/>
  210. </draw_ops>
  211. <draw_ops name="right_left_background_focused_pressed">
  212. <image filename="trough_left.png" x="0" y="1" width="object_width" height="object_height"/>
  213. </draw_ops>
  214. <draw_ops name="right_middle_background_focused_normal">
  215. <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  216. </draw_ops>
  217. <draw_ops name="right_middle_background_focused_pressed">
  218. <image filename="trough_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  219. </draw_ops>
  220. <draw_ops name="right_right_background_focused_normal">
  221. <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/>
  222. </draw_ops>
  223. <draw_ops name="right_right_background_focused_pressed">
  224. <image filename="trough_right.png" x="0" y="1" width="object_width" height="object_height"/>
  225. </draw_ops>
  226. <draw_ops name="right_left_background_unfocused_normal">
  227. <image filename="trough_unfocused_left.png" x="0" y="1" width="object_width" height="object_height"/>
  228. </draw_ops>
  229. <draw_ops name="right_left_background_unfocused_pressed">
  230. <image filename="trough_unfocused_left.png" x="0" y="1" width="object_width" height="object_height"/>
  231. </draw_ops>
  232. <draw_ops name="right_middle_background_unfocused_normal">
  233. <image filename="trough_unfocused_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  234. </draw_ops>
  235. <draw_ops name="right_middle_background_unfocused_pressed">
  236. <image filename="trough_unfocused_middle.png" x="0" y="1" width="object_width" height="object_height"/>
  237. </draw_ops>
  238. <draw_ops name="right_right_background_unfocused_normal">
  239. <image filename="trough_unfocused_right.png" x="0" y="1" width="object_width" height="object_height"/>
  240. </draw_ops>
  241. <draw_ops name="right_right_background_unfocused_pressed">
  242. <image filename="trough_unfocused_right.png" x="0" y="1" width="object_width" height="object_height"/>
  243. </draw_ops>
  244. <!-- button prelightlays -->
  245. <draw_ops name="menu_focused_normal">
  246. <image filename="menu.png" x="0" y="1" width="object_width" height="object_height"/>
  247. </draw_ops>
  248. <draw_ops name="menu_focused_prelight">
  249. <image filename="menu_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  250. </draw_ops>
  251. <draw_ops name="menu_unfocused_normal">
  252. <image filename="menu.png" x="0" y="1" width="object_width" height="object_height"/>
  253. </draw_ops>
  254. <draw_ops name="menu_unfocused_prelight">
  255. <image filename="menu_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  256. </draw_ops>
  257. <draw_ops name="minimize_focused_normal">
  258. <image filename="minimize_focused_normal.png" x="0" y="1" width="object_width" height="object_height"/>
  259. </draw_ops>
  260. <draw_ops name="minimize_focused_prelight">
  261. <image filename="minimize_focused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  262. </draw_ops>
  263. <draw_ops name="minimize_focused_pressed">
  264. <image filename="minimize_focused_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
  265. </draw_ops>
  266. <draw_ops name="minimize_unfocused_normal">
  267. <image filename="minimize_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
  268. </draw_ops>
  269. <draw_ops name="minimize_unfocused_prelight">
  270. <image filename="minimize_unfocused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  271. </draw_ops>
  272. <draw_ops name="minimize_unfocused_pressed">
  273. <image filename="minimize.png" x="0" y="1" width="object_width" height="object_height"/>
  274. </draw_ops>
  275. <draw_ops name="maximize_focused_normal">
  276. <image filename="maximize_focused_normal.png" x="0" y="1" width="object_width" height="object_height"/>
  277. </draw_ops>
  278. <draw_ops name="maximize_focused_prelight">
  279. <image filename="maximize_focused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  280. </draw_ops>
  281. <draw_ops name="maximize_focused_pressed">
  282. <image filename="maximize_focused_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
  283. </draw_ops>
  284. <draw_ops name="maximize_unfocused_normal">
  285. <image filename="maximize_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
  286. </draw_ops>
  287. <draw_ops name="maximize_unfocused_prelight">
  288. <image filename="maximize_unfocused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  289. </draw_ops>
  290. <draw_ops name="maximize_unfocused_pressed">
  291. <image filename="maximize.png" x="0" y="1" width="object_width" height="object_height"/>
  292. </draw_ops>
  293. <draw_ops name="unmaximize_focused_normal">
  294. <image filename="unmaximize_focused_normal.png" x="0" y="1" width="object_width" height="object_height"/>
  295. </draw_ops>
  296. <draw_ops name="unmaximize_focused_prelight">
  297. <image filename="unmaximize_focused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  298. </draw_ops>
  299. <draw_ops name="unmaximize_focused_pressed">
  300. <image filename="unmaximize_focused_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
  301. </draw_ops>
  302. <draw_ops name="unmaximize_unfocused_normal">
  303. <image filename="unmaximize_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
  304. </draw_ops>
  305. <draw_ops name="unmaximize_unfocused_prelight">
  306. <image filename="unmaximize_unfocused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  307. </draw_ops>
  308. <draw_ops name="unmaximize_unfocused_pressed">
  309. <image filename="unmaximize.png" x="0" y="1" width="object_width" height="object_height"/>
  310. </draw_ops>
  311. <draw_ops name="close_focused_normal">
  312. <image filename="close_focused_normal.png" x="0" y="1" width="object_width" height="object_height"/>
  313. </draw_ops>
  314. <draw_ops name="close_focused_prelight">
  315. <image filename="close_focused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  316. </draw_ops>
  317. <draw_ops name="close_focused_pressed">
  318. <image filename="close_focused_pressed.png" x="0" y="1" width="object_width" height="object_height"/>
  319. </draw_ops>
  320. <draw_ops name="close_unfocused_normal">
  321. <image filename="close_unfocused.png" x="0" y="1" width="object_width" height="object_height"/>
  322. </draw_ops>
  323. <draw_ops name="close_unfocused_prelight">
  324. <image filename="close_unfocused_prelight.png" x="0" y="1" width="object_width" height="object_height"/>
  325. </draw_ops>
  326. <draw_ops name="close_unfocused_pressed">
  327. <image filename="close.png" x="0" y="1" width="object_width" height="object_height"/>
  328. </draw_ops>
  329. <!-- frame style -->
  330. <frame_style name="normal_focused" geometry="frame_geometry_normal">
  331. <piece position="title" draw_ops="draw_title_text_normal"/>
  332. <piece position="titlebar" draw_ops="draw_title"/>
  333. <piece position="left_edge" draw_ops="draw_frame"/>
  334. <piece position="right_edge" draw_ops="draw_frame"/>
  335. <piece position="bottom_edge" draw_ops="bottom_edge"/>
  336. <button function="left_left_background" state="normal" draw_ops="left_left_background_focused_normal"/>
  337. <button function="left_middle_background" state="normal" draw_ops="left_middle_background_focused_normal"/>
  338. <button function="left_right_background" state="normal" draw_ops="left_right_background_focused_normal"/>
  339. <button function="left_left_background" state="prelight" draw_ops="left_left_background_focused_normal"/>
  340. <button function="left_middle_background" state="prelight" draw_ops="left_middle_background_focused_normal"/>
  341. <button function="left_right_background" state="prelight" draw_ops="left_right_background_focused_normal"/>
  342. <button function="left_left_background" state="pressed" draw_ops="left_left_background_focused_pressed"/>
  343. <button function="left_middle_background" state="pressed" draw_ops="left_middle_background_focused_pressed"/>
  344. <button function="left_right_background" state="pressed" draw_ops="left_right_background_focused_pressed"/>
  345. <button function="right_left_background" state="normal" draw_ops="right_left_background_focused_normal"/>
  346. <button function="right_middle_background" state="normal" draw_ops="right_middle_background_focused_normal"/>
  347. <button function="right_right_background" state="normal" draw_ops="right_right_background_focused_normal"/>
  348. <button function="right_left_background" state="prelight" draw_ops="right_left_background_focused_normal"/>
  349. <button function="right_middle_background" state="prelight" draw_ops="right_middle_background_focused_normal"/>
  350. <button function="right_right_background" state="prelight" draw_ops="right_right_background_focused_normal"/>
  351. <button function="right_left_background" state="pressed" draw_ops="right_left_background_focused_pressed"/>
  352. <button function="right_middle_background" state="pressed" draw_ops="right_middle_background_focused_pressed"/>
  353. <button function="right_right_background" state="pressed" draw_ops="right_right_background_focused_pressed"/>
  354. <button function="menu" state="normal" draw_ops="menu_focused_normal"/>
  355. <button function="menu" state="prelight" draw_ops="menu_focused_prelight"/>
  356. <button function="menu" state="pressed" draw_ops="menu_focused_normal"/>
  357. <button function="minimize" state="normal" draw_ops="minimize_focused_normal"/>
  358. <button function="minimize" state="prelight" draw_ops="minimize_focused_prelight"/>
  359. <button function="minimize" state="pressed" draw_ops="minimize_focused_pressed"/>
  360. <button function="maximize" state="normal" draw_ops="maximize_focused_normal"/>
  361. <button function="maximize" state="prelight" draw_ops="maximize_focused_prelight"/>
  362. <button function="maximize" state="pressed" draw_ops="maximize_focused_pressed"/>
  363. <button function="close" state="normal" draw_ops="close_focused_normal"/>
  364. <button function="close" state="prelight" draw_ops="close_focused_prelight"/>
  365. <button function="close" state="pressed" draw_ops="close_focused_pressed"/>
  366. <shadow radius="8.0" opacity="0.75" color="#abde4f" x_offset="1" y_offset="4"/>
  367. <padding left="7" right="7" bottom="7"/>
  368. </frame_style>
  369. <frame_style name="normal_unfocused" geometry="frame_geometry_normal">
  370. <piece position="title" draw_ops="draw_title_text_unfocused"/>
  371. <piece position="titlebar" draw_ops="draw_title_unfocused"/>
  372. <piece position="left_edge" draw_ops="draw_frame"/>
  373. <piece position="right_edge" draw_ops="draw_frame"/>
  374. <piece position="bottom_edge" draw_ops="bottom_edge"/>
  375. <button function="left_left_background" state="normal" draw_ops="left_left_background_unfocused_normal"/>
  376. <button function="left_middle_background" state="normal" draw_ops="left_middle_background_unfocused_normal"/>
  377. <button function="left_right_background" state="normal" draw_ops="left_right_background_unfocused_normal"/>
  378. <button function="left_left_background" state="prelight" draw_ops="left_left_background_unfocused_normal"/>
  379. <button function="left_middle_background" state="prelight" draw_ops="left_middle_background_unfocused_normal"/>
  380. <button function="left_right_background" state="prelight" draw_ops="left_right_background_unfocused_normal"/>
  381. <button function="left_left_background" state="pressed" draw_ops="left_left_background_unfocused_pressed"/>
  382. <button function="left_middle_background" state="pressed" draw_ops="left_middle_background_unfocused_pressed"/>
  383. <button function="left_right_background" state="pressed" draw_ops="left_right_background_unfocused_pressed"/>
  384. <button function="right_left_background" state="normal" draw_ops="right_left_background_unfocused_normal"/>
  385. <button function="right_middle_background" state="normal" draw_ops="right_middle_background_unfocused_normal"/>
  386. <button function="right_right_background" state="normal" draw_ops="right_right_background_unfocused_normal"/>
  387. <button function="right_left_background" state="prelight" draw_ops="right_left_background_unfocused_normal"/>
  388. <button function="right_middle_background" state="prelight" draw_ops="right_middle_background_unfocused_normal"/>
  389. <button function="right_right_background" state="prelight" draw_ops="right_right_background_unfocused_normal"/>
  390. <button function="right_left_background" state="pressed" draw_ops="right_left_background_unfocused_pressed"/>
  391. <button function="right_middle_background" state="pressed" draw_ops="right_middle_background_unfocused_pressed"/>
  392. <button function="right_right_background" state="pressed" draw_ops="right_right_background_unfocused_pressed"/>
  393. <button function="menu" state="normal" draw_ops="menu_unfocused_normal"/>
  394. <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight"/>
  395. <button function="menu" state="pressed" draw_ops="menu_focused_normal"/>
  396. <button function="minimize" state="normal" draw_ops="minimize_unfocused_normal"/>
  397. <button function="minimize" state="prelight" draw_ops="minimize_unfocused_prelight"/>
  398. <button function="minimize" state="pressed" draw_ops="minimize_unfocused_pressed"/>
  399. <button function="maximize" state="normal" draw_ops="maximize_unfocused_normal"/>
  400. <button function="maximize" state="prelight" draw_ops="maximize_unfocused_prelight"/>
  401. <button function="maximize" state="pressed" draw_ops="maximize_unfocused_pressed"/>
  402. <button function="close" state="normal" draw_ops="close_unfocused_normal"/>
  403. <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
  404. <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
  405. <shadow radius="8.0" opacity="0.5" color="#abde4f" x_offset="1" y_offset="4"/>
  406. <padding left="7" right="7" bottom="7"/>
  407. </frame_style>
  408. <frame_style name="maximized_focused" geometry="geometry_maximized" parent="normal_focused">
  409. <piece position="title" draw_ops="draw_title_text_normal"/>
  410. <piece position="titlebar" draw_ops="draw_title_maximized"/>
  411. <button function="maximize" state="normal" draw_ops="unmaximize_focused_normal"/>
  412. <button function="maximize" state="prelight" draw_ops="unmaximize_focused_prelight"/>
  413. <button function="maximize" state="pressed" draw_ops="unmaximize_focused_pressed"/>
  414. <shadow radius="0.0" opacity="0.0" color="#000000" x_offset="0" y_offset="0"/>
  415. <padding left="0" right="0" bottom="0"/>
  416. </frame_style>
  417. <frame_style name="maximized_unfocused" geometry="geometry_maximized" parent="normal_unfocused">
  418. <piece position="title" draw_ops="draw_title_text_unfocused"/>
  419. <piece position="titlebar" draw_ops="draw_title_maximized_unfocused"/>
  420. <button function="maximize" state="normal" draw_ops="unmaximize_unfocused_normal"/>
  421. <button function="maximize" state="prelight" draw_ops="unmaximize_unfocused_prelight"/>
  422. <button function="maximize" state="pressed" draw_ops="unmaximize_unfocused_pressed"/>
  423. <shadow radius="0.0" opacity="0.0" color="#000000" x_offset="0" y_offset="0"/>
  424. <padding left="0" right="0" bottom="0"/>
  425. </frame_style>
  426. <frame_style name="utility_focused" parent="normal_focused">
  427. <piece position="title" draw_ops="draw_title_text_normal"/>
  428. <piece position="titlebar" draw_ops="draw_title_utility"/>
  429. <piece position="left_edge" draw_ops="draw_frame_utility"/>
  430. <piece position="right_edge" draw_ops="draw_frame_utility"/>
  431. <button function="menu" state="normal" draw_ops="menu_focused_normal"/>
  432. <button function="menu" state="prelight" draw_ops="menu_focused_prelight"/>
  433. <button function="menu" state="pressed" draw_ops="menu_focused_normal"/>
  434. <button function="close" state="normal" draw_ops="close_focused_normal"/>
  435. <button function="close" state="prelight" draw_ops="close_focused_prelight"/>
  436. <button function="close" state="pressed" draw_ops="close_focused_pressed"/>
  437. <shadow radius="8.0" opacity="0.3" color="#abde4f" x_offset="1" y_offset="1"/>
  438. <padding left="2" right="2" bottom="2"/>
  439. </frame_style>
  440. <frame_style name="utility_unfocused" parent="normal_unfocused">
  441. <piece position="title" draw_ops="draw_title_text_unfocused"/>
  442. <piece position="titlebar" draw_ops="draw_title_utility_unfocused"/>
  443. <piece position="left_edge" draw_ops="draw_frame_utility"/>
  444. <piece position="right_edge" draw_ops="draw_frame_utility"/>
  445. <button function="menu" state="normal" draw_ops="menu_unfocused_normal"/>
  446. <button function="menu" state="prelight" draw_ops="menu_unfocused_prelight"/>
  447. <button function="menu" state="pressed" draw_ops="menu_focused_normal"/>
  448. <button function="close" state="normal" draw_ops="close_unfocused_normal"/>
  449. <button function="close" state="prelight" draw_ops="close_unfocused_prelight"/>
  450. <button function="close" state="pressed" draw_ops="close_unfocused_pressed"/>
  451. <shadow radius="8.0" opacity="0.3" color="#abde4f" x_offset="1" y_offset="1"/>
  452. <padding left="2" right="2" bottom="2"/>
  453. </frame_style>
  454. <frame_style name="border" geometry="border" parent="normal_focused">
  455. <piece position="title" draw_ops="draw_title"/>
  456. <piece position="titlebar" draw_ops="draw_title_unfocused"/>
  457. </frame_style>
  458. <!-- style set -->
  459. <frame_style_set name="normal">
  460. <frame focus="yes" state="normal" resize="both" style="normal_focused"/>
  461. <frame focus="no" state="normal" resize="both" style="normal_unfocused"/>
  462. <frame focus="yes" state="maximized" style="maximized_focused"/>
  463. <frame focus="no" state="maximized" style="maximized_unfocused"/>
  464. <frame focus="yes" state="shaded" style="normal_focused"/><!-- todo -->
  465. <frame focus="no" state="shaded" style="normal_unfocused"/><!-- todo -->
  466. <frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/><!-- todo -->
  467. <frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/><!-- todo -->
  468. </frame_style_set>
  469. <frame_style_set name="utility">
  470. <frame focus="yes" state="normal" resize="both" style="utility_focused"/>
  471. <frame focus="no" state="normal" resize="both" style="utility_unfocused"/>
  472. <frame focus="yes" state="maximized" style="maximized_focused"/>
  473. <frame focus="no" state="maximized" style="normal_focused"/>
  474. <frame focus="yes" state="shaded" style="normal_focused"/><!-- todo -->
  475. <frame focus="no" state="shaded" style="normal_unfocused"/><!-- todo -->
  476. <frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/><!-- todo -->
  477. <frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/><!-- todo -->
  478. </frame_style_set>
  479. <frame_style_set name="border">
  480. <frame focus="yes" state="normal" resize="both" style="border"/>
  481. <frame focus="no" state="normal" resize="both" style="border"/>
  482. <frame focus="yes" state="maximized" style="maximized_focused"/>
  483. <frame focus="no" state="maximized" style="normal_focused"/>
  484. <frame focus="yes" state="shaded" style="normal_focused"/><!-- todo -->
  485. <frame focus="no" state="shaded" style="normal_unfocused"/><!-- todo -->
  486. <frame focus="yes" state="maximized_and_shaded" style="maximized_focused"/><!-- todo -->
  487. <frame focus="no" state="maximized_and_shaded" style="maximized_unfocused"/><!-- todo -->
  488. </frame_style_set>
  489. <!-- window -->
  490. <window type="normal" style_set="normal"/>
  491. <window type="dialog" style_set="utility"/>
  492. <window type="modal_dialog" style_set="utility"/>
  493. <window type="menu" style_set="utility"/>
  494. <window type="utility" style_set="utility"/>
  495. <window type="border" style_set="border"/>
  496. </metacity_theme>