_users-list.scss 675 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. //
  2. // Component: Users List
  3. //
  4. .users-list {
  5. @include list-unstyled ();
  6. > li {
  7. float: left;
  8. width: 25%;
  9. padding: 10px;
  10. text-align: center;
  11. img {
  12. @include border-radius(50%);
  13. max-width: 100%;
  14. height: auto;
  15. }
  16. > a:hover {
  17. &,
  18. .users-list-name {
  19. color: var(--#{$prefix}body-color);
  20. }
  21. }
  22. }
  23. }
  24. .users-list-name,
  25. .users-list-date {
  26. display: block;
  27. }
  28. .users-list-name {
  29. overflow: hidden;
  30. font-size: $font-size-sm;
  31. color: var(--#{$prefix}secondary-color);
  32. text-overflow: ellipsis;
  33. white-space: nowrap;
  34. }
  35. .users-list-date {
  36. font-size: 12px;
  37. color: var(--#{$prefix}tertiary-color);
  38. }