post.less 1.5 KB

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