tntsearch.css 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. .tntsearch-form .form-input {
  2. height: 2.4rem;
  3. padding-left: 1rem;
  4. }
  5. #tntsearch-wrapper {
  6. position: relative;
  7. }
  8. .tntsearch-clear {
  9. border-radius: 100%;
  10. padding: 0 1rem;
  11. line-height: 1;
  12. position: absolute;
  13. right: 0;
  14. font-size: 2rem;
  15. top: 0;
  16. cursor: pointer;
  17. }
  18. .tntsearch-field-inpage {
  19. width: 100%;
  20. }
  21. .tntsearch-dropdown ~ .tntsearch-results {
  22. position: relative;
  23. margin-bottom: 0;
  24. }
  25. .tntsearch-dropdown ~ .tntsearch-results .row {
  26. position: absolute;
  27. top: 0;
  28. right: 0;
  29. width: 400px;
  30. background: #fff;
  31. box-shadow: 0 2px 20px rgba(0,0,0, 0.1);
  32. padding: 10px;
  33. z-index: 2;
  34. }
  35. .tntsearch-results .info {
  36. color: #999;
  37. font-size: 90%;
  38. }
  39. .tntsearch-results .title {
  40. margin-bottom: 10px;
  41. }
  42. .tntsearch-results .route {
  43. margin-top: 0;
  44. margin-bottom: 10px;
  45. }
  46. .tntsearch-results .row > p {
  47. margin-top: 0;
  48. }
  49. .tntsearch-results em {
  50. font-style: normal;
  51. background-color: #ffff33;
  52. }
  53. .tntsearch-powered-by {
  54. text-align: center;
  55. font-size: 14px;
  56. }
  57. .tntsearch-dropdown ~ .tntsearch-powered-by {
  58. display: none;
  59. }