_list-view.scss 1.4 KB

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