-
Notifications
You must be signed in to change notification settings - Fork 0
/
appwrite.css
186 lines (164 loc) · 6.66 KB
/
appwrite.css
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
/* Appwrite Custom Styling - by Tommy Johnston (www.tommy-johnston.com) */
/*
Usage Example (Nginx Config):
proxy_set_header Accept-Encoding "";
sub_filter '</head>' '<style>:root {
--primary-color-hue: 205deg;
--primary-color-saturation: 100%;
--primary-color-brightness: 55%;
--background-color-hue: 0;
--background-color-saturation: 0%;
--background-color-brightness: 55%;
--logo-image: url("https://api.timmygstudios.com/v1/storage/buckets/images/files/logo/view?project=tore");
--background-image: url("https://api.timmygstudios.com/v1/storage/buckets/images/files/dev09242024header/view?project=tore");
}</style><link rel="stylesheet" type="text/css" href="https://tommy141x.github.io/appwrite-theming/appwrite.css"></head>';
sub_filter_once on;
sub_filter_types text/html;
*/
:root {
/* Pink UI Kit Colors */
/* Primary Colors - Auto-generated */
--color-primary-100: var(--primary-color-hue),
var(--primary-color-saturation),
calc(var(--primary-color-brightness) - 14%);
--color-primary-200: var(--primary-color-hue),
var(--primary-color-saturation),
calc(var(--primary-color-brightness) - 20%);
--color-primary-300: var(--primary-color-hue),
var(--primary-color-saturation),
calc(var(--primary-color-brightness) - 25%);
/* Neutral Colors - Auto-generated */
--color-neutral-0: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) + 50%);
--color-neutral-5: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) + 45%);
--color-neutral-10: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) + 40%);
--color-neutral-15: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) + 35%);
--color-neutral-20: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) + 30%);
--color-neutral-25: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) + 25%);
--color-neutral-30: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) + 20%);
--color-neutral-35: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) + 15%);
--color-neutral-40: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) + 10%);
--color-neutral-45: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) + 5%);
--color-neutral-50: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) + 0%);
--color-neutral-55: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) - 5%);
--color-neutral-60: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) - 10%);
--color-neutral-65: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) - 15%);
--color-neutral-70: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) - 20%);
--color-neutral-75: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) - 25%);
--color-neutral-80: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) - 30%);
--color-neutral-85: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) - 35%);
--color-neutral-90: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) - 40%);
--color-neutral-95: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) - 45%);
--color-neutral-100: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) - 47.5%);
--color-neutral-105: var(--background-color-hue)
var(--background-color-saturation)
calc(var(--background-color-brightness) - 50%);
}
/* Logo Image */
img[alt="Appwrite"],
.logo-dark img,
.logo-light img,
img[alt="Appwrite Logo"] {
content: var(--logo-image);
width: auto;
}
/* Background Image */
section.u-flex.u-flex-vertical.side-default {
background-image: var(--background-image);
z-index: -1 !important;
}
/* Tagline Gradient */
div.tag-line {
background: linear-gradient(45deg, #fff, #fff 60%, #000000) !important;
background-clip: text !important;
}
/* Underscore Color */
span.underscore {
-webkit-text-fill-color: hsl(var(--color-primary-100)) !important;
}
/* Loading Spinner */
.animation > div {
border-color: hsl(var(--color-primary-100)) transparent transparent
transparent !important;
}
/* Color for Bar Graphs */
path[fill="#F02E65"] {
fill: hsl(var(--color-primary-300)) !important;
}
/* Hover Color for Bar Graphs */
.echart svg g path:not([fill="transparent"]) {
fill: hsl(var(--color-primary-100));
}
/* Color for Line Graphs */
path[stroke="#F02E65"] {
stroke: hsl(var(--color-primary-300)) !important;
}
/* Hover Color for Line Graphs & Regular Styling */
.echart > div > svg > g > g > path {
stroke: hsl(var(--color-primary-100));
filter: none;
fill: hsla(var(--color-primary-100), 0.1);
}
/* Shape Colors */
*[style*="background-color:#F02E65"] {
background-color: hsl(var(--color-primary-100)) !important;
}
/* Hover Div Background Color */
div[style*="z-index: 9999999"][style*="position: absolute"][style*="pointer-events: none"] {
background-color: hsl(var(--color-neutral-95)) !important;
border: none !important;
}
/* Appwrite Guide Images */
img[alt="create"] {
filter: hue-rotate(calc(var(--primary-color-hue) + 15deg))
brightness(calc(var(--primary-color-brightness) + 45%))
saturate(var(--primary-color-saturation));
}
/* User Avatar Coloring */
button.user-profile-button > img.avatar {
background-color: hsl(var(--color-neutral-105)) !important;
filter: hue-rotate(calc(var(--primary-color-hue) + 125deg))
brightness(calc(var(--primary-color-brightness) + 40%))
saturate(var(--primary-color-saturation));
}