post.less 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. //
  2. // Posts List Post
  3. // --------------------------------------------------
  4. // Post header
  5. .post-heading {
  6. overflow: visible;
  7. height: 42px;
  8. &>* {
  9. float: left;
  10. margin-left: 0px;
  11. margin-right: 8px;
  12. &.pull-right {
  13. float: right;
  14. margin-left: 8px;
  15. margin-right: 0px;
  16. }
  17. }
  18. }
  19. .post-heading .btn-icon {
  20. margin: -6px 0px;
  21. margin-left: 8px;
  22. padding: 0px 3px;
  23. .material-icon {
  24. position: static;
  25. width: 28px;
  26. height: 28px;
  27. font-size: 28px;
  28. line-height: 28px;
  29. }
  30. }
  31. // Post status flags
  32. .post-status-message {
  33. padding: @padding-base-vertical @padding-base-horizontal;
  34. overflow: auto;
  35. .material-icon {
  36. float: left;
  37. font-size: 28px;
  38. }
  39. p {
  40. margin: 0px;
  41. margin-top: (28px - @line-height-computed) / 2;
  42. margin-left: 36px;
  43. }
  44. }
  45. .post-status-hidden {
  46. background-color: @brand-danger;
  47. color: #fff;
  48. }
  49. .post-status-unapproved {
  50. background-color: @brand-primary;
  51. color: #fff;
  52. }
  53. // Hidden post message
  54. .posts-list .panel-body-hidden {
  55. .lead, .text-muted {
  56. margin: 0px;
  57. }
  58. }
  59. // Invalid post message
  60. .posts-list .panel-body-invalid {
  61. .lead, .text-muted {
  62. margin: 0px;
  63. }
  64. }
  65. // Post footer
  66. .post-footer {
  67. overflow: auto;
  68. .btn.pull-right {
  69. margin-left: @line-height-computed / 2;
  70. }
  71. }
  72. // UI Preview
  73. .posts-list.ui-preview {
  74. .post-heading .ui-preview-text {
  75. position: relative;
  76. top: 0px;
  77. }
  78. }