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

_search.scss « components « scss « assets - github.com/h-enk/doks.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3a70b2b1f995d82c97caca6f0fb783e425a21fda (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
.navbar-form {
  position: relative;
}

#suggestions {
  position: absolute;
  right: 0;
  margin-top: 0.5rem;
  width: calc(100vw - 3rem);
}

#suggestions a {
  display: block;
  text-decoration: none;
  padding: 0.75rem;
  margin: 0 0.5rem;
}

#suggestions a:focus {
  background: $gray-100;
  outline: 0;
}

#suggestions div:not(:first-child) {
  border-top: 1px dashed $gray-200;
}

#suggestions div:first-child {
  margin-top: 0.5rem;
}

#suggestions div:last-child {
  margin-bottom: 0.5rem;
}

#suggestions a:hover {
  background: $gray-100;
}

#suggestions span {
  display: flex;
  font-size: $font-size-base;
}

#suggestions span:first-child {
  font-weight: $headings-font-weight;
  color: $black;
}

#suggestions span:nth-child(2) {
  color: $gray-700;
}

@include media-breakpoint-up(sm) {
  #suggestions {
    width: 30rem;
  }

  #suggestions a {
    display: flex;
  }

  #suggestions span:first-child {
    width: 9rem;
    padding-right: 1rem;
    border-right: 1px solid $gray-200;
    display: inline-block;
    text-align: right;
  }

  #suggestions span:nth-child(2) {
    width: 19rem;
    padding-left: 1rem;
  }
}