1
0

public.scss 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. #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. // 100% - footer
  36. min-height: calc(100% - #{$footer-height});
  37. }
  38. /** don't apply content header padding on the base layout */
  39. &.layout-base #content {
  40. padding-top: 0;
  41. }
  42. p.info {
  43. margin: 20px auto;
  44. text-shadow: 0 0 2px rgba(0, 0, 0, .4);
  45. -moz-user-select: none;
  46. -ms-user-select: none;
  47. user-select: none;
  48. }
  49. p.info, form fieldset legend,
  50. #datadirContent label,
  51. form fieldset .warning-info,
  52. form input[type='checkbox']+label {
  53. text-align: center;
  54. }
  55. /* public footer */
  56. footer {
  57. position: fixed;
  58. display: flex;
  59. align-items: center;
  60. justify-content: center;
  61. height: $footer-height;
  62. flex-direction: column;
  63. bottom: 0;
  64. width: calc(100% - 16px);
  65. margin: 8px;
  66. background-color: var(--color-main-background);
  67. border-radius: var(--border-radius-large);
  68. p {
  69. text-align: center;
  70. color: var(--color-text-lighter);
  71. a {
  72. color: var(--color-text-lighter);
  73. font-weight: bold;
  74. white-space: nowrap;
  75. /* increasing clickability to more than the text height */
  76. padding: 10px;
  77. margin: -10px;
  78. line-height: 200%;
  79. }
  80. }
  81. }
  82. }