| 1 |
.tokenize > .tokens-container { |
| 2 |
position: relative; |
| 3 |
list-style: none; |
| 4 |
padding: 0 0 5px 5px; |
| 5 |
height: auto; |
| 6 |
min-height: 34px; |
| 7 |
cursor: text; |
| 8 |
} |
| 9 |
|
| 10 |
.tokenize > .tokens-container.disabled { |
| 11 |
background-color: #eee; |
| 12 |
cursor: not-allowed; |
| 13 |
} |
| 14 |
|
| 15 |
.tokenize.focus > .tokens-container { |
| 16 |
outline: 0; |
| 17 |
border-color: #66afe9; |
| 18 |
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6); |
| 19 |
box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6); |
| 20 |
} |
| 21 |
|
| 22 |
.tokenize > .tokens-container.input-sm { |
| 23 |
padding: 0 0 4px 4px; |
| 24 |
min-height: 30px; |
| 25 |
} |
| 26 |
|
| 27 |
.tokenize > .tokens-container.input-lg { |
| 28 |
padding: 0 0 9px 9px; |
| 29 |
min-height: 46px; |
| 30 |
} |
| 31 |
|
| 32 |
.tokenize > .tokens-container > .token { |
| 33 |
padding: 0 1.2em 0 5px; |
| 34 |
background-color: #eff2f7; |
| 35 |
-webkit-border-radius: 2px; |
| 36 |
-moz-border-radius: 2px; |
| 37 |
border-radius: 2px; |
| 38 |
} |
| 39 |
|
| 40 |
.tokenize > .tokens-container > .token, |
| 41 |
.tokenize > .tokens-container > .placeholder, |
| 42 |
.tokenize > .tokens-container > .token-search { |
| 43 |
border: 1px solid #cdd5e3; |
| 44 |
display: inline-block; |
| 45 |
margin: 5px 5px 0 0; |
| 46 |
position: relative; |
| 47 |
vertical-align: middle; |
| 48 |
} |
| 49 |
|
| 50 |
.tokenize > .tokens-container > .token-search { |
| 51 |
min-width: 10px; |
| 52 |
} |
| 53 |
|
| 54 |
.tokenize.sortable > .tokens-container > .token { |
| 55 |
cursor: move; |
| 56 |
} |
| 57 |
|
| 58 |
.tokenize.sortable > .tokens-container > .token.dragged { |
| 59 |
position: absolute; |
| 60 |
z-index: 2000; |
| 61 |
} |
| 62 |
|
| 63 |
.tokenize.single > .tokens-container > .token { |
| 64 |
display: block; |
| 65 |
border-color: #fff; |
| 66 |
background-color: transparent; |
| 67 |
} |
| 68 |
|
| 69 |
.tokenize.sortable > .tokens-container > .token.shadow { |
| 70 |
border-color: #ccc; |
| 71 |
background-color: #ccc; |
| 72 |
filter: alpha(opacity=50); |
| 73 |
opacity: .2; |
| 74 |
} |
| 75 |
|
| 76 |
.tokenize > .tokens-container > .placeholder, |
| 77 |
.tokenize > .tokens-container > .token-search { |
| 78 |
padding: 0; |
| 79 |
border-color: #fff; |
| 80 |
} |
| 81 |
.tokenize > .tokens-container > .placeholder { |
| 82 |
color: #ccc; |
| 83 |
} |
| 84 |
|
| 85 |
.tokenize > .tokens-container > .token-search > input { |
| 86 |
padding: 0; |
| 87 |
margin: 0; |
| 88 |
line-height: 1em; |
| 89 |
border: 1px solid #fff; |
| 90 |
background: transparent; |
| 91 |
border-left: none; |
| 92 |
border-right: none; |
| 93 |
outline: none; |
| 94 |
width: 100%; |
| 95 |
} |
| 96 |
|
| 97 |
.tokenize > .tokens-container > .token-search > input::-ms-clear { |
| 98 |
display: none; |
| 99 |
} |
| 100 |
|
| 101 |
.tokenize > .tokens-container.input-sm > .placeholder, |
| 102 |
.tokenize > .tokens-container.input-sm > .token-search, |
| 103 |
.tokenize > .tokens-container.input-sm > .token { |
| 104 |
margin: 4px 4px 0 0; |
| 105 |
} |
| 106 |
|
| 107 |
.tokenize > .tokens-container.input-lg > .placeholder, |
| 108 |
.tokenize > .tokens-container.input-lg > .token-search, |
| 109 |
.tokenize > .tokens-container.input-lg > .token { |
| 110 |
margin: 9px 9px 0 0; |
| 111 |
} |
| 112 |
|
| 113 |
.tokenize > .tokens-container > .token.pending-delete { |
| 114 |
background-color: #5b72a4; |
| 115 |
border-color: #425c96; |
| 116 |
color: #fff |
| 117 |
} |
| 118 |
|
| 119 |
.tokenize > .tokens-container > .token > .dismiss { |
| 120 |
position: absolute; |
| 121 |
right: 5px; |
| 122 |
color: #a9b9d8; |
| 123 |
text-decoration: none; |
| 124 |
cursor: pointer; |
| 125 |
} |
| 126 |
|
| 127 |
.tokenize > .tokens-container > .token > .dismiss:after { |
| 128 |
content: "×"; |
| 129 |
} |
| 130 |
|
| 131 |
.tokenize > .tokens-container > .token.pending-delete > .dismiss { |
| 132 |
color: #aaa; |
| 133 |
} |
| 134 |
|
| 135 |
.tokenize-dropdown { |
| 136 |
position: absolute; |
| 137 |
display: none; |
| 138 |
} |
| 139 |
|
| 140 |
.tokenize-dropdown > .dropdown-menu { |
| 141 |
min-height: 10px; |
| 142 |
width: 100%; |
| 143 |
display: block; |
| 144 |
margin: -1px 0 0 0; |
| 145 |
visibility: visible; |
| 146 |
opacity: 1; |
| 147 |
} |
| 148 |
|
| 149 |
.tokenize-dropdown > .dropdown-menu li { |
| 150 |
cursor: pointer; |
| 151 |
} |
| 152 |
|
| 153 |
.tokenize-dropdown > .dropdown-menu li > a .tokenize-highlight { |
| 154 |
font-weight: bold; |
| 155 |
} |
| 156 |
|
| 157 |
.tokenize-dropdown > .dropdown-menu li.locked { |
| 158 |
padding: 3px 20px; |
| 159 |
color: #333; |
| 160 |
white-space: nowrap; |
| 161 |
} |
| 162 |
|
| 163 |
.tokenize-dropdown > .dropdown-menu li.locked, |
| 164 |
.tokenize-dropdown > .dropdown-menu li > a { |
| 165 |
text-overflow: ellipsis; |
| 166 |
overflow-x: hidden; |
| 167 |
} |
| 168 |
|
| 169 |
.tokenize-dropdown > .dropdown-menu li:not(.active) a:hover, |
| 170 |
.tokenize-dropdown > .dropdown-menu li:not(.active) a:focus { |
| 171 |
background-color: transparent; |
| 172 |
} |
| 173 |
|