summaryrefslogtreecommitdiff
path: root/res/client/css/partials/search-bar.scss
blob: b9f0de7de746f1530ba73a165f188ed10f2e10b9 (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
@import '../modules/mixins'; // For box-shadow

.search-bar{
  position: relative;
  width:100%;
  height:$four-baselines;
  background: white;
  @include rz-box-shadow(0px, 1px, 6px, 0px, rgba(0,0,0,0.3) );
  z-index: 100;
}

.search-input{
  width: 70%;
  height:$icon-height;
  float: left;
  margin: 8px 12px 12px $doc-margin;
}

.search-input:before {
  content: "";
  background: url(../img/search-icon.png);
  padding: 0px 10px 0px 10px;
  background-position: center;
  background-repeat: no-repeat;
}

#search {
  font-family: $base-font-family;
  font-size: $h3-size;
  width: 80%;
}

#search-suggestion {
  position: absolute;
  width: 70%;
  margin-left: $doc-margin;
  top: $three-baselines + 6px;
}

#search-suggestion .suggestion-item {
  padding: $one-baseline 0px $one-baseline $two-baselines;
}

#search-suggestion .suggestion-item.selected, #search-suggestion .suggestion-item:hover {
  padding: $one-baseline 0px $one-baseline 22px;
}



.export {
  cursor: pointer;
  text-align: right;
  width: 60px;
  float: right;
  color: $dark-grey;
  font-size: $h5-size;
  margin: 14px $doc-margin 12px 12px ;
}

.export:before {
  content: "";
  background: url(../img/export.png);
  padding: 0px 9px 0px 9px;
  background-position: center;
  background-repeat: no-repeat;
}