Summary Files Commits Branches @commit @diff @stats
path: root / src / autocomplete.less
blob: e3925811f09f85655cc20a4ff4b312c06f67afa6 (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
38
39
// 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;
  }

  .menu {
    left: 0;
    position: absolute;
    top: 100%;
    width: 100%;
  }
}