| 1 |
/** |
| 2 |
* Environment for all styles (variables, additions, etc). |
| 3 |
*/ |
| 4 |
/* Icons */ |
| 5 |
/* Vars */ |
| 6 |
.sight-portfolio-area-lightbox { |
| 7 |
--sight-zoom-icon-popup-color: white; |
| 8 |
--sight-zoom-icon-popup-background: rgba(0, 0, 0, 0.6); |
| 9 |
--sight-zoom-icon-popup-font-size: 16px; |
| 10 |
} |
| 11 |
|
| 12 |
/* Common Style */ |
| 13 |
.sight-portfolio-area-lightbox .sight-zoom-icon-popup { |
| 14 |
display: flex; |
| 15 |
align-items: center; |
| 16 |
justify-content: center; |
| 17 |
position: absolute; |
| 18 |
top: 1rem; |
| 19 |
left: 1rem; |
| 20 |
width: 2rem; |
| 21 |
height: 2rem; |
| 22 |
line-height: 2rem; |
| 23 |
text-align: center; |
| 24 |
opacity: 0; |
| 25 |
color: var(--sight-zoom-icon-popup-color); |
| 26 |
background: var(--sight-zoom-icon-popup-background); |
| 27 |
transition: all 0.2s ease; |
| 28 |
} |
| 29 |
|
| 30 |
.sight-portfolio-area-lightbox .sight-zoom-icon-popup:before { |
| 31 |
font-family: 'sight-portfolio-icons'; |
| 32 |
font-size: var(--sight-zoom-icon-popup-font-size); |
| 33 |
content: "\e912"; |
| 34 |
} |
| 35 |
|
| 36 |
.sight-portfolio-area-lightbox .sight-image-popup:hover ~ .sight-zoom-icon-popup { |
| 37 |
opacity: 1; |
| 38 |
} |
| 39 |
|