/*
 *  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
 */
 
starbutton {
  -moz-binding: url("chrome://flock/content/favorites/starbutton.xml#starbutton");
  list-style-image: url("chrome://flock/skin/favorites/starButton.png") !important;
  -moz-appearance: none;
  -moz-box-align: center;
  -moz-box-pack: center;
  margin: 0;
  border: none !important;
  padding: 0px !important;
%ifdef XP_MACOSX
  margin-right: -3px;
%else
  margin-right: -4px;
%endif
  background-color: transparent;
  color: -moz-DialogText;
  -moz-image-region: rect(0px 38px 37px 0px);
}

starbutton[state="off"] {
  -moz-image-region: rect(0px 38px 37px 0px);
}

starbutton[state="off"]:active {
  -moz-image-region: rect(100px 38px 137px 0px);
}

starbutton[state="on"] {
  -moz-image-region: rect(200px 38px 237px 0px);
}

starbutton[state="on"]:active {
  -moz-image-region: rect(300px 38px 337px 0px);
}

starbutton[state="off"]:hover {
  -moz-image-region: rect(50px 38px 87px 0px);
}

starbutton[state="off"]:hover:active {
  -moz-image-region: rect(100px 38px 137px 0px);
}

starbutton[state="on"]:hover {
  -moz-image-region: rect(250px 38px 287px 0px);
}

starbutton[state="on"]:hover:active {
  -moz-image-region: rect(300px 38px 337px 0px);
}

starbutton[disabled=true] {
  -moz-image-region: rect(150px 38px 187px 0px);
}
starbutton[disabled=true]:hover {
  -moz-image-region: rect(150px 38px 187px 0px);
}
starbutton[disabled=true]:hover:active {
  -moz-image-region: rect(150px 38px 187px 0px);
}
starbutton[wait-cursor='on'] {
    cursor: wait !important;

}
starbutton[wait-cursor='off'] {
    cursor: default !important;

}
starbutton.toolbarbutton-icon {
  display: -moz-box !important;
}

starbutton dropmarker {
  list-style-image: url("chrome://flock/skin/favorites/9x9blank-dropmarker.png") !important;
  padding: 0px 4px 0px 0px;
  margin-bottom: 2px;
  margin-top: 20px;
  margin-left: -18px;
}
 
starbutton toolbarbutton {
  padding: 0;
  border: none;
  -moz-appearance: none;
}


toolbar[iconsize="small"] starbutton {
  list-style-image: url("chrome://flock/skin/favorites/starButton_small.png") !important;
  -moz-image-region: rect(0px 28px 28px 0px);
%ifdef XP_MACOSX
  margin-right: -5px;
%else
  margin-right: -6px;
%endif
}

toolbar[iconsize="small"] starbutton[state="off"] {
  -moz-image-region: rect(0px 28px 28px 0px);
}

toolbar[iconsize="small"] starbutton[state="off"]:active {
  -moz-image-region: rect(100px 28px 128px 0px);
}

toolbar[iconsize="small"] starbutton[state="on"] {
  -moz-image-region: rect(200px 28px 228px 0px);
}

toolbar[iconsize="small"] starbutton[state="on"]:active {
  -moz-image-region: rect(300px 28px 328px 0px);
}

toolbar[iconsize="small"] starbutton[state="off"]:hover {
  -moz-image-region: rect(50px 28px 78px 0px);
}

toolbar[iconsize="small"] starbutton[state="off"]:hover:active {
  -moz-image-region: rect(100px 28px 128px 0px);
}

toolbar[iconsize="small"] starbutton[state="on"]:hover {
  -moz-image-region: rect(250px 28px 278px 0px);
}

toolbar[iconsize="small"] starbutton[state="on"]:hover:active {
  -moz-image-region: rect(300px 28px 328px 0px);
}

toolbar[iconsize="small"] starbutton[disabled=true] {
  -moz-image-region: rect(150px 28px 178px 0px);
}
toolbar[iconsize="small"] starbutton[disabled=true]:hover {
  -moz-image-region: rect(150px 28px 178px 0px);
}
toolbar[iconsize="small"] starbutton[disabled=true]:hover:active {
  -moz-image-region: rect(150px 28px 178px 0px);
}

