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

@include deprecate('4.0.0', 'Please use a combobox instead') {

  .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;
        }
      }
    }
  }
}
