_page_list.scss 1.5 KB

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