You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1007 B

  1. .searchresults {
  2. position: fixed;
  3. top: 45px;
  4. left: 0;
  5. right: 0;
  6. margin: 0 auto;
  7. width: 500px;
  8. z-index: 1;
  9. background-color: mc($primary, '700');
  10. border-bottom: 5px solid mc($primary, '800');
  11. box-shadow: 0 0 5px mc($primary, '500');
  12. color: #FFF;
  13. &.slideInDown {
  14. @include prefix(animation-duration, .6s);
  15. }
  16. .searchresults-label {
  17. color: mc($primary, '200');
  18. padding: 15px 10px 10px;
  19. font-size: 13px;
  20. text-transform: uppercase;
  21. border-bottom: 1px dotted mc($primary, '400');
  22. }
  23. .searchresults-list {
  24. > li {
  25. display: flex;
  26. font-size: 14px;
  27. transition: background-color .3s linear;
  28. &:nth-child(odd) {
  29. background-color: mc($primary, '600');
  30. }
  31. &.is-active, &:hover {
  32. background-color: mc($primary, '400');
  33. color: #FFF;
  34. border-left: 5px solid mc($primary, '200');
  35. }
  36. a {
  37. color: mc($primary, '50');
  38. display: flex;
  39. align-items: center;
  40. height: 30px;
  41. padding: 0 20px;
  42. width: 100%;
  43. cursor: pointer;
  44. }
  45. }
  46. }
  47. }