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

83 lines
1.2 KiB
Text
Raw Normal View History

.onboarding-autocompile {
display: block;
top: 10px;
img {
margin-bottom: 10px;
border: 1px solid @gray-lighter;
}
2017-10-02 08:49:28 -04:00
&::before, &::after {
content: '';
border-width: 11px;
border-style: solid;
border-color: transparent;
top: 7px;
display: block;
position: absolute;
}
2017-10-02 08:49:28 -04:00
&.right::before {
border-left-width: 0;
border-right-color: rgba(0, 0, 0, .3);
left: -11px;
}
2017-09-28 06:55:20 -04:00
2017-10-02 08:49:28 -04:00
&.right::after {
border-left-width: 0;
border-right-color: #f7f7f7;
left: -9.5px;
}
2017-09-28 06:55:20 -04:00
2017-10-02 08:49:28 -04:00
&.left::before {
border-right-width: 0;
border-left-color: rgba(0, 0, 0, .3);
right: -11px
}
&.left::after {
border-right-width: 0;
border-left-color: #f7f7f7;
right: -9.5px;
2017-09-28 06:55:20 -04:00
}
}
.onboarding-linksharing {
display: block;
top: 10px;
&.popover {
left: auto !important;
}
img {
margin-bottom: 10px;
border: 1px solid @gray-lighter;
}
&::before, &::after {
content: '';
border-width: 11px;
border-style: solid;
border-color: transparent;
top: 7px;
display: block;
position: absolute;
}
// Bottom
&.bottom::before {
border-top-width: 0;
border-bottom-color: rgba(0, 0, 0, .3);
top: -10px;
right: 38px;
}
&.bottom::after {
border-top-width: 0;
border-bottom-color: #f7f7f7;
top: -9.5px;
right: 38px;
}
}