aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app/components/search/Search.css
blob: a3fe6f5b49bbdf7ad22a561aada28dcbb166ef92 (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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
.navbar-search {
  position: relative;
  padding-right: 3px;
}

.navbar-search-input {
  vertical-align: middle;
  width: 310px;
  margin-top: 3px;
  margin-bottom: 3px;
  padding-left: 26px !important;
}

.navbar-search-input-hint {
  position: absolute;
  top: 4px;
  right: 30px;
  line-height: var(--controlHeight);
  font-size: var(--smallFontSize);
  color: var(--secondFontColor);
}
.navbar-search-input-hint.is-shifted {
  z-index: 7501;
  top: 32px;
}

.navbar-search-icon {
  position: relative;
  vertical-align: middle;
  width: 16px;
  margin-right: -20px;
  color: var(--secondFontColor);
}

.navbar-search-icon:before {
  font-size: var(--mediumFontSize);
}

.navbar-search-item-link {
  display: flex !important;
}

.navbar-search-item-match {
  flex-grow: 5;
  overflow: hidden;
  text-overflow: ellipsis;
}

.navbar-search-item-right {
  flex-grow: 1;
  padding-left: 10px;
  text-align: right;
}

.navbar-search-item-icons {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.navbar-search-item-icons > * {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
}

.navbar-search-item-icons > .icon-star,
.navbar-search-item-icons > .icon-clock {
  z-index: 6;
  top: -4px;
  left: -5px;
}

.navbar-search-no-results {
  margin-top: 4px;
  padding: 5px 10px;
}

.global-navbar-search-dropdown {
  max-height: 80vh;
  width: 440px;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.global-navbar-search-dropdown .dropdown-bottom-hint {
  margin-bottom: 0;
}