Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2020-01-13 20:36:26 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2020-01-14 21:06:24 +0300
commit833d96a8f5baadea0134f2a649c10a4720d4e6ca (patch)
tree9c0e94c60ebee18ccc9f7b0e5f5b1728c6a9fa71 /css/publicshareauth.scss
parentc1c3377799775dd32dee539829c16c12e746bff9 (diff)
Add dummy Talk sidebar to public share auth page
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'css/publicshareauth.scss')
-rw-r--r--css/publicshareauth.scss26
1 files changed, 26 insertions, 0 deletions
diff --git a/css/publicshareauth.scss b/css/publicshareauth.scss
new file mode 100644
index 000000000..f685c9824
--- /dev/null
+++ b/css/publicshareauth.scss
@@ -0,0 +1,26 @@
+/* Special layout to include the Talk sidebar */
+/* The original style of the body is kept until the layout has been adjusted to
+ * include the Talk sidebar. If only "#body-login" was used, immediately after
+ * load and before the sidebar was injected the original elements would be using
+ * the style for the adjusted layout, which is not the proper one for them, and
+ * this would cause the elements to "jump" to their final position once the
+ * layout was adjusted. */
+#body-login.talk-sidebar-enabled {
+ flex-direction: row;
+ align-items: stretch;
+}
+
+/* #body-login should be used to override the #content rules set in server. */
+#body-login #content {
+ flex-grow: 1;
+
+ flex-direction: column;
+ align-items: center;
+
+ height: auto;
+
+ overflow-x: hidden;
+
+ /* Override "padding-top: 50px" set in server. */
+ padding-top: 0;
+}