_list-view.scss 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. @use "sass:color";
  2. @use "mixins";
  3. @use "variables";
  4. /*=== Feed articles */
  5. .flux {
  6. background: variables.$white;
  7. @include mixins.transition(all, 0.15s, ease-in-out);
  8. .flux_header {
  9. &:hover {
  10. background: variables.$grey-lighter;
  11. &:not(.current):hover .item.title {
  12. background: variables.$grey-lighter;
  13. }
  14. }
  15. }
  16. &.current {
  17. background: variables.$grey-lighter;
  18. border-left-color: variables.$main-first;
  19. }
  20. &.not_read:not(.current) {
  21. background: variables.$unread-bg;
  22. &:hover .item.title {
  23. background: variables.$unread-bg;
  24. }
  25. }
  26. &.not_read {
  27. .item.title {
  28. a {
  29. color: variables.$unread-font-color;
  30. }
  31. }
  32. .item.website {
  33. a {
  34. color: variables.$unread-font-color;
  35. }
  36. }
  37. .item.date {
  38. color: color.scale(variables.$unread-font-color, $alpha: -50%);
  39. }
  40. }
  41. &.favorite {
  42. border-left-color: variables.$fav-bg;
  43. @include mixins.transition(all, 0.15s, ease-in-out);
  44. }
  45. &.favorite:not(.current) {
  46. background: variables.$fav-light;
  47. &:hover .item.title {
  48. background: variables.$fav-light;
  49. }
  50. }
  51. .website {
  52. a {
  53. color: variables.$main-font-color;
  54. opacity: 0.75;
  55. }
  56. }
  57. .item.date {
  58. color: color.scale(variables.$main-font-color, $alpha: -50%);
  59. font-size: 0.85rem;
  60. }
  61. .bottom {
  62. font-size: 1rem;
  63. text-align: center;
  64. }
  65. }
  66. .flux_header {
  67. font-size: 1rem;
  68. cursor: pointer;
  69. border-top: 1px solid variables.$grey-light;
  70. .title {
  71. font-size: 1rem;
  72. }
  73. }