This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
89 lines (78 loc) · 2.09 KB
/
styles.css
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
body {
font-family: "Helvetica Neue",Arial,sans-serif;
}
/* dawa-autocomplete2 */
.autocomplete-container {
/* relative position for at de absolut positionerede forslag får korrekt placering. */
position: relative;
width: 100%;
max-width: 33%; /*30em;*/
}
.autocomplete-container input {
/* Både input og forslag får samme bredde som omkringliggende DIV */
width: 100%;
box-sizing: border-box;
}
.dawa-autocomplete-suggestions {
margin: 0.3em 0 0 0;
padding: 0;
text-align: left;
border-radius: 0.3125em;
background: #fcfcfc;
box-shadow: 0 0.0625em 0.15625em rgba(0,0,0,.15);
position: absolute;
left: 0;
right: 0;
z-index: 9999;
overflow-y: auto;
box-sizing: border-box;
}
.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion {
margin: 0;
list-style: none;
cursor: pointer;
padding: 0.4em 0.6em;
color: #333;
border: 0.0625em solid #ddd;
border-bottom-width: 0;
}
.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:first-child {
border-top-left-radius: inherit;
border-top-right-radius: inherit;
}
.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:last-child {
border-bottom-left-radius: inherit;
border-bottom-right-radius: inherit;
border-bottom-width: 0.0625em;
}
.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion.dawa-selected,
.dawa-autocomplete-suggestions .dawa-autocomplete-suggestion:hover {
background: #f0f0f0;
}
/* autocomplete.js */
.algolia-autocomplete {
width: 33%;
}
.algolia-autocomplete .aa-input, .algolia-autocomplete .aa-hint {
width: 100%;
}
.algolia-autocomplete .aa-hint {
color: #999;
}
.algolia-autocomplete .aa-dropdown-menu {
width: 100%;
background-color: #fff;
border: 1px solid #999;
border-top: none;
}
.algolia-autocomplete .aa-dropdown-menu .aa-suggestion {
cursor: pointer;
padding: 5px 4px;
}
.algolia-autocomplete .aa-dropdown-menu .aa-suggestion.aa-cursor {
background-color: #B2D7FF;
}
.algolia-autocomplete .aa-dropdown-menu .aa-suggestion em {
font-weight: bold;
font-style: normal;
}