/*
 * Copyright 2015-2016 Imply Data, Inc.
 * Copyright 2017-2019 Allegro.pl
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@import '../../../imports';

.time-filter-menu {

  .cont {
    margin-top: 18px;

    .type {
      @extend %input-top-label;
    }

    .buttons {
      margin-bottom: $form-spacing-compact;

      button {
        @extend %button-secondary;
        min-width: 0;
        padding: 0;
        width: 17.5%;
        margin-right: 3%;

        &.selected {
          @extend %button-primary;
          min-width: 0;
          padding: 0;
        }

        &:last-child {
          margin-right: 0;
        }
      }
    }

    .preview {
      @extend %indicator-field;

      &--with-spacing {
        margin-bottom: 14px;
      }
    }

    .overlap-error-message {
      @include css-variable(color, negative);
      font-size: 10px;
      margin-top: 10px;
      padding-left: 3px;
      margin-bottom: 10px;
    }
  }
}
