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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarco <marcoambrosini@pm.me>2021-08-24 19:18:11 +0300
committermarco <marcoambrosini@pm.me>2021-09-30 10:41:43 +0300
commitf6e62b19d1a6cd0e04b1478d339bbca6a4cd6155 (patch)
tree62e8b50f381dc895ae873cf6002d6fb4f7f59acf /core/css/variables.scss
parent231b5edc7b2955a028e63c28a2cd6ce89c782437 (diff)
Add new variables for buttons
Signed-off-by: marco <marcoambrosini@pm.me>
Diffstat (limited to 'core/css/variables.scss')
-rw-r--r--core/css/variables.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/css/variables.scss b/core/css/variables.scss
index cf7d919d72d..84646379ef1 100644
--- a/core/css/variables.scss
+++ b/core/css/variables.scss
@@ -44,17 +44,27 @@ $color-placeholder-light: nc-darken($color-main-background, 10%) !default;
$color-placeholder-dark: nc-darken($color-main-background, 20%) !default;
$color-primary: #0082c9 !default;
+$color-primary-hover: mix($color-primary, $color-main-background, 80%) !default;
+
$color-primary-light: mix($color-primary, $color-main-background, 10%) !default;
+$color-primary-light-text: $color-primary !default;
+$color-primary-light-hover: mix($color-primary-light, $color-main-text, 95%) !default;
+
$color-primary-text: #ffffff !default;
// do not use nc-darken/lighten in case of overriding because
// primary-text is independent of color-main-text
$color-primary-text-dark: darken($color-primary-text, 7%) !default;
$color-primary-element: $color-primary !default;
+$color-primary-element-hover: mix($color-primary-element, $color-main-background, 80%) !default;
$color-primary-element-light: lighten($color-primary-element, 15%) !default;
+$color-primary-element-lighter: mix($color-primary-element, $color-main-background, 15%) !default;
$color-error: #e9322d;
+$color-error-hover: mix($color-error, $color-main-background, 80%) !default;
$color-warning: #eca700;
+$color-warning-hover: mix($color-warning, $color-main-background, 80%) !default;
$color-success: #46ba61;
+$color-success-hover: mix($color-success, $color-main-background, 80%) !default;
// used for svg
$color-white: #fff;
$color-black: #000;
@@ -81,6 +91,7 @@ $color-box-shadow: transparentize(nc-darken($color-main-background, 70%), 0.5) !
$color-border: nc-darken($color-main-background, 7%) !default;
// darker border like inputs or very visible elements
$color-border-dark: nc-darken($color-main-background, 14%) !default;
+
$border-radius: 3px !default;
$border-radius-large: 10px !default;
// Pill-style button, value is large so big buttons also have correct roundness