typeahead.css 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. #searchform input[type="submit"] {
  2. width: 25%;
  3. }
  4. .twitter-typeahead {
  5. width: 73% !important;
  6. }
  7. .twitter-typeahead * {
  8. -moz-box-sizing: border-box;
  9. -webkit-box-sizing: border-box;
  10. box-sizing: border-box;
  11. }
  12. .tt-query,
  13. .tt-hint {
  14. padding: 6px;
  15. outline: none;
  16. width: 100% !important;
  17. vertical-align: inherit !important;
  18. }
  19. .tt-hint {
  20. color: #999
  21. }
  22. .tt-dropdown-menu {
  23. width: 100%;
  24. margin-top: 12px;
  25. padding: 8px 0;
  26. background-color: #fff;
  27. border: 1px solid #ccc;
  28. border: 1px solid rgba(0, 0, 0, 0.2);
  29. -webkit-border-radius: 8px;
  30. -moz-border-radius: 8px;
  31. border-radius: 8px;
  32. -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);
  33. -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);
  34. box-shadow: 0 5px 10px rgba(0,0,0,.2);
  35. text-shadow: none;
  36. }
  37. .tt-dropdown-menu h5 {
  38. color: #444 !important;
  39. border: 0 !important;
  40. display: block;
  41. text-decoration: none !important;
  42. font-weight: 700;
  43. }
  44. .tt-dropdown-menu p {
  45. font-size: 14px;
  46. margin: 0 0 5px!important;
  47. line-height: 1.4 !important;
  48. color: #444;
  49. font-weight: 400;
  50. }
  51. .tt-suggestion {
  52. padding: 3px 10px;
  53. font-size: 14px;
  54. line-height: 18px;
  55. }
  56. .tt-suggestion.tt-is-under-cursor {
  57. color: #fff;
  58. background-color: #0097cf;
  59. }
  60. .tt-suggestion.tt-is-under-cursor h5, .tt-suggestion.tt-is-under-cursor p {
  61. color: #fff !important;
  62. }
  63. .tt-suggestion p {
  64. margin: 0;
  65. }
  66. /* rtl support */
  67. .twitter-typeahead.tt-rtl {
  68. direction: rtl;
  69. }
  70. .twitter-typeahead.tt-rtl .tt-dropdown-menu {
  71. left: auto;
  72. right: 0;
  73. }