username-history.less 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. //
  2. // Username History
  3. // --------------------------------------------------
  4. .username-history {
  5. .username-change-avatar {
  6. float: left;
  7. .user-avatar {
  8. margin-right: @line-height-computed / 2;
  9. img {
  10. width: 42px;
  11. height: 42px;
  12. }
  13. }
  14. }
  15. .username-change {
  16. .material-icon {
  17. margin: 0px @font-size-base / 2;
  18. }
  19. }
  20. .username-change-date {
  21. color: @text-muted;
  22. font-size: @font-size-small;
  23. }
  24. }
  25. // Full displays
  26. @media screen and (min-width: @screen-md-min) {
  27. .username-history {
  28. li {
  29. overflow: auto;
  30. &.empty-message {
  31. text-align: center;
  32. }
  33. }
  34. .username-change-avatar {
  35. float: left;
  36. .user-avatar {
  37. margin-right: @line-height-computed / 2;
  38. img {
  39. width: 18px;
  40. height: 18px;
  41. position: relative;
  42. bottom: 1px;
  43. }
  44. }
  45. }
  46. .username-change-author {
  47. float: left;
  48. width: 30%;
  49. }
  50. .username-change {
  51. float: left;
  52. width: 40%;
  53. }
  54. .username-change-date {
  55. float: left;
  56. width: 20%;
  57. }
  58. &.ui-ready {
  59. .username-change-date {
  60. position: relative;
  61. top: 2px;
  62. }
  63. }
  64. }
  65. }