categories-lists.less 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. //
  2. // Categories Lists
  3. // --------------------------------------------------
  4. // Category Block
  5. // --------------------------------------------------
  6. // Thread unread state icon
  7. .category-main .read-status .material-icon {
  8. color: @category-read-color;
  9. }
  10. .category-main .read-status.item-new .material-icon {
  11. color: @category-new-color;
  12. }
  13. // Last thread
  14. .category-last-thread .media-heading {
  15. a {
  16. display: inline-block;
  17. overflow: hidden;
  18. white-space: nowrap;
  19. width: 290px; // md-3 - avatar column
  20. text-overflow: ellipsis;
  21. vertical-align: top;
  22. @media screen and (max-width: @screen-sm-max) {
  23. width: 275px; // md-3 - avatar column
  24. }
  25. @media screen and (max-width: @screen-xs-max) {
  26. width: 260px; // md-3 - avatar column
  27. }
  28. }
  29. }
  30. // Last thread message
  31. .category-thread-message {
  32. .material-icon {
  33. width: 28px;
  34. height: 28px;
  35. font-size: 28px;
  36. line-height: 28px;
  37. }
  38. p {
  39. margin: 0px;
  40. }
  41. }
  42. // Subcategories list
  43. // --------------------------------------------------
  44. .list-inline.subcategories-list {
  45. overflow: auto;
  46. margin-top: @line-height-computed / -2;
  47. li {
  48. display: block;
  49. float: left;
  50. a, a:link, a:visited, a:active, a:hover, a:focus {
  51. background-color: @gray-lighter;
  52. border: 1px solid darken(@gray-lighter, 5%);
  53. border-radius: @border-radius-base;
  54. display: inline-block;
  55. margin-top: @line-height-computed / 2;
  56. padding: @padding-base-vertical @padding-base-horizontal;
  57. color: @gray;
  58. }
  59. &:focus, a:hover, a:active {
  60. background-color: darken(@gray-lighter, 5%);
  61. color: @text-color;
  62. text-decoration: none;
  63. }
  64. }
  65. }
  66. .row.subcategories-list {
  67. .btn {
  68. margin-top: @line-height-computed;
  69. text-align: left;
  70. }
  71. }