You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

public.scss 1.8KB

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