project-list-default.scss 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. .project-list-react {
  2. --project-list-content-height: #{$fat-footer-content-height};
  3. #project-list-root > &.content {
  4. padding-top: $header-height;
  5. padding-bottom: 0;
  6. min-height: var(--project-list-content-height);
  7. display: flex;
  8. flex-direction: column;
  9. .thin-footer & {
  10. --project-list-content-height: #{$thin-footer-content-height};
  11. }
  12. }
  13. .project-list-wrapper {
  14. display: flex;
  15. align-items: stretch;
  16. width: 100%;
  17. min-height: var(--project-list-content-height);
  18. }
  19. .project-list-sidebar-wrapper-react {
  20. position: relative;
  21. background-color: var(--bg-dark-secondary);
  22. flex: 0 0 15%;
  23. min-height: var(--project-list-content-height);
  24. max-width: 320px;
  25. min-width: 200px;
  26. .project-list-sidebar-subwrapper {
  27. display: flex;
  28. flex-direction: column;
  29. height: 100%;
  30. .project-list-sidebar-react {
  31. flex-grow: 1;
  32. padding: var(--spacing-08) var(--spacing-06);
  33. -ms-overflow-style: -ms-autohiding-scrollbar;
  34. color: var(--neutral-40);
  35. .small {
  36. color: var(--neutral-40);
  37. }
  38. }
  39. }
  40. }
  41. .project-list-main-react {
  42. flex: 1;
  43. overflow-x: hidden;
  44. padding: var(--spacing-08) var(--spacing-06);
  45. }
  46. ul.project-list-filters {
  47. margin: var(--spacing-05) calc(-1 * var(--spacing-06));
  48. > li {
  49. > button {
  50. width: 100%;
  51. font-weight: normal;
  52. text-align: left;
  53. color: var(--content-primary-dark);
  54. background-color: transparent;
  55. border-radius: unset;
  56. border: none;
  57. border-bottom: solid 1px transparent;
  58. padding: var(--spacing-03) var(--spacing-06);
  59. &:hover {
  60. background-color: var(--neutral-70);
  61. }
  62. &:focus {
  63. text-decoration: none;
  64. outline: none;
  65. }
  66. }
  67. }
  68. > li.active {
  69. > button {
  70. background-color: var(--neutral-90);
  71. color: var(--content-primary-dark);
  72. .subdued {
  73. color: var(--content-primary-dark);
  74. }
  75. }
  76. }
  77. > li.tag {
  78. &.active {
  79. .tag-menu > button {
  80. color: var(--content-primary-dark);
  81. border-color: var(--white);
  82. &:hover {
  83. background-color: var(--neutral-90);
  84. }
  85. }
  86. }
  87. &:hover {
  88. &:not(.active) {
  89. background-color: var(--neutral-70);
  90. }
  91. }
  92. &:not(.active) {
  93. .tag-menu > a:hover {
  94. background-color: var(--neutral-90);
  95. }
  96. }
  97. }
  98. .tag-menu {
  99. button.dropdown-toggle {
  100. border-radius: var(--border-radius-base);
  101. border: 1px solid var(--white);
  102. color: var(--content-primary-dark);
  103. width: 16px;
  104. height: 16px;
  105. padding: var(--spacing-01) var(--spacing-03);
  106. }
  107. }
  108. }
  109. .loading-container {
  110. display: flex;
  111. flex-direction: column;
  112. justify-content: center;
  113. align-items: center;
  114. min-height: var(--project-list-content-height);
  115. .loading-screen-brand-container {
  116. margin: 0 auto;
  117. }
  118. }
  119. .project-list-sidebar-survey-wrapper {
  120. position: sticky;
  121. bottom: 0;
  122. @include media-breakpoint-down(md) {
  123. position: static;
  124. margin-top: var(--spacing-05);
  125. }
  126. }
  127. }