1
0

public.scss 2.6 KB

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