public.scss 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. $footer-height: 65px;
  2. #body-public {
  3. .header-right {
  4. #header-primary-action a {
  5. color: var(--color-primary-text);
  6. }
  7. #header-secondary-action {
  8. ul li {
  9. min-width: 270px;
  10. }
  11. #save-external-share {
  12. form {
  13. display: flex;
  14. margin: 0;
  15. }
  16. .hidden {
  17. display: none;
  18. }
  19. #save-button-confirm {
  20. flex-grow: 0;
  21. }
  22. }
  23. }
  24. }
  25. #content {
  26. // 100% - footer
  27. min-height: calc(100% - #{$footer-height});
  28. }
  29. /** don't apply content header padding on the base layout */
  30. &.layout-base #content {
  31. padding-top: 0;
  32. }
  33. /* force layout to make sure the content element's height matches its contents' height */
  34. .ie #content {
  35. display: inline-block;
  36. }
  37. p.info {
  38. margin: 20px auto;
  39. text-shadow: 0 0 2px rgba(0, 0, 0, .4);
  40. -moz-user-select: none;
  41. -ms-user-select: none;
  42. user-select: none;
  43. }
  44. p.info, form fieldset legend,
  45. #datadirContent label,
  46. form fieldset .warning-info,
  47. form input[type='checkbox']+label {
  48. text-align: center;
  49. }
  50. /* public footer */
  51. footer {
  52. position: relative;
  53. display: flex;
  54. align-items: center;
  55. justify-content: center;
  56. height: $footer-height;
  57. flex-direction: column;
  58. p {
  59. text-align: center;
  60. color: var(--color-text-lighter);
  61. a {
  62. color: var(--color-text-lighter);
  63. font-weight: bold;
  64. white-space: nowrap;
  65. /* increasing clickability to more than the text height */
  66. padding: 10px;
  67. margin: -10px;
  68. line-height: 200%;
  69. }
  70. }
  71. }
  72. }