@import '../_variables.scss'; @import '../_mixins.scss'; .fc-root { width: 250px; border-radius: 5px !important; position: relative; } .fc-card-content { padding: 8px 4px !important; } .fc-small-grid-container-spacing { margin: -2px -8px !important; } .fc-small-grid-item-spacing { padding: 3px 8px !important; } .fc-ellipsis-container { width: 100%; } .fc-media { flex: 1; height: 115px; border-radius: 5px 5px 0 0 !important; } .fc-logo-container { width: 100px; height: 100px; margin: auto; margin-top: -60px; border-radius: 90px; border: 5px solid white; } .fc-logo { width: 100px; height: 100px; margin: auto; border-radius: 50%; box-shadow: 0px 5px 5px -3px rgba(0, 0, 0, 0.2), 0px 8px 10px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12); } .fc-title { font-weight: bold !important; } .fc-extra-info { display: flex; align-items: center; max-width: 50%; } .fc-extra-info-wrapper { padding-top: 8px; } .fc-two-line-ellipsis { position: relative; line-height: 1em; max-height: 2em; overflow: hidden; } .fc-toggle-map-btn-container { display: none !important; } @supports (-webkit-line-clamp: 2) { .fc-two-line-ellipsis { overflow: hidden; text-overflow: ellipsis; display: -webkit-box !important; /* autoprefixer: off */ -webkit-line-clamp: 2; -webkit-box-orient: vertical; /* autoprefixer: on */ } } .fc-one-line-ellipsis { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } //Above lg @media screen and (min-width: map-get($breakpoints, lg)) { .fc-root { @include transition(150ms ease-in-out); &.fc-selected { transform: scale(.9); } } } //Between lg and xl @media screen and (min-width: map-get($breakpoints, lg)) and (max-width: map-get($breakpoints, xl)) { .fc-root { width: 250px * $fc-lg-scale; height: 230px; } .fc-small-grid-item-spacing { padding: 0 8px !important; } .fc-media { height: 115px * $fc-lg-scale; } .fc-logo-container { width: 100px * $fc-lg-scale; height: 100px * $fc-lg-scale; margin-top: -60px * $fc-lg-scale; border-radius: 50%; border: 5px * $fc-lg-scale solid white; } .fc-logo { width: 100px * $fc-lg-scale; height: 100px * $fc-lg-scale; } .fc-extra-info { font-size: 11px; } .fc-card-map-marker-icon { height: 20px !important; width: 20px !important; } } //Under lg @media screen and (max-width: map-get($breakpoints, lg) - 1px) { .fc-root { &.fc-selected { .fc-one-line-ellipsis { white-space: normal; overflow: inherit; } .fc-toggle-map-btn-container { display: block !important; } .fc-toggle-map-btn { width: 100% !important; } .fc-extra-info { max-width: 100% ; width: 100%; justify-content: center; padding: 4px 8px !important; } .fc-card-content { padding-bottom: 0 !important; } } } .fc-small-grid-item-spacing { padding: 0 8px !important; } .fc-media { height: 115px * $fc-sm-scale; } .fc-logo-container { width: 100px * $fc-sm-scale; height: 100px * $fc-sm-scale; margin-top: -60px * $fc-sm-scale; border-radius: 50%; border: 5px * $fc-sm-scale solid white; } .fc-logo { width: 100px * $fc-sm-scale; height: 100px * $fc-sm-scale; } .fc-extra-info { font-size: 11px; } .fc-card-map-marker-icon { height: 20px !important; width: 20px !important; } .fc-map-dialog { width: 100% !important; } }