typeahead.css 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. .twitter-typeahead .tt-query,
  2. .twitter-typeahead .tt-hint {
  3. margin-bottom: 0;
  4. }
  5. .tt-dropdown-menu {
  6. min-width: 160px;
  7. margin-top: 2px;
  8. padding: 5px 0;
  9. background-color: #fff;
  10. border: 1px solid #ccc;
  11. border: 1px solid rgba(0,0,0,.2);
  12. *border-right-width: 2px;
  13. *border-bottom-width: 2px;
  14. -webkit-border-radius: 6px;
  15. -moz-border-radius: 6px;
  16. border-radius: 6px;
  17. -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
  18. -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
  19. box-shadow: 0 5px 10px rgba(0,0,0,.2);
  20. -webkit-background-clip: padding-box;
  21. -moz-background-clip: padding;
  22. background-clip: padding-box;
  23. }
  24. .tt-suggestion {
  25. display: block;
  26. padding: 3px 20px;
  27. }
  28. .tt-suggestion.tt-is-under-cursor {
  29. color: #fff;
  30. background-color: #0081c2;
  31. /*background-image: -moz-linear-gradient(top, #0088cc, #0077b3);*/
  32. /*background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3));*/
  33. /*background-image: -webkit-linear-gradient(top, #0088cc, #0077b3);*/
  34. /*background-image: -o-linear-gradient(top, #0088cc, #0077b3);*/
  35. /*background-image: linear-gradient(to bottom, #0088cc, #0077b3);*/
  36. /*background-repeat: repeat-x;*/
  37. /*filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0)*/
  38. }
  39. .tt-suggestion.tt-is-under-cursor a {
  40. color: #fff;
  41. }
  42. .tt-suggestion p {
  43. margin: 0;
  44. }