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 >
Wrap
Cascading Style Sheet File
|
2012-05-25
|
4KB
|
144 lines
/*
//
// BEGIN SONGBIRD GPL
//
// This file is part of the Songbird web player.
//
// Copyright(c) 2005-2008 POTI, Inc.
// http://songbirdnest.com
//
// This file may be licensed under the terms of of the
// GNU General Public License Version 2 (the "GPL").
//
// Software distributed under the License is distributed
// on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
// express or implied. See the GPL for the specific language
// governing rights and limitations.
//
// You should have received a copy of the GPL along with this
// program. If not, go to http://www.gnu.org/licenses/gpl.html
// or write to the Free Software Foundation, Inc.,
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
// END SONGBIRD GPL
//
*/
/**
*******************************************************************************
THE SEARCH BOX
Applies images and layout to the Songbird library and web search widget.
Note that this widget inherits from the FireFox binding.
See dependencies/vendor/mozilla/browser/components/search/content/search.xml
and app/content/bindings/search.xml
Imported by bindings.css or directly into feathers.
*******************************************************************************
*/
/* Make the search bar match the general textbox style */
searchbar
{
max-height: 26px;
min-height: 26px;
margin: 1px 0px 1px 0px;
padding: 1px 0px 1px 0px;
border: 1px solid;
-moz-border-radius: 5px;
}
.searchbar-engine-image {
margin-left: 2px;
}
.searchbar-dropmarker-image {
list-style-image: url("chrome://songbird/skin/menu/dropmarker.png");
-moz-margin-start: 3px;
padding-left: 1px;
padding-right: 2px;
padding-top: 0px;
}
/** This rule changes the dropmarker image when new search engines are available.**/
.searchbar-engine-button[addengines="true"] > stack > hbox > .searchbar-dropmarker-image
{
list-style-image: url("chrome://songbird/skin/search/dropmarker-plus.gif");
padding-left: 0px;
padding-right: 0px;
padding-top: 0px;
}
/** Get rid of the default border on the search engine chooser **/
.searchbar-engine-button,
.searchbar-engine-button:hover,
.searchbar-engine-button:active,
.searchbar-engine-button:focus
{
border: none;
margin: 0px;
}
/** Get rid of the default textbox styles **/
.searchbar-textbox {
width: 4em;
min-width: 4em;
border: none !important;
margin: 1px 0px 1px 2px;
padding: 0px 0px 1px 0px;
}
/** Normal go button */
.search-go-button {
list-style-image: url("chrome://songbird/skin/search/search-go-button.png");
border: 0px !important;
padding: 0px 5px 0px 0px;
background-color: transparent !important;
-moz-image-region: rect(16px 16px 32px 0px);
}
.search-go-button:hover {
-moz-image-region: rect(16px 32px 32px 16px);
}
.search-go-button[disabled="true"] {
-moz-image-region: rect(16px, 64px, 32px, 48px);
}
.search-go-button:hover:active {
-moz-image-region: rect(16px, 48px, 32px, 32px);
}
toolbarbutton.search-go-button > .toolbarbutton-text {
display: none; /* hide label */
}
/** Clear search button "X".
This occurs when live search (library filtering) is active, and
the search box is not empty.
*/
searchbar:not([empty="true"])[livesearchmode="true"] > .searchbar-box > .search-go-button-stack > .search-go-button
{
-moz-image-region: rect(0px, 64px, 16px, 48px);
}
searchbar:not([empty="true"])[livesearchmode="true"] > .searchbar-box > .search-go-button-stack > .search-go-button:hover {
-moz-image-region: rect(0px 32px 16px 16px);
}
searchbar:not([empty="true"])[livesearchmode="true"] > .searchbar-box > .search-go-button-stack > .search-go-button[disabled="true"] {
-moz-image-region: rect(0px 16px 16px 0px);
}
searchbar:not([empty="true"])[livesearchmode="true"] > .searchbar-box > .search-go-button-stack > .search-go-button:hover:active {
-moz-image-region: rect(0px, 48px, 16px, 32px);
}
searchbar[empty="true"] > hbox > hbox > .searchbar-textbox
{
padding-bottom: 1px !important;
}