/**
 * 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="Bebo"] .service-header-container {
  background-color: #f50003;
  background-image: url("chrome://flock/skin/services/bebo/beboBackground.png");
  background-repeat: repeat-x;
  background-position: bottom left;
  border-bottom: 1px solid #ffffff;
}
mecard[serviceName="Bebo"] .service-favicon {
  background-color: #ffffff;
}

serviceTab[serviceId="@flock.com/webservice/bebo;1"][selected="true"] {
  border-color: #f50003;
}

mecard[serviceName="Bebo"] notifier .meMessages,
mecard[serviceName="Bebo"] notifier .mePokes,
mecard[serviceName="Bebo"] notifier .meFriendRequests,
mecard[serviceName="Bebo"] notifier .meEventRequests,
mecard[serviceName="Bebo"] notifier .meGroupRequests,
friendcard[serviceName="Bebo"] .friendMessage,
friendcard[serviceName="Bebo"] .friendDrawWB,
friendcard[serviceName="Bebo"] .friendWriteWB,
friendcard[serviceName="Bebo"] .friendViewBands,
friendcard[serviceName="Bebo"] .friendViewProfile {
  list-style-image: url("chrome://flock/skin/services/bebo/beboMatrix.png");
}

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

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

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

mecard[serviceName="Bebo"] notifier .meEventRequests {
  -moz-image-region: rect(48px 16px 64px 0px);
}
mecard[serviceName="Bebo"] notifier .meEventRequests:hover {
  -moz-image-region: rect(48px 32px 64px 16px);
}
mecard[serviceName="Bebo"] notifier .meEventRequests:active {
  -moz-image-region: rect(48px 48px 64px 32px);
}

mecard[serviceName="Bebo"] notifier .meGroupRequests {
  -moz-image-region: rect(64px 16px 80px 0px);
}
mecard[serviceName="Bebo"] notifier .meGroupRequests:hover {
  -moz-image-region: rect(64px 32px 80px 16px);
}
mecard[serviceName="Bebo"] notifier .meGroupRequests:active {
  -moz-image-region: rect(64px 48px 80px 32px);
}

friendcard[serviceName="Bebo"] .friendMessage {
  -moz-image-region: rect(80px 16px 96px 0px);
}
friendcard[serviceName="Bebo"] .friendDrawWB {
  -moz-image-region: rect(96px 16px 112px 0px);
}
friendcard[serviceName="Bebo"] .friendWriteWB {
  -moz-image-region: rect(112px 16px 128px 0px);
}
friendcard[serviceName="Bebo"] .friendViewBands {
  -moz-image-region: rect(128px 16px 144px 0px);
}
friendcard[serviceName="Bebo"] .friendViewProfile {
  -moz-image-region: rect(144px 16px 160px 0px);
}
friendcard[serviceName="Bebo"] .friendShareFlock {
  list-style-image: url("chrome://flock/skin/people/flockTellAFriend.png");
}

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

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

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

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

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