[dali_1.2.30] Merge branch 'devel/master'
[platform/core/uifw/dali-toolkit.git] / automated-tests / src / dali-toolkit-styling / default-theme.json
1 {
2   "constants":
3   {
4     "CONFIG_SCRIPT_LOG_LEVEL":"NoLogging"
5   },
6   "styles":
7   {
8     "textlabel":
9     {
10       "pointSize":18
11     },
12
13     "textlabelFontSize0":
14     {
15       "pointSize":8
16     },
17     "textlabelFontSize1":
18     {
19       "pointSize":10
20     },
21     "textlabelFontSize2":
22     {
23       "pointSize":15
24     },
25     "textlabelFontSize3":
26     {
27       "pointSize":19
28     },
29     "textlabelFontSize4":
30     {
31       "pointSize":25
32     },
33
34     "textfield":
35     {
36       "pointSize":18,
37       "primaryCursorColor":[0.0,0.72,0.9,1.0],
38       "secondaryCursorColor":[0.0,0.72,0.9,1.0],
39       "cursorWidth":3,
40       "selectionHighlightColor":[0.75,0.96,1.0,1.0],
41       "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
42       "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
43       "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
44     },
45
46     "textfieldFontSize0":
47     {
48       "pointSize":10
49     },
50     "textfieldFontSize1":
51     {
52       "pointSize":10
53     },
54     "textfieldFontSize2":
55     {
56       "pointSize":10
57     },
58     "textfieldFontSize3":
59     {
60       "pointSize":10
61     },
62     "textfieldFontSize4":
63     {
64       "pointSize":10
65     },
66     "textselectionpopup":
67     {
68       "popupMaxSize":[656,72],
69       "optionDividerSize":[2,0],
70       "popupDividerColor":[0.23,0.72,0.8,0.11],
71       "popupIconColor":[1.0,1.0,1.0,1.0],
72       "popupPressedColor":[0.24,0.72,0.8,0.11],
73       "background": {
74         "rendererType": "nPatch",
75         "imageUrl": "{DALI_IMAGE_DIR}selection-popup-bg.9.png"
76         },
77       "popupFadeInDuration":0.25,
78       "popupFadeOutDuration":0.25
79     },
80     "textselectionpopupbutton":
81     {
82       "label":
83       {
84         "pointSize":8,
85         "fontStyle": { "weight":"light" }
86       }
87     },
88     "textselectiontoolbar":
89     {
90       "enableOvershoot":true,
91       "scrollView":
92       {
93         "overshootAnimationSpeed":360.0,
94         "overshootSize":[720.0,130.0]
95       }
96     },
97     "scrollview":
98     {
99       "overshootEffectColor":"B018",
100       "overshootAnimationSpeed":360.0,
101       "overshootSize":[720.0,130.0]
102     },
103     "itemview":
104     {
105       "overshootEffectColor":"B018",
106       "overshootAnimationSpeed":360.0,
107       "overshootSize":[720.0,130.0]
108     },
109     "texteditor":
110     {
111       "pointSize":18,
112       "primaryCursorColor":[0.0,0.72,0.9,1.0],
113       "secondaryCursorColor":[0.0,0.72,0.9,1.0],
114       "cursorWidth":3,
115       "selectionHighlightColor":[0.75,0.96,1.0,1.0],
116       "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
117       "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
118       "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
119     },
120     "ComplexControl":
121     {
122       "states":
123       {
124         "NORMAL":
125         {
126           "states":
127           {
128             "SELECTED":
129             {
130               "visuals":
131               {
132                 "testVisual":
133                 {
134                   "visualType":"IMAGE",
135                   "url":"0001.png"
136                 },
137                 "testVisual2":
138                 {
139                   "visualType":"GRADIENT",
140                   "startPosition": [-1, -1],
141                   "endPosition": [1, 1],
142                   "spreadMethod": "REPEAT",
143                   "stopOffset": [0.2, 0.8],
144                   "stopColor": [ [ 1,0,0,1], [0,1,0,1] ]
145                 },
146                 "foregroundVisual":
147                 {
148                   "visualType":"IMAGE",
149                   "url":"theSameImage.png"
150                 },
151                 "labelVisual":
152                 {
153                   "visualType":"TEXT",
154                   "pointSize":8,
155                   "text":"Some text"
156                 }
157               }
158             },
159             "UNSELECTED":
160             {
161               "visuals":
162               {
163                 "testVisual":
164                 {
165                   "visualType":"IMAGE",
166                   "url":"0002.png"
167                 },
168                 "testVisual2":
169                 {
170                   "visualType":"COLOR",
171                   "mixColor": [ 1,0,0,1]
172                 },
173                 "foregroundVisual":
174                 {
175                   "visualType":"IMAGE",
176                   "url":"theSameImage.png"
177                 },
178                 "labelVisual":
179                 {
180                   "visualType":"TEXT",
181                   "pointSize":8,
182                   "text":"Some different text"
183                 }
184               }
185             }
186           },
187           "transitions":
188           {
189             "visualName":"*",
190             "effect":"CROSSFADE",
191             "animator":
192             {
193               "alphaFunction":"EASE_IN_OUT",
194               "duration":0.3
195             }
196           }
197         },
198         "FOCUSED":
199         {
200           "visuals":
201           {
202             "foregroundVisual":
203             {
204               "visualType":"GRADIENT",
205               "startPosition": [-1, -1],
206               "endPosition": [1, 1],
207               "spreadMethod": "REPEAT",
208               "stopOffset": [0.3, 0.9],
209               "stopColor": [ [ 0,0,1,1], [0,1,1,1] ]
210             },
211             "focusVisual":
212             {
213               "visualType":"NPATCH",
214               "url": "focus.9.png"
215             }
216           },
217           "entryTransition":
218           {
219             "target":"focusVisual",
220             "property":"mixColor",
221             "initialValue":[0,0,0,0],
222             "targetValue":[1,1,1,1],
223             "animator":
224             {
225               "alphaFunction":"EASE_IN_OUT_SINE",
226               "timePeriod":
227               {
228                 "duration":0.5,
229                 "delay":0
230               }
231             }
232           },
233           "exitTransition":
234           {
235             "target":"focusVisual",
236             "property":"mixColor",
237             "initialValue":[1,1,1,1],
238             "targetValue":[0,0,0,0],
239             "animator":
240             {
241               "alphaFunction":"EASE_IN_OUT_SINE",
242               "timePeriod":
243               {
244                 "duration":0.5,
245                 "delay":0
246               }
247             }
248           }
249         },
250         "DISABLED":
251         {
252           "states":
253           {
254             "SELECTED":
255             {
256               "visuals":
257               {
258                 "testVisual":
259                 {
260                   "visualType":"IMAGE",
261                   "url":"0001.png"
262                 },
263                 "testVisual2":
264                 {
265                   "visualType":"GRADIENT",
266                   "startPosition": [-1, -1],
267                   "endPosition": [1, 1],
268                   "spreadMethod": "REPEAT",
269                   "stopOffset": [0.2, 0.8],
270                   "stopColor": [ [ 1,0,0,1], [0,1,0,1] ]
271                 }
272               }
273             }
274           },
275           "visuals":
276           {
277             "foregroundVisual":
278             {
279               "visualType":"COLOR",
280               "mixColor": [1,0,0,1]
281             }
282           }
283         }
284       },
285       "transitions":
286       [
287         {
288           "effect":"CROSSFADE",
289           "animator":
290           {
291             "alphaFunction":"EASE_IN_OUT",
292             "duration":0.3
293           }
294         }
295       ]
296     },
297     "BasicControl":
298     {
299       "states":
300       {
301         "NORMAL":
302         {
303           "visuals":
304           {
305             "foregroundVisual":
306             {
307               "visualType":"GRADIENT",
308               "startPosition": [-1, -1],
309               "endPosition": [1, 1],
310               "spreadMethod": "REPEAT",
311               "stopOffset": [0.2, 0.8],
312               "stopColor": [ [ 1,0,0,1], [0,1,0,1] ]
313             },
314             "labelVisual":
315             {
316               "visualType":"TEXT",
317               "pointSize":8,
318               "textColor":[1,0,1,1]
319             }
320           }
321         },
322         "FOCUSED":
323         {
324           "visuals":
325           {
326             "foregroundVisual":
327             {
328               "visualType":"GRADIENT",
329               "startPosition": [-1, -1],
330               "endPosition": [1, 1],
331               "spreadMethod": "REPEAT",
332               "stopOffset": [0.3, 0.9],
333               "stopColor": [ [ 0,0,1,1], [0,1,1,1] ]
334             },
335             "labelVisual":
336             {
337               "visualType":"TEXT",
338               "pointSize":10
339             },
340             "focusVisual":
341             {
342               "visualType":"IMAGE",
343               "url": "focus.png"
344             }
345           },
346           "entryTransition":
347           {
348             "target":"focusVisual",
349             "property":"mixColor",
350             "initialValue":[0,0,0,0],
351             "targetValue":[1,1,1,1],
352             "animator":
353             {
354               "alphaFunction":"EASE_IN_OUT_SINE",
355               "timePeriod":
356               {
357                 "duration":0.5,
358                 "delay":0
359               }
360             }
361           },
362           "exitTransition":
363           {
364             "target":"focusVisual",
365             "property":"mixColor",
366             "initialValue":[1,1,1,1],
367             "targetValue":[0,0,0,0],
368             "animator":
369             {
370               "alphaFunction":"EASE_IN_OUT_SINE",
371               "timePeriod":
372               {
373                 "duration":0.5,
374                 "delay":0
375               }
376             }
377           }
378         },
379         "DISABLED":
380         {
381           "visuals":
382           {
383             "foregroundVisual":
384             {
385               "visualType":"COLOR",
386               "mixColor": [1,0,0,1]
387             },
388             "labelVisual":
389             {
390               "visualType":"TEXT",
391               "pointSize":9,
392               "textColor":[1,1,1,1]
393             }
394           }
395         }
396       },
397       "transitions":
398       [
399         {
400           "effect":"CROSSFADE",
401           "animator":
402           {
403             "alphaFunction":"EASE_IN_OUT",
404             "duration":0.3
405           }
406         }
407       ]
408     },
409     "NoStateStyle":
410     {
411       "testVisual2":
412       {
413         "visualType":"COLOR",
414         "mixColor":[1,1,1,1]
415       }
416     }
417   }
418 }