PageRenderTime 86ms CodeModel.GetById 18ms RepoModel.GetById 1ms app.codeStats 0ms

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

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