error-pages.less 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. align-self: stretch;
  13. padding: @line-height-computed * 2;
  14. &-404 {
  15. @media (min-width: @screen-sm-min) {
  16. display: block;
  17. }
  18. }
  19. &-500 {
  20. padding-bottom: 0;
  21. @media (min-width: @screen-sm-min) {
  22. display: flex;
  23. align-items: flex-end;
  24. }
  25. }
  26. }
  27. .error-details {
  28. flex: 0 1 50%;
  29. padding: @line-height-computed * 2;
  30. }
  31. .error-code {
  32. font-family: @font-family-sans-serif;
  33. font-size: @font-size-h1 * 4;
  34. font-weight: 800;
  35. color: @red;
  36. margin-bottom: @line-height-computed;
  37. }
  38. .error-status {
  39. font-family: @font-family-serif;
  40. margin-bottom: (@line-height-computed / 4);
  41. line-height: 1;
  42. color: @gray-dark;
  43. font-size: @font-size-h1;
  44. }
  45. .error-description {
  46. font-family: @font-family-serif;
  47. font-size: @font-size-h3;
  48. color: @gray-light;
  49. margin-bottom: @line-height-computed * 2;
  50. }
  51. .error-btn {
  52. color: @navbar-default-link-color;
  53. border: 2px solid @navbar-default-link-color;
  54. border-radius: @border-radius-base;
  55. font-weight: 700;
  56. line-height: 1;
  57. padding: @padding-base-vertical @padding-base-horizontal;
  58. &:hover,
  59. &:focus {
  60. text-decoration: none;
  61. color: #fff;
  62. background-color: @navbar-default-link-hover-bg;
  63. border: 2px solid @navbar-default-link-hover-color;
  64. }
  65. }