Welcome to mirror list, hosted at ThFree Co, Russian Federation.

autocomplete.less « src - github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 46af3b2e9dac8fd66439dc471c510a7d66c23d9e (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
// Autocomplete
.form-autocomplete {
  position: relative;

  .form-autocomplete-input {
    align-content: flex-start;
    display: flex;
    flex-wrap: wrap;
    height: auto;
    min-height: @unit-8;
    padding: @border-width 0 0 @border-width;

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

    .form-input {
      border-color: transparent;
      box-shadow: none;
      display: inline-block;
      flex: 1 0 auto;
      height: @unit-7;
      line-height: @unit-4;
      width: auto;
    }
  }

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

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