_page_list.scss 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. body .page-list {
  2. .page-list-container {
  3. font-size: 15px;
  4. line-height: 1.6em;
  5. }
  6. .btn-page-item-control {
  7. width: 20px;
  8. height: 20px;
  9. padding: 0px;
  10. }
  11. .page-list-ul {
  12. padding-left: 0;
  13. margin: 0;
  14. > li {
  15. list-style: none;
  16. > a {
  17. padding: 0px;
  18. color: inherit;
  19. &:hover {
  20. color: inherit;
  21. }
  22. }
  23. }
  24. .picture {
  25. width: 16px;
  26. height: 16px;
  27. vertical-align: text-bottom;
  28. &.picture-md {
  29. width: 20px;
  30. height: 20px;
  31. }
  32. }
  33. .page-list-meta {
  34. font-size: 0.9em;
  35. > span {
  36. margin-right: 0.3rem;
  37. }
  38. i {
  39. margin-right: 2px;
  40. }
  41. .footstamp-icon {
  42. svg {
  43. width: 14px;
  44. height: 14px;
  45. }
  46. }
  47. .seen-users-count {
  48. &.strength-0,
  49. &.strength-1,
  50. &.strength-2 {
  51. font-weight: bold;
  52. }
  53. &.strength-3 {
  54. font-weight: normal;
  55. }
  56. &.strength-4 {
  57. opacity: 0.5;
  58. }
  59. }
  60. }
  61. // after second level indent
  62. .page-list-ul {
  63. padding-left: 2rem;
  64. }
  65. // override .page-list-ul
  66. &.page-list-ul-flat {
  67. padding-left: 0;
  68. }
  69. }
  70. // List group
  71. .list-group {
  72. .list-group-item {
  73. min-height: 136px;
  74. .page-list-updated-at {
  75. font-size: 12px;
  76. }
  77. &.list-group-item-action {
  78. border-left: solid 3px transparent;
  79. }
  80. }
  81. }
  82. }
  83. .popular-page-high {
  84. font-size: 1.1em;
  85. font-weight: bold;
  86. color: darken($red, 5%);
  87. }
  88. .popular-page-mid {
  89. font-weight: bold;
  90. color: #e47800;
  91. }
  92. .popular-page-low {
  93. color: #ab7c7c;
  94. }
  95. .card-timeline {
  96. border: 1px solid $gray-300;
  97. > .card-header {
  98. background-color: $gray-300;
  99. }
  100. }