_sort.sass 766 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // *************************************
  2. //
  3. // Sort
  4. // -> Sort-menu
  5. //
  6. // *************************************
  7. .sort-menu
  8. @extend %grid-box
  9. @extend %grid-box-1of4
  10. .card
  11. @extend %card--b
  12. @extend %card--f
  13. @extend %list
  14. text-align: left
  15. h2
  16. @extend %h4
  17. color: $blue
  18. display: inline-block
  19. margin-bottom: $b-space-m
  20. text-transform: uppercase
  21. .sort-menu-item
  22. border-bottom: $list-border
  23. color: lighten($dark, 25%)
  24. cursor: pointer
  25. display: block
  26. font-style: italic
  27. padding: $list-space
  28. &:last-child
  29. margin-bottom: 0
  30. border-bottom: none
  31. &:hover,
  32. &:focus,
  33. &:active,
  34. background: lighten($dark, 10%)
  35. color: $c-highlight
  36. &.active
  37. background: lighten($dark, 10%)
  38. color: $c-highlight