root / GES_PAC / Resources / Styles / Styles.xaml @ 4afea73d
Historique | Voir | Annoter | Télécharger (27,342 ko)
1 | 09d4a0de | lbihannic | <?xml version="1.0" encoding="UTF-8" ?>
|
---|---|---|---|
2 | 65ad7e66 | Lucas Bihannic | <?xaml-comp compile="true" ?>
|
3 | 18f910c6 | Lucas Bihannic | <ResourceDictionary xmlns="http://schemas.microsoft.com/dotnet/2021/maui" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"> |
4 | 65ad7e66 | Lucas Bihannic | |
5 | <Style TargetType="ActivityIndicator"> |
||
6 | <Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
7 | </Style>
|
||
8 | |||
9 | <Style TargetType="IndicatorView"> |
||
10 | 18f910c6 | Lucas Bihannic | <Setter Property="IndicatorColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" /> |
11 | <Setter Property="SelectedIndicatorColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray100}}" /> |
||
12 | 65ad7e66 | Lucas Bihannic | </Style>
|
13 | |||
14 | <Style TargetType="Border"> |
||
15 | <Setter Property="Stroke" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" /> |
||
16 | 18f910c6 | Lucas Bihannic | <Setter Property="StrokeShape" Value="Rectangle" /> |
17 | <Setter Property="StrokeThickness" Value="1" /> |
||
18 | 65ad7e66 | Lucas Bihannic | </Style>
|
19 | |||
20 | <Style TargetType="BoxView"> |
||
21 | 18f910c6 | Lucas Bihannic | <Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" /> |
22 | 65ad7e66 | Lucas Bihannic | </Style>
|
23 | |||
24 | <Style TargetType="Button"> |
||
25 | 18f910c6 | Lucas Bihannic | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Primary}}" /> |
26 | <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
27 | <Setter Property="FontFamily" Value="OpenSansRegular" /> |
||
28 | <Setter Property="FontSize" Value="14" /> |
||
29 | <Setter Property="CornerRadius" Value="8" /> |
||
30 | <Setter Property="MinimumHeightRequest" Value="44" /> |
||
31 | <Setter Property="MinimumWidthRequest" Value="44" /> |
||
32 | 65ad7e66 | Lucas Bihannic | <Setter Property="VisualStateManager.VisualStateGroups"> |
33 | <VisualStateGroupList>
|
||
34 | <VisualStateGroup x:Name="CommonStates"> |
||
35 | <VisualState x:Name="Normal" /> |
||
36 | <VisualState x:Name="Disabled"> |
||
37 | <VisualState.Setters>
|
||
38 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" /> |
||
39 | <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray600}}" /> |
||
40 | </VisualState.Setters>
|
||
41 | </VisualState>
|
||
42 | </VisualStateGroup>
|
||
43 | </VisualStateGroupList>
|
||
44 | </Setter>
|
||
45 | </Style>
|
||
46 | |||
47 | <Style TargetType="CheckBox"> |
||
48 | <Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
49 | 18f910c6 | Lucas Bihannic | <Setter Property="MinimumHeightRequest" Value="44" /> |
50 | <Setter Property="MinimumWidthRequest" Value="44" /> |
||
51 | 65ad7e66 | Lucas Bihannic | <Setter Property="VisualStateManager.VisualStateGroups"> |
52 | <VisualStateGroupList>
|
||
53 | <VisualStateGroup x:Name="CommonStates"> |
||
54 | <VisualState x:Name="Normal" /> |
||
55 | <VisualState x:Name="Disabled"> |
||
56 | <VisualState.Setters>
|
||
57 | <Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
58 | </VisualState.Setters>
|
||
59 | </VisualState>
|
||
60 | </VisualStateGroup>
|
||
61 | </VisualStateGroupList>
|
||
62 | </Setter>
|
||
63 | </Style>
|
||
64 | |||
65 | <Style TargetType="DatePicker"> |
||
66 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" /> |
||
67 | <Setter Property="BackgroundColor" Value="Transparent" /> |
||
68 | 18f910c6 | Lucas Bihannic | <Setter Property="FontFamily" Value="OpenSansRegular" /> |
69 | <Setter Property="FontSize" Value="14" /> |
||
70 | <Setter Property="MinimumHeightRequest" Value="44" /> |
||
71 | <Setter Property="MinimumWidthRequest" Value="44" /> |
||
72 | 65ad7e66 | Lucas Bihannic | <Setter Property="VisualStateManager.VisualStateGroups"> |
73 | <VisualStateGroupList>
|
||
74 | <VisualStateGroup x:Name="CommonStates"> |
||
75 | <VisualState x:Name="Normal" /> |
||
76 | <VisualState x:Name="Disabled"> |
||
77 | <VisualState.Setters>
|
||
78 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" /> |
||
79 | </VisualState.Setters>
|
||
80 | </VisualState>
|
||
81 | </VisualStateGroup>
|
||
82 | </VisualStateGroupList>
|
||
83 | </Setter>
|
||
84 | </Style>
|
||
85 | |||
86 | <Style TargetType="Editor"> |
||
87 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" /> |
||
88 | <Setter Property="BackgroundColor" Value="Transparent" /> |
||
89 | 18f910c6 | Lucas Bihannic | <Setter Property="FontFamily" Value="OpenSansRegular" /> |
90 | 65ad7e66 | Lucas Bihannic | <Setter Property="FontSize" Value="14" /> |
91 | <Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" /> |
||
92 | 18f910c6 | Lucas Bihannic | <Setter Property="MinimumHeightRequest" Value="44" /> |
93 | <Setter Property="MinimumWidthRequest" Value="44" /> |
||
94 | 65ad7e66 | Lucas Bihannic | <Setter Property="VisualStateManager.VisualStateGroups"> |
95 | <VisualStateGroupList>
|
||
96 | <VisualStateGroup x:Name="CommonStates"> |
||
97 | <VisualState x:Name="Normal" /> |
||
98 | <VisualState x:Name="Disabled"> |
||
99 | <VisualState.Setters>
|
||
100 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
101 | </VisualState.Setters>
|
||
102 | </VisualState>
|
||
103 | </VisualStateGroup>
|
||
104 | </VisualStateGroupList>
|
||
105 | </Setter>
|
||
106 | </Style>
|
||
107 | |||
108 | <Style TargetType="Entry"> |
||
109 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" /> |
||
110 | <Setter Property="BackgroundColor" Value="Transparent" /> |
||
111 | 18f910c6 | Lucas Bihannic | <Setter Property="FontFamily" Value="OpenSansRegular" /> |
112 | 65ad7e66 | Lucas Bihannic | <Setter Property="FontSize" Value="14" /> |
113 | <Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" /> |
||
114 | 18f910c6 | Lucas Bihannic | <Setter Property="MinimumHeightRequest" Value="44" /> |
115 | <Setter Property="MinimumWidthRequest" Value="44" /> |
||
116 | 65ad7e66 | Lucas Bihannic | <Setter Property="VisualStateManager.VisualStateGroups"> |
117 | <VisualStateGroupList>
|
||
118 | <VisualStateGroup x:Name="CommonStates"> |
||
119 | <VisualState x:Name="Normal" /> |
||
120 | <VisualState x:Name="Disabled"> |
||
121 | <VisualState.Setters>
|
||
122 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
123 | </VisualState.Setters>
|
||
124 | </VisualState>
|
||
125 | </VisualStateGroup>
|
||
126 | </VisualStateGroupList>
|
||
127 | </Setter>
|
||
128 | </Style>
|
||
129 | |||
130 | <Style TargetType="Frame"> |
||
131 | <Setter Property="HasShadow" Value="False" /> |
||
132 | <Setter Property="BorderColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" /> |
||
133 | <Setter Property="CornerRadius" Value="8" /> |
||
134 | </Style>
|
||
135 | |||
136 | <Style TargetType="ImageButton"> |
||
137 | <Setter Property="Opacity" Value="1" /> |
||
138 | 18f910c6 | Lucas Bihannic | <Setter Property="BorderColor" Value="Transparent" /> |
139 | <Setter Property="BorderWidth" Value="0" /> |
||
140 | <Setter Property="CornerRadius" Value="0" /> |
||
141 | <Setter Property="MinimumHeightRequest" Value="44" /> |
||
142 | <Setter Property="MinimumWidthRequest" Value="44" /> |
||
143 | 65ad7e66 | Lucas Bihannic | <Setter Property="VisualStateManager.VisualStateGroups"> |
144 | <VisualStateGroupList>
|
||
145 | <VisualStateGroup x:Name="CommonStates"> |
||
146 | <VisualState x:Name="Normal" /> |
||
147 | <VisualState x:Name="Disabled"> |
||
148 | <VisualState.Setters>
|
||
149 | <Setter Property="Opacity" Value="0.5" /> |
||
150 | </VisualState.Setters>
|
||
151 | </VisualState>
|
||
152 | </VisualStateGroup>
|
||
153 | </VisualStateGroupList>
|
||
154 | </Setter>
|
||
155 | </Style>
|
||
156 | |||
157 | <Style TargetType="Label"> |
||
158 | 18f910c6 | Lucas Bihannic | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" /> |
159 | 65ad7e66 | Lucas Bihannic | <Setter Property="BackgroundColor" Value="Transparent" /> |
160 | <Setter Property="FontFamily" Value="OpenSansRegular" /> |
||
161 | <Setter Property="FontSize" Value="14" /> |
||
162 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
163 | <VisualStateGroupList>
|
||
164 | <VisualStateGroup x:Name="CommonStates"> |
||
165 | <VisualState x:Name="Normal" /> |
||
166 | <VisualState x:Name="Disabled"> |
||
167 | <VisualState.Setters>
|
||
168 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
169 | </VisualState.Setters>
|
||
170 | </VisualState>
|
||
171 | </VisualStateGroup>
|
||
172 | </VisualStateGroupList>
|
||
173 | </Setter>
|
||
174 | </Style>
|
||
175 | |||
176 | <Style TargetType="ListView"> |
||
177 | <Setter Property="SeparatorColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray500}}" /> |
||
178 | <Setter Property="RefreshControlColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" /> |
||
179 | </Style>
|
||
180 | |||
181 | <Style TargetType="Picker"> |
||
182 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" /> |
||
183 | <Setter Property="TitleColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" /> |
||
184 | <Setter Property="BackgroundColor" Value="Transparent" /> |
||
185 | 18f910c6 | Lucas Bihannic | <Setter Property="FontFamily" Value="OpenSansRegular" /> |
186 | 65ad7e66 | Lucas Bihannic | <Setter Property="FontSize" Value="14" /> |
187 | 18f910c6 | Lucas Bihannic | <Setter Property="MinimumHeightRequest" Value="44" /> |
188 | <Setter Property="MinimumWidthRequest" Value="44" /> |
||
189 | 65ad7e66 | Lucas Bihannic | <Setter Property="VisualStateManager.VisualStateGroups"> |
190 | <VisualStateGroupList>
|
||
191 | <VisualStateGroup x:Name="CommonStates"> |
||
192 | <VisualState x:Name="Normal" /> |
||
193 | <VisualState x:Name="Disabled"> |
||
194 | <VisualState.Setters>
|
||
195 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
196 | <Setter Property="TitleColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
197 | </VisualState.Setters>
|
||
198 | </VisualState>
|
||
199 | </VisualStateGroup>
|
||
200 | </VisualStateGroupList>
|
||
201 | </Setter>
|
||
202 | </Style>
|
||
203 | |||
204 | <Style TargetType="ProgressBar"> |
||
205 | <Setter Property="ProgressColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
206 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
207 | <VisualStateGroupList>
|
||
208 | <VisualStateGroup x:Name="CommonStates"> |
||
209 | <VisualState x:Name="Normal" /> |
||
210 | <VisualState x:Name="Disabled"> |
||
211 | <VisualState.Setters>
|
||
212 | <Setter Property="ProgressColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
213 | </VisualState.Setters>
|
||
214 | </VisualState>
|
||
215 | </VisualStateGroup>
|
||
216 | </VisualStateGroupList>
|
||
217 | </Setter>
|
||
218 | </Style>
|
||
219 | |||
220 | <Style TargetType="RadioButton"> |
||
221 | 18f910c6 | Lucas Bihannic | <Setter Property="BackgroundColor" Value="Transparent" /> |
222 | 65ad7e66 | Lucas Bihannic | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Black}, Dark={StaticResource White}}" /> |
223 | 18f910c6 | Lucas Bihannic | <Setter Property="FontFamily" Value="OpenSansRegular" /> |
224 | <Setter Property="FontSize" Value="14" /> |
||
225 | <Setter Property="MinimumHeightRequest" Value="44" /> |
||
226 | <Setter Property="MinimumWidthRequest" Value="44" /> |
||
227 | 65ad7e66 | Lucas Bihannic | <Setter Property="VisualStateManager.VisualStateGroups"> |
228 | <VisualStateGroupList>
|
||
229 | <VisualStateGroup x:Name="CommonStates"> |
||
230 | <VisualState x:Name="Normal" /> |
||
231 | <VisualState x:Name="Disabled"> |
||
232 | <VisualState.Setters>
|
||
233 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
234 | </VisualState.Setters>
|
||
235 | </VisualState>
|
||
236 | </VisualStateGroup>
|
||
237 | </VisualStateGroupList>
|
||
238 | </Setter>
|
||
239 | </Style>
|
||
240 | |||
241 | <Style TargetType="RefreshView"> |
||
242 | <Setter Property="RefreshColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" /> |
||
243 | </Style>
|
||
244 | |||
245 | <Style TargetType="SearchBar"> |
||
246 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" /> |
||
247 | <Setter Property="PlaceholderColor" Value="{StaticResource Gray500}" /> |
||
248 | <Setter Property="CancelButtonColor" Value="{StaticResource Gray500}" /> |
||
249 | <Setter Property="BackgroundColor" Value="Transparent" /> |
||
250 | <Setter Property="FontFamily" Value="OpenSansRegular" /> |
||
251 | <Setter Property="FontSize" Value="14" /> |
||
252 | 18f910c6 | Lucas Bihannic | <Setter Property="MinimumHeightRequest" Value="44" /> |
253 | <Setter Property="MinimumWidthRequest" Value="44" /> |
||
254 | 65ad7e66 | Lucas Bihannic | <Setter Property="VisualStateManager.VisualStateGroups"> |
255 | <VisualStateGroupList>
|
||
256 | <VisualStateGroup x:Name="CommonStates"> |
||
257 | <VisualState x:Name="Normal" /> |
||
258 | <VisualState x:Name="Disabled"> |
||
259 | <VisualState.Setters>
|
||
260 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
261 | <Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
262 | </VisualState.Setters>
|
||
263 | </VisualState>
|
||
264 | </VisualStateGroup>
|
||
265 | </VisualStateGroupList>
|
||
266 | </Setter>
|
||
267 | </Style>
|
||
268 | |||
269 | <Style TargetType="SearchHandler"> |
||
270 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" /> |
||
271 | <Setter Property="PlaceholderColor" Value="{StaticResource Gray500}" /> |
||
272 | <Setter Property="BackgroundColor" Value="Transparent" /> |
||
273 | <Setter Property="FontFamily" Value="OpenSansRegular" /> |
||
274 | <Setter Property="FontSize" Value="14" /> |
||
275 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
276 | <VisualStateGroupList>
|
||
277 | <VisualStateGroup x:Name="CommonStates"> |
||
278 | <VisualState x:Name="Normal" /> |
||
279 | <VisualState x:Name="Disabled"> |
||
280 | <VisualState.Setters>
|
||
281 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
282 | <Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
283 | </VisualState.Setters>
|
||
284 | </VisualState>
|
||
285 | </VisualStateGroup>
|
||
286 | </VisualStateGroupList>
|
||
287 | </Setter>
|
||
288 | </Style>
|
||
289 | |||
290 | <Style TargetType="Shadow"> |
||
291 | <Setter Property="Radius" Value="15" /> |
||
292 | <Setter Property="Opacity" Value="0.5" /> |
||
293 | <Setter Property="Brush" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource White}}" /> |
||
294 | <Setter Property="Offset" Value="10,10" /> |
||
295 | </Style>
|
||
296 | |||
297 | <Style TargetType="Slider"> |
||
298 | <Setter Property="MinimumTrackColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
299 | <Setter Property="MaximumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray600}}" /> |
||
300 | <Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
301 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
302 | <VisualStateGroupList>
|
||
303 | <VisualStateGroup x:Name="CommonStates"> |
||
304 | <VisualState x:Name="Normal" /> |
||
305 | <VisualState x:Name="Disabled"> |
||
306 | <VisualState.Setters>
|
||
307 | 18f910c6 | Lucas Bihannic | <Setter Property="MinimumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
308 | <Setter Property="MaximumTrackColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
309 | <Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
310 | 65ad7e66 | Lucas Bihannic | </VisualState.Setters>
|
311 | </VisualState>
|
||
312 | </VisualStateGroup>
|
||
313 | </VisualStateGroupList>
|
||
314 | </Setter>
|
||
315 | </Style>
|
||
316 | |||
317 | <Style TargetType="SwipeItem"> |
||
318 | <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" /> |
||
319 | </Style>
|
||
320 | |||
321 | <Style TargetType="Switch"> |
||
322 | <Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
323 | <Setter Property="ThumbColor" Value="{StaticResource White}" /> |
||
324 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
325 | <VisualStateGroupList>
|
||
326 | <VisualStateGroup x:Name="CommonStates"> |
||
327 | <VisualState x:Name="Normal" /> |
||
328 | <VisualState x:Name="Disabled"> |
||
329 | <VisualState.Setters>
|
||
330 | <Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
331 | <Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
332 | </VisualState.Setters>
|
||
333 | </VisualState>
|
||
334 | <VisualState x:Name="On"> |
||
335 | <VisualState.Setters>
|
||
336 | <Setter Property="OnColor" Value="{AppThemeBinding Light={StaticResource Secondary}, Dark={StaticResource Gray200}}" /> |
||
337 | <Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
338 | </VisualState.Setters>
|
||
339 | </VisualState>
|
||
340 | <VisualState x:Name="Off"> |
||
341 | <VisualState.Setters>
|
||
342 | <Setter Property="ThumbColor" Value="{AppThemeBinding Light={StaticResource Gray400}, Dark={StaticResource Gray500}}" /> |
||
343 | </VisualState.Setters>
|
||
344 | </VisualState>
|
||
345 | </VisualStateGroup>
|
||
346 | </VisualStateGroupList>
|
||
347 | </Setter>
|
||
348 | </Style>
|
||
349 | |||
350 | <Style TargetType="TimePicker"> |
||
351 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource White}}" /> |
||
352 | 18f910c6 | Lucas Bihannic | <Setter Property="BackgroundColor" Value="Transparent" /> |
353 | <Setter Property="FontFamily" Value="OpenSansRegular" /> |
||
354 | <Setter Property="FontSize" Value="14" /> |
||
355 | <Setter Property="MinimumHeightRequest" Value="44" /> |
||
356 | <Setter Property="MinimumWidthRequest" Value="44" /> |
||
357 | 65ad7e66 | Lucas Bihannic | <Setter Property="VisualStateManager.VisualStateGroups"> |
358 | <VisualStateGroupList>
|
||
359 | <VisualStateGroup x:Name="CommonStates"> |
||
360 | <VisualState x:Name="Normal" /> |
||
361 | <VisualState x:Name="Disabled"> |
||
362 | <VisualState.Setters>
|
||
363 | <Setter Property="TextColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray600}}" /> |
||
364 | </VisualState.Setters>
|
||
365 | </VisualState>
|
||
366 | </VisualStateGroup>
|
||
367 | </VisualStateGroupList>
|
||
368 | </Setter>
|
||
369 | </Style>
|
||
370 | |||
371 | 18f910c6 | Lucas Bihannic | <Style ApplyToDerivedTypes="True" TargetType="Page"> |
372 | <Setter Property="Padding" Value="0" /> |
||
373 | <Setter Property="BackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" /> |
||
374 | 65ad7e66 | Lucas Bihannic | </Style>
|
375 | |||
376 | 18f910c6 | Lucas Bihannic | <Style ApplyToDerivedTypes="True" TargetType="Shell"> |
377 | <Setter Property="Shell.BackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Gray950}}" /> |
||
378 | <Setter Property="Shell.ForegroundColor" Value="{OnPlatform WinUI={StaticResource Primary}, Default={StaticResource White}}" /> |
||
379 | <Setter Property="Shell.TitleColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource White}}" /> |
||
380 | 65ad7e66 | Lucas Bihannic | <Setter Property="Shell.DisabledColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" /> |
381 | <Setter Property="Shell.UnselectedColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray200}}" /> |
||
382 | <Setter Property="Shell.NavBarHasShadow" Value="False" /> |
||
383 | <Setter Property="Shell.TabBarBackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Black}}" /> |
||
384 | 18f910c6 | Lucas Bihannic | <Setter Property="Shell.TabBarForegroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
385 | <Setter Property="Shell.TabBarTitleColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
||
386 | 65ad7e66 | Lucas Bihannic | <Setter Property="Shell.TabBarUnselectedColor" Value="{AppThemeBinding Light={StaticResource Gray900}, Dark={StaticResource Gray200}}" /> |
387 | </Style>
|
||
388 | |||
389 | <Style TargetType="NavigationPage"> |
||
390 | 18f910c6 | Lucas Bihannic | <Setter Property="BarBackgroundColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource Gray950}}" /> |
391 | 65ad7e66 | Lucas Bihannic | <Setter Property="BarTextColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource White}}" /> |
392 | <Setter Property="IconColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource White}}" /> |
||
393 | </Style>
|
||
394 | |||
395 | <Style TargetType="TabbedPage"> |
||
396 | <Setter Property="BarBackgroundColor" Value="{AppThemeBinding Light={StaticResource White}, Dark={StaticResource Gray950}}" /> |
||
397 | 18f910c6 | Lucas Bihannic | <Setter Property="BarTextColor" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" /> |
398 | 65ad7e66 | Lucas Bihannic | <Setter Property="UnselectedTabColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" /> |
399 | <Setter Property="SelectedTabColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" /> |
||
400 | </Style>
|
||
401 | |||
402 | 18f910c6 | Lucas Bihannic | |
403 | <Style x:Key="btnPlus" TargetType="Button"> |
||
404 | <Setter Property="BackgroundColor" Value="{StaticResource InraePrimary}" /> |
||
405 | <Setter Property="TextColor" Value="White" /> |
||
406 | <Setter Property="CornerRadius" Value="10" /> |
||
407 | <Setter Property="Padding" Value="14,10" /> |
||
408 | <Setter Property="FontSize" Value="Medium" /> |
||
409 | </Style>
|
||
410 | <Style x:Key="btnValidate" TargetType="Button"> |
||
411 | <Setter Property="BackgroundColor" Value="{StaticResource InraePrimary}" /> |
||
412 | <Setter Property="TextColor" Value="White" /> |
||
413 | <Setter Property="CornerRadius" Value="10" /> |
||
414 | <Setter Property="Padding" Value="14,10" /> |
||
415 | <Setter Property="FontSize" Value="Medium" /> |
||
416 | </Style>
|
||
417 | <Style x:Key="btnUpdate" TargetType="Button"> |
||
418 | <Setter Property="BackgroundColor" Value="{StaticResource InraeSecondary}" /> |
||
419 | <Setter Property="TextColor" Value="White" /> |
||
420 | <Setter Property="CornerRadius" Value="10" /> |
||
421 | <Setter Property="Padding" Value="14,10" /> |
||
422 | <Setter Property="FontSize" Value="Medium" /> |
||
423 | </Style>
|
||
424 | <Style x:Key="btnNormal" TargetType="Button"> |
||
425 | <Setter Property="TextColor" Value="White" /> |
||
426 | <Setter Property="CornerRadius" Value="10" /> |
||
427 | <Setter Property="Padding" Value="14,10" /> |
||
428 | <Setter Property="FontSize" Value="Medium" /> |
||
429 | </Style>
|
||
430 | <Style x:Key="btnAccueil" TargetType="Button"> |
||
431 | <Setter Property="TextColor" Value="White" /> |
||
432 | <Setter Property="CornerRadius" Value="10" /> |
||
433 | <Setter Property="Padding" Value="14,10" /> |
||
434 | <Setter Property="Margin" Value="0,10" /> |
||
435 | <Setter Property="FontSize" Value="Medium" /> |
||
436 | </Style>
|
||
437 | <Style x:Key="btnRAZ" TargetType="Button"> |
||
438 | <Setter Property="BackgroundColor" Value="{StaticResource InraeGray}" /> |
||
439 | <Setter Property="TextColor" Value="White" /> |
||
440 | <Setter Property="CornerRadius" Value="10" /> |
||
441 | <Setter Property="Padding" Value="14,10" /> |
||
442 | <Setter Property="FontSize" Value="Medium" /> |
||
443 | </Style>
|
||
444 | <Style x:Key="btnCancel" TargetType="Button"> |
||
445 | <Setter Property="BackgroundColor" Value="{StaticResource InraeGray}" /> |
||
446 | <Setter Property="TextColor" Value="White" /> |
||
447 | <Setter Property="CornerRadius" Value="10" /> |
||
448 | <Setter Property="Padding" Value="14,10" /> |
||
449 | <Setter Property="FontSize" Value="Medium" /> |
||
450 | </Style>
|
||
451 | <Style x:Key="btnDelete" TargetType="Button"> |
||
452 | <Setter Property="BackgroundColor" Value="{StaticResource InraeDelete}" /> |
||
453 | <Setter Property="TextColor" Value="White" /> |
||
454 | <Setter Property="CornerRadius" Value="10" /> |
||
455 | <Setter Property="Padding" Value="14,10" /> |
||
456 | <Setter Property="FontSize" Value="Medium" /> |
||
457 | </Style>
|
||
458 | |||
459 | <Style x:Key="textInfoAccueilStyle" TargetType="Label"> |
||
460 | <Setter Property="BackgroundColor" Value="{StaticResource InraeTertiary}" /> |
||
461 | <Setter Property="TextColor" Value="White" /> |
||
462 | <Setter Property="FontSize" Value="Medium" /> |
||
463 | <Setter Property="Padding" Value="10" /> |
||
464 | |||
465 | |||
466 | </Style>
|
||
467 | <Style x:Key="textTitre" TargetType="Label"> |
||
468 | <Setter Property="TextColor" Value="{StaticResource InraePrimary}" /> |
||
469 | <Setter Property="HorizontalTextAlignment" Value="Center" /> |
||
470 | <Setter Property="FontSize" Value="Large" /> |
||
471 | |||
472 | </Style>
|
||
473 | |||
474 | <Style x:Key="textLabel" TargetType="Label"> |
||
475 | <Setter Property="TextColor" Value="{StaticResource InraeTertiary}" /> |
||
476 | <Setter Property="FontSize" Value="Medium" /> |
||
477 | </Style>
|
||
478 | 09d4a0de | lbihannic | |
479 | |||
480 | <!-- STYLE PROPRE A GES_PAC -->
|
||
481 | <Style x:Key="ChambreButtonStyle" TargetType="Button"> |
||
482 | <Setter Property="BackgroundColor" Value="White"/> |
||
483 | <Setter Property="TextColor" Value="Black"/> |
||
484 | <Setter Property="BorderColor" Value="Black"/> |
||
485 | <Setter Property="BorderWidth" Value="1"/> |
||
486 | <Setter Property="CornerRadius" Value="5"/> |
||
487 | <Setter Property="WidthRequest" Value="75"/> |
||
488 | <Setter Property="HeightRequest" Value="75"/> |
||
489 | <Setter Property="FontAttributes" Value="Bold"/> |
||
490 | <Setter Property="VisualStateManager.VisualStateGroups"> |
||
491 | <VisualStateGroupList>
|
||
492 | <VisualStateGroup x:Name="CommonStates"> |
||
493 | 4afea73d | lbihannic | <VisualState x:Name="Pressed"> |
494 | 09d4a0de | lbihannic | <VisualState.Setters>
|
495 | 4afea73d | lbihannic | <Setter Property="Opacity" Value="0.6" /> |
496 | 09d4a0de | lbihannic | </VisualState.Setters>
|
497 | </VisualState>
|
||
498 | 4afea73d | lbihannic | <VisualState x:Name="Normal"> |
499 | 09d4a0de | lbihannic | <VisualState.Setters>
|
500 | 4afea73d | lbihannic | <Setter Property="Opacity" Value="1" /> |
501 | 09d4a0de | lbihannic | </VisualState.Setters>
|
502 | </VisualState>
|
||
503 | </VisualStateGroup>
|
||
504 | </VisualStateGroupList>
|
||
505 | </Setter>
|
||
506 | </Style>
|
||
507 | |||
508 | |||
509 | |||
510 | 65ad7e66 | Lucas Bihannic | </ResourceDictionary> |