-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathcategorized-tag-input.css
123 lines (106 loc) · 2.11 KB
/
categorized-tag-input.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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
.cti__root {
font-family: sans-serif;
font-weight: normal;
font-size: 14px;
position: relative;
width: 330px;
}
.cti__root * {
box-sizing: border-box;
outline: none;
}
.cti__input {
border: 1px solid rgb(220, 220, 220);
padding: .1em 24px .1em .1em;
min-height: 38px;
position: relative;
background: white;
}
.cti__input__arrow {
position: absolute;
display: block;
width: 0;
height: 0;
border-left: 4px solid transparent;
border-right: 4px solid transparent;
border-top: 4px solid rgb(140, 140, 140);
right: 10px;
top: 50%;
margin-top: -2px;
}
.cti__input__tags, .cti__input__input {
display: inline-block;
vertical-align: middle;
}
.cti__input__input {
max-width: 100%;
padding: .4em 0 !important;
margin: .1em 0 .1em .4em !important;
font-size: 1em !important;
border: none;
}
.cti__tag {
background-color: white;
border: 1px solid rgb(220, 220, 220);
border-radius: 3px;
padding: .3em .7em;
color: rgb(146, 146, 146);
display: inline-block;
margin: .1em 0 .1em .4em;
cursor: pointer;
word-break: break-all;
max-width: 100%;
}
.cti__tag__content--match {
color: black;
font-weight: bold;
}
.cti__tag__delete, .cti__tag__content, .cti__tag__content > span {
display: inline-block;
vertical-align: middle;
}
.cti__tag__delete {
background-color: transparent;
padding: 0 0 0 .3em;
margin: -4px 0 0 0;
color: rgb(146, 146, 146);
font-size: 1.5em;
border: none;
}
.cti__tag__content > span {
margin-top: -3px;
}
.cti__panel {
position: absolute;
background: white;
border: 1px solid rgb(220, 220, 220);
border-top: none;
width: 100%;
z-index: 9997;
}
.cti__category__add-item {
background: transparent;
border: none;
color: rgb(28, 99, 166);
font-size: 1em;
}
.cti__category__add-item.cti-selected {
margin-left: .4em;
}
.cti__category__or {
margin-left: .4em;
}
.cti-selected {
background-color: rgb(229, 241, 255);
border: 1px solid rgb(207, 219, 234);
border-radius: 3px;
}
.cti__category {
padding: .4em;
}
.cti__category__title {
padding: .3em 0;
margin: 0;
color: rgb(200, 200, 200);
font-weight: normal;
}