aboutsummaryrefslogtreecommitdiffstats
path: root/components/autocomplete/_autocomplete.scss
blob: 72751562c28c45a8c7dcb7a7315ed3cf42895a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.sdc-autocomplete-container{
    position: relative;

    &.results-shown{
      .sdc-input__input{
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
      }
    }

    ul.autocomplete-results {
      opacity: 0;
      border: solid 1px $blue;
      border-bottom-left-radius: 4px;
      border-bottom-right-radius: 4px;
      border-top:none;
      background-color: $white;
      max-height: 200px;
      box-shadow: 0 3px 7px -3px $dark-gray;
      overflow-y: scroll;
      overflow-x: hidden;
      position: absolute;
      box-sizing: border-box;
      width: 100%;
      left: 0;
      top: 100%;

      li {
        color:$text-black;
        text-indent: 10px;
        line-height: 30px;
        cursor:pointer;
        @include body-1;

        &:hover {
          background-color: $lighter-blue;
          color: $blue;
        }
      }

    }

  }