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 / playerControls.css < prev    next >
Cascading Style Sheet File  |  2012-05-25  |  5KB  |  181 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. MAIN PLAYBACK CONTROLS
  31.  
  32. Applies images and layout rules for Play/Pause, Previous (back), Next (forward).
  33. Imported by bindings.css or directly into feathers.
  34.  
  35. *******************************************************************************
  36. */
  37.  
  38.  
  39.  
  40. /** the sb-player-button class is used to get an image-only button
  41.     with no borders or padding.  **/
  42.  
  43. .sb-player-button,
  44. .sb-player-button > .clickhold-button
  45. {
  46.   -moz-appearance: none !important;
  47.   -moz-background-clip: padding !important;
  48.   background-color: transparent !important;
  49.   border: none !important;
  50.   margin: 0px;
  51.   padding: 0px;
  52.   min-width: 0px !important;
  53.   min-height: 0px !important;
  54. }
  55.  
  56. .sb-player-button > button > .button-box > .button-text,
  57. .sb-player-button > .button-box > .button-text,
  58. .sb-player-button > button > .button-box > .button-icon,
  59. .sb-player-button > .button-box > .button-icon
  60. {
  61.   margin: 0px !important;  
  62. }
  63.  
  64. .sb-player-button:focus > button > .button-box > .button-text,
  65. .sb-player-button > button:focus > .button-box > .button-text,
  66. .sb-player-button:focus > .button-box > .button-text
  67. {
  68.   border: 0px !important;
  69.   outline: none !important;
  70. }
  71.  
  72.  
  73. /** 
  74. *******************************************************************************
  75. VOLUME
  76. Mute and Slider
  77. *******************************************************************************
  78. */
  79.  
  80. .sb-player-mute-button-muteoff > .clickhold-button
  81. {
  82.   list-style-image: url(chrome://songbird/skin/volume/mute-off.png);
  83.   -moz-image-region: rect(0px 11px 11px 0px);
  84. }
  85. .sb-player-mute-button-muteoff:hover > .clickhold-button
  86. {
  87.   -moz-image-region: rect(11px 11px 22px 0px);
  88. }
  89. .sb-player-mute-button-muteon > .clickhold-button
  90. {
  91.   list-style-image: url(chrome://songbird/skin/volume/mute-on.png);
  92.   -moz-image-region: rect(0px 11px 11px 0px);
  93. }
  94. .sb-player-mute-button-muteon:hover > .clickhold-button
  95. {
  96.   -moz-image-region: rect(11px 11px 22px 0px);
  97. }
  98.  
  99. sb-player-mute-button {
  100.   padding-top: 2px;
  101.   margin-left: 3px;
  102.   margin-right: 2px;
  103. }
  104.  
  105. progressmeter.sb-player-volume-slider {
  106.   min-width: 50px;
  107.   max-width: 100px;
  108.   margin: 0px 0px 0px 6px;
  109. }
  110.  
  111.  
  112. sb-player-volume-slider
  113. {
  114.   margin-top: 2px !important;
  115.   margin-bottom: 1px !important; 
  116. }
  117.  
  118. /** The thumb does not respond to list-style-image, so we are forced to 
  119.     use a background. We put both states in one image and then change
  120.     the background-position in order to prevent flickering when changing
  121.     states. **/
  122. thumb.sb-player-volume-slider
  123. {
  124.   width: 14px;
  125.   height: 14px;
  126.   background-image: url(chrome://songbird/skin/volume/volume-thumb.png);
  127.   background-repeat: no-repeat;
  128.   background-position: center center;
  129.   border: none;
  130. }
  131. thumb.sb-player-volume-slider:active
  132. {
  133.   background-image: url(chrome://songbird/skin/volume/volume-thumb-active.png);
  134.   background-repeat: no-repeat;
  135.   background-position: center center;
  136. }
  137.  
  138.  
  139. progressmeter.sb-player-volume-slider > .progress-bar
  140. {
  141.   -moz-appearance: none !important;
  142.   background-image: none;
  143. }
  144. progressmeter.sb-player-volume-slider > .progress-remainder
  145. {
  146.   background-image: none;
  147. }
  148.     
  149.     
  150. slider.sb-player-volume-slider
  151. {
  152.   background-image: url(chrome://songbird/skin/volume/volume-progress-slider-bkgd.png);
  153.   background-position: left center;
  154.   background-repeat: no-repeat;
  155.   height: 22px !important;
  156.   border: none;
  157.   margin-right: 5px;  
  158.   padding-left: 6px;  
  159. }
  160.  
  161.  
  162. progressmeter.sb-player-volume-slider
  163. {
  164.   background-image: url(chrome://songbird/skin/volume/volume-progressmeter-bkgd.png);
  165.   background-position: right center;
  166.   height: 22px !important;
  167.   border: none;
  168. }
  169.  
  170.  
  171. sb-player-volume-slider,
  172. thumb.sb-player-volume-slider > gripper,
  173. thumb.sb-player-volume-slider,
  174. progressmeter.sb-player-volume-slider,
  175. progressmeter.sb-player-volume-slider > .progress-bar,
  176. progressmeter.sb-player-volume-slider > .progress-remainder
  177. {
  178.   background-color: transparent !important;
  179. }
  180.  
  181.