threads-lists.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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 path
  65. .threads-list .thread-path {
  66. .material-icon {
  67. margin: 0px 2px;
  68. position: relative;
  69. top: -1px;
  70. }
  71. }
  72. // Thread options
  73. // --------------------------------------------------
  74. .threads-list .thread-options {
  75. float: right;
  76. margin: 0px;
  77. margin-top: @line-height-computed * -2 + 3px;
  78. .btn-default {
  79. padding: 4px;
  80. color: @gray-light;
  81. &:hover, &:active {
  82. color: @gray;
  83. }
  84. .material-icon {
  85. margin: 0px;
  86. position: relative;
  87. top: 0px;
  88. width: 22px;
  89. height: 22px;
  90. font-size: 22px;
  91. line-height: 22px;
  92. }
  93. }
  94. }