Fix : 갤러리 업데이트
This commit is contained in:
parent
c64d0a358c
commit
95eaf73e30
233
css/gallery.css
233
css/gallery.css
@ -234,43 +234,49 @@
|
|||||||
100% { transform: rotate(360deg); }
|
100% { transform: rotate(360deg); }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 360도 이미지 뷰어 스타일 */
|
/* 360도 이미지 뷰어 스타일 - 서버 호환성 개선 */
|
||||||
.panorama-section {
|
.panorama-section {
|
||||||
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
|
background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
|
||||||
padding: var(--spacing-3xl) 0;
|
padding: 5rem 0;
|
||||||
margin: var(--spacing-3xl) 0;
|
margin: 5rem 0;
|
||||||
border-radius: var(--border-radius);
|
border-radius: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-section h2 {
|
.panorama-section h2 {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: var(--font-4xl);
|
font-size: 2.5rem;
|
||||||
margin-bottom: var(--spacing-md);
|
margin-bottom: 1rem;
|
||||||
color: var(--text-dark);
|
color: #222222;
|
||||||
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-section .section-subtitle {
|
.panorama-section .section-subtitle {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: var(--font-lg);
|
font-size: 1.1rem;
|
||||||
color: var(--text-light);
|
color: #999999;
|
||||||
margin-bottom: var(--spacing-2xl);
|
margin-bottom: 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-grid {
|
.panorama-grid {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
|
grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
|
||||||
gap: var(--spacing-xl);
|
gap: 2rem;
|
||||||
margin-top: var(--spacing-2xl);
|
margin-top: 3rem;
|
||||||
|
max-width: 1200px;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
padding: 0 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-viewer {
|
.panorama-viewer {
|
||||||
position: relative;
|
position: relative;
|
||||||
background: var(--bg-white);
|
background: #ffffff;
|
||||||
border-radius: var(--border-radius);
|
border-radius: 8px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
|
||||||
transition: var(--transition);
|
transition: all 0.3s ease;
|
||||||
cursor: grab;
|
cursor: grab;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-viewer:hover {
|
.panorama-viewer:hover {
|
||||||
@ -284,6 +290,9 @@
|
|||||||
|
|
||||||
.panorama-clickable {
|
.panorama-clickable {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
display: block;
|
||||||
|
width: 100%;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-clickable:hover {
|
.panorama-clickable:hover {
|
||||||
@ -300,13 +309,16 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 300px;
|
height: 300px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
background: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-preview-image {
|
.panorama-preview-image {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
transition: var(--transition);
|
transition: all 0.3s ease;
|
||||||
|
display: block;
|
||||||
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-play-button {
|
.panorama-play-button {
|
||||||
@ -321,11 +333,13 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
font-size: var(--font-2xl);
|
font-size: 1.5rem;
|
||||||
color: var(--text-white);
|
color: #ffffff;
|
||||||
transition: var(--transition);
|
transition: all 0.3s ease;
|
||||||
box-shadow: 0 8px 25px rgba(255, 136, 0, 0.3);
|
box-shadow: 0 8px 25px rgba(255, 136, 0, 0.3);
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-play-button i {
|
.panorama-play-button i {
|
||||||
@ -343,16 +357,17 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
|
background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
|
||||||
padding: var(--spacing-lg);
|
padding: 1.5rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-title {
|
.panorama-title {
|
||||||
color: var(--text-white);
|
color: #ffffff;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-size: var(--font-base);
|
font-size: 1rem;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-buttons {
|
.panorama-buttons {
|
||||||
@ -385,26 +400,29 @@
|
|||||||
|
|
||||||
.panorama-indicator {
|
.panorama-indicator {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: var(--spacing-md);
|
top: 1rem;
|
||||||
right: var(--spacing-md);
|
right: 1rem;
|
||||||
background: rgba(0, 0, 0, 0.7);
|
background: rgba(0, 0, 0, 0.7);
|
||||||
color: var(--text-white);
|
color: #ffffff;
|
||||||
padding: var(--spacing-xs) var(--spacing-sm);
|
padding: 0.25rem 0.5rem;
|
||||||
border-radius: var(--border-radius-full);
|
border-radius: 20px;
|
||||||
font-size: var(--font-xs);
|
font-size: 0.75rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
z-index: 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-help {
|
.panorama-help {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: var(--spacing-md);
|
top: 1rem;
|
||||||
left: var(--spacing-md);
|
left: 1rem;
|
||||||
background: rgba(255, 136, 0, 0.9);
|
background: rgba(255, 136, 0, 0.9);
|
||||||
color: var(--text-white);
|
color: #ffffff;
|
||||||
padding: var(--spacing-xs) var(--spacing-sm);
|
padding: 0.25rem 0.5rem;
|
||||||
border-radius: var(--border-radius-sm);
|
border-radius: 4px;
|
||||||
font-size: var(--font-xs);
|
font-size: 0.75rem;
|
||||||
animation: fadeInOut 3s ease-in-out;
|
animation: fadeInOut 3s ease-in-out;
|
||||||
|
z-index: 2;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes fadeInOut {
|
@keyframes fadeInOut {
|
||||||
@ -436,7 +454,7 @@
|
|||||||
width: 95vw;
|
width: 95vw;
|
||||||
height: 90vh;
|
height: 90vh;
|
||||||
max-width: 1400px;
|
max-width: 1400px;
|
||||||
border-radius: var(--border-radius);
|
border-radius: 8px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
|
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
|
||||||
background: #000;
|
background: #000;
|
||||||
@ -448,9 +466,11 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border-radius: var(--border-radius);
|
border-radius: 8px;
|
||||||
background: #000;
|
background: #000;
|
||||||
cursor: grab;
|
cursor: grab;
|
||||||
|
max-width: 100%;
|
||||||
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-viewer-container:active {
|
.panorama-viewer-container:active {
|
||||||
@ -491,74 +511,79 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
|
background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
|
||||||
padding: var(--spacing-xl) var(--spacing-2xl);
|
padding: 2rem 3rem;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-modal-title {
|
.panorama-modal-title {
|
||||||
color: var(--text-white);
|
color: #ffffff;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-size: var(--font-2xl);
|
font-size: 1.5rem;
|
||||||
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 새로운 컨트롤 버튼 스타일 */
|
/* 새로운 컨트롤 버튼 스타일 */
|
||||||
.panorama-control-buttons {
|
.panorama-control-buttons {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: var(--spacing-lg);
|
gap: 1.5rem;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-btn {
|
.panorama-btn {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: var(--spacing-xs);
|
gap: 0.25rem;
|
||||||
background: rgba(255, 255, 255, 0.15);
|
background: rgba(255, 255, 255, 0.15);
|
||||||
border: 2px solid rgba(255, 255, 255, 0.3);
|
border: 2px solid rgba(255, 255, 255, 0.3);
|
||||||
color: var(--text-white);
|
color: #ffffff;
|
||||||
padding: var(--spacing-md) var(--spacing-lg);
|
padding: 1rem 1.5rem;
|
||||||
border-radius: var(--border-radius);
|
border-radius: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: var(--font-sm);
|
font-size: 0.875rem;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
min-width: 80px;
|
min-width: 80px;
|
||||||
|
font-family: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-btn:hover {
|
.panorama-btn:hover {
|
||||||
background: var(--primary-color);
|
background: #ff8800;
|
||||||
border-color: var(--primary-color);
|
border-color: #ff8800;
|
||||||
transform: translateY(-3px) scale(1.05);
|
transform: translateY(-3px) scale(1.05);
|
||||||
box-shadow: 0 8px 20px rgba(255, 136, 0, 0.4);
|
box-shadow: 0 8px 20px rgba(255, 136, 0, 0.4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-btn.active {
|
.panorama-btn.active {
|
||||||
background: var(--primary-color);
|
background: #ff8800;
|
||||||
border-color: var(--primary-color);
|
border-color: #ff8800;
|
||||||
box-shadow: 0 4px 15px rgba(255, 136, 0, 0.3);
|
box-shadow: 0 4px 15px rgba(255, 136, 0, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-btn i {
|
.panorama-btn i {
|
||||||
font-size: var(--font-lg);
|
font-size: 1.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-btn span {
|
.panorama-btn span {
|
||||||
font-size: var(--font-xs);
|
font-size: 0.75rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 예쁜 X 버튼 */
|
/* 예쁜 X 버튼 */
|
||||||
.panorama-modal-close {
|
.panorama-modal-close {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: var(--spacing-xl);
|
top: 2rem;
|
||||||
right: var(--spacing-xl);
|
right: 2rem;
|
||||||
background: rgba(0, 0, 0, 0.8);
|
background: rgba(0, 0, 0, 0.8);
|
||||||
color: var(--text-white);
|
color: #ffffff;
|
||||||
width: 50px;
|
width: 50px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
@ -575,8 +600,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.panorama-modal-close:hover {
|
.panorama-modal-close:hover {
|
||||||
background: var(--primary-color);
|
background: #ff8800;
|
||||||
border-color: var(--primary-color);
|
border-color: #ff8800;
|
||||||
transform: scale(1.1) rotate(180deg);
|
transform: scale(1.1) rotate(180deg);
|
||||||
box-shadow: 0 8px 20px rgba(255, 136, 0, 0.4);
|
box-shadow: 0 8px 20px rgba(255, 136, 0, 0.4);
|
||||||
}
|
}
|
||||||
@ -620,9 +645,9 @@
|
|||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
background: rgba(0, 0, 0, 0.95);
|
background: rgba(0, 0, 0, 0.95);
|
||||||
color: var(--text-white);
|
color: #ffffff;
|
||||||
padding: var(--spacing-2xl);
|
padding: 3rem;
|
||||||
border-radius: var(--border-radius-lg);
|
border-radius: 12px;
|
||||||
max-width: 500px;
|
max-width: 500px;
|
||||||
width: 90%;
|
width: 90%;
|
||||||
z-index: 200;
|
z-index: 200;
|
||||||
@ -633,9 +658,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.panorama-help-panel h3 {
|
.panorama-help-panel h3 {
|
||||||
color: var(--primary-color);
|
color: #ff8800;
|
||||||
font-size: var(--font-xl);
|
font-size: 1.25rem;
|
||||||
margin: 0 0 var(--spacing-lg) 0;
|
margin: 0 0 1.5rem 0;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
@ -643,28 +668,29 @@
|
|||||||
.help-content {
|
.help-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: var(--spacing-md);
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-item {
|
.help-item {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: var(--spacing-md);
|
gap: 1rem;
|
||||||
padding: var(--spacing-sm);
|
padding: 0.5rem;
|
||||||
background: rgba(255, 255, 255, 0.05);
|
background: rgba(255, 255, 255, 0.05);
|
||||||
border-radius: var(--border-radius);
|
border-radius: 8px;
|
||||||
border-left: 3px solid var(--primary-color);
|
border-left: 3px solid #ff8800;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-item i {
|
.help-item i {
|
||||||
color: var(--primary-color);
|
color: #ff8800;
|
||||||
font-size: var(--font-lg);
|
font-size: 1.1rem;
|
||||||
width: 24px;
|
width: 24px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-item span {
|
.help-item span {
|
||||||
font-size: var(--font-base);
|
font-size: 1rem;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -698,6 +724,25 @@
|
|||||||
|
|
||||||
/* 모바일 최적화 */
|
/* 모바일 최적화 */
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
|
.panorama-section {
|
||||||
|
padding: 3rem 0;
|
||||||
|
margin: 3rem 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.panorama-section h2 {
|
||||||
|
font-size: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.panorama-grid {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
gap: 1.5rem;
|
||||||
|
padding: 0 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.panorama-container {
|
||||||
|
height: 250px;
|
||||||
|
}
|
||||||
|
|
||||||
.panorama-modal-close {
|
.panorama-modal-close {
|
||||||
width: 44px;
|
width: 44px;
|
||||||
height: 44px;
|
height: 44px;
|
||||||
@ -709,6 +754,23 @@
|
|||||||
.panorama-modal-close .close-icon::after {
|
.panorama-modal-close .close-icon::after {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.panorama-modal-controls {
|
||||||
|
padding: 1.5rem;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 1rem;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.panorama-control-buttons {
|
||||||
|
gap: 1rem;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.panorama-btn {
|
||||||
|
min-width: 70px;
|
||||||
|
padding: 0.75rem 1rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 반응형 디자인 */
|
/* 반응형 디자인 */
|
||||||
@ -827,30 +889,13 @@
|
|||||||
height: 85vh;
|
height: 85vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-modal-controls {
|
|
||||||
padding: var(--spacing-lg);
|
|
||||||
flex-direction: column;
|
|
||||||
gap: var(--spacing-md);
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.panorama-modal-title {
|
.panorama-modal-title {
|
||||||
font-size: var(--font-lg);
|
font-size: 1.1rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-control-buttons {
|
|
||||||
gap: var(--spacing-sm);
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.panorama-btn {
|
|
||||||
min-width: 70px;
|
|
||||||
padding: var(--spacing-sm) var(--spacing-md);
|
|
||||||
}
|
|
||||||
|
|
||||||
.panorama-btn i {
|
.panorama-btn i {
|
||||||
font-size: var(--font-base);
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-btn span {
|
.panorama-btn span {
|
||||||
@ -872,20 +917,20 @@
|
|||||||
|
|
||||||
.panorama-help-panel {
|
.panorama-help-panel {
|
||||||
width: 95%;
|
width: 95%;
|
||||||
padding: var(--spacing-lg);
|
padding: 1.5rem;
|
||||||
max-width: none;
|
max-width: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.panorama-help-panel h3 {
|
.panorama-help-panel h3 {
|
||||||
font-size: var(--font-lg);
|
font-size: 1.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-item {
|
.help-item {
|
||||||
gap: var(--spacing-sm);
|
gap: 0.5rem;
|
||||||
padding: var(--spacing-xs);
|
padding: 0.25rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.help-item span {
|
.help-item span {
|
||||||
font-size: var(--font-sm);
|
font-size: 0.875rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user