|
| 1 | +.bootstrap-tagsinput { |
| 2 | + background-color: #fff; |
| 3 | + border: 1px solid #ccc; |
| 4 | + box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); |
| 5 | + display: inline-block; |
| 6 | + padding: 4px 6px; |
| 7 | + color: #555; |
| 8 | + vertical-align: middle; |
| 9 | + border-radius: 4px; |
| 10 | + max-width: 100%; |
| 11 | + line-height: 22px; |
| 12 | + cursor: text; |
| 13 | + width: 100%; |
| 14 | +} |
| 15 | +.bootstrap-tagsinput .label |
| 16 | +{ |
| 17 | + font-weight: normal; |
| 18 | +} |
| 19 | +.bootstrap-tagsinput input { |
| 20 | + border: none; |
| 21 | + box-shadow: none; |
| 22 | + outline: none; |
| 23 | + background-color: transparent; |
| 24 | + padding: 0 6px; |
| 25 | + margin: 0; |
| 26 | + width: auto; |
| 27 | + max-width: inherit; |
| 28 | +} |
| 29 | +.bootstrap-tagsinput.form-control input::-moz-placeholder { |
| 30 | + color: #777; |
| 31 | + opacity: 1; |
| 32 | +} |
| 33 | +.bootstrap-tagsinput.form-control input:-ms-input-placeholder { |
| 34 | + color: #777; |
| 35 | +} |
| 36 | +.bootstrap-tagsinput.form-control input::-webkit-input-placeholder { |
| 37 | + color: #777; |
| 38 | +} |
| 39 | +.bootstrap-tagsinput input:focus { |
| 40 | + border: none; |
| 41 | + box-shadow: none; |
| 42 | +} |
| 43 | +.bootstrap-tagsinput .tag { |
| 44 | + margin-right: 2px; |
| 45 | + color: white; |
| 46 | +} |
| 47 | +.bootstrap-tagsinput .tag [data-role="remove"] { |
| 48 | + margin-left: 8px; |
| 49 | + cursor: pointer; |
| 50 | +} |
| 51 | +.bootstrap-tagsinput .tag [data-role="remove"]:after { |
| 52 | + content: "x"; |
| 53 | + padding: 0px 2px; |
| 54 | +} |
| 55 | +.bootstrap-tagsinput .tag [data-role="remove"]:hover { |
| 56 | + box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); |
| 57 | +} |
| 58 | +.bootstrap-tagsinput .tag [data-role="remove"]:hover:active { |
| 59 | + box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); |
| 60 | +} |
| 61 | + |
| 62 | +.tt-menu { |
| 63 | + position: absolute; |
| 64 | + top: 100%; |
| 65 | + left: 0; |
| 66 | + z-index: 1000; |
| 67 | + display: none; |
| 68 | + float: left; |
| 69 | + min-width: 160px; |
| 70 | + padding: 5px 0; |
| 71 | + margin: 2px 0 0; |
| 72 | + list-style: none; |
| 73 | + font-size: 14px; |
| 74 | + background-color: #ffffff; |
| 75 | + border: 1px solid #cccccc; |
| 76 | + border: 1px solid rgba(0, 0, 0, 0.15); |
| 77 | + border-radius: 4px; |
| 78 | + -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); |
| 79 | + box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); |
| 80 | + background-clip: padding-box; |
| 81 | + cursor: pointer; |
| 82 | +} |
| 83 | + |
| 84 | +.tt-suggestion { |
| 85 | + display: block; |
| 86 | + padding: 3px 20px; |
| 87 | + clear: both; |
| 88 | + font-weight: normal; |
| 89 | + line-height: 1.428571429; |
| 90 | + color: #333333; |
| 91 | + white-space: nowrap; |
| 92 | +} |
| 93 | + |
| 94 | +.tt-suggestion:hover, |
| 95 | +.tt-suggestion:focus { |
| 96 | + color: #ffffff; |
| 97 | + text-decoration: none; |
| 98 | + outline: 0; |
| 99 | + background-color: #428bca; |
| 100 | +} |
| 101 | + |
0 commit comments