- remove publicshare.css as redundant
- keep footer in place, adjust width if talk sidebar is open
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
There was a generic filter in the past, but it was removed with
1d35a53991
So now we apply the filter at our best knowledge
Signed-off-by: Joas Schilling <coding@schilljs.com>
The content now has a fixed position to be always centered in the page.
However, in order to add the Talk sidebar the content in the public
share authentication page needs to be "pushed" to the left when the
sidebar is added, so the content position needs to have a relative
position instead (which also keeps the same appearance of the fixed
position when the Talk sidebar is not shown yet).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
The iframe of the PDF viewer is shown with an absolute position and full
width and height, so it takes the size of the first parent with a
relative or fixed position. That parent was the main content element,
which is also a parent of the sidebar and therefore its size includes
it, so the iframe filled the content and extended behind the sidebar.
To solve that now a relative position is set for #app-content, which is
a sibling of the sidebar and therefore prevents the iframe from
overlapping it.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
The content now has an explicit width and height set in the server style
that takes into account the margins, so it does not need to be
overriden.
The footer, on the other hand, now has a fixed position, but as the
element is moved into the #app-content when the Talk sidebar is loaded
it needs to be set as relative instead.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Since the removal of SCSS files the "menu-people" icon can no longer be
used directly with a CSS class. However, it is available as a Vue
component; although it would be possible to directly render the Vue
component for the icon inside the button element the whole button is
moved to Vue instead, as the other approach requires more fighting with
the styles.
As the icon will be shown with a transparent background on the header,
which uses the primary color, the fill color of the icon needs to be
explicitly set to the primary text color.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>