overleaf/services/web/public/stylesheets/app/editor/feature-onboarding.less
2016-10-21 15:00:26 +01:00

84 lines
No EOL
1.5 KiB
Text

@feat-onboard-wrapper-width: 700px;
.feat-onboard {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0, 0, 0, .85);
color: #FFF;
text-align: center;
z-index: 102;
transition: left ease-in-out @left-menu-animation-duration;
&::before {
content: '';
position: fixed;
top: 0;
bottom: 0;
left: 0;
width: 0;
opacity: 0;
transition: opacity ease-in-out @left-menu-animation-duration, width ease-in-out @left-menu-animation-duration;
}
}
.feat-onboard-step2 {
left: @left-menu-width;
&::before {
content: '';
position: fixed;
top: 0;
bottom: 0;
left: 0;
width: @left-menu-width;
opacity: 1;
background-image: linear-gradient(
180deg,
rgba(0,0,0,.85),
rgba(0,0,0,.85) 450px,
transparent 470px,
transparent 490px,
rgba(0,0,0,.85) 510px,
rgba(0,0,0,.85)
);
}
}
.feat-onboard-wrapper {
position: fixed;
top: 130px;
left: 50%;
width: @feat-onboard-wrapper-width;
margin-left: -@feat-onboard-wrapper-width / 2;
}
.feat-onboard-title {
color: @brand-primary;
margin-bottom: 50px;
}
.feat-onboard-title-name {
color: #FFF;
font-weight: bold;
}
.feat-onboard-description {
margin-bottom: 40px;
padding: 0 80px;
}
.feat-onboard-description-name {
font-weight: bold;
}
.feat-onboard-adv-wrapper {
text-align: left;
margin-bottom: 40px;
}
.feat-onboard-adv-title {
color: #FFF;
}
.feat-onboard-adv-title-highlight {
font-weight: bold;
}
.feat-onboard-btn-wrapper {
margin-bottom: 10px;
}