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 / faceplate.css < prev    next >
Cascading Style Sheet File  |  2012-05-25  |  5KB  |  239 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. FACEPLATE
  32.  
  33. Applies image and layout styles to the LCD faceplate screen.
  34. Imported by bindings.css or directly into feathers.
  35.  
  36. *******************************************************************************
  37. */
  38.  
  39.  
  40. /** Rounded corners for the faceplate **/
  41. .faceplate-left-spacer,
  42. .faceplate-right-spacer
  43. {
  44.   width: 10px;
  45.   height: 55px;
  46.   background-repeat: no-repeat;
  47. }
  48. .faceplate-left-spacer
  49. {
  50.   background-image: url(chrome://songbird/skin/faceplate/faceplate-left.png);
  51. }
  52. .faceplate-right-spacer
  53. {
  54.   background-image: url(chrome://songbird/skin/faceplate/faceplate-right.png);
  55. }
  56.  
  57.  
  58. /*  Sample for how to style the faceplate based upon the showing pane.
  59. .faceplate-left-spacer[currentId="songbird-intro"],
  60. .faceplate-right-spacer[currentId="songbird-intro"],
  61. .faceplate-deck[currentId="songbird-intro"]
  62. {
  63.   opacity: 0.5; 
  64. }
  65. */
  66.  
  67.  
  68. .faceplate-deck
  69. {
  70.   height: 55px;
  71.   background-image: url(chrome://songbird/skin/faceplate/faceplate-bkgd.png);
  72.   background-repeat: repeat-x;
  73.   overflow: hidden;
  74. }
  75.  
  76. .faceplate-intro-image
  77. {
  78.   list-style-image: url(chrome://songbird-branding/skin/faceplate.png);
  79. }
  80.  
  81.  
  82.  
  83. /** Text **/
  84. .faceplate-text
  85. {
  86.   font-family: Arial, Helvetica, Sans-serif !important;
  87.   margin: 0;
  88. }
  89.  
  90. /*
  91.  This is done in order for the timeelapsed text to have enough room for 4 numbers
  92.  in advance and for the progressbar not to be pushed to the right
  93. */
  94. .sb-player-timeelapsed-label.faceplate-text {
  95.   min-width: 31px;
  96.   text-align: right;
  97. }
  98. sb-player-totaltime-label > .faceplate-text {
  99.   min-width: 31px;
  100.   text-align: left;
  101. }
  102.  
  103. /* 
  104.    Due to https://bugzilla.mozilla.org/show_bug.cgi?id=414711 the artist text
  105.    spills over its boundaries a little bit and clips.  Adding a few pixels of 
  106.    L/R margin "fixes" it well enough until the moz bug is fixed. -gse 
  107. */
  108. sb-player-artist-label.faceplate-text
  109. {
  110.   font-size: 14px !important; 
  111.   text-align: center;
  112.   margin-left: 4px;
  113.   margin-right: 4px;
  114. }
  115.  
  116. .faceplate-album-box,
  117. .faceplate-artist-box
  118. {
  119.   height: 14px;
  120.   padding: 0px;
  121.   margin: 0px;
  122. }
  123.  
  124. .faceplate-curtrack-box:hover,
  125. .faceplate-curtrack-box:hover .faceplate-text
  126. {
  127.   text-decoration: underline;
  128.   cursor: pointer;
  129. }
  130.  
  131. /* the seekbar slider */
  132.  
  133. /** 
  134.   NOTE:
  135.   In order to keep the progress meter exactly in sync with  
  136.   the slider we make the slider thumb invisible, and paint
  137.   a fake thumb as a background image on the right edge
  138.   of the progress bar.
  139.  **/
  140.   
  141. .faceplate-progressmeter,
  142. .faceplate-seekbar
  143. {
  144.   border: 1px solid;
  145.   height: 10px;
  146.   width: auto;
  147. }
  148.  
  149. .faceplate-seekbar-box
  150. {
  151.  padding-left: 10px;
  152.  padding-right: 10px;
  153. }
  154.  
  155. slider.sb-player-seek-slider,
  156. progressmeter.sb-player-seek-slider
  157. {
  158.   height: 10px;
  159. }
  160.  
  161. thumb.sb-player-seek-slider 
  162. {
  163.   width: 10px;
  164.   height: 10px;
  165.   border: none;
  166. }
  167.  
  168. progressmeter.sb-player-seek-slider > .progress-bar {
  169.   background-image: url(chrome://songbird/skin/faceplate/seek-thumb.png);
  170.   background-repeat: no-repeat;
  171.   background-position: right center;
  172. }
  173.  
  174. thumb.sb-player-seek-slider  > gripper
  175. {
  176.   height: 8px;
  177. }
  178. progressmeter.sb-player-seek-slider
  179. {
  180.   height: 8px;
  181.   margin: 0px;
  182.   padding: 0px;
  183.   border: 0px !important;
  184. }
  185. progressmeter.sb-player-seek-slider > .progress-remainder
  186. {
  187.   height: 10px;
  188.   background-image: none;
  189. }
  190. progressmeter.sb-player-seek-slider > .progress-bar
  191. {
  192.   min-width:10px;
  193. }
  194.  
  195. /* shuffle and repeat */
  196. .faceplate-shuffle
  197. {
  198.   margin: -1px 2px 0px 0px;
  199. }
  200. .faceplate-repeat {
  201.   margin: 0px 0px 0px 2px;
  202. }
  203. .sb-player-shuffle-button-off > button
  204. {
  205.   list-style-image: url(chrome://songbird/skin/faceplate/shuffle-off.png);
  206. }
  207. .sb-player-shuffle-button-on > button
  208. {
  209.   list-style-image: url(chrome://songbird/skin/faceplate/shuffle-on.png);
  210. }
  211.  
  212. .sb-player-repeat-button-repnone > button
  213. {
  214.   list-style-image: url(chrome://songbird/skin/faceplate/repeat-off.png);
  215.   margin: 0px 0px 0px 2px;
  216. }
  217. .sb-player-repeat-button-repall > button
  218. {
  219.   list-style-image: url(chrome://songbird/skin/faceplate/repeat-all.png);
  220. }
  221. .sb-player-repeat-button-rep1 > button
  222. {
  223.   list-style-image: url(chrome://songbird/skin/faceplate/repeat-one.png);
  224. }
  225.  
  226. /**
  227.  * The following rules are there to allow showing the seek buffering animation
  228.  * when faceplate.buffering is true.
  229.  */
  230. sb-player-seek-slider[buffering="true"]
  231. {
  232.   background-image: url('chrome://songbird/skin/faceplate/seek-buffering-animation.png');
  233.   background-repeat: repeat-x;
  234.   background-position: center center;
  235. }
  236. sb-player-seek-slider[buffering="true"] > #sb-player-seek-slider
  237. {
  238.   display: none;
  239. }