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 / smartsplitter.css < prev    next >
Cascading Style Sheet File  |  2012-05-25  |  4KB  |  124 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. THE SPLITTERS
  32.  
  33. Applies images and sizing to the generic and smart splitters.  
  34. Imported by bindings.css or directly into feathers.
  35.  
  36. *******************************************************************************
  37. */ 
  38.  
  39.  
  40.    
  41. sb-smart-splitter 
  42. {
  43.   background-repeat: no-repeat;
  44.   background-position: center center;
  45.   border: 0px solid transparent;
  46.   -moz-box-pack: center;
  47. }
  48.    
  49.    
  50. splitter:not([orient="vertical"]),
  51. sb-smart-splitter:not([orient="vertical"]),
  52. splitter:not([orient="vertical"]) > grippy,
  53. sb-smart-splitter:not([orient="vertical"]) > grippy
  54. {
  55.   cursor: col-resize;
  56. }
  57. splitter[orient="vertical"],
  58. sb-smart-splitter[orient="vertical"],
  59. splitter[orient="vertical"] > grippy,
  60. sb-smart-splitter[orient="vertical"] > grippy
  61. {
  62.   cursor: row-resize;
  63. }
  64.  
  65.  
  66. /** Match global/splitter.css rule for vertical splitter grippies **/
  67. sb-smart-splitter[orient="vertical"] > grippy {
  68.   margin: 0;
  69.   min-width: 42px;
  70.   min-height: 3px;
  71. }
  72.  
  73. /** Note: This is a smartsplitter that moves side to side **/
  74. splitter:not([orient="vertical"]),
  75. sb-smart-splitter:not([orient="vertical"])
  76. {
  77.   background: url(chrome://songbird/skin/splitter/grippy-vertical.png) transparent no-repeat center;
  78.   margin: 0;
  79.   padding: 0;
  80. }
  81.  
  82. /** Note: This is a smartsplitter that moves up and down **/
  83. splitter[orient="vertical"],
  84. sb-smart-splitter[orient="vertical"]
  85. {
  86.   background: url(chrome://songbird/skin/splitter/grippy-horizontal.png) transparent no-repeat center;
  87.   margin: 0;
  88.   padding: 0;
  89. }
  90.  
  91. /** Note: This is a closed smartsplitter that moves side to side **/
  92. splitter:not([orient="vertical"])[state="collapsed"],
  93. sb-smart-splitter:not([orient="vertical"])[state="collapsed"]
  94. {
  95.   background: url(chrome://songbird/skin/splitter/grippy-collapsed-vertical.png) transparent no-repeat center;
  96.   margin: 0;
  97.   padding: 0;
  98. }
  99.  
  100. /** Note: This is a closed smartsplitter that moves up and down **/
  101. splitter[orient="vertical"][state="collapsed"],
  102. sb-smart-splitter[orient="vertical"][state="collapsed"]
  103. {
  104.   background: url(chrome://songbird/skin/splitter/grippy-collapsed-horizontal.png) transparent no-repeat center;
  105.   margin: 0;
  106.   padding: 0;
  107. }
  108.  
  109. /** When collapsed, show a pointer since it's click to open **/
  110. splitter:not([orient="vertical"])[state="collapsed"],
  111. sb-smart-splitter:not([orient="vertical"])[state="collapsed"],
  112. splitter:not([orient="vertical"])[state="collapsed"] > grippy,
  113. sb-smart-splitter:not([orient="vertical"])[state="collapsed"] > grippy
  114. {
  115.   cursor: pointer !important;
  116. }
  117. splitter[orient="vertical"][state="collapsed"],
  118. sb-smart-splitter[orient="vertical"][state="collapsed"],
  119. splitter[orient="vertical"][state="collapsed"] > grippy,
  120. sb-smart-splitter[orient="vertical"][state="collapsed"] > grippy
  121. {
  122.   cursor: pointer !important;
  123. }
  124.