1
0

public.scss 2.3 KB

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