| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990 |
- @project-list-sidebar-wrapper-flex: 0 0 15%;
- .project-list-react {
- body > .content& {
- padding-top: @header-height;
- padding-bottom: 0;
- min-height: calc(~'100vh -' @header-height);
- display: flex;
- flex-direction: column;
- }
- .container:before {
- content: '';
- display: block;
- float: left;
- height: 100%;
- }
- .fill {
- position: relative;
- &:after {
- content: '';
- display: block;
- clear: left;
- }
- }
- .project-list-wrapper {
- display: flex;
- align-items: stretch;
- min-height: calc(~'100vh -' @header-height);
- }
- .project-list-sidebar-wrapper-react {
- position: relative;
- background-color: @sidebar-bg;
- flex: @project-list-sidebar-wrapper-flex;
- min-height: calc(~'100vh -' @header-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-left: 15px;
- padding-right: 15px;
- -ms-overflow-style: -ms-autohiding-scrollbar;
- padding-top: @content-margin-vertical;
- padding-bottom: @content-margin-vertical;
- color: @sidebar-color;
- .small {
- color: @sidebar-color;
- }
- button {
- white-space: normal;
- word-wrap: anywhere;
- // prevents buttons from expanding sidebar width
- }
- > .dropdown {
- width: 100%;
- .new-project-button {
- width: 100%;
- }
- }
- }
- }
- }
- .project-list-welcome-wrapper {
- width: 100%;
- .welcome-new-wrapper {
- .welcome-title {
- font-size: 32px;
- }
- .welcome-message-cards-wrapper {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: center;
- margin-top: 50px;
- @media (min-width: @screen-md-min) {
- flex-direction: row;
- justify-content: center;
- }
- }
- .welcome-message-card {
- border: 1px solid @neutral-20;
- border-radius: 16px;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: space-between;
- padding: 24px 16px;
- margin: @margin-sm 0;
- width: 280px;
- height: 200px;
- position: relative;
- cursor: pointer;
- @media (min-width: @screen-md-min) {
- margin: 0 15px;
- height: 240px;
- }
- &:hover {
- background-color: @ol-blue-gray-0;
- }
- .welcome-message-card-img {
- @media (min-width: @screen-md-min) {
- margin-bottom: 20px;
- }
- }
- .create-new-project-dropdown {
- border: 1px solid @neutral-20;
- position: absolute;
- top: 100%;
- left: 0;
- width: 100%;
- padding: 0;
- border-radius: 3px;
- z-index: 1;
- text-align: left;
- button,
- a,
- .dropdown-header {
- padding: 5px 10px;
- }
- > button {
- background-color: white;
- border: none;
- box-shadow: none;
- display: flex;
- align-items: center;
- width: 100%;
- &:hover {
- background-color: @ol-blue-gray-0;
- }
- }
- > a {
- color: @ol-blue-gray-3;
- display: block;
- &:hover {
- text-decoration: none;
- background-color: @ol-blue-gray-0;
- }
- }
- hr {
- margin-top: 6px;
- margin-bottom: 6px;
- }
- }
- }
- .welcome-message-card-link {
- &,
- &:hover {
- text-decoration: none;
- color: @ol-blue-gray-3;
- }
- }
- }
- }
- .project-list-main-react {
- max-width: 100%;
- overflow-x: hidden;
- padding: @content-margin-vertical @grid-gutter-width / 2;
- }
- .project-list-header-row {
- display: flex;
- align-items: center;
- margin-bottom: @margin-sm;
- }
- .project-list-title {
- min-width: 0;
- color: @content-secondary;
- font-family: Lato, sans-serif;
- font-size: @font-size-large;
- line-height: 28px;
- font-weight: bold;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- ul.project-list-filters {
- margin: @margin-sm @folders-menu-margin;
- .subdued {
- color: @gray-light;
- }
- > li {
- cursor: pointer;
- position: relative;
- > button {
- display: block;
- width: 100%;
- font-weight: normal;
- text-align: left;
- color: @sidebar-link-color;
- background-color: transparent;
- border-radius: unset;
- border: none;
- border-bottom: solid 1px transparent;
- padding: @folders-menu-item-v-padding @folders-menu-item-h-padding;
- &:hover {
- background-color: @sidebar-hover-bg;
- text-decoration: @sidebar-hover-text-decoration;
- }
- &:focus {
- text-decoration: none;
- outline: none;
- }
- }
- &.separator {
- padding: @folders-menu-item-v-padding @folders-menu-item-h-padding;
- cursor: auto;
- }
- }
- > li.active {
- border-radius: @sidebar-active-border-radius;
- > button {
- background-color: @sidebar-active-bg;
- font-weight: @sidebar-active-font-weight;
- color: @sidebar-active-color;
- .subdued {
- color: @sidebar-active-color;
- }
- }
- }
- h2 {
- margin-top: @folders-title-margin-top;
- margin-bottom: @folders-title-margin-bottom;
- font-size: @folders-title-font-size;
- color: @folders-title-color;
- text-transform: @folders-title-text-transform;
- padding: @folders-title-padding;
- font-weight: @folders-title-font-weight;
- font-family: @font-family-sans-serif;
- }
- > li.tag {
- &.active {
- .tag-menu > button {
- color: white;
- border-color: white;
- &:hover {
- background-color: @folders-tag-menu-active-hover;
- }
- }
- }
- &.untagged {
- button.tag-name {
- span.name {
- font-style: italic;
- padding-left: 0;
- }
- }
- }
- &:hover {
- &:not(.active) {
- background-color: @folders-tag-hover;
- }
- .tag-menu {
- display: block;
- }
- }
- &:not(.active) {
- .tag-menu > a:hover {
- background-color: @folders-tag-menu-hover;
- }
- }
- button.tag-name {
- position: relative;
- padding: @folders-tag-padding;
- display: @folders-tag-display;
- word-wrap: anywhere;
- span.name {
- padding-left: 0.5em;
- line-height: @folders-tag-line-height;
- }
- }
- }
- .tag-menu {
- button.dropdown-toggle {
- border: 1px solid @folders-tag-border-color;
- border-radius: @border-radius-small;
- background-color: transparent;
- color: @folders-tag-menu-color;
- display: block;
- width: 16px;
- height: 16px;
- position: relative;
- .caret {
- position: absolute;
- top: 6px;
- left: 1px;
- }
- }
- display: none;
- width: auto;
- position: absolute;
- top: 50%;
- margin-top: -8px; // Half the element height.
- right: 4px;
- &.open {
- display: block;
- }
- button.tag-action {
- border-radius: unset;
- width: 100%;
- background-color: transparent;
- border-color: transparent;
- color: @gray-dark;
- text-align: left;
- font-weight: normal;
- &:hover {
- color: @white;
- background-color: @ol-green;
- }
- &:active {
- outline: none;
- }
- }
- }
- }
- .project-tools {
- flex-shrink: 0;
- margin-left: auto;
- }
- .project-dash-table {
- width: 100%;
- table-layout: fixed;
- tr {
- border-bottom: 1px solid @structured-list-border-color;
- }
- th,
- td {
- padding: (@line-height-computed / 4) @line-height-computed / 2;
- vertical-align: top;
- }
- tr {
- th:first-child,
- td:first-child,
- th:last-child,
- td:last-child {
- padding-right: @line-height-computed - (@grid-gutter-width / 2);
- }
- &:hover {
- &:not(.no-projects) {
- background-color: @structured-list-hover-color;
- }
- }
- }
- thead {
- tr:hover {
- background-color: transparent;
- }
- }
- tbody {
- tr:last-child {
- border-bottom: 0 none;
- }
- }
- .table-header-sort-btn {
- border: 0;
- text-align: left;
- color: @ol-type-color;
- padding: 0;
- font-weight: bold;
- max-width: 100%;
- overflow: hidden;
- text-overflow: ellipsis;
- &:hover,
- &:focus {
- color: @ol-type-color;
- text-decoration: none;
- }
- }
- .dash-cell-checkbox {
- width: 5%;
- line-height: 1.55;
- input[type='checkbox'] {
- margin-top: 5px;
- }
- }
- .dash-cell-name {
- width: 50%;
- }
- .dash-cell-owner {
- width: 20%;
- }
- .dash-cell-date {
- width: 25%;
- }
- .dash-cell-actions {
- display: none;
- text-align: right;
- }
- .dash-cell-date-owner {
- font-size: 14px;
- .text-overflow();
- }
- .dash-cell-tag,
- .clone-project-tag {
- .tag-label {
- padding: 14px 0;
- cursor: pointer;
- &:not(.tag-label-close-hover) {
- &:hover,
- &:focus {
- .label.tag-label-name {
- color: @tag-color;
- background-color: @tag-bg-hover-color;
- outline-width: 0;
- }
- }
- }
- &:first-child {
- margin-left: initial;
- }
- }
- }
- @media (min-width: @screen-xs) {
- .dash-cell-checkbox {
- width: 4%;
- }
- .dash-cell-name {
- width: 50%;
- }
- .dash-cell-owner {
- width: 21%;
- }
- .dash-cell-date {
- width: 25%;
- }
- .dash-cell-actions {
- width: 0%;
- }
- }
- @media (min-width: @screen-sm) {
- .dash-cell-checkbox {
- width: 3%;
- }
- .dash-cell-name {
- width: 45%;
- }
- .dash-cell-owner {
- width: 16%;
- }
- .dash-cell-date {
- width: 21%;
- }
- .dash-cell-actions {
- display: table-cell;
- width: 15%;
- }
- .project-tools {
- float: none;
- }
- }
- @media (min-width: @screen-md) {
- .dash-cell-checkbox {
- width: 3%;
- }
- .dash-cell-name {
- width: 46%;
- }
- .dash-cell-owner {
- width: 13%;
- }
- .dash-cell-date {
- width: 16%;
- }
- .dash-cell-actions {
- width: 22%;
- }
- tbody {
- .dash-cell-actions {
- white-space: nowrap;
- }
- }
- }
- @media (min-width: @screen-lg) {
- .dash-cell-checkbox {
- width: 3%;
- }
- .dash-cell-name {
- width: 46%;
- }
- .dash-cell-owner {
- width: 15%;
- }
- .dash-cell-date {
- width: 19%;
- }
- .dash-cell-actions {
- width: 17%;
- }
- }
- @media (min-width: 1440px) {
- .dash-cell-checkbox {
- width: 2%;
- }
- .dash-cell-name {
- width: 49%;
- }
- .dash-cell-owner {
- width: 16%;
- }
- .dash-cell-date {
- width: 19%;
- }
- .dash-cell-actions {
- width: 14%;
- }
- }
- @media (max-width: @screen-xs-max) {
- @actions-btn-size: 48px;
- tr {
- position: relative;
- display: flex;
- flex-direction: column;
- td {
- padding-top: @line-height-computed / 6;
- padding-bottom: @line-height-computed / 6;
- }
- td:not(.dash-cell-actions) {
- padding-right: @actions-btn-size + 12.5px;
- }
- }
- .dash-cell-name,
- .dash-cell-owner,
- .dash-cell-date,
- .dash-cell-tag,
- .dash-cell-actions {
- display: block;
- width: auto;
- }
- .dash-cell-actions {
- position: absolute;
- top: 0;
- right: 0;
- padding: 0 !important;
- .dropdown-toggle {
- padding: 13px 15px;
- border-radius: 0;
- font-size: 14px;
- }
- }
- }
- }
- .loading-container {
- display: flex;
- align-items: center;
- min-height: calc(~'100vh -' @header-height);
- .loading-screen-brand-container {
- margin: 0 auto;
- }
- }
- @media (max-width: @screen-xs-max) {
- .project-tools {
- float: left;
- margin-left: initial;
- }
- }
- .projects-toolbar,
- .tag-item {
- display: flex;
- align-items: center;
- }
- .projects-toolbar {
- .dropdown,
- .dropdown-toggle {
- max-width: 100%;
- }
- .dropdown {
- min-width: 0;
- }
- .dropdown-toggle {
- display: inline-flex;
- align-items: baseline;
- }
- }
- .projects-sort-dropdown {
- flex-shrink: 0;
- margin-left: auto;
- }
- #projects-types-dropdown {
- font-family: @font-family-serif;
- & + .projects-dropdown-menu {
- min-width: 226px;
- }
- }
- #projects-sort-dropdown {
- & + .projects-dropdown-menu {
- min-width: 156px;
- }
- }
- .projects-dropdown-menu {
- .dropdown-header {
- padding: 14px 20px;
- font-size: 13px;
- text-transform: uppercase;
- }
- }
- .projects-types-menu-item {
- .menu-item-button-icon {
- left: 10px;
- }
- &.projects-types-menu-tag-item {
- display: flex;
- .edit-btn {
- padding: 12px 14px;
- }
- }
- }
- .projects-sort-menu-item {
- .menu-item-button-icon {
- left: 14px;
- }
- }
- .projects-action-menu-item {
- .menu-item-button-icon {
- left: 11px;
- }
- }
- }
- .current-plan {
- vertical-align: middle;
- line-height: @line-height-base;
- a.current-plan-label {
- text-decoration: none;
- color: @text-color;
- }
- }
- .project-list-upload-project-modal-uppy-dashboard .uppy-Root {
- .uppy-Dashboard-AddFiles-title {
- display: flex;
- flex-direction: column;
- color: @ol-blue-gray-3;
- white-space: pre-line;
- button.uppy-Dashboard-browse {
- background-color: @ol-green;
- color: @white;
- margin-bottom: @margin-md;
- padding: 4px 16px 5px;
- height: 46px;
- border-radius: 23px;
- font-weight: 700;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: @font-size-large;
- font-family: @font-family-sans-serif;
- }
- }
- }
- .btn-transparent {
- box-shadow: none !important;
- background: none !important;
- border-radius: 0 !important;
- color: inherit !important;
- font-weight: 400;
- &:hover {
- box-shadow: none !important;
- background: none !important;
- color: inherit !important;
- }
- }
- .menu-item-button,
- #new-project-button-projects-table + .dropdown-menu [role='menuitem'] {
- padding: 12px 20px;
- }
- .menu-item-button {
- position: relative;
- width: 100%;
- border: none;
- box-shadow: none;
- background: inherit;
- color: @ol-blue-gray-5;
- text-align: left;
- .menu-item-button-text {
- padding-left: 14px;
- }
- .menu-item-button-icon {
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- }
- }
- .project-list-load-more {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- .project-list-load-more-button {
- margin-bottom: @margin-sm;
- }
- .tag-dropdown-button {
- display: block;
- width: 100%;
- font-weight: normal;
- font-size: @font-size-base;
- text-align: left;
- color: @gray-dark;
- background-color: transparent;
- border-radius: unset;
- border: none;
- border-bottom: solid 1px transparent;
- padding: 3px 20px;
- &:active,
- &:focus {
- color: @gray-dark;
- background-color: transparent;
- text-decoration: none;
- outline: none;
- }
- &:hover {
- color: @white;
- background-color: @ol-green;
- }
- .tag-checkbox {
- width: 16px;
- }
- .tag-dot {
- display: inline-block;
- position: relative;
- border: 1px solid #ffffff;
- width: 14px;
- height: 14px;
- border-radius: 7px;
- text-align: center;
- top: 1px;
- }
- }
- .project-list-sidebar-survey-wrapper {
- position: sticky;
- bottom: 0;
- .alert-info-alt {
- font-size: @font-size-small;
- margin-bottom: 0;
- a {
- text-decoration: none;
- }
- }
- @media (max-width: @screen-xs-max) {
- position: static;
- margin-top: @margin-sm;
- .alert-info-alt {
- font-size: unset;
- &:before {
- display: none;
- }
- .project-list-sidebar-survey-link {
- display: block;
- align-items: center;
- min-width: @mobile-action-element-width;
- min-height: @mobile-action-element-height;
- padding-top: @padding-md;
- }
- }
- }
- }
- .color-picker-item {
- height: 28px;
- width: 28px;
- cursor: pointer;
- position: relative;
- outline: none;
- border-radius: 4px;
- margin: 0 14px 0 0;
- display: inline-block;
- vertical-align: middle;
- &.more-button {
- border: 1px solid @gray-dark;
- .color-picker-more {
- color: @gray-dark;
- margin: 6px 0 0 7px;
- @media (max-width: @screen-xs-max) {
- margin: 8px 0 0 9px;
- }
- }
- .color-picker-more-open {
- color: @gray-dark;
- margin: 5px 0 0 5px;
- @media (max-width: @screen-xs-max) {
- margin: 7px 0 0 7px;
- }
- }
- }
- .color-picker-item-icon {
- margin: 6px 0 0 6px;
- color: @white;
- }
- @media (max-width: @screen-xs-max) {
- height: 32px;
- width: 32px;
- margin: 24px 24px;
- .color-picker-item-icon {
- margin: 8px 0 0 8px;
- color: @white;
- }
- }
- }
- .color-picker-more-wrapper {
- position: relative;
- display: inline-block;
- .custom-picker {
- position: absolute;
- @media (max-width: @screen-xs-max) {
- top: 56px;
- left: 24px;
- }
- }
- .custom-picker when(@is-new-css = false) {
- // to prevent the primary button from overlapping when disabled due to the opacity property
- z-index: 100 !important;
- }
- .popover-backdrop {
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- }
- }
- .clone-project-tag {
- display: flex;
- &:hover .label.tag-label-name {
- background-color: @tag-bg-color;
- }
- }
|