/**
 * 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
 */

mecard[serviceName="Twitter"] .service-header-container {
  background-color: #9ae4e8;
  background-image: url("chrome://flock/skin/services/twitter/twitterBackground.png");
  background-repeat: repeat-x;
  background-position: bottom left;
  border-bottom: 1px solid #ffffff;
}

/* Remove left "separator" border on "Post Link" button for Twitter */
mecard[serviceName="Twitter"] .post-link-button-container {
  border-left: 0;
}

mecard[serviceName="Twitter"] notifier .notifier-type-icon {
  list-style-image: url("chrome://flock/skin/services/twitter/twitterMessage.png");
}

mecard[serviceName="Twitter"] notifier .meMentions {
  -moz-image-region: rect(0px 16px 16px 0px);
}

mecard[serviceName="Twitter"] notifier .meMentions:hover {
  -moz-image-region: rect(0px 32px 16px 16px);
}

mecard[serviceName="Twitter"] notifier .meMessages {
  -moz-image-region: rect(0px 48px 16px 32px);
}

mecard[serviceName="Twitter"] notifier .meMessages:hover,
friendcard[serviceName="Twitter"] .friendMessage {
  list-style-image: url("chrome://flock/skin/services/twitter/twitterMessage.png");
  -moz-image-region: rect(0px 64px 16px 48px);
}

friendcard[serviceName="Twitter"] .friendViewProfile {
  list-style-image: url("chrome://flock/skin/services/flickr/flickrViewProfile.png");
}

friendcard[serviceName="Twitter"] .friendRetweet {
  list-style-image: url("chrome://flock/skin/services/twitter/twitterMessage.png");
  -moz-image-region: rect(0px 80px 16px 64px);
}

/* Toggle favicon in tab based on the authentication state of the account */
serviceTab[serviceId="@flock.com/people/twitter;1"] .favicon,
serviceStatusBar[serviceId="@flock.com/people/twitter;1"] .fav-icon,
serviceStatusBarCondensed[serviceId="@flock.com/people/twitter;1"] .fav-icon {
  list-style-image: url("chrome://flock/content/services/twitter/faviconBW.png");
}

serviceTab[serviceId="@flock.com/people/twitter;1"][isAuthenticated="true"] .favicon,
serviceStatusBar[serviceId="@flock.com/people/twitter;1"][isAuthenticated="true"] .fav-icon,
serviceStatusBarCondensed[serviceId="@flock.com/people/twitter;1"][isAuthenticated="true"] .fav-icon {
  list-style-image: url("chrome://flock/content/services/twitter/favicon.png");
}

serviceTab[serviceId="@flock.com/people/twitter;1"][selected="true"] {
  border-color: #9ae4e8;
}

#friendList[currentServiceId="@flock.com/people/twitter;1"]
friendcard[serviceId="@flock.com/people/twitter;1"] {
  display: -moz-box;
}

friendcard[serviceName="Twitter"] .avatar-footer {
  list-style-image: url("chrome://flock/skin/services/twitter/avatarFooterTwitter.png");
}

serviceDiscoveryButton[svcShortName="twitter"] image {
  list-style-image: url("chrome://flock/skin/services/common/large-service-icon-matrix.png");
  -moz-image-region: rect(122px 125px 175px 0px);
}
