Refactor Disney theme styles: adjust margins, paddings, and aspect ratios for improved layout; update color schemes for better contrast; add responsive design elements for Mickey theme; increment CSS version for changes.

This commit is contained in:
2025-10-20 00:38:19 +09:00
parent d52bb3ca1f
commit 8d49c6e1c3
5 changed files with 286 additions and 43 deletions

View File

@@ -4365,11 +4365,11 @@
.comp_body {
.text_area {
margin-top: 11.4rem;
margin-top: 4.8rem;
text-align: center;
@include tablet {
margin-top: 13.7rem;
margin-top: 8rem;
}
h3 {
@@ -4424,6 +4424,10 @@
// background: url(../images/kia/pdp/display_theme_disney/bg_pattern.png) repeat 50% 100%;
@include tablet {
min-height: 85.1rem;
}
h3 {
display: flex;
align-items: center;
@@ -4503,7 +4507,7 @@
// min-height: 19.6rem;
width: calc(50% - 0.4rem);
// min-height: vw(196);
aspect-ratio: 156 / 184;
aspect-ratio: 156 / 196;
background-color: #fff;
border-radius: 0.8rem;
box-shadow: 0px 0px 1rem 0px rgba(0, 0, 0, 0.12);
@@ -4511,7 +4515,7 @@
@include tablet {
width: 28.9rem;
height: 31.2rem;
height: 36.9rem;
aspect-ratio: inherit;
}
@@ -4829,7 +4833,7 @@
width: 100%;
max-width: 192rem;
margin: 0 auto;
padding: 0 0 7rem;
padding: 4rem 0 7rem;
text-align: center;
background: url(../images/kia/pdp/display_theme_disney/bg_design_m.jpg) no-repeat center top / 100% auto;
@@ -4839,8 +4843,10 @@
}
&.mickey {
padding-top: 0;
background: #fff;
.tab-box {
padding-top: 0;
.discover-area {
padding: 4rem 0 0;
background: url(../images/kia/pdp/display_theme_mickey/bg_design_m.jpg) no-repeat center top / 100% auto;
@@ -4923,10 +4929,10 @@
padding: 1.4rem 3.6rem 1.4rem 1.8rem;
font-size: 1.4rem;
font-weight: 600;
color: #05141f;
background-color: #f2f4f6;
color: #fff;
background-color: #383838;
border-radius: 0.4rem;
border: 0.15rem solid #dedede;
border: 0.15rem solid rgba(255, 255, 255, 0.5);
&:after {
content: "";
@@ -4938,7 +4944,7 @@
height: 0.6rem;
transform: translateY(-50%), rotate(0deg);
transition: all 0.2s ease;
background: url(../images/kia/pdp/display_theme_mickey/ico_arrow_down_black.png) no-repeat 50% / 1.2rem auto;
background: url(../images/kia/pdp/display_theme_disney/ico_arrow_down.png) no-repeat 50% / 1.2rem auto;
}
&.open {
@@ -4957,7 +4963,7 @@
left: 2rem;
right: 2rem;
display: none;
background-color: #f2f4f6;
background-color: #383838;
border-radius: 0 0 0.4rem 0.4rem;
border: 0.15rem solid rgba(255, 255, 255, 0.5);
border-top: 0;
@@ -4994,8 +5000,7 @@
height: 4.3rem;
padding: 0 1.6rem 0 1.2rem;
font-size: 1.6rem;
color: #fff;
background-color: #b2b8bd;
background-color: #2c2c2c;
border-radius: 2.2rem;
border: 0.2rem solid rgba(255, 255, 255, 0.2);
@@ -5012,10 +5017,9 @@
&.active {
.tab-btn {
color: #05141f;
color: #fff;
@include tablet {
color: #fff;
border: 0;
background: linear-gradient(90deg, #ed1c24 0%, #b51016 100%);
padding: 0 1.8rem 0 1.4rem;
@@ -5066,7 +5070,7 @@
.tab-box {
display: none;
// padding-top: 2.2rem;
padding-top: 2.2rem;
@include tablet {
margin-bottom: 2.4rem;
@@ -5175,10 +5179,33 @@
}
}
}
.comp_body {
.text_area {
margin-top: 11.4rem;
@include tablet {
margin-top: 13.7rem;
}
}
}
.available-theme {
@include tablet {
min-height: auto;
}
.list {
padding: 0.6rem 2rem 5.6rem;
@include tablet {
padding-top: 4.8rem;
}
ul {
li {
aspect-ratio: 156 / 184;
@include tablet {
width: 28.9rem;
height: 31.2rem;
aspect-ratio: inherit;
}
&.more {
strong {
.speech-bubble {
@@ -5195,15 +5222,106 @@
}
}
}
.tab-wrap {
p {
.add {
color: #acacac;
&.discover-epic-design {
.tab-wrap {
.tab-box {
padding-top: 0;
}
.tab-menu {
@include tablet {
display: block;
font-size: 1.6rem;
margin-top: 0.4rem;
padding: 8rem 2rem 6.4rem;
}
.btn-select {
overflow: hidden;
display: flex;
align-items: center;
position: relative;
width: 100%;
height: 4.5rem;
padding: 1.4rem 3.6rem 1.4rem 1.8rem;
font-size: 1.4rem;
font-weight: 600;
color: #05141f;
background-color: #f2f4f6;
border-radius: 0.4rem;
border: 0.15rem solid #dedede;
&:after {
content: "";
display: block;
position: absolute;
top: 50%;
right: 1.8rem;
width: 1.2rem;
height: 0.6rem;
transform: translateY(-50%), rotate(0deg);
transition: all 0.2s ease;
background: url(../images/kia/pdp/display_theme_mickey/ico_arrow_down_black.png) no-repeat 50% / 1.2rem auto;
}
&.open {
&:after {
transform: translateY(-50%) rotate(180deg);
}
}
@include tablet {
display: none;
}
}
ul {
background-color: #f2f4f6;
@include tablet {
background-color: transparent;
}
li {
.tab-btn {
display: flex;
align-items: center;
width: 100%;
height: 4.5rem;
padding: 1.4rem 1.8rem;
font-size: 1.4rem;
font-weight: 600;
color: #666;
cursor: pointer;
@include tablet {
width: auto;
height: 4.3rem;
padding: 0 1.6rem 0 1.2rem;
font-size: 1.6rem;
color: #fff;
background-color: #b2b8bd;
border-radius: 2.2rem;
border: 0;
}
}
&.active {
.tab-btn {
color: #05141f;
@include tablet {
color: #fff;
}
}
}
}
}
}
.text_area {
margin-top: 1.6rem;
text-align: left;
}
p {
.add {
color: #acacac;
@include tablet {
display: block;
font-size: 1.6rem;
margin-top: 0.4rem;
}
}
}
}