event.less 1.7 KB

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