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 / search.css < prev    next >
Cascading Style Sheet File  |  2012-05-25  |  4KB  |  144 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 SEARCH BOX 
  32.  
  33. Applies images and layout to the Songbird library and web search widget.
  34.  
  35. Note that this widget inherits from the FireFox binding.
  36. See dependencies/vendor/mozilla/browser/components/search/content/search.xml
  37. and app/content/bindings/search.xml
  38.  
  39. Imported by bindings.css or directly into feathers.
  40.  
  41. *******************************************************************************
  42. */ 
  43.  
  44. /* Make the search bar match the general textbox style */
  45. searchbar
  46. {
  47.   max-height: 26px;
  48.   min-height: 26px;
  49.   margin: 1px 0px 1px 0px;
  50.   padding: 1px 0px 1px 0px;
  51.   border: 1px solid;
  52.   -moz-border-radius: 5px;
  53. }
  54.  
  55. .searchbar-engine-image {
  56.   margin-left: 2px;
  57. }
  58. .searchbar-dropmarker-image {
  59.   list-style-image: url("chrome://songbird/skin/menu/dropmarker.png");
  60.   -moz-margin-start: 3px; 
  61.   padding-left: 1px;
  62.   padding-right: 2px;
  63.   padding-top: 0px;
  64. }
  65.  
  66.  
  67. /** This rule changes the dropmarker image when new search engines are available.**/
  68. .searchbar-engine-button[addengines="true"] > stack > hbox > .searchbar-dropmarker-image
  69. {
  70.   list-style-image: url("chrome://songbird/skin/search/dropmarker-plus.gif");
  71.   padding-left: 0px;
  72.   padding-right: 0px;
  73.   padding-top: 0px;
  74.  
  75.  
  76.  
  77. /** Get rid of the default border on the search engine chooser **/
  78. .searchbar-engine-button, 
  79. .searchbar-engine-button:hover,
  80. .searchbar-engine-button:active,
  81. .searchbar-engine-button:focus
  82. {
  83.   border: none;
  84.   margin: 0px;
  85. }
  86.  
  87.  
  88. /** Get rid of the default textbox styles **/
  89. .searchbar-textbox {
  90.   width: 4em;
  91.   min-width: 4em;
  92.   border: none !important;
  93.   margin: 1px 0px 1px 2px;
  94.   padding: 0px 0px 1px 0px;
  95. }
  96.  
  97.  
  98. /** Normal go button */
  99. .search-go-button {
  100.   list-style-image: url("chrome://songbird/skin/search/search-go-button.png");
  101.   border: 0px !important;
  102.   padding: 0px 5px 0px 0px;
  103.   background-color: transparent !important;  
  104.   -moz-image-region: rect(16px 16px 32px 0px);
  105. }
  106. .search-go-button:hover {
  107.   -moz-image-region: rect(16px 32px 32px 16px);
  108. }
  109. .search-go-button[disabled="true"] {
  110.   -moz-image-region: rect(16px, 64px, 32px, 48px);
  111. }
  112. .search-go-button:hover:active {
  113.   -moz-image-region: rect(16px, 48px, 32px, 32px);
  114. }
  115. toolbarbutton.search-go-button > .toolbarbutton-text {
  116.   display: none; /* hide label */
  117. }
  118.  
  119. /** Clear search button "X".  
  120.     This occurs when live search (library filtering) is active, and
  121.     the search box is not empty.
  122.   */
  123. searchbar:not([empty="true"])[livesearchmode="true"] > .searchbar-box > .search-go-button-stack > .search-go-button 
  124. {
  125.   -moz-image-region: rect(0px, 64px, 16px, 48px);
  126. }
  127. searchbar:not([empty="true"])[livesearchmode="true"] > .searchbar-box > .search-go-button-stack > .search-go-button:hover {
  128.   -moz-image-region: rect(0px 32px 16px 16px);
  129. }
  130. searchbar:not([empty="true"])[livesearchmode="true"] > .searchbar-box > .search-go-button-stack > .search-go-button[disabled="true"] {
  131.   -moz-image-region: rect(0px 16px 16px 0px);
  132. }
  133. searchbar:not([empty="true"])[livesearchmode="true"] > .searchbar-box > .search-go-button-stack > .search-go-button:hover:active {
  134.   -moz-image-region: rect(0px, 48px, 16px, 32px);
  135. }
  136.  
  137. searchbar[empty="true"] > hbox > hbox > .searchbar-textbox 
  138. {
  139.   padding-bottom: 1px !important;
  140. }
  141.  
  142.  
  143.