_list-view.scss 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. .flux_header .date,
  58. .flux_content .bottom .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. }