forked from fclementioa/ngTagsInput
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ng-tags-input.bootstrap.css
176 lines (168 loc) · 5 KB
/
ng-tags-input.bootstrap.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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
tags-input {
box-shadow: none;
border: none;
padding: 0;
min-height: 34px;
}
tags-input .host {
margin: 0;
}
tags-input .tags {
-moz-appearance: none;
-webkit-appearance: none;
border: 1px solid #ccc;
border-radius: 4px;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
-webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
-moz-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}
tags-input .tags .tag-item {
color: #fff;
background: #428bca;
border: 1px solid #357ebd;
border-radius: 4px;
}
tags-input .tags .tag-item.selected {
color: #fff;
background: #d9534f;
border: 1px solid #d43f3a;
}
tags-input .tags .tag-item .remove-button:hover {
text-decoration: none;
}
tags-input .tags.focused {
border: 1px solid #66afe9;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
tags-input .autocomplete {
border-radius: 4px;
}
tags-input .autocomplete .suggestion-item.selected {
color: #262626;
background-color: #f5f5f5;
}
tags-input .autocomplete .suggestion-item.selected em {
color: #262626;
background-color: #f5f5f5;
}
tags-input .autocomplete .suggestion-item em {
color: #000;
background-color: #fff;
}
tags-input.ng-invalid .tags {
border-color: #843534;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
}
tags-input[disabled] .tags {
background-color: #eee;
}
tags-input[disabled] .tags .tag-item {
background: #337ab7;
opacity: 0.65;
}
tags-input[disabled] .tags .input {
background-color: #eee;
}
.input-group tags-input {
padding: 0;
display: table-cell;
}
.input-group tags-input:not(:first-child) .tags {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.input-group tags-input:not(:last-child) .tags {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.input-group-lg tags-input:first-child .tags {
border-top-left-radius: 6px;
border-bottom-left-radius: 6px;
}
.input-group-lg tags-input:last-child .tags {
border-top-right-radius: 6px;
border-bottom-right-radius: 6px;
}
.input-group-sm tags-input:first-child .tags {
border-top-left-radius: 3px;
border-bottom-left-radius: 3px;
}
.input-group-sm tags-input:last-child .tags {
border-top-right-radius: 3px;
border-bottom-right-radius: 3px;
}
tags-input.ti-input-lg, .input-group-lg tags-input {
min-height: 46px;
}
tags-input.ti-input-lg .tags, .input-group-lg tags-input .tags {
border-radius: 6px;
}
tags-input.ti-input-lg .tags .tag-item, .input-group-lg tags-input .tags .tag-item {
height: 38px;
line-height: 37px;
font-size: 18px;
border-radius: 6px;
}
tags-input.ti-input-lg .tags .tag-item .remove-button, .input-group-lg tags-input .tags .tag-item .remove-button {
font-size: 20px;
}
tags-input.ti-input-lg .tags .input, .input-group-lg tags-input .tags .input {
height: 38px;
font-size: 18px;
}
tags-input.ti-input-sm, .input-group-sm tags-input {
min-height: 30px;
}
tags-input.ti-input-sm .tags, .input-group-sm tags-input .tags {
border-radius: 3px;
}
tags-input.ti-input-sm .tags .tag-item, .input-group-sm tags-input .tags .tag-item {
height: 22px;
line-height: 21px;
font-size: 12px;
border-radius: 3px;
}
tags-input.ti-input-sm .tags .tag-item .remove-button, .input-group-sm tags-input .tags .tag-item .remove-button {
font-size: 16px;
}
tags-input.ti-input-sm .tags .input, .input-group-sm tags-input .tags .input {
height: 22px;
font-size: 12px;
}
.has-feedback tags-input .tags {
padding-right: 30px;
}
.has-success tags-input .tags {
border-color: #3c763d;
}
.has-success tags-input .tags.focused {
border-color: #2b542c;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168;
}
.has-error tags-input .tags {
border-color: #a94442;
}
.has-error tags-input .tags.focused {
border-color: #843534;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
}
.has-warning tags-input .tags {
border-color: #8a6d3b;
}
.has-warning tags-input .tags.focused {
border-color: #66512c;
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b;
}