forked from webscopeio/react-textarea-autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
67 lines (67 loc) · 1.21 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
.rta {
position: relative;
font-size: 18px;
width: 100%;
height: 100%;
}
.rta__loader.rta__loader--empty-suggestion-data {
border-radius: 3px;
box-shadow: 0 0 5px rgba(27, 31, 35, 0.1);
padding: 5px;
}
.rta--loading .rta__loader.rta__loader--suggestion-data {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.8);
}
.rta--loading .rta__loader.rta__loader--suggestion-data > * {
position: relative;
top: 50%;
}
.rta__textarea {
width: 100%;
height: 100%;
font-size: 1em;
}
.rta__autocomplete {
position: absolute;
display: block;
margin-top: 1em;
}
.rta__autocomplete--top {
margin-top: 0;
margin-bottom: 1em;
}
.rta__list {
margin: 0;
padding: 0;
background: #fff;
border: 1px solid #dfe2e5;
border-radius: 3px;
box-shadow: 0 0 5px rgba(27, 31, 35, 0.1);
list-style: none;
}
.rta__entity {
background: white;
width: 100%;
text-align: left;
outline: none;
}
.rta__entity:hover {
cursor: pointer;
}
.rta__item:not(:last-child) {
border-bottom: 1px solid #dfe2e5;
}
.rta__entity > * {
padding-left: 4px;
padding-right: 4px;
}
.rta__entity--selected {
color: #fff;
text-decoration: none;
background: #0366d6;
}