| 1 |
.wdk-locations-card-cover { |
| 2 |
/* animation */ |
| 3 |
} |
| 4 |
|
| 5 |
.wdk-locations-card-cover { |
| 6 |
margin-bottom: 15px; |
| 7 |
position: relative; |
| 8 |
height: 370px; |
| 9 |
display: flex; |
| 10 |
align-items: flex-end; |
| 11 |
overflow: hidden; |
| 12 |
} |
| 13 |
|
| 14 |
.wdk-locations-card-cover > a { |
| 15 |
display: block; |
| 16 |
position: absolute; |
| 17 |
top: 0; |
| 18 |
left: 0; |
| 19 |
width: 100%; |
| 20 |
height: 100%; |
| 21 |
z-index: 2; |
| 22 |
} |
| 23 |
|
| 24 |
.wdk-locations-card-cover .wdk-image { |
| 25 |
position: absolute; |
| 26 |
object-fit: cover; |
| 27 |
height: 100%; |
| 28 |
object-position: center center; |
| 29 |
width: 100%; |
| 30 |
} |
| 31 |
|
| 32 |
.wdk-locations-card-cover .wdk-icon { |
| 33 |
position: absolute; |
| 34 |
object-fit: contain; |
| 35 |
height: auto; |
| 36 |
object-position: center center; |
| 37 |
width: 100%; |
| 38 |
margin: 0 auto; |
| 39 |
} |
| 40 |
|
| 41 |
.wdk-locations-card-cover .wdk-locations-card-body { |
| 42 |
position: relative; |
| 43 |
z-index: 1; |
| 44 |
width: 100%; |
| 45 |
display: flex; |
| 46 |
} |
| 47 |
|
| 48 |
.wdk-locations-card-cover .wdk-locations-card-body .wdk-left-content { |
| 49 |
flex: 1 2; |
| 50 |
padding: 0 0 22px 24px; |
| 51 |
} |
| 52 |
|
| 53 |
.wdk-locations-card-cover .wdk-locations-card-body .wdk-action-left, |
| 54 |
.wdk-locations-card-cover .wdk-locations-card-body .wdk-action-right { |
| 55 |
display: flex; |
| 56 |
align-content: center; |
| 57 |
justify-content: center; |
| 58 |
align-items: center; |
| 59 |
} |
| 60 |
|
| 61 |
.wdk-locations-card-cover .wdk-locations-card-body .wdk-action-left { |
| 62 |
display: none; |
| 63 |
padding: 5px 10px; |
| 64 |
} |
| 65 |
|
| 66 |
.wdk-locations-card-cover .wdk-locations-card-body .wdk-action-left img { |
| 67 |
max-width: 100%; |
| 68 |
} |
| 69 |
|
| 70 |
.wdk-locations-card-cover .wdk-locations-card-body .wdk-location-btn { |
| 71 |
border: 1px solid #e0e1e6; |
| 72 |
padding: 12px 12px; |
| 73 |
color: #fff; |
| 74 |
border-radius: 100%; |
| 75 |
height: 40px; |
| 76 |
width: 40px; |
| 77 |
font-size: 14px; |
| 78 |
text-align: center; |
| 79 |
display: inline-block; |
| 80 |
margin: 15px; |
| 81 |
} |
| 82 |
|
| 83 |
.wdk-locations-card-cover .wdk-locations-card-body .wdk-title { |
| 84 |
color: #fff; |
| 85 |
margin-bottom: 0; |
| 86 |
font-size: 20px; |
| 87 |
font-weight: 600; |
| 88 |
margin-bottom: 2px; |
| 89 |
} |
| 90 |
|
| 91 |
.wdk-locations-card-cover .wdk-locations-card-body .wdk-listings-count { |
| 92 |
color: #fff; |
| 93 |
margin: 0px; |
| 94 |
display: inline-block; |
| 95 |
font-size: 12px; |
| 96 |
text-transform: uppercase; |
| 97 |
font-family: "Poppins", sans-serif; |
| 98 |
} |
| 99 |
|
| 100 |
.wdk-locations-card-cover:hover .wdk-location-btn, .wdk-locations-card-cover:focus .wdk-location-btn { |
| 101 |
background: #fff; |
| 102 |
color: #aeb4b6; |
| 103 |
border-color: transparent; |
| 104 |
} |
| 105 |
|
| 106 |
.wdk-locations-card-cover:before, .wdk-locations-card-cover:after { |
| 107 |
content: ''; |
| 108 |
position: absolute; |
| 109 |
top: 0; |
| 110 |
left: 0; |
| 111 |
width: 50%; |
| 112 |
height: 100%; |
| 113 |
background: rgba(0, 82, 162, 0.95); |
| 114 |
opacity: 0; |
| 115 |
visibility: hidden; |
| 116 |
transition: all 0.4s ease-in-out; |
| 117 |
z-index: 1; |
| 118 |
} |
| 119 |
|
| 120 |
.wdk-locations-card-cover:after { |
| 121 |
right: 0; |
| 122 |
left: auto; |
| 123 |
} |
| 124 |
|
| 125 |
.wdk-locations-card-cover .overlay { |
| 126 |
position: absolute; |
| 127 |
left: 0; |
| 128 |
right: 0; |
| 129 |
top: 0; |
| 130 |
bottom: 0; |
| 131 |
background: rgba(0, 82, 162, 0.7); |
| 132 |
opacity: 0; |
| 133 |
transition: all 0.4s ease-in-out; |
| 134 |
} |
| 135 |
|
| 136 |
.wdk-locations-card-cover:hover::before, .wdk-locations-card-cover:hover::after { |
| 137 |
opacity: 1; |
| 138 |
visibility: visible; |
| 139 |
width: 0; |
| 140 |
} |
| 141 |
|
| 142 |
.wdk-locations-card-cover:hover .overlay { |
| 143 |
opacity: 1; |
| 144 |
} |
| 145 |
|
| 146 |
.wdk-locations-card-cover .wdk-locations-card-body .wdk-location-btn { |
| 147 |
transition: all 0.4s linear; |
| 148 |
will-change: all; |
| 149 |
} |
| 150 |
|