-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
82 lines (70 loc) · 1 KB
/
style.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
html, body {
margin: 0;
padding: 0;
}
.container {
margin: 2em auto;
max-width: calc(100% - 2em);
width: 600px;
font-family: sans-serif;
}
.input {
border: 1px solid #DDD;
box-sizing: border-box;
border-radius: 3px;
overflow: hidden;
display: flex;
flex-wrap: wrap;
}
.inputField {
width: 100%;
padding: .5em;
border: none;
font-size: 1em;
}
.btn {
height: 100%;
padding: .5em;
display: flex;
justify-content: center;
align-items: center;
background: lightgray;
cursor: pointer;
flex-grow: 1;
}
.btn.active {
background: skyblue;
}
.output {
margin-top: 1em;
width: 100%;
padding: .5em;
box-sizing: border-box;
}
.output ul {
list-style: none;
margin: 0;
padding: 0;
display: inline;
}
.output li {
display: none;
cursor: pointer;
}
.output ul.active {
background: #DDD;
padding: 0 2px;
border-radius: 3px;
}
.output ul.active li {
display: inline;
padding: 0 2px;
}
.output li.active {
display: inline;
color: tomato;
}
.placeholder {
color: gray;
font-weight: lighter;
}