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

css-variables.scss « css « core - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1fe6e88dbe719e63b85042389713edbf3305beee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// CSS4 Variables
// Remember, you cannot use scss functions with css4 variables
// All css4 variables must be fixed! Scss is a PRE processor
// css4 variables are processed after scss!
:root {
	--color-main-text: #{$color-main-text};
	--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};

	--color-placeholder-light: #{$color-placeholder-light};
	--color-placeholder-dark: #{$color-placeholder-dark};

	--color-primary: #{$color-primary};
	--color-primary-hover: #{$color-primary-hover};
	--color-primary-light: #{$color-primary-light};
	--color-primary-light-hover: #{$color-primary-light-hover};
	--color-primary-text: #{$color-primary-text};
	--color-primary-light-text: #{$color-primary-light-text};
	--color-primary-text-dark: #{$color-primary-text-dark};
	--color-primary-element: #{$color-primary-element};
	--color-primary-element-hover: #{$color-primary-element-hover};
	--color-primary-element-light: #{$color-primary-element-light};
	--color-primary-element-lighter: #{$color-primary-element-lighter};

	--color-error: #{$color-error};
	--color-error-hover: #{$color-error-hover};
	--color-warning: #{$color-warning};
	--color-warning-hover: #{$color-warning-hover};
	--color-success: #{$color-success};
	--color-success-hover: #{$color-success-hover};

	--color-text-maxcontrast: #{$color-text-maxcontrast};
	--color-text-light: #{$color-main-text};
	--color-text-lighter: #{$color-text-maxcontrast};

	--image-logo: #{$image-logo};
	--image-login-background: #{$image-login-background};
	--image-logoheader: #{$image-logoheader};
	--image-favicon: #{$image-favicon};

	--color-loading-light: #{$color-loading-light};
	--color-loading-dark: #{$color-loading-dark};

	--color-box-shadow: #{$color-box-shadow};

	--color-border: #{$color-border};
	--color-border-dark: #{$color-border-dark};


	--border-radius: #{$border-radius};
	--border-radius-large: #{$border-radius-large};
	--border-radius-pill: #{$border-radius-pill};

	--font-face: #{$font-face};
	--default-font-size: #{$default-font-size};

	--default-line-height: #{$default-line-height};

	--animation-quick: #{$animation-quick};
	--animation-slow: #{$animation-slow};

	--header-height: #{$header-height};
}