074d21d9955a167ce9d2fa4bffd165f2e9d1bd02.svn-base 734 B

1234567891011121314151617181920212223242526272829303132333435
  1. @active-color: #4a4a48;
  2. ul {
  3. max-height: 700px;
  4. overflow-y: auto;
  5. padding-left: .5rem;
  6. i {
  7. font-size: 1.5rem;
  8. border: 1px solid #f1f1f1;
  9. padding: .2rem;
  10. margin: .3rem;
  11. cursor: pointer;
  12. &.active, &:hover {
  13. border-radius: 2px;
  14. border-color: @active-color;
  15. background-color: @active-color;
  16. color: #fff;
  17. transition: all .3s;
  18. }
  19. }
  20. li {
  21. list-style: none;
  22. float: left;
  23. width: 5%;
  24. text-align: center;
  25. cursor: pointer;
  26. color: #555;
  27. transition: color .3s ease-in-out,background-color .3s ease-in-out;
  28. position: relative;
  29. margin: 3px 0;
  30. border-radius: 4px;
  31. background-color: #fff;
  32. overflow: hidden;
  33. padding: 10px 0 0;
  34. }
  35. }