Summary Files Commits Branches @commit @diff @stats
path: root / src / autocomplete.less
blob: df99426951fd21d9479c9a2774bde58c8ef599a6 (plain) (blame)
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
// Autocomplete
.form-autocomplete {
  position: relative;

  .form-autocomplete-input {
    align-content: flex-start;
    background: #fff;
    border: .1rem solid @control-color;
    border-radius: @border-radius;
    color: @body-font-color;
    display: flex;
    flex-wrap: wrap;
    min-height: 3.6rem;
    outline: 0;
    padding: .1rem 0 .1rem .2rem;
    width: 100%;

    &.is-focused {
      border-color: @core-color;
      .control-shadow();
    }

    .form-input {
      border-color: transparent;
      box-shadow: none;
      display: inline-block;
      flex: 1 0 auto;
      padding: .3rem;
      width: auto;
    }
  }

  mark {
    font-size: 1;
    padding: .1em 0;
  }
}