username-history.less 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. //
  2. // Username History
  3. // --------------------------------------------------
  4. // Change tabular on larger displays
  5. .username-history li {
  6. @media screen and (min-width: @screen-md-min) {
  7. display: block;
  8. overflow: auto;
  9. }
  10. }
  11. // Change avatar
  12. .username-history .change-avatar {
  13. float: left;
  14. a, span {
  15. margin-right: @line-height-computed / 2;
  16. img {
  17. width: 42px;
  18. height: 42px;
  19. }
  20. }
  21. @media screen and (min-width: @screen-md-min) {
  22. a, span {
  23. img {
  24. width: 18px;
  25. height: 18px;
  26. position: relative;
  27. bottom: 1px;
  28. }
  29. }
  30. }
  31. }
  32. // Change author
  33. .username-history .change-author {
  34. @media screen and (min-width: @screen-md-min) {
  35. float: left;
  36. width: 30%;
  37. }
  38. }
  39. // Old to new name change
  40. .username-history .change {
  41. min-height: @line-height-computed; // we need that for ui-preview-text
  42. overflow: auto;
  43. span {
  44. display: block;
  45. float: left;
  46. }
  47. .material-icon {
  48. margin: 0px @font-size-base / 2;
  49. position: relative;
  50. top: 4px;
  51. }
  52. @media screen and (min-width: @screen-md-min) {
  53. float: left;
  54. width: 40%;
  55. }
  56. }
  57. // Date
  58. .username-history .change-date {
  59. @media screen and (min-width: @screen-md-min) {
  60. float: left;
  61. width: 20%;
  62. }
  63. }