home *** CD-ROM | disk | FTP | other *** search
/ Freelog 112 / FreelogNo112-NovembreDecembre2012.iso / Multimedia / Songbird / Songbird_2.0.0-2311_windows-i686-msvc8.exe / chrome / songbird.jar / skin / bindings / browsertoolbar.css < prev    next >
Cascading Style Sheet File  |  2012-05-25  |  7KB  |  301 lines

  1. /*
  2. //
  3. // BEGIN SONGBIRD GPL
  4. // 
  5. // This file is part of the Songbird web player.
  6. //
  7. // Copyright(c) 2005-2008 POTI, Inc.
  8. // http://songbirdnest.com
  9. // 
  10. // This file may be licensed under the terms of of the
  11. // GNU General Public License Version 2 (the "GPL").
  12. // 
  13. // Software distributed under the License is distributed 
  14. // on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either 
  15. // express or implied. See the GPL for the specific language 
  16. // governing rights and limitations.
  17. //
  18. // You should have received a copy of the GPL along with this 
  19. // program. If not, go to http://www.gnu.org/licenses/gpl.html
  20. // or write to the Free Software Foundation, Inc., 
  21. // 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  22. // 
  23. // END SONGBIRD GPL
  24. //
  25.  */
  26.  
  27.  
  28.  
  29. /** 
  30. *******************************************************************************
  31. WEB TOOLBAR IMAGES
  32.  
  33. Applies images to the toolbar items in browserToolbarOverlay.xul.  
  34. Imported by bindings.css or directly into feathers.
  35.  
  36. *******************************************************************************
  37. */
  38.  
  39. /** The back button **/
  40. #back-button
  41. {
  42.   list-style-image: url(chrome://songbird/skin/buttons/webbar-buttons.png);
  43.   -moz-image-region: rect(0px 16px 16px 0px);
  44. }
  45. #back-button:hover
  46. {
  47.   -moz-image-region: rect(16px 16px 32px 0px);
  48. }
  49. #back-button[disabled="true"]
  50. {
  51.   -moz-image-region: rect(48px 16px 64px 0px);
  52. }
  53. #back-button[active="true"]
  54. {
  55.   -moz-image-region: rect(32px 16px 48px 0px);
  56. }
  57.  
  58.  
  59. /** The reload button **/
  60. #reload-button,
  61. .sb-browser-stopreload-reload-button
  62. {
  63.   list-style-image: url(chrome://songbird/skin/buttons/webbar-buttons.png);
  64.   -moz-image-region: rect(0px 48px 16px 32px);
  65. }
  66. #reload-button:hover,
  67. .sb-browser-stopreload-reload-button:hover
  68. {
  69.   -moz-image-region: rect(16px 48px 32px 32px);
  70. }
  71. #reload-button[disabled="true"],
  72. .sb-browser-stopreload-reload-button[disabled="true"]
  73. {
  74.   -moz-image-region: rect(48px 48px 94px 32px);
  75. }
  76. #reload-button[active="true"],
  77. .sb-browser-stopreload-reload-button[active="true"]
  78. {
  79.   -moz-image-region: rect(32px 48px 48px 32px);
  80. }
  81.  
  82.  
  83. /** The stop button **/
  84. #stop-button,
  85. .sb-browser-stopreload-stop-button
  86. {
  87.   list-style-image: url(chrome://songbird/skin/buttons/webbar-buttons.png);
  88.   -moz-image-region: rect(0px 64px 16px 48px);
  89. }
  90. #stop-button:hover,
  91. .sb-browser-stopreload-stop-button:hover
  92. {
  93.   -moz-image-region: rect(16px 64px 32px 48px);
  94. }
  95. #stop-button[disabled="true"],
  96. .sb-browser-stopreload-stop-button[disabled="true"]
  97. {
  98.   -moz-image-region: rect(48px 64px 64px 48px);
  99. }
  100. #stop-button[active="true"],
  101. .sb-browser-stopreload-stop-button[active="true"]
  102. {
  103.   -moz-image-region: rect(32px 64px 48px 48px);
  104. }
  105.  
  106.  
  107. /** The forward button **/
  108. #forward-button
  109. {
  110.   list-style-image: url(chrome://songbird/skin/buttons/webbar-buttons.png);
  111.   -moz-image-region: rect(0px 32px 16px 16px);
  112. }
  113. #forward-button:hover
  114. {
  115.   -moz-image-region: rect(16px 32px 32px 16px);
  116. }
  117. #forward-button[disabled="true"]
  118. {
  119.   -moz-image-region: rect(48px 32px 64px 16px);
  120. }
  121. #forward-button[active="true"]
  122. {
  123.   -moz-image-region: rect(32px 32px 48px 16px);
  124. }
  125.  
  126.  
  127. /** The home button **/
  128. #home-button
  129. {
  130.   list-style-image: url(chrome://songbird/skin/buttons/webbar-buttons.png);
  131.   -moz-image-region: rect(0px 80px 16px 64px);
  132. }
  133. #home-button:hover
  134. {
  135.   -moz-image-region: rect(16px 80px 32px 64px);
  136. }
  137. #home-button[disabled="true"]
  138. {
  139.   -moz-image-region: rect(48px 80px 64px 64px);
  140. }
  141. #home-button[active="true"]
  142. {
  143.   -moz-image-region: rect(32px 80px 48px 64px);
  144. }
  145.  
  146.  
  147. #subscription-button
  148. {
  149.   list-style-image: url(chrome://songbird/skin/buttons/webbar-buttons.png);
  150.   -moz-image-region: rect(0px 112px 16px 96px);
  151. }
  152. #subscription-button:hover
  153. {
  154.   -moz-image-region: rect(16px 112px 32px 96px);
  155. }
  156. #subscription-button[disabled="true"]
  157. {
  158.   -moz-image-region: rect(48px 112px 64px 96px);
  159. }
  160. #subscription-button[active="true"]
  161. {
  162.   -moz-image-region: rect(32px 112px 48px 96px);
  163. }
  164.  
  165. /** The Media Pages button **/
  166. #mediapages-button > .toolbarbutton-icon
  167. {
  168.   list-style-image: url(chrome://songbird/skin/buttons/webbar-buttons.png);
  169.   -moz-image-region: rect(0px 144px 16px 128px);
  170. }
  171. #mediapages-button:hover > .toolbarbutton-icon
  172. {
  173.   -moz-image-region: rect(16px 144px 32px 128px);
  174. }
  175. #mediapages-button[disabled="true"] > .toolbarbutton-icon
  176. {
  177.   -moz-image-region: rect(48px 144px 64px 128px);
  178. }
  179. #mediapages-button[active="true"] > .toolbarbutton-icon
  180. {
  181.   -moz-image-region: rect(32px 144px 48px 128px);
  182. }
  183.  
  184.  
  185. /** 
  186. *******************************************************************************
  187. LOCATION TEXTBOX
  188. *******************************************************************************
  189. */
  190.  
  191.  
  192. /* the box with the url image and the url textbox */
  193. .locationbar-textbox
  194. {
  195.   max-height: 26px;
  196.   min-height: 26px;
  197.   margin: 1px 0px 1px 2px;
  198.   padding: 0px 0px 1px 0px;
  199. }
  200.  
  201.  
  202. .locationbar-image
  203. {
  204.   list-style-image: url("chrome://songbird/skin/icons/small-globe-sunken.png");
  205.   background-color: transparent;
  206.   height: 16px;
  207.   width: 16px;
  208.   max-height: 16px !important;
  209.   max-width: 16px !important;
  210.   min-height: 16px !important;
  211.   min-width: 16px !important;
  212.   margin: 3px 5px 3px 5px;
  213. }
  214.  
  215.  
  216. /** Convert the favicon into a spinner animation when
  217.     the browser is loading **/ 
  218. .locationbar-textbox[loading="true"] > .locationbar-image {
  219.   background-image: url(chrome://songbird/skin/icons/spinner-spin.png) !important;
  220.   width:16px;
  221.   height:16px;
  222.   padding-top:100px;
  223.   overflow:hidden;
  224. }
  225.  
  226. /** NOTE: If the URL is from the servicepane it may have a hardcoded 
  227.     image URL or may get an icon from CSS.  In order to apply icons 
  228.     from CSS we reflect a list of properties onto the image element.  
  229.     See /app/skin/bindings/servicepane.css for details. **/
  230.     
  231.  
  232. /** 
  233. ************************************************************************************************************************************************
  234. SPINNER 
  235. Used to indicate that the system is busy doing something
  236. ************************************************************************************************************************************************
  237. */
  238.  
  239. sb-browser-spinner
  240. {
  241.   background-color: transparent;
  242.   padding: 2px;
  243. }
  244. .browser-spinner-image
  245. {
  246.   list-style-image: url(chrome://songbird/skin/icons/spinner-stopped.png) ;  
  247. }
  248. .browser-spinner-image[spinning="true"]
  249. {
  250.   list-style-image: url(chrome://songbird/skin/icons/spinner-spin.png) ;
  251. }
  252.  
  253.  
  254. /** 
  255. *******************************************************************************
  256. GENERAL RULES
  257. *******************************************************************************
  258. */
  259.  
  260. #navigator-toolbox > toolbar > toolbarbutton,
  261. .sb-browser-stopreload-button > toolbarbutton
  262. {
  263.   min-height: 26px;
  264.   min-width: 28px;  
  265.   padding: 0px 0px 0px 0px;
  266.   margin: 0px 2px 0px 2px;
  267. }
  268.  
  269. #navigator-toolbox > toolbar
  270. {
  271.   padding: 4px 2px 4px 2px; 
  272. }
  273.  
  274. #nav-bar
  275. {
  276.   padding-top: 0px;
  277.   padding-bottom: 0px;
  278. }
  279.  
  280. #spinner-container,
  281. #urlbar-container,
  282. #searchbar-container 
  283. {
  284.   padding-left: 1px;
  285.   padding-right: 1px;
  286. }
  287.  
  288. /* hide the overflow here so that as the window shrinks below a certain size
  289.    the scrollbars on the browser window don't disappear.
  290.  */
  291. #navigator-toolbox > toolbar
  292. {
  293.   overflow: hidden;
  294. }
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.