Skip to content

Instantly share code, notes, and snippets.

@ghorvat
Created February 3, 2017 10:57
Show Gist options
  • Save ghorvat/18acf7914c767e7574c001ff8c1dd85c to your computer and use it in GitHub Desktop.
Save ghorvat/18acf7914c767e7574c001ff8c1dd85c to your computer and use it in GitHub Desktop.
/*Guidance overlay*/
.guidance .box {
font-style: italic;
color: #ffffff;
max-width: 200px;
}
.guidance .box p {
font-weight: bold;
padding: 15px 0;
}
.guidance .box .guidance-btn {
width: 85%;
padding: 10px 22px;
font-style: normal;
display: inline-block;
color: #ffffff;
}
.guidance .box .guidance-btn:hover {
color: #ffffff;
}
.guidance .first-box {
position: fixed;
left: 105px;
top: 109px;
}
@media (max-width: 767px) {
.guidance .first-box {
top: 18px;
}
}
.guidance .first-box:before {
content: '';
background: url(../../images/menu-i.svg) no-repeat;
background-size: 35px 45px;
display: inline-block;
width: 35px;
height: 45px;
position: absolute;
left: -90px;
top: -5px;
}
.guidance .first-box .arrow {
margin-left: -35px;
margin-bottom: -15px;
background: url(../../images/ARROW_1.png) no-repeat;
background-size: contain;
width: 50px;
height: 50px;
}
.guidance .first-box .guidance-btn {
color: #ffffff;
display: block;
}
.guidance .first-box .guidance-btn:after {
content: '';
margin-right: -10px;
display: inline-block;
width: 15px;
height: 20px;
float: right;
background: url(../../images/white.svg) no-repeat;
}
.guidance .second-box {
display: none;
position: fixed;
left: 63%;
top: 60px;
}
@media (max-width: 1200px) {
.guidance .second-box {
left: 59%;
}
}
@media (max-width: 991px) {
.guidance .second-box {
left: 65%;
}
}
@media (max-width: 767px) {
.guidance .second-box {
left: 65%;
}
}
@media (max-width: 500px) {
.guidance .second-box {
left: 70%;
}
}
@media (max-width: 450px) {
.guidance .second-box {
left: 50%;
}
}
@media (max-width: 320px) {
.guidance .second-box {
left: 28%;
}
}
.guidance .second-box .arrow {
margin: 0 auto;
margin-top: 20px;
background: url(../../images/ARROW_2.png) no-repeat;
background-size: contain;
width: 50px;
height: 50px;
}
@media (max-width: 767px) {
.guidance .second-box .arrow {
margin-right: -4px;
}
}
@media (max-width: 650px) {
.guidance .second-box .arrow {
margin-right: 26px;
}
}
.guidance .second-box .guidance-btn:after {
content: '';
display: inline-block;
width: 15px;
height: 15px;
float: right;
-webkit-transform-origin: 20% 40%;
-moz-transform-origin: 20% 40%;
-ms-transform-origin: 20% 40%;
transform-origin: 20% 40%;
background: url(../../images/close-x.svg) no-repeat;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment