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 / servicepane.css < prev    next >
Cascading Style Sheet File  |  2012-05-25  |  7KB  |  226 lines

  1. /*
  2. //
  3. // BEGIN SONGBIRD GPL
  4. // 
  5. // This file is part of the Songbird web player.
  6. //
  7. // Copyright(c) 2005-2009 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. SERVICE PANE 
  31.  
  32. Applies images and layout for the left pane in the main window. 
  33. The Service Pane is the primary area for navigating through services and 
  34. content. It serves as the primary GUI entry point to content and services.
  35.  
  36. Imported by bindings.css or directly into feathers.
  37.  
  38. *******************************************************************************
  39. */ 
  40.  
  41. /* Twisty and Shouty **/
  42. .servicepane-tree > treechildren::-moz-tree-twisty(open)
  43. {
  44.   list-style-image: url(chrome://songbird/skin/servicepane/twisty-open.png);
  45. }
  46. .servicepane-tree > treechildren::-moz-tree-twisty(closed)
  47. {
  48.   list-style-image: url(chrome://songbird/skin/servicepane/twisty-closed.png);
  49. }
  50.  
  51. .servicepane-tree > treechildren::-moz-tree-twisty(open),
  52. .servicepane-tree > treechildren::-moz-tree-twisty(closed)
  53. {
  54.   -moz-image-region: rect(0px, 9px, 9px, 0px);
  55. }
  56.  
  57. .servicepane-tree > treechildren::-moz-tree-twisty(open selected),
  58. .servicepane-tree > treechildren::-moz-tree-twisty(closed selected)
  59. {
  60.   -moz-image-region: rect(9px, 9px, 18px, 0px);
  61. }
  62. /* Service Pane Icons **/
  63. .servicepane-tree > treechildren::-moz-tree-image()
  64. {
  65.   width: 16px;
  66.   max-height: 16px;
  67. }
  68.  
  69.  
  70.  
  71. .servicepane-tree > treechildren::-moz-tree-image( library ),
  72. .locationbar-image[properties~="library"],
  73. .tabbrowser-tab[properties~="library"] > .tab-image-middle > .tab-icon > .tab-icon-image
  74. {
  75.   list-style-image: url(chrome://songbird/skin/icons/icon-lib.png) ;
  76. }
  77.  
  78. .servicepane-tree > treechildren::-moz-tree-image( birdhouse )
  79. {
  80.   list-style-image: url(chrome://songbird/skin/icons/icon-birdhouse.png) ;
  81. }
  82.  
  83. .servicepane-tree > treechildren::-moz-tree-image( web library ),
  84. .locationbar-image[properties~="library"][properties~="web"],
  85. .tabbrowser-tab[properties~="library"][properties~="web"] > .tab-image-middle > .tab-icon > .tab-icon-image
  86. {
  87.   list-style-image: url(chrome://songbird/skin/icons/icon-web-media-history.png) ;
  88. }
  89.  
  90. .servicepane-tree > treechildren::-moz-tree-image( medialist ),
  91. .locationbar-image[properties~="medialist"],
  92. .tabbrowser-tab[properties~="medialist"] > .tab-image-middle > .tab-icon > .tab-icon-image
  93. {
  94.   list-style-image: url(chrome://songbird/skin/icons/icon-playlist.png) ;
  95. }
  96.  
  97. .servicepane-tree > treechildren::-moz-tree-image( medialisttype-smart ),
  98. .locationbar-image[properties~="medialisttype-smart"],
  99. .tabbrowser-tab[properties~="medialisttype-smart"] > .tab-image-middle > .tab-icon > .tab-icon-image
  100. {
  101.   list-style-image: url(chrome://songbird/skin/icons/icon-smplaylist.png);
  102. }
  103.  
  104. .servicepane-tree > treechildren::-moz-tree-image( medialisttype-dynamic ),
  105. .locationbar-image[properties~="medialisttype-dynamic"],
  106. .tabbrowser-tab[properties~="medialisttype-dynamic"] > .tab-image-middle > .tab-icon > .tab-icon-image
  107. {
  108.   list-style-image: url(chrome://songbird/skin/icons/icon-subscription.png) ;
  109. }
  110.  
  111. .servicepane-tree > treechildren::-moz-tree-image( podcast ),
  112. .locationbar-image[properties~="podcast"],
  113. .tabbrowser-tab[properties~="podcast"] > .tab-image-middle > .tab-icon > .tab-icon-image
  114. {
  115.   list-style-image: url(chrome://songbird/skin/icons/icon-podcast.png) ;
  116. }
  117.  
  118. .servicepane-tree > treechildren::-moz-tree-image( download ),
  119. .locationbar-image[properties~="download"],
  120. .tabbrowser-tab[properties~="download"] > .tab-image-middle > .tab-icon > .tab-icon-image
  121. {
  122.   list-style-image: url(chrome://songbird/skin/icons/icon-downloads.png) ;
  123. }
  124.  
  125. .servicepane-tree > treechildren::-moz-tree-image( download downloading ),
  126. .locationbar-image[properties~="download"][properties~="downloading"],
  127. .tabbrowser-tab[properties~="download"][properties~="downloading"] > .tab-image-middle > .tab-icon > .tab-icon-image
  128. {
  129.   list-style-image: url(chrome://songbird/skin/icons/icon-downloads-progress.png) ;
  130. }
  131.  
  132. .servicepane-tree > treechildren::-moz-tree-image( device ),
  133. .locationbar-image[properties~="device"],
  134. .tabbrowser-tab[properties~="device"] > .tab-image-middle > .tab-icon > .tab-icon-image
  135. {
  136.   list-style-image: url(chrome://songbird/skin/icons/icon-device.png) ;
  137. }
  138.  
  139. .servicepane-tree > treechildren::-moz-tree-image( device busy ),
  140. .locationbar-image[properties~="device"][properties~="busy"],
  141. .tabbrowser-tab[properties~="device"][properties~="busy"] > .tab-image-middle > .tab-icon > .tab-icon-image
  142. {
  143.   list-style-image: url(chrome://songbird/skin/icons/icon-busy.png) ;
  144. }
  145.  
  146. .servicepane-tree > treechildren::-moz-tree-image( folder open )
  147. {
  148.   list-style-image: url(chrome://songbird/skin/icons/icon-folder.png) ;
  149. }
  150.  
  151. .servicepane-tree > treechildren::-moz-tree-image( folder closed )
  152. {
  153.   list-style-image: url(chrome://songbird/skin/icons/icon-folder-closed.png) ;
  154. }
  155.  
  156. .servicepane-tree > treechildren::-moz-tree-row( dropBefore ),
  157. .servicepane-tree > treechildren::-moz-tree-row( dropAfter )
  158. {
  159.   background-image: url(chrome://songbird/skin/backgrounds/drop-target.png) !important;
  160.   background-position: center bottom !important;
  161.   background-repeat: repeat-x !important;
  162. }
  163.  
  164. .servicepane-tree > treechildren::-moz-tree-row( dropBefore )
  165. {
  166.   background-position: center top !important;
  167. }
  168.  
  169.  
  170.  
  171. /** 
  172. *******************************************************************************
  173. THE SERVICE TREE TOOLBAR
  174. Currently a single clickhold button below the service tree
  175. *******************************************************************************
  176. */
  177.  
  178. .servicepane-toolbar-newitem-button > .clickhold-button
  179. {
  180.   padding: 0px;
  181.   margin: 0px;
  182.   height: 25px;
  183. }
  184.  
  185. .servicepane-toolbar-box[dropOn]
  186. {
  187.  border: 2px inset red;
  188. }
  189.  
  190. /** Offset menu to account for rounded button **/
  191. .servicepane-toolbar-newitem-button > .clickhold-menupopup
  192. {
  193.  margin-left: 8px;
  194. }
  195.  
  196. /** Bind images to the button and button-popup on the Service Pane */
  197. .servicepane-toolbar-newitem-button
  198. {
  199.   list-style-image: url(chrome://songbird/skin/icons/icon-playlist.png) ;
  200. }
  201.  
  202. #menuitem_file_new {
  203.   list-style-image: url(chrome://songbird/skin/icons/icon-playlist.png) ;
  204. }
  205.  
  206. #menuitem_file_smart {
  207.   list-style-image: url(chrome://songbird/skin/icons/icon-smplaylist.png) ;
  208. }
  209.  
  210. #menuitem_file_remote {
  211.   list-style-image: url(chrome://songbird/skin/icons/icon-subscription.png) ;
  212. }
  213.  
  214. #menuitem_file_podcast {
  215.   list-style-image: url(chrome://songbird/skin/icons/icon-podcast.png) ;
  216. }
  217.  
  218. /* Mac-specific icons for the file menu */
  219. window[platform="Darwin"] #menu_FilePopup #menuitem_file_new,
  220. window[platform="Darwin"] #menu_FilePopup #menuitem_file_smart,
  221. window[platform="Darwin"] #menu_FilePopup #menuitem_file_remote
  222. {
  223.   list-style-image: none;
  224. }
  225.  
  226.