Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @import '~klsg/scss/utilities';
- .placeholder-card {
- pointer-events: none;
- a:hover,
- a:focus {
- text-decoration: none;
- }
- .text {
- opacity: 0.2;
- word-wrap: break-word;
- }
- .card__image {
- position: relative;
- background-color: $kl-lighter-gray;
- color: inherit;
- text-align: center;
- padding: 15px;
- }
- .card__heading {
- font-size: 1.05rem;
- }
- }
- .card__likeness {
- display: none;
- }
- .leaflet-control-zoom {
- position: relative;
- top: 45px;
- }
- .tooltip {
- pointer-events: none;
- }
- .page-footer {
- position: absolute;
- }
- .add-card {
- &__content {
- min-height: 387px;
- padding: 15px;
- display: flex;
- flex-direction: column;
- flex-basis: 100%;
- justify-content: center;
- align-content: space-around;
- text-align: center;
- background-color: $kl-background-gray;
- }
- .condos-input {
- padding: 25px 0 70px 0;
- }
- }
- .favourites {
- display: flex;
- .cards--fluid {
- justify-content: flex-start;
- padding-right: 15px;
- }
- .card--fluid {
- max-width: 50%;
- padding: 0 0 15px 15px;
- margin: 0;
- }
- &__controls {
- display: none;
- width: 100%;
- height: 40px;
- line-height: 40px;
- padding-top: 1px;
- color: $kl-white;
- font-weight: bold;
- }
- &__control {
- flex: 1;
- text-align: center;
- cursor: pointer;
- background-color: $kl-dark-blue;
- border-bottom: 4px solid $kl-dark-blue;
- &.is-active {
- border-bottom-color: $kl-light-blue;
- }
- &--icon {
- height: 22px;
- width: 22px;
- vertical-align: top;
- display: inline-block;
- margin: 5px 10px 0 0;
- }
- &--icon-list {
- margin: 7px 10px 0 0;
- }
- }
- &__cards {
- z-index: 9;
- position: relative;
- max-width: 720px;
- margin: auto;
- min-height: 100vh;
- }
- &__separator {
- display: flex;
- justify-content: space-between;
- background-color: $kl-background-gray;
- margin: 0 0 10px 15px;
- padding: 10px 15px;
- font-size: 14px;
- .btn {
- height: 34px;
- color: $kl-dark-gray;
- }
- }
- &__separator-title {
- font-size: 22px;
- font-weight: 700;
- }
- &__separator-search {
- width: 250px;
- text-align: right;
- }
- &__block {
- margin-top: 30px;
- width: 100%;
- }
- &__placeholder {
- text-align: center;
- padding: 20px 0 40px;
- }
- &__map {
- position: relative;
- flex: 1;
- min-width: 390px;
- width: 100%;
- border-left: 2px solid $kl-light-gray;
- .placeholder {
- width: 100%;
- height: 100vh;
- padding-left: 50%;
- background-color: $mapbox-light-water;
- .spinner--wrapper {
- position: fixed;
- }
- }
- }
- &__error {
- background-color: $kl-white !important;
- }
- }
- @include media-breakpoint-down(md) {
- .favourites {
- display: block;
- &__controls {
- display: flex;
- }
- &__cards {
- &.is-hide {
- display: none !important;
- }
- }
- &__map {
- min-width: 0;
- width: 100vw;
- &.is-hide {
- /* For markers initialization we have to initialize map */
- opacity: 0;
- position: absolute;
- top: -1111111px;
- }
- }
- }
- .leaflet-control-zoom {
- top: 0;
- }
- .page-footer {
- position: relative;
- }
- }
- @include media-breakpoint-down(xs) {
- .favourites {
- &__separator {
- flex-direction: column;
- align-items: flex-end;
- }
- &__separator-title {
- position: absolute;
- align-self: flex-start;
- }
- &__separator-search {
- padding-top: 10px;
- }
- .card--fluid {
- max-width: 100%;
- justify-content: center;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement