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 / ratingsControl.css < prev    next >
Cascading Style Sheet File  |  2012-05-25  |  3KB  |  111 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. RATINGS CONTROL
  32.  
  33. *******************************************************************************
  34. */ 
  35.  
  36. @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
  37.  
  38. .rating-stars {
  39.   background-repeat: no-repeat;
  40.   background-image: url(chrome://songbird/skin/ratings/ratings.png);
  41.   width: 70px;
  42.   height: 18px;
  43. }
  44.  
  45. .rating-stars[value="0"] {
  46.   background-position:0px -18px;
  47. }
  48. sb-rating[edited] .rating-stars[value="0"] {
  49.   background-position:0px -36px;
  50. }
  51. .rating-stars[value="0"]:hover,
  52. sb-rating[edited] .rating-stars[value="0"]:hover {
  53.   background-position:0px 0px;
  54. }
  55.  
  56. .rating-stars[value="1"] {
  57.   background-position:0px -72px;
  58. }
  59. sb-rating[edited] .rating-stars[value="1"] {
  60.   background-position:0px -90px;
  61. }
  62. .rating-stars[value="1"]:hover,
  63. sb-rating[edited] .rating-stars[value="1"]:hover {
  64.   background-position:0px -54px;
  65. }
  66.  
  67. .rating-stars[value="2"] {
  68.   background-position:0px -126px;
  69. }
  70. sb-rating[edited] .rating-stars[value="2"] {
  71.   background-position:0px -144px;
  72. }
  73. .rating-stars[value="2"]:hover,
  74. sb-rating[edited] .rating-stars[value="2"]:hover {
  75.   background-position:0px -108px;
  76. }
  77.  
  78.  
  79. .rating-stars[value="3"] {
  80.   background-position:0px -180px;
  81. }
  82. sb-rating[edited] .rating-stars[value="3"] {
  83.   background-position:0px -198px;
  84. }
  85. .rating-stars[value="3"]:hover,
  86. sb-rating[edited] .rating-stars[value="3"]:hover {
  87.    background-position:0px -162px;
  88.  }
  89.  
  90. .rating-stars[value="4"] {
  91.   background-position:0px -234px;
  92. }
  93. sb-rating[edited] .rating-stars[value="4"] {
  94.   background-position:0px -252px;
  95. }
  96. .rating-stars[value="4"]:hover,
  97. sb-rating[edited] .rating-stars[value="4"]:hover {
  98.   background-position:0px -216px;
  99. }
  100.  
  101. .rating-stars[value="5"] {
  102.   background-position:0px -288px;
  103. }
  104. sb-rating[edited] .rating-stars[value="5"] {
  105.   background-position:0px -306px;
  106. }
  107. .rating-stars[value="5"]:hover,
  108. sb-rating[edited] .rating-stars[value="5"]:hover {
  109.   background-position:0px -270px;
  110. }
  111.