@import '../base/color'; @import '../base/breakpoint'; // EcogestureCardContainer .ecogesture-root { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem 1.5rem 2.5rem 1.5rem; .negawatt-button-content{ width: calc(53rem - 2%); margin: 0 1%; @media #{$large-phone} { width: 97%; } @media #{$tablet} { width: 97%; } } .ecogesture-content { display: flex; flex-wrap: wrap; justify-content: space-around; width: 53rem; @media #{$large-phone} { width: 100%; } @media #{$tablet} { width: 100%; } .ecogesture-list-item { width: 48%; height: 8rem; margin: 1% 1%; } .ecogesture-list-item > button { height: 100%; overflow: hidden; } } } // EcogestureCard .ec-link { color: black; } .ec { display: flex; justify-content: center; width: 100%; height: 100%; .ec-content { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; &.ec-content-unlocked { padding: 0.4rem 0; } &.ec-content-challenge { padding: 0.5rem 0; } .ec-content-challenge-text { display: flex; flex: 1; align-items: center; } .ec-content-short-name { display: flex; flex: 1; align-items: flex-end; text-align: center; } .ec-content-nwh { margin-top: 0.25rem; color: $text-dark; } } } .cp-eg-1 { height: 8rem; width: 100%; margin-right: 0.25rem; text-align: center; } .cp-eg-2 { height: 8rem; width: 100%; margin-left: 0.25rem; text-align: center; } // EcogestureModal .em-header { color: $text-bright; border-bottom: 1px solid rgba(163, 163, 163, 0.4); padding-bottom: 1em; width: 100%; display: flex; justify-content: center; } .em-icon { margin-bottom: 1rem; } .em-title { margin-bottom: 0; } .em-detail { display: flex; flex-direction: row; margin: 0.5em 0; .em-detail-nwh { display: flex; flex: 1; align-self: flex-start; margin-top: 0.65rem; color: var(--textDark); .em-detail-nwh-unit { margin-left: 0.2rem; } } .em-picto-flow { display: flex; align-self: flex-end; .em-pic-content { margin: 0.3em; } } } .em-content-box { max-height: 25rem; overflow: auto; width: 100%; display: flex; justify-content: center; /* width */ &::-webkit-scrollbar { width: 10px; } /* Track */ &::-webkit-scrollbar-track { background: #3e4045; } /* Handle */ &::-webkit-scrollbar-thumb { background: #6f7074; } .em-content-box-text { display: flex; flex-direction: column; padding: 1.5rem 1.5rem; width: 22.125rem; @media #{$large-phone} { width: 100%; } .em-content-box-text-header { display: flex; flex-direction: column; justify-content: center; align-items: center; } .em-description { padding-bottom: 2.5rem; } .em-description-2 { padding-top: 2rem; } .em-description-3 { padding-bottom: 0.5rem; } } }