<commit_before>// This file is part of Indico.
// Copyright (C) 2002 - 2022 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

.i-location-field {
  .wrapper {
    .typeahead__container,
    .typeahead__field {
      display: inline-block;
      position: relative;
      float: left;
      font-size: 1em;

      &.venue-container {
        width: 40%;
        padding-right: 10px;
      }

      &.room-container {
        width: 60%;

        input[type='text'] {
          width: 100% !important;
        }
      }

      .typeahead__result {
        position: absolute;
        left: 0;

        .typeahead__list {
          box-shadow: none;
          margin: 0;
          padding: 0;
          overflow: auto;
          max-height: 30em;
          width: 20em;
          position: relative;
          border-radius: 0;
          border-color: $gray;

          > li {
            background: white;
          }

          &.empty {
            border-width: 0 0 1px 0;
            border-style: solid;
            border-color: $gray;

            li:first-child {
              display: none;
            }
          }
        }

        .just-use-option {
          display: none;
          background-color: white;
          text-align: center;
          border-width: 0 1px 1px 1px;
          border-style: solid;
          border-color: $gray;
          font-style: italic;

          &:hover,
          &.active {
            background-color: #ebebeb; // same as in typeahead
          }

          a {
            padding: 6px 20px;
            display: block;
            color: $black;
          }
        }
      }

      &.result {
        .i-location-input-field {
          &.typeahead__hint {
            z-index: 0 !important;
            background-color: white !important;
          }
        }

        .just-use-option {
          display: block;
        }
      }
    }

    input.i-location-input-field {
      background-color: transparent;
      padding-right: 2em !important;
      position: relative;
      z-index: 1;

      &.disabled {
        @extend %tilted-strips-bg;
        opacity: 1;
      }

      &:focus {
        box-shadow: 0 0 5px $blue;
        @include border-all($color: $blue !important, $width: 1px);
      }

      &::-ms-clear {
        display: none;
      }<commit_msg>Fix location picker input background color<commit_after>// This file is part of Indico.
// Copyright (C) 2002 - 2022 CERN
//
// Indico is free software; you can redistribute it and/or
// modify it under the terms of the MIT License; see the
// LICENSE file for more details.

.i-location-field {
  .wrapper {
    .typeahead__container,
    .typeahead__field {
      display: inline-block;
      position: relative;
      float: left;
      font-size: 1em;

      &.venue-container {
        width: 40%;
        padding-right: 10px;
      }

      &.room-container {
        width: 60%;

        input[type='text'] {
          width: 100% !important;
        }
      }

      .typeahead__result {
        position: absolute;
        left: 0;

        .typeahead__list {
          box-shadow: none;
          margin: 0;
          padding: 0;
          overflow: auto;
          max-height: 30em;
          width: 20em;
          position: relative;
          border-radius: 0;
          border-color: $gray;

          > li {
            background: white;
          }

          &.empty {
            border-width: 0 0 1px 0;
            border-style: solid;
            border-color: $gray;

            li:first-child {
              display: none;
            }
          }
        }

        .just-use-option {
          display: none;
          background-color: white;
          text-align: center;
          border-width: 0 1px 1px 1px;
          border-style: solid;
          border-color: $gray;
          font-style: italic;

          &:hover,
          &.active {
            background-color: #ebebeb; // same as in typeahead
          }

          a {
            padding: 6px 20px;
            display: block;
            color: $black;
          }
        }
      }

      &.result {
        .i-location-input-field {
          &.typeahead__hint {
            z-index: 0 !important;
            background-color: white !important;
          }
        }

        .just-use-option {
          display: block;
        }
      }
    }

    input.i-location-input-field {
      background-color: white;
      padding-right: 2em !important;
      position: relative;
      z-index: 1;

      &.disabled {
        @extend %tilted-strips-bg;
        opacity: 1;
      }

      &:focus {
        box-shadow: 0 0 5px $blue;
        @include border-all($color: $blue !important, $width: 1px);
      }

      &::-ms-clear {
        display: none;
      }
{'fraction_non_alphanumeric': 0.10872675250357654, 'fraction_numerical': 0.018393623543838136, 'mean_word_length': 1.2615526802218116, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5452321', 'n_tokens_mistral': 1551, 'n_tokens_neox': 1415, 'n_words': 359}