| 1 |
/** |
| 2 |
* Environment for all styles (variables, additions, etc). |
| 3 |
*/ |
| 4 |
/* Icons */ |
| 5 |
/* Basic Style */ |
| 6 |
@font-face { |
| 7 |
font-family: 'sight-portfolio-icons'; |
| 8 |
src: url("../icon-fonts/sight-portfolio-icons.eot?2kdktd"); |
| 9 |
src: url("../icon-fonts/sight-portfolio-icons.eot?2kdktd#iefix") format("embedded-opentype"), url("../icon-fonts/sight-portfolio-icons.ttf?2kdktd") format("truetype"), url("../icon-fonts/sight-portfolio-icons.woff?2kdktd") format("woff"), url("../icon-fonts/sight-portfolio-icons.svg?2kdktd#sight-portfolio") format("svg"); |
| 10 |
font-weight: normal; |
| 11 |
font-style: normal; |
| 12 |
font-display: block; |
| 13 |
} |
| 14 |
|
| 15 |
[class^="sight-portfolio-icons-"], |
| 16 |
[class*=" sight-portfolio-icons-"] { |
| 17 |
/* use !important to prevent issues with browser extensions that change fonts */ |
| 18 |
font-family: 'sight-portfolio-icons' !important; |
| 19 |
speak: never; |
| 20 |
font-style: normal; |
| 21 |
font-weight: normal; |
| 22 |
font-variant: normal; |
| 23 |
text-transform: none; |
| 24 |
line-height: 1; |
| 25 |
/* Better Font Rendering =========== */ |
| 26 |
-webkit-font-smoothing: antialiased; |
| 27 |
-moz-osx-font-smoothing: grayscale; |
| 28 |
} |
| 29 |
|
| 30 |
.sight-portfolio-icons-plus:before { |
| 31 |
content: "\e912"; |
| 32 |
} |
| 33 |
|
| 34 |
.sight-portfolio-icons-volume-full:before { |
| 35 |
content: "\e909"; |
| 36 |
} |
| 37 |
|
| 38 |
.sight-portfolio-icons-volume-mute:before { |
| 39 |
content: "\e90a"; |
| 40 |
} |
| 41 |
|
| 42 |
.sight-portfolio-icons-pause:before { |
| 43 |
content: "\e900"; |
| 44 |
} |
| 45 |
|
| 46 |
.sight-portfolio-icons-play:before { |
| 47 |
content: "\e901"; |
| 48 |
} |
| 49 |
|
| 50 |
.sight-portfolio-icons-youtube:before { |
| 51 |
content: "\e910"; |
| 52 |
} |
| 53 |
|
| 54 |
.sight-portfolio-icons-share-top:before { |
| 55 |
content: "\e934"; |
| 56 |
} |
| 57 |
|
| 58 |
.sight-portfolio-icons-arrow-down:before { |
| 59 |
content: "\e902"; |
| 60 |
} |
| 61 |
|
| 62 |
.sight-portfolio-icons-arrow-down-circle:before { |
| 63 |
content: "\e903"; |
| 64 |
} |
| 65 |
|
| 66 |
.sight-portfolio-icons-arrow-left:before { |
| 67 |
content: "\e904"; |
| 68 |
} |
| 69 |
|
| 70 |
.sight-portfolio-icons-arrow-left-circle:before { |
| 71 |
content: "\e905"; |
| 72 |
} |
| 73 |
|
| 74 |
.sight-portfolio-icons-arrow-right:before { |
| 75 |
content: "\e906"; |
| 76 |
} |
| 77 |
|
| 78 |
.sight-portfolio-icons-arrow-right-circle:before { |
| 79 |
content: "\e907"; |
| 80 |
} |
| 81 |
|
| 82 |
.sight-portfolio-icons-arrow-up-circle:before { |
| 83 |
content: "\e908"; |
| 84 |
} |
| 85 |
|
| 86 |
.sight-portfolio-icons-bookmark:before { |
| 87 |
content: "\e90b"; |
| 88 |
} |
| 89 |
|
| 90 |
.sight-portfolio-icons-chevron-down:before { |
| 91 |
content: "\e90c"; |
| 92 |
} |
| 93 |
|
| 94 |
.sight-portfolio-icons-chevron-left:before { |
| 95 |
content: "\e90d"; |
| 96 |
} |
| 97 |
|
| 98 |
.sight-portfolio-icons-chevron-right:before { |
| 99 |
content: "\e90e"; |
| 100 |
} |
| 101 |
|
| 102 |
.sight-portfolio-icons-chevron-up:before { |
| 103 |
content: "\e90f"; |
| 104 |
} |
| 105 |
|
| 106 |
.sight-portfolio-icons-eye:before { |
| 107 |
content: "\e911"; |
| 108 |
} |
| 109 |
|
| 110 |
.sight-portfolio-icons-film:before { |
| 111 |
content: "\e914"; |
| 112 |
} |
| 113 |
|
| 114 |
.sight-portfolio-icons-share:before { |
| 115 |
content: "\e920"; |
| 116 |
} |
| 117 |
|
| 118 |
.sight-portfolio-icons-watch:before { |
| 119 |
content: "\e922"; |
| 120 |
} |
| 121 |
|
| 122 |
.sight-portfolio-icons-x:before { |
| 123 |
content: "\e923"; |
| 124 |
} |
| 125 |
|
| 126 |
.sight-portfolio-icons-x-circle:before { |
| 127 |
content: "\e924"; |
| 128 |
} |
| 129 |
|
| 130 |
.sight-portfolio-icons-arrow-long-bottom:before { |
| 131 |
content: "\e938"; |
| 132 |
} |
| 133 |
|
| 134 |
.sight-portfolio-icons-arrow-long-top:before { |
| 135 |
content: "\e939"; |
| 136 |
} |
| 137 |
|
| 138 |
.sight-portfolio-icons-arrow-long-left:before { |
| 139 |
content: "\e93a"; |
| 140 |
} |
| 141 |
|
| 142 |
.sight-portfolio-icons-arrow-long-right:before { |
| 143 |
content: "\e93b"; |
| 144 |
} |
| 145 |
|
| 146 |
.sight-portfolio-entry__thumbnail img { |
| 147 |
display: block; |
| 148 |
width: 100%; |
| 149 |
height: auto; |
| 150 |
-o-object-fit: cover; |
| 151 |
object-fit: cover; |
| 152 |
} |
| 153 |
|
| 154 |
.sight-portfolio-entry__overlay { |
| 155 |
position: relative; |
| 156 |
} |
| 157 |
|
| 158 |
.sight-portfolio-overlay-background { |
| 159 |
display: flex; |
| 160 |
position: relative; |
| 161 |
padding: 0; |
| 162 |
margin: 0; |
| 163 |
} |
| 164 |
|
| 165 |
.sight-portfolio-overlay-background:after, .sight-portfolio-overlay-background:before { |
| 166 |
content: ''; |
| 167 |
position: absolute; |
| 168 |
left: 0; |
| 169 |
top: 0; |
| 170 |
right: 0; |
| 171 |
bottom: 0; |
| 172 |
transition: 0.25s; |
| 173 |
opacity: 1; |
| 174 |
} |
| 175 |
|
| 176 |
.sight-portfolio-overlay-background:after { |
| 177 |
background: var(--sight-color-overlay-background); |
| 178 |
} |
| 179 |
|
| 180 |
.sight-portfolio-overlay-background.sight-portfolio-overlay-transparent:after, .sight-portfolio-overlay-background.sight-portfolio-overlay-transparent:before { |
| 181 |
opacity: 0 !important; |
| 182 |
} |
| 183 |
|
| 184 |
.sight-portfolio-overlay-link { |
| 185 |
position: absolute; |
| 186 |
display: block; |
| 187 |
left: 0; |
| 188 |
top: 0; |
| 189 |
right: 0; |
| 190 |
bottom: 0; |
| 191 |
width: 100%; |
| 192 |
height: 100%; |
| 193 |
z-index: 2; |
| 194 |
} |
| 195 |
|
| 196 |
.sight-portfolio-overlay-content { |
| 197 |
padding: 20px; |
| 198 |
} |
| 199 |
|
| 200 |
.sight-portfolio-overlay-content a { |
| 201 |
position: relative; |
| 202 |
z-index: 2; |
| 203 |
} |
| 204 |
|
| 205 |
.sight-portfolio-overlay-ratio { |
| 206 |
position: relative; |
| 207 |
display: flex; |
| 208 |
flex-direction: column; |
| 209 |
} |
| 210 |
|
| 211 |
.sight-portfolio-overlay-ratio:not(.sight-portfolio-ratio-original) .sight-portfolio-overlay-background { |
| 212 |
position: absolute; |
| 213 |
left: 0; |
| 214 |
top: 0; |
| 215 |
right: 0; |
| 216 |
bottom: 0; |
| 217 |
width: 100%; |
| 218 |
height: 100%; |
| 219 |
overflow: hidden; |
| 220 |
} |
| 221 |
|
| 222 |
.sight-portfolio-overlay-ratio:not(.sight-portfolio-ratio-original) .sight-portfolio-overlay-background img { |
| 223 |
width: 100%; |
| 224 |
height: 100%; |
| 225 |
-o-object-fit: cover; |
| 226 |
object-fit: cover; |
| 227 |
} |
| 228 |
|
| 229 |
.sight-portfolio-overlay-ratio:not(.sight-portfolio-ratio-original):before { |
| 230 |
content: ''; |
| 231 |
display: table; |
| 232 |
box-sizing: border-box; |
| 233 |
width: 0; |
| 234 |
} |
| 235 |
|
| 236 |
.sight-portfolio-ratio-landscape:before, |
| 237 |
.sight-portfolio-ratio-landscape-4-3:before { |
| 238 |
padding-bottom: 75%; |
| 239 |
} |
| 240 |
|
| 241 |
.sight-portfolio-ratio-landscape-3-2:before { |
| 242 |
padding-bottom: 66.66667%; |
| 243 |
} |
| 244 |
|
| 245 |
.sight-portfolio-ratio-landscape-16-9:before { |
| 246 |
padding-bottom: 56.25%; |
| 247 |
} |
| 248 |
|
| 249 |
.sight-portfolio-ratio-portrait:before, |
| 250 |
.sight-portfolio-ratio-portrait-3-4:before { |
| 251 |
padding-bottom: 133.33333%; |
| 252 |
} |
| 253 |
|
| 254 |
.sight-portfolio-ratio-portrait-2-3:before { |
| 255 |
padding-bottom: 150%; |
| 256 |
} |
| 257 |
|
| 258 |
.sight-portfolio-ratio-square:before { |
| 259 |
padding-bottom: 100%; |
| 260 |
} |
| 261 |
|
| 262 |
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-background:after, .sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-background:before { |
| 263 |
opacity: 0; |
| 264 |
} |
| 265 |
|
| 266 |
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-content { |
| 267 |
display: flex; |
| 268 |
flex-direction: column; |
| 269 |
justify-content: center; |
| 270 |
align-items: center; |
| 271 |
position: absolute; |
| 272 |
left: 0; |
| 273 |
top: 0; |
| 274 |
right: 0; |
| 275 |
bottom: 0; |
| 276 |
width: 100%; |
| 277 |
height: 100%; |
| 278 |
opacity: 0; |
| 279 |
transition: 0.25s; |
| 280 |
} |
| 281 |
|
| 282 |
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-content > * { |
| 283 |
margin-top: auto; |
| 284 |
} |
| 285 |
|
| 286 |
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-content .sight-portfolio-entry__read-more { |
| 287 |
margin-top: 0; |
| 288 |
} |
| 289 |
|
| 290 |
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay .sight-portfolio-overlay-content .sight-portfolio-entry__read-more:not(:only-child) { |
| 291 |
margin-top: auto; |
| 292 |
} |
| 293 |
|
| 294 |
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay:hover .sight-portfolio-overlay-content { |
| 295 |
opacity: 1; |
| 296 |
} |
| 297 |
|
| 298 |
.sight-portfolio-entry__inner.sight-portfolio-entry__overlay:hover .sight-portfolio-overlay-background:after { |
| 299 |
opacity: 1; |
| 300 |
} |
| 301 |
|
| 302 |
.sight-portfolio-entry__inner.sight-portfolio-overlay-content { |
| 303 |
display: flex; |
| 304 |
flex-direction: column; |
| 305 |
justify-content: flex-end; |
| 306 |
} |
| 307 |
|
| 308 |
.sight-portfolio-entry__inner.sight-portfolio-overlay-content:not(:first-child) { |
| 309 |
margin-top: 0; |
| 310 |
} |
| 311 |
|
| 312 |
.sight-portfolio-video-bg-init .sight-portfolio-entry__thumbnail img { |
| 313 |
opacity: 0; |
| 314 |
} |
| 315 |
|
| 316 |
.sight-portfolio-video-container { |
| 317 |
position: absolute; |
| 318 |
top: 0; |
| 319 |
left: 0; |
| 320 |
width: 100%; |
| 321 |
height: 100%; |
| 322 |
overflow: hidden; |
| 323 |
} |
| 324 |
|
| 325 |
.sight-portfolio-video-container .sight-portfolio-video-inner { |
| 326 |
position: absolute; |
| 327 |
top: 50%; |
| 328 |
left: 50%; |
| 329 |
margin: auto; |
| 330 |
-o-object-fit: cover; |
| 331 |
object-fit: cover; |
| 332 |
opacity: 0; |
| 333 |
transition: opacity .5s; |
| 334 |
max-width: unset; |
| 335 |
transform: translate(-50%, -50%); |
| 336 |
} |
| 337 |
|
| 338 |
.sight-portfolio-video-container .sight-portfolio-video-inner.active { |
| 339 |
opacity: 1; |
| 340 |
} |
| 341 |
|
| 342 |
.sight-portfolio-video-container[data-video-type="hover"] .sight-portfolio-video-loader { |
| 343 |
width: 40px; |
| 344 |
height: 40px; |
| 345 |
border: 4px solid rgba(255, 255, 255, 0.75); |
| 346 |
border-right-color: transparent; |
| 347 |
border-radius: 50%; |
| 348 |
position: relative; |
| 349 |
-webkit-animation: loader-rotate 1s linear infinite; |
| 350 |
animation: loader-rotate 1s linear infinite; |
| 351 |
top: 50%; |
| 352 |
margin: -20px auto 0; |
| 353 |
transition: opacity 0.25s; |
| 354 |
opacity: 0; |
| 355 |
} |
| 356 |
|
| 357 |
.sight-portfolio-video-container[data-video-type="hover"] .sight-portfolio-video-loader:after { |
| 358 |
content: ''; |
| 359 |
width: 4px; |
| 360 |
height: 4px; |
| 361 |
background: rgba(255, 255, 255, 0.75); |
| 362 |
border-radius: 50%; |
| 363 |
position: absolute; |
| 364 |
top: 1px; |
| 365 |
left: 27px; |
| 366 |
} |
| 367 |
|
| 368 |
@-webkit-keyframes loader-rotate { |
| 369 |
0% { |
| 370 |
transform: rotate(0); |
| 371 |
} |
| 372 |
100% { |
| 373 |
transform: rotate(360deg); |
| 374 |
} |
| 375 |
} |
| 376 |
|
| 377 |
@keyframes loader-rotate { |
| 378 |
0% { |
| 379 |
transform: rotate(0); |
| 380 |
} |
| 381 |
100% { |
| 382 |
transform: rotate(360deg); |
| 383 |
} |
| 384 |
} |
| 385 |
|
| 386 |
.sight-portfolio-overlay-background:hover .sight-portfolio-video-container[data-video-type="hover"] .sight-portfolio-video-loader { |
| 387 |
opacity: 1; |
| 388 |
} |
| 389 |
|
| 390 |
.sight-portfolio-video-bg-init .sight-portfolio-overlay-background .sight-portfolio-video-container[data-video-type="hover"] .sight-portfolio-video-loader { |
| 391 |
opacity: 0; |
| 392 |
} |
| 393 |
|
| 394 |
.sight-portfolio-video-container[data-video-type="always"] .sight-portfolio-video-loader { |
| 395 |
width: 40px; |
| 396 |
height: 40px; |
| 397 |
border: 4px solid rgba(255, 255, 255, 0.75); |
| 398 |
border-right-color: transparent; |
| 399 |
border-radius: 50%; |
| 400 |
position: relative; |
| 401 |
-webkit-animation: loader-rotate 1s linear infinite; |
| 402 |
animation: loader-rotate 1s linear infinite; |
| 403 |
top: 50%; |
| 404 |
margin: -20px auto 0; |
| 405 |
transition: opacity 0.25s; |
| 406 |
opacity: 1; |
| 407 |
} |
| 408 |
|
| 409 |
.sight-portfolio-video-container[data-video-type="always"] .sight-portfolio-video-loader:after { |
| 410 |
content: ''; |
| 411 |
width: 4px; |
| 412 |
height: 4px; |
| 413 |
background: rgba(255, 255, 255, 0.75); |
| 414 |
border-radius: 50%; |
| 415 |
position: absolute; |
| 416 |
top: 1px; |
| 417 |
left: 27px; |
| 418 |
} |
| 419 |
|
| 420 |
@keyframes loader-rotate { |
| 421 |
0% { |
| 422 |
transform: rotate(0); |
| 423 |
} |
| 424 |
100% { |
| 425 |
transform: rotate(360deg); |
| 426 |
} |
| 427 |
} |
| 428 |
|
| 429 |
.sight-portfolio-video-bg-init .sight-portfolio-video-container[data-video-type="always"] .sight-portfolio-video-loader { |
| 430 |
opacity: 0; |
| 431 |
} |
| 432 |
|
| 433 |
.sight-portfolio-video-controls { |
| 434 |
display: flex; |
| 435 |
position: absolute; |
| 436 |
top: 10px; |
| 437 |
right: 10px; |
| 438 |
opacity: 0; |
| 439 |
z-index: 4; |
| 440 |
transform: translateX(-9999px); |
| 441 |
transition: opacity 0.25s; |
| 442 |
} |
| 443 |
|
| 444 |
.sight-portfolio-video-bg-init .sight-portfolio-video-controls { |
| 445 |
transform: translateX(0); |
| 446 |
opacity: 1; |
| 447 |
} |
| 448 |
|
| 449 |
.sight-portfolio-video-controls .sight-portfolio-player-control { |
| 450 |
position: relative; |
| 451 |
display: flex; |
| 452 |
justify-content: center; |
| 453 |
align-items: center; |
| 454 |
width: 40px; |
| 455 |
height: 40px; |
| 456 |
line-height: 40px; |
| 457 |
color: white; |
| 458 |
cursor: pointer; |
| 459 |
transition: 0.2s; |
| 460 |
} |
| 461 |
|
| 462 |
.sight-portfolio-video-controls .sight-portfolio-player-control:after { |
| 463 |
position: relative; |
| 464 |
font-family: "sight-portfolio-icons"; |
| 465 |
font-style: normal; |
| 466 |
opacity: 1; |
| 467 |
width: auto; |
| 468 |
} |
| 469 |
|
| 470 |
.sight-portfolio-video-controls .sight-portfolio-player-control .sight-portfolio-tooltip { |
| 471 |
position: absolute; |
| 472 |
width: -webkit-max-content; |
| 473 |
width: -moz-max-content; |
| 474 |
width: max-content; |
| 475 |
display: -ms-grid; |
| 476 |
-ms-grid-columns: max-content; |
| 477 |
top: 100%; |
| 478 |
left: -9999px; |
| 479 |
padding-left: 50%; |
| 480 |
padding-bottom: 8px; |
| 481 |
transform: translateY(-30%); |
| 482 |
transition: transform 0.5s; |
| 483 |
} |
| 484 |
|
| 485 |
.sight-portfolio-video-controls .sight-portfolio-player-control .sight-portfolio-tooltip span { |
| 486 |
background: white; |
| 487 |
display: block; |
| 488 |
position: relative; |
| 489 |
padding: 4px 16px; |
| 490 |
margin: 0; |
| 491 |
opacity: 0; |
| 492 |
color: black; |
| 493 |
transform: translate(-50%, 0); |
| 494 |
transition: opacity 0.5s; |
| 495 |
} |
| 496 |
|
| 497 |
.sight-portfolio-video-controls .sight-portfolio-player-control .sight-portfolio-tooltip span:after { |
| 498 |
bottom: 100%; |
| 499 |
left: 50%; |
| 500 |
border: solid transparent; |
| 501 |
content: " "; |
| 502 |
height: 0; |
| 503 |
width: 0; |
| 504 |
position: absolute; |
| 505 |
pointer-events: none; |
| 506 |
border-color: transparent; |
| 507 |
border-bottom-color: white; |
| 508 |
border-width: 7px; |
| 509 |
margin-left: -7px; |
| 510 |
} |
| 511 |
|
| 512 |
.sight-portfolio-video-controls .sight-portfolio-player-control:hover .sight-portfolio-tooltip { |
| 513 |
transform: translateY(0); |
| 514 |
left: 0; |
| 515 |
} |
| 516 |
|
| 517 |
.sight-portfolio-video-controls .sight-portfolio-player-control:hover .sight-portfolio-tooltip span { |
| 518 |
opacity: 1; |
| 519 |
} |
| 520 |
|
| 521 |
.sight-portfolio-video-controls .sight-portfolio-player-link:after { |
| 522 |
content: "\e910"; |
| 523 |
} |
| 524 |
|
| 525 |
.sight-portfolio-video-controls .sight-portfolio-player-play:after { |
| 526 |
content: "\e900"; |
| 527 |
font-size: 1.5em; |
| 528 |
} |
| 529 |
|
| 530 |
.sight-portfolio-video-controls .sight-portfolio-player-pause:after { |
| 531 |
content: "\e901"; |
| 532 |
font-size: 1.5em; |
| 533 |
} |
| 534 |
|
| 535 |
.sight-portfolio-video-controls .sight-portfolio-player-unmute:after { |
| 536 |
content: "\e909"; |
| 537 |
} |
| 538 |
|
| 539 |
.sight-portfolio-video-controls .sight-portfolio-player-mute:after { |
| 540 |
content: "\e90a"; |
| 541 |
} |
| 542 |
|