summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2021-01-19 16:38:51 +0100
committerJulius Härtl <jus@bitgrid.net>2021-01-28 12:00:20 +0100
commit4f90766ba314171bbfc78d1e988307c50633e7f3 (patch)
treef5f910ff0f3dd2ff8fa5a05c8fd1f905ffc21ba5 /core/css
parent7e6d69d166cbc92fb457fc72efc9abe850a0bbe4 (diff)
downloadnextcloud-server-4f90766ba314171bbfc78d1e988307c50633e7f3.tar.gz
nextcloud-server-4f90766ba314171bbfc78d1e988307c50633e7f3.zip
Skip template picker if none available
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/css-variables.scss3
-rw-r--r--core/css/icons.scss1
2 files changed, 4 insertions, 0 deletions
diff --git a/core/css/css-variables.scss b/core/css/css-variables.scss
index 2e0fbad5aa1..86f80611a6c 100644
--- a/core/css/css-variables.scss
+++ b/core/css/css-variables.scss
@@ -7,6 +7,9 @@
--color-main-background: #{$color-main-background};
--color-main-background-translucent: #{$color-main-background-translucent};
+ // To use like this: background-image: linear-gradient(0, var(--gradient-main-background));
+ --gradient-main-background: var(--color-main-background) 0%, var(--color-main-background-translucent) 85%, transparent 100%;
+
--color-background-hover: #{$color-background-hover};
--color-background-dark: #{$color-background-dark};
--color-background-darker: #{$color-background-darker};
diff --git a/core/css/icons.scss b/core/css/icons.scss
index b3ef33e9fa5..c38bdb89daa 100644
--- a/core/css/icons.scss
+++ b/core/css/icons.scss
@@ -229,6 +229,7 @@ audio, canvas, embed, iframe, img, input, object, video {
@include icon-black-white('quota', 'actions', 1, true);
@include icon-black-white('rename', 'actions', 1, true);
@include icon-black-white('screen', 'actions', 1, true);
+@include icon-black-white('template-add', 'actions', 1, true);
.icon-screen-white {
filter: drop-shadow(1px 1px 4px var(--color-box-shadow));