| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150 |
- .project-list-react {
- --project-list-content-height: #{$fat-footer-content-height};
- #project-list-root > &.content {
- padding-top: $header-height;
- padding-bottom: 0;
- min-height: var(--project-list-content-height);
- display: flex;
- flex-direction: column;
- .thin-footer & {
- --project-list-content-height: #{$thin-footer-content-height};
- }
- }
- .project-list-wrapper {
- display: flex;
- align-items: stretch;
- width: 100%;
- min-height: var(--project-list-content-height);
- }
- .project-list-sidebar-wrapper-react {
- position: relative;
- background-color: var(--bg-dark-secondary);
- flex: 0 0 15%;
- min-height: var(--project-list-content-height);
- max-width: 320px;
- min-width: 200px;
- .project-list-sidebar-subwrapper {
- display: flex;
- flex-direction: column;
- height: 100%;
- .project-list-sidebar-react {
- flex-grow: 1;
- padding: var(--spacing-08) var(--spacing-06);
- -ms-overflow-style: -ms-autohiding-scrollbar;
- color: var(--neutral-40);
- .small {
- color: var(--neutral-40);
- }
- }
- }
- }
- .project-list-main-react {
- flex: 1;
- overflow-x: hidden;
- padding: var(--spacing-08) var(--spacing-06);
- }
- ul.project-list-filters {
- margin: var(--spacing-05) calc(-1 * var(--spacing-06));
- > li {
- > button {
- width: 100%;
- font-weight: normal;
- text-align: left;
- color: var(--content-primary-dark);
- background-color: transparent;
- border-radius: unset;
- border: none;
- border-bottom: solid 1px transparent;
- padding: var(--spacing-03) var(--spacing-06);
- &:hover {
- background-color: var(--neutral-70);
- }
- &:focus {
- text-decoration: none;
- outline: none;
- }
- }
- }
- > li.active {
- > button {
- background-color: var(--neutral-90);
- color: var(--content-primary-dark);
- .subdued {
- color: var(--content-primary-dark);
- }
- }
- }
- > li.tag {
- &.active {
- .tag-menu > button {
- color: var(--content-primary-dark);
- border-color: var(--white);
- &:hover {
- background-color: var(--neutral-90);
- }
- }
- }
- &:hover {
- &:not(.active) {
- background-color: var(--neutral-70);
- }
- }
- &:not(.active) {
- .tag-menu > a:hover {
- background-color: var(--neutral-90);
- }
- }
- }
- .tag-menu {
- button.dropdown-toggle {
- border-radius: var(--border-radius-base);
- border: 1px solid var(--white);
- color: var(--content-primary-dark);
- width: 16px;
- height: 16px;
- padding: var(--spacing-01) var(--spacing-03);
- }
- }
- }
- .loading-container {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- min-height: var(--project-list-content-height);
- .loading-screen-brand-container {
- margin: 0 auto;
- }
- }
- .project-list-sidebar-survey-wrapper {
- position: sticky;
- bottom: 0;
- @include media-breakpoint-down(md) {
- position: static;
- margin-top: var(--spacing-05);
- }
- }
- }
|