1
0

public.scss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. #body-public {
  2. --footer-height: calc(2lh + 2 * var(--default-grid-baseline)); // Set the initial value, will be updated programmatically to match the actual height
  3. .header-right {
  4. #header-primary-action a {
  5. color: var(--color-primary-element-text);
  6. }
  7. #header-secondary-action {
  8. ul li {
  9. min-width: 270px;
  10. }
  11. #header-actions-toggle {
  12. background-color: transparent;
  13. border-color: transparent;
  14. filter: var(--background-invert-if-dark);
  15. &:hover,
  16. &:focus,
  17. &:active {
  18. opacity: 1;
  19. }
  20. }
  21. #external-share-menu-item {
  22. form {
  23. display: flex;
  24. }
  25. .hidden {
  26. display: none;
  27. }
  28. #save-button-confirm {
  29. flex-grow: 0;
  30. }
  31. }
  32. }
  33. }
  34. #content {
  35. min-height: var(--body-height, calc(100% - var(--footer-height)));
  36. padding-block-end: var(--footer-height);
  37. }
  38. #app-content-vue {
  39. padding-block-end: var(--footer-height);
  40. }
  41. /** don't apply content header padding on the base layout */
  42. &.layout-base #content {
  43. padding-top: 0;
  44. }
  45. p.info {
  46. margin: 20px auto;
  47. text-shadow: 0 0 2px rgba(0, 0, 0, .4);
  48. -moz-user-select: none;
  49. -ms-user-select: none;
  50. user-select: none;
  51. }
  52. p.info, form fieldset legend,
  53. #datadirContent label,
  54. form fieldset .warning-info,
  55. form input[type='checkbox']+label {
  56. text-align: center;
  57. }
  58. /* public footer */
  59. footer {
  60. position: fixed;
  61. bottom: var(--body-container-margin);;
  62. background-color: var(--color-main-background);
  63. border-radius: var(--body-container-radius);
  64. box-sizing: border-box;
  65. display: flex;
  66. flex-direction: column;
  67. align-items: center;
  68. justify-content: center;
  69. width: calc(100% - 2 * var(--body-container-margin));
  70. margin-inline: var(--body-container-margin);
  71. padding-block: var(--default-grid-baseline);
  72. .footer__legal-links {
  73. margin-block-end: var(--default-grid-baseline);
  74. }
  75. p {
  76. text-align: center;
  77. color: var(--color-text-maxcontrast);
  78. margin-block: 0 var(--default-grid-baseline);
  79. width: 100%;
  80. a {
  81. display: inline-block;
  82. font-size: var(--default-font-size);
  83. font-weight: bold;
  84. line-height: var(--default-line-height);
  85. height: var(--default-line-height);
  86. color: var(--color-text-maxcontrast);
  87. white-space: nowrap;
  88. }
  89. }
  90. }
  91. }