|
@@ -5,16 +5,31 @@
|
|
|
height: 100dvh;
|
|
height: 100dvh;
|
|
|
color: var(--content-secondary);
|
|
color: var(--content-secondary);
|
|
|
|
|
|
|
|
|
|
+ // NOTE-AC: This code can be eliminated when we remove sidebar-navigation-ui-update
|
|
|
|
|
+ --navbar-btn-padding-h: var(--spacing-06);
|
|
|
|
|
+ --navbar-subdued-padding: calc(
|
|
|
|
|
+ var(--navbar-btn-padding-v) + var(--navbar-btn-border-width)
|
|
|
|
|
+ )
|
|
|
|
|
+ calc(var(--navbar-btn-padding-h) + 1px);
|
|
|
|
|
+
|
|
|
.navbar-default {
|
|
.navbar-default {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
|
|
+
|
|
|
|
|
+ .navbar-header {
|
|
|
|
|
+ padding-top: var(--spacing-08);
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .project-ds-nav-sidebar-and-content {
|
|
|
|
|
|
|
+ .project-list-wrapper {
|
|
|
flex-grow: 1;
|
|
flex-grow: 1;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
overflow-y: hidden;
|
|
overflow-y: hidden;
|
|
|
|
|
|
|
|
- .project-ds-nav-sidebar {
|
|
|
|
|
|
|
+ .new-project-button {
|
|
|
|
|
+ margin-bottom: var(--spacing-08);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .project-list-sidebar-wrapper-react {
|
|
|
position: relative;
|
|
position: relative;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
@@ -30,35 +45,28 @@
|
|
|
padding: 0 var(--spacing-07);
|
|
padding: 0 var(--spacing-07);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .new-project-button {
|
|
|
|
|
- margin-bottom: var(--spacing-08);
|
|
|
|
|
-
|
|
|
|
|
- &::after {
|
|
|
|
|
- display: none;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ .project-list-sidebar-survey-link {
|
|
|
|
|
+ color: var(--content-secondary) !important;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- .dropdown {
|
|
|
|
|
- width: 100%;
|
|
|
|
|
|
|
+ .survey-notification {
|
|
|
|
|
+ background-color: var(--bg-light-secondary);
|
|
|
|
|
+ color: var(--content-secondary);
|
|
|
|
|
+ box-shadow: none;
|
|
|
|
|
|
|
|
- .new-project-button {
|
|
|
|
|
- width: 100%;
|
|
|
|
|
|
|
+ button.close {
|
|
|
|
|
+ color: var(--content-secondary) !important;
|
|
|
|
|
+ padding: 0;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
ul.project-list-filters {
|
|
ul.project-list-filters {
|
|
|
- .subdued {
|
|
|
|
|
- color: var(--content-disabled);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
hr {
|
|
hr {
|
|
|
margin: var(--spacing-05) 0;
|
|
margin: var(--spacing-05) 0;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
> li {
|
|
> li {
|
|
|
- position: relative;
|
|
|
|
|
-
|
|
|
|
|
> button {
|
|
> button {
|
|
|
width: 100%;
|
|
width: 100%;
|
|
|
text-align: left;
|
|
text-align: left;
|
|
@@ -67,102 +75,54 @@
|
|
|
border-radius: var(--border-radius-medium);
|
|
border-radius: var(--border-radius-medium);
|
|
|
border: none;
|
|
border: none;
|
|
|
padding: var(--spacing-04) var(--spacing-05);
|
|
padding: var(--spacing-04) var(--spacing-05);
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- &:hover {
|
|
|
|
|
- background-color: var(--bg-light-secondary);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ &:hover button {
|
|
|
|
|
+ background-color: var(--bg-light-secondary);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- &.active {
|
|
|
|
|
- button {
|
|
|
|
|
- background-color: var(--bg-accent-03);
|
|
|
|
|
- color: var(--green-60);
|
|
|
|
|
- font-weight: bold;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ &.active button {
|
|
|
|
|
+ background-color: var(--bg-accent-03);
|
|
|
|
|
+ color: var(--green-60);
|
|
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.dropdown-header {
|
|
.dropdown-header {
|
|
|
- @include body-sm;
|
|
|
|
|
-
|
|
|
|
|
- padding: var(--spacing-05) var(--spacing-06);
|
|
|
|
|
- text-transform: uppercase;
|
|
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
> li.tag {
|
|
> li.tag {
|
|
|
- &:hover {
|
|
|
|
|
- .tag-menu {
|
|
|
|
|
- display: block;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
button.tag-name {
|
|
button.tag-name {
|
|
|
- position: relative;
|
|
|
|
|
- padding-right: var(--spacing-08);
|
|
|
|
|
- display: flex;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
- word-wrap: anywhere;
|
|
|
|
|
-
|
|
|
|
|
- .tag-list-icon {
|
|
|
|
|
- vertical-align: sub;
|
|
|
|
|
- font-weight: bold;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- span.name {
|
|
|
|
|
- padding-left: 0.5em;
|
|
|
|
|
- line-height: 1.4;
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ padding-right: var(--spacing-08) !important;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.tag-menu {
|
|
.tag-menu {
|
|
|
- &.show {
|
|
|
|
|
- display: block;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
button.dropdown-toggle {
|
|
button.dropdown-toggle {
|
|
|
border: 1px solid var(--content-secondary);
|
|
border: 1px solid var(--content-secondary);
|
|
|
- border-radius: var(--border-radius-base);
|
|
|
|
|
- background-color: transparent;
|
|
|
|
|
color: var(--content-secondary);
|
|
color: var(--content-secondary);
|
|
|
- display: flex;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
- justify-content: center;
|
|
|
|
|
- width: 16px;
|
|
|
|
|
- height: 16px;
|
|
|
|
|
- position: relative;
|
|
|
|
|
- padding: var(--spacing-01) var(--spacing-03);
|
|
|
|
|
-
|
|
|
|
|
- &::after {
|
|
|
|
|
- margin: 0;
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- display: none;
|
|
|
|
|
- width: auto;
|
|
|
|
|
- position: absolute;
|
|
|
|
|
- top: 50%;
|
|
|
|
|
- margin-top: -8px; // Half the element height.
|
|
|
|
|
- right: 4px;
|
|
|
|
|
-
|
|
|
|
|
- &.open {
|
|
|
|
|
- display: block;
|
|
|
|
|
|
|
+ .project-dash-table {
|
|
|
|
|
+ .btn-link {
|
|
|
|
|
+ color: var(--content-secondary);
|
|
|
|
|
+ height: var(--spacing-08);
|
|
|
|
|
+ width: var(--spacing-08);
|
|
|
|
|
+ border-radius: 100%;
|
|
|
|
|
+ padding: var(--spacing-01) 0 0;
|
|
|
|
|
+ vertical-align: middle;
|
|
|
|
|
+
|
|
|
|
|
+ &:hover,
|
|
|
|
|
+ &:focus {
|
|
|
|
|
+ background-color: #d9d9d9 !important;
|
|
|
}
|
|
}
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
- button.tag-action {
|
|
|
|
|
- border-radius: unset;
|
|
|
|
|
- width: 100%;
|
|
|
|
|
- background-color: transparent;
|
|
|
|
|
- border-color: transparent;
|
|
|
|
|
- color: var(--neutral-70);
|
|
|
|
|
- text-align: left;
|
|
|
|
|
- font-weight: normal;
|
|
|
|
|
-
|
|
|
|
|
- &:active {
|
|
|
|
|
- outline: none;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ .dash-cell-name a {
|
|
|
|
|
+ color: var(--content-secondary) !important;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -171,84 +131,20 @@
|
|
|
overflow-y: auto;
|
|
overflow-y: auto;
|
|
|
position: relative;
|
|
position: relative;
|
|
|
background-color: var(--bg-light-secondary);
|
|
background-color: var(--bg-light-secondary);
|
|
|
- padding: var(--spacing-08);
|
|
|
|
|
|
|
+ padding: var(--spacing-08) var(--spacing-06);
|
|
|
|
|
|
|
|
- @media (width >= 768px) {
|
|
|
|
|
|
|
+ @include media-breakpoint-up(md) {
|
|
|
|
|
+ padding: var(--spacing-08);
|
|
|
border-top-left-radius: var(--border-radius-large);
|
|
border-top-left-radius: var(--border-radius-large);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .fat-footer-container {
|
|
|
|
|
- width: 100% !important;
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-.add-affiliation {
|
|
|
|
|
- .progress {
|
|
|
|
|
- height: var(--spacing-05);
|
|
|
|
|
- margin-bottom: var(--spacing-03);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- p {
|
|
|
|
|
- margin-bottom: var(--spacing-03);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- &.is-mobile p {
|
|
|
|
|
- @include body-xs;
|
|
|
|
|
-
|
|
|
|
|
- white-space: normal;
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-.survey-notification {
|
|
|
|
|
- display: flex;
|
|
|
|
|
- flex-wrap: wrap;
|
|
|
|
|
- padding: var(--spacing-06);
|
|
|
|
|
- background-color: var(--bg-light-secondary);
|
|
|
|
|
- border-color: transparent;
|
|
|
|
|
- color: var(--content-secondary);
|
|
|
|
|
- border-radius: var(--border-radius-base);
|
|
|
|
|
-
|
|
|
|
|
- @include media-breakpoint-up(md) {
|
|
|
|
|
- flex-wrap: nowrap;
|
|
|
|
|
- }
|
|
|
|
|
|
|
|
|
|
- button.close {
|
|
|
|
|
- padding: 0;
|
|
|
|
|
|
|
+ .fat-footer-container {
|
|
|
|
|
+ width: 100% !important;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.project-list-sidebar-survey-wrapper {
|
|
.project-list-sidebar-survey-wrapper {
|
|
|
margin-top: var(--spacing-05);
|
|
margin-top: var(--spacing-05);
|
|
|
-
|
|
|
|
|
- .survey-notification {
|
|
|
|
|
- font-size: var(--font-size-02);
|
|
|
|
|
-
|
|
|
|
|
- a {
|
|
|
|
|
- text-decoration: none;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- .project-list-sidebar-survey-link {
|
|
|
|
|
- color: var(--content-secondary) !important;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- @include media-breakpoint-down(md) {
|
|
|
|
|
- position: static;
|
|
|
|
|
- margin-top: var(--spacing-05);
|
|
|
|
|
-
|
|
|
|
|
- .survey-notification {
|
|
|
|
|
- font-size: unset;
|
|
|
|
|
-
|
|
|
|
|
- .project-list-sidebar-survey-link {
|
|
|
|
|
- display: block;
|
|
|
|
|
- align-items: center;
|
|
|
|
|
- min-width: 48px;
|
|
|
|
|
- min-height: 48px;
|
|
|
|
|
- padding-top: var(--spacing-07);
|
|
|
|
|
- color: var(--content-secondary) !important;
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|