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

  .form-autocomplete-input {
    align-content: flex-start;
    display: flex;
    flex-wrap: wrap;
    height: auto;
    min-height: 3.6rem;
    padding: .1rem 0 .1rem .2rem;

    &.is-focused {
      border-color: @primary-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;
  }
}