overleaf/services/web/public/stylesheets/app/editor/feature-onboarding.less

101 lines
1.7 KiB
Text
Raw Normal View History

@feat-onboard-width: 900px;
2016-10-20 07:24:07 -04:00
.feat-onboard {
position: fixed;
top: 50px;
bottom: 50px;
left: 50%;
width: @feat-onboard-width;
margin-left: -(@feat-onboard-width / 2);
display: flex;
justify-content: center;
2017-02-09 12:13:23 -05:00
align-items: baseline;
background-color: rgba(0, 0, 0, .85);
background-repeat: no-repeat;
background-position-x: 0;
2016-10-20 11:39:43 -04:00
color: #FFF;
text-align: center;
border-radius: 1em;
z-index: 102;
overflow: auto;
}
2016-10-20 11:39:43 -04:00
.feat-onboard-wrapper {
padding: 30px 0;
2016-10-20 11:39:43 -04:00
}
2017-02-09 12:13:23 -05:00
2016-10-20 11:39:43 -04:00
.feat-onboard-title {
color: #FFF;
2017-02-09 12:13:23 -05:00
margin-bottom: 30px;
2016-10-20 11:39:43 -04:00
}
2016-10-20 11:39:43 -04:00
.feat-onboard-description {
max-width: 35em;
margin: 0 auto 5px;
2016-10-20 11:39:43 -04:00
}
2017-02-09 12:13:23 -05:00
.feat-onboard-highlight {
font-weight: bold;
white-space: nowrap;
2016-10-20 11:39:43 -04:00
}
2016-10-21 10:00:26 -04:00
2017-02-09 12:13:23 -05:00
.feat-onboard-adv-title {
font-weight: bold;
white-space: nowrap;
color: #FFF;
font-size: 23px;
margin-top: 0;
}
.feat-onboard-tutorial-wrapper {
display: flex;
align-items: center;
2017-02-09 12:13:23 -05:00
padding: 30px 0 15px;
}
.feat-onboard-video {
width: 616px;
margin: 0 30px;
box-shadow: 0 0 70px 0 rgba(255, 255, 255, 0.3);
}
.feat-onboard-nav-btn {
border-radius: 1em;
width: 2em;
height: 2em;
text-align: center;
padding: 0;
font-size: 1.3em;
line-height: 1em;
2017-02-09 12:13:23 -05:00
box-shadow: 0 0 70px 0 rgba(255, 255, 255, 0.3);
&[disabled] {
opacity: 0.2;
}
&:focus,
&:active:focus {
outline: 0;
box-shadow: 0 0 70px 0 rgba(255, 255, 255, 0.3);
}
2017-02-13 10:49:58 -05:00
}
a.feat-onboard-dismiss {
position: absolute;
top: 10px;
right: 10px;
width: 1em;
height: 1em;
line-height: 1em;
2017-02-14 06:22:53 -05:00
font-size: 2.5em;
2017-02-13 10:49:58 -05:00
color: #FFF;
2017-02-14 06:22:53 -05:00
background-color: rgba(0,0,0, .25);
opacity: 0.7;
border-radius: 0.5em;
2017-02-13 10:49:58 -05:00
transition: opacity .15s ease-in-out;
&:hover,
&:focus {
text-decoration: none;
color: #FFF;
opacity: 1;
}
}