_list-view.scss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  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. &:hover {
  10. background: variables.$grey-lighter;
  11. &:not(.current):hover .item.title {
  12. background: variables.$grey-lighter;
  13. bottom: 3px;
  14. }
  15. }
  16. &.current {
  17. background: variables.$white;
  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. .favicon {
  57. padding: 5px;
  58. }
  59. }
  60. .item.date {
  61. color: color.scale(variables.$main-font-color, $alpha: -50%);
  62. font-size: 0.85rem;
  63. }
  64. .bottom {
  65. font-size: 1rem;
  66. text-align: center;
  67. }
  68. }
  69. .flux_header {
  70. font-size: 1rem;
  71. cursor: pointer;
  72. border-top: 1px solid variables.$grey-light;
  73. .title {
  74. font-size: 1rem;
  75. }
  76. }