facilityCard.scss 2.55 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108
@media screen and (min-width:1024px) {
    .root {
        width: 250px * .75;
        height:230px;
        border-radius: 5px;
        position: relative;
    }
    .cardContent {
        padding: 8px 4px 0 4px !important;
    }
    .smallGridContainerSpacing {
        margin: -2px -8px !important;
    }
    .smallGridItemSpacing {
        padding: 0px 8px !important;
    }
    .media {
        flex: 1;
        height: 115px * .75;
    }
    .logoContainer {
        width: 100px * .75;
        height: 100px * .75;
        margin: auto;
        margin-top: -60px * .75;
        border-radius: 50%;
        border: 5px solid white;
    }
    .logo {
        width: 100px * .75;
        height: 100px * .75;
        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);
    }
    .extraInfoWrapper {
        display: flex;
        align-items: center;
        max-width: 50%;
    }
    .twoLineEllipsis {
        position: relative;
        line-height: 1em;
        max-height: 2em;
        overflow: hidden;
    }
    .twoLineEllipsisWebkit {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

@media screen and (min-width:1680px) {
    .root {
        width: 250px;
        border-radius: 5px;
        position: relative;
    }
    .cardContent {
        padding: 8px 4px 0 4px !important;
    }
    .smallGridContainerSpacing {
        margin: -2px -8px !important;
    }
    .smallGridItemSpacing {
        padding: 3px 8px !important;
    }
    .media {
        flex: 1;
        height: 115px;
    }
    .logoContainer {
        width: 100px;
        height: 100px;
        margin: auto;
        margin-top: -60px;
        border-radius: 90px;
        border: 5px solid white;
    }
    .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);
    }
    .extraInfoWrapper {
        display: flex;
        align-items: center;
        max-width: 50%;
    }
    .twoLineEllipsis {
        position: relative;
        line-height: 1em;
        max-height: 2em;
        overflow: hidden;
    }
    .twoLineEllipsisWebkit {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}