_list-view.scss 1.3 KB

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