$contextMenuColor: #fff !default;
$contextMenuColorHover: #fff !default;
$contextMenuBackgroundColor: #2A2629 !default;
$contextMenuBackgroundColorHover: #555555 !default;
$contextMenuLevelTitleColor: #fff !default;
$contextMenuLevelTitleBackgroundColor: #555555 !default;
$contextMenuBorderColor: #333 !default;
$contextMenuInputColor: #333333 !default;
$contextMenuButtonColor: #555555 !default;
$contextMenuButtonBackgroundColor: #f5f5f5 !default;
$contextMenuMediaCoverOverlayColor: #fff !default;
$contextMenuButtonFontSize: 12px !default;
$contextMenuButtonPadding: 0 !default;

action-context-menu {
  .display-menu {
    display: block;
    text-align: center;
    cursor: pointer;
    padding: 10px;
  }
}

#context-menu-action-content-inner {
  width: 660px;
  position: relative;
  right: 0px;
  transition: right 150ms ease-in-out;
  &.choose-playlist {
    right: 220px;
  }
  &.create-playlist {
    right: 440px;
  }
}

#context-menu-action-content {
  position: absolute;
  z-index: 1000;
  overflow-x: hidden;
  width: 220px;
  input {
    width: 100%;
    color: $contextMenuInputColor;
  }
  ul {
    background-color: $contextMenuBackgroundColor;
    border: 1px solid transparent;
    list-style: none;
    overflow: hidden;
    margin: 0;
    padding: 0;
    float: left;
    width: 220px;
    &.current {
      border: 1px solid $contextMenuBorderColor;
    }
    &.notCurrent {
      height: 100px;
    }
    &.hidden {
      display: none;
    }
    &.playlist-choice {
      display: none;
      &.active {
        display: block;
      }
    }
    li {
      line-height: 24px;
      color: $contextMenuColor;
      &:hover {
        color: $contextMenuColorHover;
        background-color: $contextMenuBackgroundColorHover;
        a {
          color: $contextMenuColorHover;
        }
      }
      &.action-button {
        text-align: center;
        &:hover {
          background-color: $contextMenuBackgroundColor;
        }
        button {
          margin: 5px 0 5px 0;
          width: calc(100% - 10px);
          border-radius: 10px;
          border: none;
          color: $contextMenuButtonColor;
          background-color: $contextMenuButtonBackgroundColor;
          &:hover {
            background-color: $contextMenuBackgroundColorHover;
            color: $contextMenuColorHover;
          }
          i {
            margin-right: 20px;
          }
        }
      }
      a {
        color: $contextMenuColor;
        font-size: $contextMenuButtonFontSize;
        padding: $contextMenuButtonPadding;
        cursor: pointer;

        &.item{
          display: block;
          cursor: pointer;
        }
        &.disabled {
          font-style: italic;
          opacity: 0.7;
        }
        &:hover {
          text-decoration: none;
        }
        i {
          margin: 0 8px 0 8px;
          width: 18px;
          display: inline-block;
          text-align: center;
          &.right-icon {
            margin: 0 5px 0 5px;
          }
        }
        span.double-icon {
          width: calc(100% - 62px);
          display: inline-block;
        }
      }
      &.divider {
        border-top: 1px solid $contextMenuBorderColor;
      }
      &.level-title {
        text-transform: uppercase;
        text-align: center;
        line-height: 28px;
        color: $contextMenuLevelTitleColor;
        background-color: $contextMenuLevelTitleBackgroundColor;
        a {
          color: $contextMenuLevelTitleColor;
        }
        span {
          width: calc(100% - 68px);
          margin-right: 30px;
          display: inline-block;
        }
      }
    }
  }
}

media-cover {
  .media-image-wrapper {
    &:hover {
      div.more {
        visibility: visible;
        opacity: 1;
      }
    }
    div.more {
      position: absolute;
      background: transparent;
      box-shadow: none;
      border: none;
      bottom: 0;
      right: 0;
      visibility: hidden;
      opacity: 0;
      transition: all 0.3s ease;
      padding: 2px 6px 3px 6px;
      .fa {
        color: $contextMenuMediaCoverOverlayColor;
        font-size: 22px;
      }
    }
  }
}