/**
 * BEGIN clav.mozdev.org MPL
 * 
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 * 
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 * 
 * 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.
 * 
 * The Original Code is Mozilla Browser code.
 * 
 * The Initial Developer of the Original Code is
 * Stephen Clavering <mozilla@clav.me.uk>
 * Portions created by the Initial Developer are Copyright (C) 2005
 * the Initial Developer. All Rights Reserved.
 * 
 * Contributor(s):
 * Flock Inc. <contact@flock.com>
 * 
 * Alternatively, the contents of this file may be used under the terms of
 * either of the GNU General Public License Version 2 or later (the "GPL"),
 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 * 
 * END clav.mozdev.org MPL
 */

/* ::::: News ::::: */

#news-button {
  list-style-image: url("chrome://flock/skin/toolbar/Toolbar.png");
  -moz-image-region: rect(0px 382px 32px 350px);
}
#news-button:active,
#news-button:hover:active {
%ifdef XP_UNIX
%ifndef XP_MACOSX
  padding: 1px 3px 2px 3px !important;
%endif
%endif
  -moz-image-region: rect(100px 382px 132px 350px);
}
#news-button[disabled="true"] {
  -moz-image-region: rect(150px 382px 182px 350px);
}
#news-button:hover {
  -moz-image-region: rect(50px 382px 82px 350px);
}
#news-button[hasNew] {
  -moz-image-region: rect(200px 382px 232px 350px);
}
#news-button[hasNew]:active,
#news-button[hasNew]:hover:active {
  -moz-image-region: rect(300px 382px 332px 350px);
}
#news-button[hasNew]:hover
{
  -moz-image-region: rect(250px 382px 282px 350px);
}
#news-button[checked="true"] {
%ifdef XP_UNIX
  padding: 1px 3px 2px 3px !important;
%endif
  -moz-image-region: rect(350px 382px 382px 350px);
}
#news-button[checked="true"]:active,
#news-button[checked="true"]:hover:active {
  -moz-image-region: rect(450px 382px 482px 350px);
}
#news-button[checked="true"]:hover {
%ifdef XP_UNIX
  padding: 1px 3px 2px 3px !important;
%endif
  -moz-image-region: rect(400px 382px 432px 350px);
}

toolbar[iconsize="small"] #news-button {
  list-style-image: url("chrome://flock/skin/toolbar/Toolbar-small.png");
  -moz-image-region: rect(0px 366px 16px 350px);
}
toolbar[iconsize="small"] #news-button:active,
toolbar[iconsize="small"] #news-button:hover:active {
  -moz-image-region: rect(100px 366px 116px 350px);
}
toolbar[iconsize="small"] #news-button[hasNew] {
  -moz-image-region: rect(200px 366px 216px 350px);
}
toolbar[iconsize="small"] #news-button[hasNew]:hover {
  -moz-image-region: rect(250px 366px 266px 350px);
}
toolbar[iconsize="small"] #news-button[hasNew]:active,
toolbar[iconsize="small"] #news-button[hasNew]:hover:active {
  -moz-image-region: rect(300px 366px 316px 350px);
}
toolbar[iconsize="small"] #news-button[checked="true"] {
  -moz-image-region: rect(350px 366px 366px 350px);
}
toolbar[iconsize="small"] #news-button[checked="true"]:hover {
  -moz-image-region: rect(400px 366px 416px 350px);
}
toolbar[iconsize="small"] #news-button[checked="true"]:hover:active {
  -moz-image-region: rect(450px 366px 466px 350px);
}
toolbar[iconsize="small"] #news-button[disabled="true"] {
  -moz-image-region: rect(150px 366px 166px 350px);
}
toolbar[iconsize="small"] #news-button:hover {
  -moz-image-region: rect(50px 366px 66px 350px);
}

#PersonalToolbar #news-button {
  list-style-image: url("chrome://flock/skin/toolbar/flockBarIcons.png");
  -moz-image-region: rect(0px 69px 19px 50px);
}
#PersonalToolbar #news-button:hover {
  -moz-image-region: rect(25px 69px 44px 50px);
}
#PersonalToolbar #news-button[hasNew] {
  -moz-image-region: rect(75px 69px 94px 50px);
}
#PersonalToolbar #news-button[hasNew]:hover {
  -moz-image-region: rect(100px 69px 119px 50px);
}
#PersonalToolbar #news-button[hasNew]:active,
#PersonalToolbar #news-button[hasNew]:hover:active {
  -moz-image-region: rect(50px 69px 69px 50px);
}
#PersonalToolbar #news-button:active,
#PersonalToolbar #news-button:hover:active,
#PersonalToolbar #news-button[checked="true"],
#PersonalToolbar #news-button[checked="true"]:hover,
#PersonalToolbar #news-button[checked="true"]:hover:active {
  -moz-image-region: rect(50px 69px 69px 50px);
  padding: 0 !important
}
