aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-01-14 09:49:30 +0100
committerGitHub <noreply@github.com>2020-01-14 09:49:30 +0100
commit209e7ab9f847e8f1249ddcaf9f7c04f9a63bc769 (patch)
tree0e07ce595924e47a6fe889a1a58992dbf79b0f81
parentbda67669bdd302a00dfd4121395050f09ed434da (diff)
parent22e32501a51943ef63b4e05f2de2ecd35507d8b8 (diff)
downloadnextcloud-server-209e7ab9f847e8f1249ddcaf9f7c04f9a63bc769.tar.gz
nextcloud-server-209e7ab9f847e8f1249ddcaf9f7c04f9a63bc769.zip
Merge pull request #18869 from nextcloud/feature/noid/create-hover-color-variable
Create hover color variable
-rw-r--r--core/css/variables.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/css/variables.scss b/core/css/variables.scss
index 35036248e55..3a14acb0ad7 100644
--- a/core/css/variables.scss
+++ b/core/css/variables.scss
@@ -35,7 +35,8 @@ $color-main-text: #222 !default; // Not #000 for better readability
$color-main-background: #fff !default;
$color-main-background-translucent: rgba($color-main-background, .97) !default;
-// used for different active/disabled states
+// used for different active/hover/focus/disabled states
+$color-background-hover: nc-darken($color-main-background, 4%) !default;
$color-background-dark: nc-darken($color-main-background, 7%) !default;
$color-background-darker: nc-darken($color-main-background, 14%) !default;