2017-03-01 06:22:31 -05:00
|
|
|
.full-height {
|
2019-12-05 14:09:31 -05:00
|
|
|
height: 100%;
|
|
|
|
padding: 0;
|
2017-03-01 06:22:31 -05:00
|
|
|
}
|
|
|
|
|
2017-02-28 11:44:32 -05:00
|
|
|
.error-container {
|
2019-12-05 14:09:31 -05:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-02-28 11:44:32 -05:00
|
|
|
}
|
2018-03-29 10:35:14 -04:00
|
|
|
|
|
|
|
.error-container.full-height when (@is-overleaf = true) {
|
2019-12-05 14:09:31 -05:00
|
|
|
margin-top: -(@header-height + @content-margin-vertical) / 2;
|
2018-03-29 10:35:14 -04:00
|
|
|
}
|
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
.error-figure {
|
|
|
|
display: none;
|
|
|
|
flex: 0 0 50%;
|
|
|
|
padding: @line-height-computed * 2;
|
|
|
|
@media (min-width: @screen-sm-min) {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
2018-04-03 09:09:42 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
.error-figure when (@is-overleaf = true) {
|
|
|
|
display: none;
|
|
|
|
}
|
2018-04-03 09:09:42 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
.error-figure-500 {
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 80%;
|
|
|
|
background-image: url(/img/brand/500-visual-plug.svg);
|
|
|
|
background-size: 400px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: right 70%;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 50%;
|
|
|
|
background-image: url(/img/brand/500-visual-tail.svg);
|
|
|
|
background-size: 100px;
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-position: 90% bottom;
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.error-img {
|
|
|
|
display: block;
|
|
|
|
max-width: 380px;
|
|
|
|
height: auto;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2017-02-28 11:44:32 -05:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
.error-details {
|
|
|
|
flex: 0 1 50%;
|
|
|
|
padding: @line-height-computed * 2;
|
|
|
|
}
|
2018-03-29 10:35:14 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
.error-details when (@is-overleaf = true) {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2017-02-28 11:44:32 -05:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
.error-status {
|
|
|
|
font-family: @font-family-serif;
|
|
|
|
margin-bottom: (@line-height-computed / 4);
|
|
|
|
color: @gray-dark;
|
|
|
|
font-size: @font-size-h1;
|
|
|
|
}
|
|
|
|
.error-description {
|
|
|
|
font-family: @font-family-serif;
|
|
|
|
font-size: @font-size-h3;
|
|
|
|
color: @gray;
|
|
|
|
margin-bottom: @line-height-computed * 2;
|
|
|
|
}
|
|
|
|
.error-btn when (@is-overleaf = false) {
|
|
|
|
color: @navbar-default-link-color;
|
|
|
|
border: 2px solid @navbar-default-link-color;
|
|
|
|
border-radius: @border-radius-base;
|
|
|
|
font-weight: 700;
|
|
|
|
line-height: 1;
|
|
|
|
padding: @padding-base-vertical @padding-base-horizontal;
|
2018-03-29 10:35:14 -04:00
|
|
|
|
2019-12-05 14:09:31 -05:00
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
|
|
|
color: #fff;
|
|
|
|
background-color: @navbar-default-link-hover-bg;
|
|
|
|
border: 2px solid @navbar-default-link-hover-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.error-btn when (@is-overleaf = true) {
|
|
|
|
.btn;
|
|
|
|
.btn-primary;
|
|
|
|
display: block;
|
|
|
|
@media (min-width: @screen-sm-min) {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|