This repository has been archived by the owner on Apr 2, 2023. It is now read-only.
/
fm.tagator.jquery.css
136 lines (125 loc) · 2.23 KB
/
fm.tagator.jquery.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
/**
* Tagator jQuery Plugin
* A plugin to make input elements, tag holders
* version 1.0, Jan 13th, 2014
* by Ingi á Steinamørk
*/
/* reset */
.tagator_element * {
box-sizing: border-box;
-moz-box-sizing: border-box;
text-decoration: none;
}
/* dimmer */
#tagator_dimmer {
background-color: rgba(0,0,0,.1);
width: 100%;
height: 100%;
position: fixed;
z-index: 100;
}
/* Main box */
.tagator_element {
border: 1px solid #abadb3;
border-radius: 3px;
box-sizing: border-box;
background-color: #fff;
display: inline-block;
text-decoration: none;
}
.tagator_element.options-visible {
position: relative;
z-index: 101;
}
/* placeholder */
.tagator_placeholder {
position: absolute;
color: #999;
left: 4px;
top: 4px;
font-size: 13px;
}
/* chosen items holder */
.tagator_tags {
display: inline;
}
/* chosen item */
.tagator_tag {
display: inline-block;
background-color: #39f;
border-radius: 2px;
color: #fff;
padding: 2px 20px 2px 4px;
font-size: 13px;
margin: 2px;
position: relative;
vertical-align: top;
}
/* chosen item remove button */
.tagator_tag_remove {
display: inline-block;
font-weight: bold;
color: #fff;
margin: 0 0 0 5px;
padding: 6px 5px 4px 5px;
cursor: pointer;
font-size: 11px;
line-height: 10px;
vertical-align: top;
border-radius: 0 2px 2px 0;
position: absolute;
right: 0;
top: 0;
bottom: 0;
}
.tagator_tag_remove:hover {
color: #000;
background-color: #8cf;
}
/* input box */
.tagator_input,
.tagator_textlength {
border: 0;
display: inline-block;
margin: 0;
background-color: transparent;
font-size: 13px;
outline: none;
padding: 4px 0 0 5px;
position: relative;
z-index: 1;
}
.tagator_input {
/*padding: 0px 0px;*/
}
/* options holder */
.tagator_options {
margin: 0;
padding: 0;
border: 1px solid #7f9db9;
border-radius: 0 0 3px 3px;
font-family: sans-serif;
position: absolute;
box-sizing: border-box;
-moz-box-sizing: border-box;
z-index: 101;
background-color: #fff;
overflow: auto;
max-height: 250px;
list-style: none;
left: -1px;
right: -1px;
}
.tagator_element.options-hidden .tagator_options {
display: none;
}
/* result item */
.tagator_option {
padding: 5px;
cursor: pointer;
color: #000;
}
.tagator_option.active {
background-color: #39f;
color: #fff;
}