event.less 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. //
  2. // Posts List Event
  3. // --------------------------------------------------
  4. // Event style
  5. .posts-list .event {
  6. margin-bottom: @line-height-computed;
  7. color: @text-muted;
  8. }
  9. // Event icon
  10. .posts-list .event .post-avatar {
  11. .material-icon {
  12. height: @event-icon-size;
  13. width: @event-icon-size;
  14. font-size: @event-icon-size;
  15. line-height: @event-icon-size;
  16. text-align: center;
  17. }
  18. }
  19. // Event first and second rows
  20. .posts-list .event .event-message {
  21. margin: 0px;
  22. font-size: @font-size-base;
  23. }
  24. .posts-list .event .event-info {
  25. margin: 0px;
  26. font-size: @font-size-small;
  27. li {
  28. margin-right: @line-height-computed / 4;
  29. }
  30. }
  31. // Event controls
  32. .posts-list .event .event-controls {
  33. .btn-link {
  34. border: 0px;
  35. margin: 0px;
  36. margin-right: @line-height-computed / 4;
  37. padding: 0px;
  38. font-size: @font-size-small;
  39. }
  40. }
  41. // Mobile tweaks
  42. @media screen and (max-width: @screen-xs-max) {
  43. .posts-list .event .post-avatar {
  44. width: @event-icon-size;
  45. }
  46. .posts-list .event .post-body {
  47. margin-left: @event-icon-size * 1.2;
  48. }
  49. .posts-list .event .event-message {
  50. color: @text-color;
  51. font-size: @font-size-base * 1.2;
  52. }
  53. .posts-list .event .event-info {
  54. margin-top: @line-height-computed / 4;
  55. font-size: @font-size-base;
  56. }
  57. .posts-list .event .event-controls {
  58. clear: both;
  59. margin-top: @line-height-computed / 4;
  60. .btn {
  61. margin-right: @line-height-computed;
  62. font-size: @font-size-base;
  63. }
  64. }
  65. }