overleaf/services/web/public/stylesheets/app/editor/feature-onboarding.less
2016-10-31 20:17:58 +00:00

89 lines
No EOL
1.6 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) 530px,
transparent 555px,
transparent 585px,
rgba(0,0,0,.85) 610px,
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;
text-shadow: 0 0 70px rgba(255, 255, 255, 0.5);
}
.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;
> .btn {
box-shadow: 0 0 70px rgba(255, 255, 255, 0.3);
}
}