// Lightning Design System 2.3.1
// Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
// Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license

.slds-datepicker_time,
.slds-datepicker--time {
  max-width: $size-x-small;
  max-height: (($line-height-text + ($spacing-x-small * 2)) * 6) - ($spacing-small * 2);
  overflow: hidden {
    y: auto;
  }

  &__list {

    > li {
      white-space: nowrap;
      padding: $spacing-x-small {
        left: $spacing-x-large;
        right: $spacing-x-large;
      }

      &:hover,
      &:focus {
        background: $color-background-row-hover;
        text-decoration: none;
        cursor: pointer;
      }
    }
  }
}
