aboutsummaryrefslogtreecommitdiffstats
path: root/core/css/styles.scss
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-04 09:27:46 +0200
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-05-13 16:10:59 +0200
commitcc6037e438e5302320d9b864021fc3d5e42a3180 (patch)
treeebb12d20795230b6678515cb27d1321bd9d2d7e5 /core/css/styles.scss
parent9a9409e31583c0fdd7c0bfe67f5f9177c7651830 (diff)
downloadnextcloud-server-cc6037e438e5302320d9b864021fc3d5e42a3180.tar.gz
nextcloud-server-cc6037e438e5302320d9b864021fc3d5e42a3180.zip
Migrate core scss
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css/styles.scss')
-rw-r--r--core/css/styles.scss6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/css/styles.scss b/core/css/styles.scss
index bd7e747169b..f1130979134 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -13,6 +13,7 @@
* @license GNU AGPL version 3 or any later version
*
*/
+@use 'variables';
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section {
margin: 0;
@@ -179,7 +180,8 @@ body {
#controls {
box-sizing: border-box;
- @include position('sticky');
+ position: -webkit-sticky;
+ position: sticky;
height: 44px;
padding: 0;
margin: 0;
@@ -190,7 +192,7 @@ body {
-ms-user-select: none;
user-select: none;
display: flex;
- top: $header-height;
+ top: variables.$header-height;
}
/* position controls for apps with app-navigation */