/* Copyright 2013 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/* Overrides for the desktop user manager screen. */
.oobe-display {
  background-color: #eee;
}

#outer-container {
  min-height: 0;
}

.bubble.faded {
  opacity: 0;
}

.pod {
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  padding: 0;
  width: 180px;
}

.pod.faded {
  opacity: .4;
}

.pod.hovered:not(.focused) {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  opacity: 0.9 !important;
}

.pod.focused {
  box-shadow: 0 12px 21px rgba(0, 0, 0, 0.2);
}

.pod .main-pane {
  width: 180px;
}

.pod .user-image-container {
  height: 180px;
  width: 180px;
}

.pod .user-image {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  height: 180px;
  opacity: 1;
  width: 180px;
}

.pod .name {
  color: #363636;
  font-size: 15px;
  line-height: 20px;
  margin: 10px 0 10px;
}

/* For local/unlocked profiles, the name box becomes the focused element.
However, don't display the blue focus outline around it. */
.pod .name:focus {
  outline: none;
}

/* For local/unlocked profiles, always display the name and not the
sign-in button. */
.pod.need-password.focused .name {
  display: block;
}

.pod .locked-indicator {
  background-image: -webkit-image-set(
      url('chrome://theme/IDR_ICON_PROFILES_LOCKED') 1x,
      url('chrome://theme/IDR_ICON_PROFILES_LOCKED@2x') 2x);
  background-repeat: no-repeat;
  height: 35px;
  left: 8px;
  position: absolute;
  top: 8px;
  width: 35px;
  z-index: 1;
}

html[dir=rtl] .pod .locked-indicator {
  right: 8px;
}

.pod .supervised-indicator {
  background-image: -webkit-image-set(
      url('chrome://theme/IDR_ICON_PROFILES_SUPERVISED') 1x,
      url('chrome://theme/IDR_ICON_PROFILES_SUPERVISED@2x') 2x);
  background-repeat: no-repeat;
  height: 35px;
  left: 8px;
  position: absolute;
  top: 8px;
  width: 35px;
  z-index: 1;
}

html[dir=rtl] .pod .supervised-indicator {
  right: 8px;
}

.action-box-area {
  background-color: #f5f5f5;
  height: 24px;
  width: 24px;
}

.action-box-button,
.action-box-button:hover,
.action-box-area.active .action-box-button {
  background-image: none;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #989898;
  height: 0;
  left: 6px;
  margin: 0;
  position: absolute;
  top: 9px;
  width: 0;
}

.action-box-button:hover,
.action-box-area.active .action-box-button {
  border-top: 6px solid #4c4c4c;
}
