/*
 * Copyright (c) 2017-2018 dunnhumby Germany GmbH.
 * All rights reserved.
 *
 * This source code is licensed under the MIT license found in the LICENSE file
 * in the root directory of this source tree.
 *
 */

@import "../proto/definitions/variables.css";

.default {
  display: inline-block;
  position: relative;

  font-size: var(--typo-1);
  line-height: var(--line-height-s);
  text-align: right;

  vertical-align: bottom;

  width: 50%;

  box-sizing: border-box;

  &:hover,
  &.fakeHovered {
    border-color: var(--PC-BLUE);
  }

  .hour,
  .min {
    box-sizing: border-box;
    width: 36px;
    height: 24px;
    padding: 0;

    border: none;
    border-radius: 2px;

    @extend %Nessie-Regular;
    text-align: center;
    line-height: var(--line-height-s);
    font-size: 13px;
    color: var(--PC-WHITE);

    background-color: var(--PC-BLUE--D5);

    &:focus {
      box-shadow: 0 0 0 2px color(var(--PC-WHITE) a(30%));
      outline: none;
    }

    &::placeholder {
      line-height: var(--line-height-s);
      font-size: 13px;
      font-weight: 300;
      color: var(--PC-WHITE);
    }
  }

  span {
    user-select: none;
    line-height: var(--line-height-s);
    font-size: 13px;
    color: var(--PC-WHITE);
    margin: 0 3px;
    display: inline-block;
  }
}
