Blame | Last modification | View Log | RSS feed
/** typeahead.js* https://github.com/twitter/typeahead.js* Copyright 2013-2014 Twitter, Inc. and other contributors; Licensed MIT*/var css = (function() {'use strict';var css = {wrapper: {position: 'relative',display: 'inline-block'},hint: {position: 'absolute',top: '0',left: '0',borderColor: 'transparent',boxShadow: 'none',// #741: fix hint opacity issue on iOSopacity: '1'},input: {position: 'relative',verticalAlign: 'top',backgroundColor: 'transparent'},inputWithNoHint: {position: 'relative',verticalAlign: 'top'},dropdown: {position: 'absolute',top: '100%',left: '0',zIndex: '100',display: 'none'},suggestions: {display: 'block'},suggestion: {whiteSpace: 'nowrap',cursor: 'pointer'},suggestionChild: {whiteSpace: 'normal'},ltr: {left: '0',right: 'auto'},rtl: {left: 'auto',right:' 0'}};// ie specific stylingif (_.isMsie()) {// ie6-8 (and 9?) doesn't fire hover and click events for elements with// transparent backgrounds, for a workaround, use 1x1 transparent gif_.mixin(css.input, {backgroundImage: 'url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)'});}// ie7 and under specific stylingif (_.isMsie() && _.isMsie() <= 7) {// if someone can tell me why this is necessary to align// the hint with the query in ie7, i'll send you $5 - @JakeHarding_.mixin(css.input, { marginTop: '-1px' });}return css;})();