/**
 * 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="YouTube"] .service-header-container {
  background-color: #e20303;
  background-image: url("chrome://flock/skin/services/youtube/youtubeBackground.png");
  background-repeat: repeat-x;
  background-position: bottom left;
  border-bottom: 1px solid #ffffff;
}

mecard[serviceName="YouTube"] notifier .meMessages,
friendcard[serviceName="YouTube"] .friendMessage {
  list-style-image: url("chrome://flock/skin/services/youtube/youtubeMessages.png");
  min-width: 19px;
  min-height: 17px;
}

friendcard[serviceName="YouTube"] .friendMediaFave {
  list-style-image: url("chrome://flock/skin/services/youtube/youtubeMediaIcon.png");
}

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

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

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

serviceTab[serviceId="@flock.com/?photo-api-youtube;1"][selected="true"] {
  border-color: #e20303;
}

#friendList[currentServiceId="@flock.com/?photo-api-youtube;1"]
friendcard[serviceId="@flock.com/?photo-api-youtube;1"] {
  display: -moz-box;
}

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

/* Always show meta titles for Youtube in consume mode */
#mediabar[mode="consume"] photo[svcShortName="youtube"] label[anonid="mediaTitle"] {
  display: -moz-box;
}

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