_list-view.css 1.5 KB

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