error-pages.less 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. .full-height {
  2. height: 100%;
  3. padding: 0;
  4. }
  5. .error-container {
  6. display: flex;
  7. align-items: center;
  8. }
  9. .error-figure {
  10. display: none;
  11. flex: 0 0 50%;
  12. padding: @line-height-computed * 2;
  13. @media (min-width: @screen-sm-min) {
  14. display: block;
  15. }
  16. }
  17. .error-figure-500 {
  18. &::before {
  19. content: '';
  20. display: block;
  21. position: fixed;
  22. top: 0;
  23. bottom: 0;
  24. left: 0;
  25. right: 80%;
  26. background-image: url(/img/brand/500-visual-plug.svg);
  27. background-size: 400px;
  28. background-repeat: no-repeat;
  29. background-position: right 70%;
  30. pointer-events: none;
  31. }
  32. &::after {
  33. content: '';
  34. display: block;
  35. position: fixed;
  36. top: 0;
  37. bottom: 0;
  38. left: 0;
  39. right: 50%;
  40. background-image: url(/img/brand/500-visual-tail.svg);
  41. background-size: 100px;
  42. background-repeat: no-repeat;
  43. background-position: 90% bottom;
  44. pointer-events: none;
  45. }
  46. }
  47. .error-img {
  48. display: block;
  49. max-width: 380px;
  50. height: auto;
  51. margin: 0 auto;
  52. }
  53. .error-details {
  54. flex: 0 1 50%;
  55. padding: @line-height-computed * 2;
  56. }
  57. .error-status {
  58. font-family: @font-family-serif;
  59. margin-bottom: (@line-height-computed / 4);
  60. color: @gray-dark;
  61. font-size: @font-size-h1;
  62. }
  63. .error-description {
  64. font-family: @font-family-serif;
  65. font-size: @font-size-h3;
  66. color: @gray;
  67. margin-bottom: @line-height-computed * 2;
  68. }
  69. .error-btn {
  70. color: @navbar-default-link-color;
  71. border: 2px solid @navbar-default-link-color;
  72. border-radius: @border-radius-base;
  73. font-weight: 700;
  74. line-height: 1;
  75. padding: @padding-base-vertical @padding-base-horizontal;
  76. &:hover,
  77. &:focus {
  78. text-decoration: none;
  79. color: #fff;
  80. background-color: @navbar-default-link-hover-bg;
  81. border: 2px solid @navbar-default-link-hover-color;
  82. }
  83. }