 /*
 * BEGIN FLOCK GPL
 *
 * Copyright Flock Inc. 2005-2009
 * http://flock.com
 *
 * This file may be used under the terms of the
 * GNU General Public License Version 2 or later (the "GPL"),
 * http://www.gnu.org/licenses/gpl.html
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * END FLOCK GPL
 */


 

 #urlbar > .autocomplete-textbox-container {
    padding: 0px !important;
    height: 18px !important;
    
}

/* URLBar Favorites Buttons
 * States:
 * - Normal
 * - Hover
 * - Onclick
 * - Disabled
 * - Notify
 * - Notify, Hover
 */

#urlbar-container #favoritesFeedBox {
  -moz-box-pack:start;
  max-width: 88px !important;
}
#urlbar-container #favoritesFeedBox > toolbarbutton > label{
  display: none;
}
#urlbar-container #favoritesFeedBox > toolbarbutton > image{
  margin: 0px;
}

#urlbar-container #favoritesPhotoButton
{
    -moz-appearance: none;
    list-style-image: url("chrome://flock/skin/toolbar/urlIcons.png");
    -moz-image-region: rect(200px 25px 222px 0px);
    border:none;
    padding: 0px !important;
    margin: 0px !important;
    background-color: transparent;
    -moz-user-focus: none;
}

notification[value='discovery-media'] .messageImage{

   -moz-appearance: none;
    list-style-image: url("chrome://flock/skin/favorites/media-icon.png");
}

#urlbar-container #favoritesPhotoButton:hover {
    -moz-appearance: none;
    -moz-image-region: rect(250px 25px 272px 0px);
}
#urlbar-container #favoritesPhotoButton:hover:active {
    -moz-appearance: none;
    -moz-image-region: rect(100px 25px 122px 0px);
}
#urlbar-container #favoritesPhotoButton[disabled='true'],
#urlbar-container #favoritesPhotoButton[disabled='true']:hover,
#urlbar-container #favoritesPhotoButton[disabled='true']:hover:active
{
    -moz-appearance: none;
    -moz-image-region: rect(150px 25px 172px 0px);
}


/* BC: Disabling this button for now */
#nav-bar[mode="full"] #favoritesPeopleButton,
#nav-bar[mode="text"] #favoritesPeopleButton,
#nav-bar[iconsize="small"] #favoritesPeopleButton,
#nav-bar[iconsize="small"] #favoritesPeopleButton {
  display: none;
}


#urlbar-container #favoritesPeopleButton 
 {
    /* BC:  Not for Cormorant, hide */
    display: none;
    -moz-appearance: none;
    list-style-image: url("chrome://flock/skin/toolbar/urlIcons.png");
    -moz-image-region: rect(200px, 71px, 222px, 50px);
    border:none;
    padding: 0px !important;
    margin: 0px !important;
    min-width: 0;
    background-color: transparent;
    -moz-user-focus: none;
}
#urlbar-container #favoritesPeopleButton:hover {
    -moz-image-region: rect(250px, 71px, 272px, 50px);
    -moz-appearance: none;
}
#urlbar-container #favoritesPeopleButton:hover:active {
    -moz-image-region: rect(100px, 71px, 122px, 50px);
    -moz-appearance: none;
}
#urlbar-container #favoritesPeopleButton[disabled='true'],
#urlbar-container #favoritesPeopleButton[disabled='true']:hover,
#urlbar-container #favoritesPeopleButton[disabled='true']:hover:active
{
    -moz-image-region: rect(150px, 71px, 172px, 50px);
    -moz-appearance: none;
}



#urlbar-container #favoritesFeedButton {

    -moz-appearance: none;
    list-style-image: url("chrome://flock/skin/toolbar/urlIcons.png");
    -moz-image-region: rect(200px, 121px, 222px, 100px);
    border:none;
    padding: 0px !important;
    margin: 0px !important;
    min-width: 0;
    background-color: transparent;
    -moz-user-focus: none;
}
#urlbar-container #favoritesFeedButton:hover {
    -moz-appearance: none;
    -moz-image-region: rect(250px, 121px, 272px, 100px);
}
#urlbar-container #favoritesFeedButton:hover:active {
    -moz-appearance: none;
    -moz-image-region: rect(100px, 121px, 122px, 100px);
}
#urlbar-container #favoritesFeedButton[disabled='true'],
#urlbar-container #favoritesFeedButton[disabled='true']:hover,
#urlbar-container #favoritesFeedButton[disabled='true']:hover:active
{
    -moz-appearance: none;
    -moz-image-region: rect(150px, 121px, 172px, 100px);
}
notification[value='feeds-discovered'] .messageImage{

   -moz-appearance: none;
    list-style-image: url("chrome://flock/skin/favorites/news-icon.png");
}

#urlbar-container #favoritesSearchButton
  {
    -moz-appearance: none;
    list-style-image: url("chrome://flock/skin/toolbar/urlIcons.png");
    -moz-image-region: rect(200px, 171px, 222px, 150px);
    border:none;
    padding: 0px !important;
    margin: 0px !important;
    min-width: 0;
    background-color: transparent;
    -moz-user-focus: none;
}
#urlbar-container #favoritesSearchButton:hover {
    -moz-appearance: none;
    -moz-image-region: rect(250px, 171px, 272px, 150px);
}
#urlbar-container #favoritesSearchButton:hover:active {
    -moz-appearance: none;
    -moz-image-region: rect(100px, 171px, 122px, 150px);
}
#urlbar-container #favoritesSearchButton[disabled='true'],
#urlbar-container #favoritesSearchButton[disabled='true']:hover,
#urlbar-container #favoritesSearchButton[disabled='true']:hover:active
{
    -moz-appearance: none;
    -moz-image-region: rect(150px, 171px, 172px, 150px);
}

#urlbar-container #favoritesSearchButton[disabled='true'] {
  display: none;
}

#urlbar-container #favoritesSearchButton:not([disabled='true']) {
  display: -moz-box;
}

 toolbar[mode="text"] #favoritesButton .toolbarbutton-text {
    display: none;
 }
 
 notification[value='search-discovered'] .messageImage,  notification[value='search-discovered-info'] .messageImage  {
     -moz-appearance: none;
     list-style-image: url("chrome://flock/skin/favorites/search-icon.png");
    
 } 

 notification[value='favorite-added'] .messageImage {
   list-style-image: url("chrome://flock/skin/favorites/starButton_small.png") !important;
   -moz-image-region: rect(200px 28px 228px 0px);
 
 }

 #favoritesMenuCollectionsMenu menuitem,
 #favoritesContextMenuCollectionsMenu menuitem{
%ifdef XP_MACOSX
   list-style-image: none;
   height: 16px;
%else
    list-style-image: url("chrome://global/skin/icons/folder-item.png");
    -moz-image-region: rect(0px, 32px, 16px, 16px);
%endif

}

%ifdef XP_MACOSX
 #favoritesMenuCollectionsMenu menuitem image,
 #favoritesContextMenuCollectionsMenu menuitem image {
    display: none
}
%endif

toolbarbutton[flashing="true"] menuitem {
  -moz-appearance: none !important;
  padding: 3px 3px 3px 3px;
}

toolbarbutton[flashing="true"] menuitem[active="true"] {
  background-color: #3366CC !important;
}
