Commit 8b0d1351 by Iren

add window for min-wigth 450px and max-width 678px

parent 4c207181
Pipeline #3655 failed with stage
......@@ -2613,7 +2613,19 @@ p.price-p {
}
}
/*price-mobile*/
@media (min-width: 678px) {
@media (max-width: 450px) {
.price-mobile-big-none {
position: absolute;
display: none;
}
}
@media (min-width: 769px) {
.price-mobile-big-none {
position: absolute;
display: none;
}
}
@media (min-width: 451px) {
.price-mobile-none {
position: absolute;
display: none;
......@@ -2652,6 +2664,12 @@ p.price-p {
margin-left: 8px;
padding-left: 15px;
}
@media (min-width: 451px) {
.price-mobile-container {
width: 270px;
height: 850px;
}
}
.price-mobile-container h6 {
position: relative;
z-index: 4;
......@@ -2664,22 +2682,49 @@ p.price-p {
margin-left: 8px;
margin-top: 21px;
}
@media (min-width: 451px) {
.price-mobile-container h6 {
margin-top: 33px;
font-size: 31px;
margin-left: 11px;
}
}
.price-mobile-container img {
width: 212px;
}
@media (min-width: 451px) {
.price-mobile-container img {
width: 283px;
}
}
.mobile-img {
position: absolute;
left: 0;
}
@media (min-width: 451px) {
.mobile-img {
width: 288px;
}
}
.price-mobile {
text-align: center;
margin-top: 68px;
}
@media (min-width: 451px) {
.price-mobile {
margin-top: 98px;
}
}
.price-mobile p {
font-size: 60px;
line-height: 24px;
color: #303a81;
}
@media (min-width: 451px) {
.price-mobile p {
font-size: 50px;
}
}
.price-mobile span {
font-size: 30px;
line-height: 24px;
......@@ -2723,47 +2768,82 @@ p.price-p {
height: 1px;
background: #e6effa;
}
@media (min-width: 451px) {
.price-mobile-line-big {
width: 237px;
}
}
.price-mobile-line {
margin-left: -15px;
width: 52px;
height: 1px;
background: #e6effa;
}
@media (min-width: 451px) {
.price-mobile-line {
width: 200px;
}
}
.price-mobile-container-part {
position: relative;
clip: rect(0, 10px, 79px, 0);
/* margin-left: 16px;*/
padding-left: 16px;
/*width: 76px;*/
width: 58px;
width: 61px;
height: 479px;
border-bottom-left-radius: 6px;
border-top-left-radius: 6px;
background: #f9fbff;
border: #e6feea 1px solid;
}
@media (min-width: 451px) {
.price-mobile-container-part {
width: 200px;
height: 850px;
}
}
.mobile-line-part {
width: 5px;
height: 1px;
margin-top: 19px;
margin-left: 54px;
margin-left: 52px;
background: #c94d4e;
}
@media (min-width: 451px) {
.mobile-line-part {
width: 141px;
margin-top: 5px;
}
}
.price-mobile-part {
text-align: center;
margin-top: 113px;
}
@media (min-width: 451px) {
.price-mobile-part {
margin-top: 136px;
margin-left: 75px;
}
}
.price-mobile-part p {
margin-left: 31px;
font-size: 60px;
font-size: 40px;
line-height: 24px;
color: #303a81;
}
@media (min-width: 451px) {
.price-mobile-part p {
margin-bottom: 5px;
margin-left: 20px;
}
}
.price-mobile-part span {
font-size: 30px;
line-height: 24px;
color: #303a81;
}
p.price-user-part {
font-size: 26px;
margin-left: -12px;
}
.price-mobile-btn {
margin-top: 15px;
margin-left: 7px;
......@@ -2778,20 +2858,26 @@ p.price-p {
border-radius: 16px;
background: none;
}
@media (min-width: 451px) {
.price-mobile-btn {
margin-left: 40px;
}
}
.mobile-img-part {
position: absolute;
left: -1px;
left: -2px;
}
.price-mobile-btn-part {
margin-top: 15px;
margin-left: 9px;
height: 32px;
width: 52px;
width: 50px;
border-top: #c94d4e 1px solid;
border-bottom-left-radius: 16px;
border-top-left-radius: 16px;
border-bottom: #c94d4e 1px solid;
border-left: #c94d4e 1px solid;
border-right: none;
background: none;
font-size: 12px;
font-weight: 400;
......@@ -2799,12 +2885,24 @@ p.price-p {
letter-spacing: 0;
color: #c94d4e;
}
@media (min-width: 451px) {
.price-mobile-btn-part {
margin-left: 40px;
padding-left: 17px;
width: 155px;
}
}
.mobile-point-wrapper {
display: flex;
justify-content: center;
padding-top: 10px;
padding-bottom: 73px;
}
@media (min-width: 451px) {
.mobile-point-wrapper {
margin-top: 30px;
}
}
.mobile-point-active {
width: 12px;
height: 12px;
......
......@@ -2114,8 +2114,18 @@ p.price-p {
}
}
/*price-mobile*/
.price-mobile-big-none {
@media(max-width: 450px){
position: absolute;
display: none;
}
@media(min-width: 769px){
position: absolute;
display: none;
}
}
.price-mobile-none {
@media(min-width: 678px){
@media(min-width: 451px){
position: absolute;
display: none;
}
......@@ -2152,6 +2162,10 @@ p.price-p {
border: #e6feea 1px solid;
margin-left: 8px;
padding-left: 15px;
@media(min-width: 451px){
width: 270px;
height: 850px;
}
h6 {
position: relative;
z-index: 4;
......@@ -2163,23 +2177,40 @@ p.price-p {
letter-spacing: 0.24px;
margin-left: 8px;
margin-top: 21px;
@media(min-width: 451px){
margin-top: 33px;
font-size: 31px;
margin-left: 11px;
}
}
img {
width: 212px;
@media(min-width: 451px){
width: 283px;
}
}
}
.mobile-img {
position: absolute;
left: 0;
@media(min-width: 451px){
width: 288px;
}
}
.price-mobile {
text-align: center;
margin-top: 68px;
@media(min-width: 451px){
margin-top: 98px;
}
p {
font-size: 60px;
line-height: 24px;
color: #303a81;
@media(min-width: 451px){
font-size: 50px;
}
}
span {
font-size: 30px;
......@@ -2224,41 +2255,60 @@ p.price-p {
width: 187px;
height: 1px;
background: #e6effa;
@media(min-width: 451px){
width: 237px;
}
}
.price-mobile-line {
margin-left: -15px;
width: 52px;
height: 1px;
background: #e6effa;
@media(min-width: 451px){
width: 200px;
}
}
.price-mobile-container-part {
position: relative;
clip: rect(0, 10px, 79px, 0);
/* margin-left: 16px;*/
padding-left: 16px;
/*width: 76px;*/
width: 58px;
width: 61px;
height: 479px;
border-bottom-left-radius: 6px;
border-top-left-radius: 6px;
background: #f9fbff;
border: #e6feea 1px solid;
@media(min-width: 451px){
width: 200px;
height: 850px;
}
}
.mobile-line-part {
width: 5px;
height: 1px;
margin-top: 19px;
margin-left: 54px;
margin-left: 52px;
background: #c94d4e;
@media(min-width: 451px){
width: 141px;
margin-top: 5px;
}
}
.price-mobile-part {
text-align: center;
margin-top: 113px;
@media(min-width: 451px){
margin-top: 136px;
margin-left: 75px;
}
p {
margin-left: 31px;
font-size: 60px;
font-size: 40px;
line-height: 24px;
color: #303a81;
@media(min-width: 451px){
margin-bottom: 5px;
margin-left: 20px;
}
}
span {
font-size: 30px;
......@@ -2266,6 +2316,10 @@ p.price-p {
color: #303a81;
}
}
p.price-user-part {
font-size: 26px;
margin-left: -12px;
}
.price-mobile-btn {
margin-top: 15px;
margin-left: 7px;
......@@ -2279,33 +2333,46 @@ p.price-p {
color: #c94d4e;
border-radius: 16px;
background: none;
@media(min-width: 451px){
margin-left: 40px;
}
}
.mobile-img-part {
position: absolute;
left: -1px;
left: -2px;
}
.price-mobile-btn-part {
margin-top: 15px;
margin-left: 9px;
height: 32px;
width: 52px;
width:50px;
border-top: #c94d4e 1px solid;
border-bottom-left-radius: 16px;
border-top-left-radius: 16px;
border-bottom: #c94d4e 1px solid;
border-left: #c94d4e 1px solid;
border-right: none;
background: none;
font-size: 12px;
font-weight: 400;
line-height: 30px;
letter-spacing: 0;
color: #c94d4e;
@media(min-width: 451px){
margin-left: 40px;
padding-left: 17px;
width:155px;
}
}
.mobile-point-wrapper {
display: flex;
justify-content: center;
padding-top: 10px;
padding-bottom: 73px;
@media(min-width: 451px){
margin-top: 30px;
}
}
.mobile-point-active {
width: 12px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment