threads-lists.less 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. //
  2. // Threads Lists
  3. // --------------------------------------------------
  4. .threads-list {
  5. margin-bottom: @line-height-computed;
  6. }
  7. // Thread layout
  8. // --------------------------------------------------
  9. // Remove left padding from thread row
  10. .threads-list .thread-new, .threads-list .thread-read {
  11. padding-left: 0px;
  12. }
  13. // Read icon
  14. .threads-list .read-status {
  15. float: left;
  16. padding-top: @thread-icon-padding;
  17. width: @thread-icon-column;
  18. text-align: center;
  19. cursor: help;
  20. .material-icon {
  21. width: @thread-icon-width;
  22. height: @thread-icon-width;
  23. color: @thread-read-icon-color;
  24. font-size: @thread-icon-width;
  25. line-height: @thread-icon-width;
  26. }
  27. }
  28. .threads-list .thread-new .read-status {
  29. .material-icon {
  30. color: @thread-new-icon-color;
  31. }
  32. }
  33. // Thread body
  34. .threads-list .thread-main {
  35. margin-left: @thread-icon-column;
  36. overflow: auto;
  37. }
  38. // Thread top row
  39. // --------------------------------------------------
  40. // Thread title
  41. .threads-list .thread-title {
  42. &, &:link, &:active, &:visited, &:hover, &:focus {
  43. color: @thread-read-color;
  44. font-size: @font-size-large;
  45. font-weight: normal;
  46. }
  47. }
  48. .threads-list .thread-new .thread-title {
  49. &, &:link, &:active, &:visited, &:hover, &:focus {
  50. color: @thread-new-color;
  51. }
  52. }
  53. // Bottom row
  54. // --------------------------------------------------
  55. .threads-list .list-inline {
  56. display: block;
  57. float: none;
  58. font-size: @font-size-small;
  59. &>li {
  60. display: block;
  61. float: left;
  62. }
  63. }
  64. // Thread options
  65. // --------------------------------------------------
  66. .threads-list .thread-options {
  67. float: right;
  68. margin: 0px;
  69. margin-top: @line-height-computed * -2 + 2px;
  70. .btn-default {
  71. padding: 4px;
  72. color: @gray-light;
  73. &:hover, &:active {
  74. color: @gray;
  75. }
  76. .material-icon {
  77. margin: 0px;
  78. position: relative;
  79. top: 0px;
  80. width: 24px;
  81. height: 24px;
  82. font-size: 24px;
  83. line-height: 24px;
  84. }
  85. }
  86. }