categories-lists.less 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. overflow: hidden;
  16. white-space: nowrap;
  17. width: 290px; // md-3 - avatar column
  18. text-overflow: ellipsis;
  19. @media screen and (max-width: @screen-xs-max) {
  20. width: 260px; // md-3 - avatar column
  21. }
  22. }
  23. // Subcategories list
  24. // --------------------------------------------------
  25. .list-inline.subcategories-list {
  26. overflow: auto;
  27. margin-top: @line-height-computed / -2;
  28. li {
  29. display: block;
  30. float: left;
  31. a, a:link, a:visited, a:active, a:hover, a:focus {
  32. background-color: @gray-lighter;
  33. border: 1px solid darken(@gray-lighter, 5%);
  34. border-radius: @border-radius-base;
  35. display: inline-block;
  36. margin-top: @line-height-computed / 2;
  37. padding: @padding-base-vertical @padding-base-horizontal;
  38. color: @gray;
  39. }
  40. &:focus, a:hover, a:active {
  41. background-color: darken(@gray-lighter, 5%);
  42. color: @text-color;
  43. text-decoration: none;
  44. }
  45. }
  46. }
  47. .row.subcategories-list {
  48. .btn {
  49. margin-top: @line-height-computed;
  50. text-align: left;
  51. }
  52. }