threads-lists.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. //
  2. // Threads Lists
  3. // --------------------------------------------------
  4. .threads-list {
  5. margin-bottom: @line-height-computed;
  6. }
  7. // Thread layout
  8. // --------------------------------------------------
  9. .threads-list .thread-title {
  10. &, &:link, &:active, &:visited, &:focus, &:hover {
  11. font-size: @font-size-large;
  12. font-weight: normal;
  13. }
  14. }
  15. .threads-list .thread-last-action {
  16. padding-top: @padding-large-vertical + 2px;
  17. }
  18. .threads-list .thread-options {
  19. padding-top: @padding-base-vertical - 1px;
  20. }
  21. // Thread details
  22. // --------------------------------------------------
  23. .threads-list .thread-details-top {
  24. overflow-x: auto;
  25. white-space: nowrap;
  26. }
  27. .threads-list .thread-details-bottom div,
  28. .threads-list .thread-details-top {
  29. &>a, &>span {
  30. margin-right: @padding-large-horizontal;
  31. font-size: @font-size-small;
  32. font-weight: normal;
  33. &>.material-icon {
  34. position: relative;
  35. top: -1px;
  36. }
  37. .detail-text {
  38. margin-left: 2px;
  39. }
  40. @media screen and (max-width: @screen-sm-max) {
  41. margin-right: @padding-base-horizontal;
  42. }
  43. }
  44. }
  45. @media screen and (max-width: @screen-xs-max) {
  46. .threads-list .thread-details-bottom {
  47. margin-top: @padding-large-vertical - 2px;
  48. }
  49. .threads-list .thread-details-top {
  50. margin-bottom: @padding-base-vertical;
  51. }
  52. }
  53. // Thread options
  54. // --------------------------------------------------
  55. .thread-options-xs {
  56. margin-top: @line-height-computed * -0.5;
  57. margin-bottom: @line-height-computed * -1;
  58. position: relative;
  59. top: @padding-base-vertical - 1px;
  60. .btn {
  61. padding: 0px 2px;
  62. font-size: @font-size-small;
  63. .material-icon {
  64. width: 14px;
  65. height: 14px;
  66. font-size: 14px;
  67. line-height: 14px;
  68. }
  69. }
  70. }
  71. // Threads diff message
  72. // --------------------------------------------------
  73. .threads-diff-message {
  74. padding: 0px;
  75. }
  76. .threads-diff-message .btn {
  77. border: none;
  78. border-bottom-left-radius: 0px;
  79. border-bottom-right-radius: 0px;
  80. padding: @padding-large-vertical @padding-large-horizontal;
  81. width: 100%;
  82. overflow: none;
  83. text-align: left;
  84. .material-icon {
  85. margin-right: 4px;
  86. width: 24px;
  87. height: 24px;
  88. font-size: 24px;
  89. height: 24px;
  90. }
  91. @media screen and (max-width: @screen-sm-max) {
  92. text-align: center;
  93. white-space: normal;
  94. word-wrap: break-word;
  95. .material-icon {
  96. display: none;
  97. }
  98. }
  99. }
  100. // UI Preview
  101. // --------------------------------------------------
  102. .threads-list .thread-preview {
  103. .ui-preview-text {
  104. margin-right: @padding-large-horizontal;
  105. }
  106. .thread-details-bottom div, .thread-details-top {
  107. .ui-preview-text {
  108. height: @font-size-small * 0.8;
  109. }
  110. }
  111. .thread-details-bottom {
  112. margin-top: @padding-base-vertical;
  113. }
  114. .thread-details-top {
  115. margin-bottom: @padding-base-vertical;
  116. }
  117. }
  118. // Pulse busy threads
  119. // --------------------------------------------------
  120. .threads-list .thread-busy {
  121. .thread-row {
  122. .animation(thread-busy-animation 600ms linear infinite);
  123. }
  124. }
  125. @keyframes thread-busy-animation {
  126. 0% {
  127. .opacity(0.2);
  128. }
  129. 50% {
  130. .opacity(0.5);
  131. }
  132. 100% {
  133. .opacity(0.2);
  134. }
  135. }