_global-view.scss 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. @use "variables";
  2. /*=== GLOBAL VIEW */
  3. /*================*/
  4. #stream {
  5. .box.category {
  6. &:not([data-unread="0"]) .box-title .title {
  7. font-weight: bold;
  8. }
  9. .box-title {
  10. padding: 1.5rem;
  11. background: none;
  12. a.title {
  13. color: variables.$grey-dark;
  14. font-size: 1rem;
  15. font-weight: normal;
  16. text-decoration: none;
  17. text-align: left;
  18. text-transform: uppercase;
  19. letter-spacing: 1px;
  20. &:not([data-unread="0"])::after {
  21. margin: -0.5rem 1rem 0 0;
  22. padding: 0 0.75rem;
  23. background: variables.$grey-light;
  24. border-radius: 12px;
  25. position: absolute;
  26. top: 1.75rem;
  27. right: 0;
  28. line-height: 1.5rem;
  29. text-align: center;
  30. }
  31. &:hover {
  32. color: variables.$main-first;
  33. }
  34. }
  35. }
  36. .box-content {
  37. padding-bottom: 0.5rem;
  38. .item.feed {
  39. padding: 0.5rem 1.5rem;
  40. font-size: 1rem;
  41. a {
  42. color: variables.$main-font-color;
  43. font-weight: 400;
  44. &:hover {
  45. color: variables.$main-first;
  46. text-decoration: none;
  47. }
  48. }
  49. }
  50. }
  51. }
  52. }
  53. // the panel that appears in overlay to display the flows
  54. #overlay {
  55. background: rgba(0, 0, 0, 0.65);
  56. }
  57. #panel {
  58. top: 3rem;
  59. right: 3rem;
  60. bottom: 3rem;
  61. left: 3rem;
  62. border-radius: 3px;
  63. }