UNPKG

react-bootstrap-typeahead

Version:
219 lines (182 loc) 3.82 kB
.rbt-menu { margin-bottom: 2px; } .rbt-menu > li a { overflow: hidden; text-overflow: ellipsis; } .rbt-menu > li a:focus { outline: none; } .rbt-menu-pagination-option { text-align: center; } .rbt .rbt-input-main::-ms-clear { display: none; } .rbt-input-multi { cursor: text; overflow: hidden; position: relative; height: auto; } .rbt-input-multi.focus { box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6); border-color: #66afe9; outline: 0; } .rbt-input-multi.form-control[disabled] { background-color: #e9ecef; opacity: 1; } .rbt-input-multi input::-moz-placeholder { color: #999; opacity: 1; } .rbt-input-multi input:-ms-input-placeholder { color: #999; } .rbt-input-multi input::-webkit-input-placeholder { color: #999; } .rbt-input-multi .rbt-input-wrapper { align-items: flex-start; display: flex; flex-wrap: wrap; margin-bottom: -4px; margin-top: -1px; overflow: hidden; } .rbt-input-multi .rbt-input-main { height: 20px; margin: 1px 0 4px; } .rbt-input-multi.input-lg .rbt-input-main, .rbt-input-multi.form-control-lg .rbt-input-main { height: 24px; } .rbt-input-multi.input-sm .rbt-input-main, .rbt-input-multi.form-control-sm .rbt-input-main { height: 18px; } .rbt-close { z-index: 1; } .rbt-close-lg { font-size: 24px; } .rbt-token { background-color: #e7f4ff; border: 0; border-radius: 2px; color: #1f8dd6; display: inline-block; line-height: 1em; margin: 0 3px 3px 0; padding: 4px 7px; position: relative; } .rbt-token-disabled { background-color: #ddd; color: #888; pointer-events: none; } .rbt-token-removeable { cursor: pointer; padding-right: 21px; } .rbt-token-active { background-color: #1f8dd6; color: #fff; outline: none; text-decoration: none; } .rbt-token .rbt-token-remove-button { bottom: 0; color: inherit; font-size: inherit; font-weight: normal; opacity: 1; outline: none; padding: 3px 7px; position: absolute; right: 0; text-shadow: none; top: -2px; } .rbt-loader { -moz-animation: loader-animation 600ms infinite linear; -webkit-animation: loader-animation 600ms infinite linear; animation: loader-animation 600ms infinite linear; border: 1px solid #d5d5d5; border-radius: 50%; border-top-color: #1f8dd6; display: block; height: 16px; width: 16px; } .rbt-loader-lg { height: 20px; width: 20px; } .rbt-aux { align-items: center; display: flex; bottom: 0; justify-content: center; pointer-events: none; /* Don't block clicks on the input */ position: absolute; right: 0; top: 0; width: 34px; } .rbt-aux-lg { width: 46px; } .rbt-aux .rbt-close { margin-top: -4px; pointer-events: auto; /* Override pointer-events: none; above */ } .has-aux .rbt-input { padding-right: 34px; } .rbt-highlight-text { background-color: inherit; color: inherit; font-weight: bold; padding: 0; } /* Input Groups */ .input-group > .rbt { flex: 1; } .input-group > .rbt .rbt-input-hint, .input-group > .rbt .rbt-aux { z-index: 5; } .input-group > .rbt:not(:first-child) .form-control { border-top-left-radius: 0; border-bottom-left-radius: 0; } .input-group > .rbt:not(:last-child) .form-control { border-top-right-radius: 0; border-bottom-right-radius: 0; } /* Validation States */ .has-error .rbt-input-multi.focus { border-color: #843534; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483; } .has-warning .rbt-input-multi.focus { border-color: #66512c; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #c0a16b; } .has-success .rbt-input-multi.focus { border-color: #2b542c; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67b168; } @keyframes loader-animation { to { transform: rotate(1turn); } }