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.

66 lines
1.2 KiB

  1. .searchresults {
  2. position: fixed;
  3. top: 50px;
  4. left: 0;
  5. right: 0;
  6. margin: 0 auto;
  7. width: 500px;
  8. z-index: 1;
  9. background-color: darken(mc('blue-grey', '900'), 2%);
  10. border: 1px solid mc('blue-grey', '900');
  11. box-shadow: 0 0 5px mc('blue-grey', '500');
  12. color: #FFF;
  13. transition: max-height 1s ease;
  14. &-enter-active, &-leave-active {
  15. overflow: hidden;
  16. }
  17. &-enter-to, &-leave {
  18. max-height: 500px;
  19. }
  20. &-enter, &-leave-to {
  21. max-height: 0px;
  22. }
  23. .searchresults-label {
  24. background-color: mc('blue-grey', '800');
  25. color: mc('blue-grey', '300');
  26. padding: 8px;
  27. font-size: 13px;
  28. letter-spacing: 1px;
  29. text-transform: uppercase;
  30. box-shadow: 0 0 5px rgba(0,0,0,0.3);
  31. }
  32. .searchresults-list {
  33. padding-bottom: 5px;
  34. > li {
  35. display: flex;
  36. font-size: 14px;
  37. transition: background-color .2s linear;
  38. &:nth-child(odd) {
  39. background-color: mc('blue-grey', '900');
  40. }
  41. &.is-active, &:hover {
  42. background-color: mc('blue-grey', '600');
  43. color: #FFF;
  44. }
  45. a {
  46. color: mc('blue-grey', '50');
  47. display: flex;
  48. align-items: center;
  49. height: 30px;
  50. padding: 0 20px;
  51. width: 100%;
  52. cursor: pointer;
  53. }
  54. }
  55. }
  56. }