(Visuals) Added visual indices
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / styles / 480x800 / dali-toolkit-default-theme.json
1 /*
2  * Copyright (c) 2016 Samsung Electronics Co., Ltd.
3  *
4  * This file is part of Dali Toolkit
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18
19
20 //******************************************************************************
21 //
22 // Default Reference style theme for a 480x800 resolution, The values determined by UX design specification.
23 // This file can be copied to a new folder within the styles/ directory and amended with new default values.
24 // Can be overriden if StyleManager applies another style sheet.
25 //
26 //******************************************************************************
27
28 {
29   "styles":
30   {
31     "textlabel":
32     {
33       "pointSize":18,
34       "enableAutoScroll":false,
35       "autoScrollLoopCount":2,
36       "autoScrollGap":50,
37       "autoScrollSpeed":80
38     },
39
40     "textlabelFontSize0":
41     {
42       "pointSize":8
43     },
44     "textlabelFontSize1":
45     {
46       "pointSize":10
47     },
48     "textlabelFontSize2":
49     {
50       "pointSize":15
51     },
52     "textlabelFontSize3":
53     {
54       "pointSize":19
55     },
56     "textlabelFontSize4":
57     {
58       "pointSize":25
59     },
60
61     "textfield":
62     {
63       "pointSize":18,
64       "primaryCursorColor":[0.0,0.72,0.9,1.0],
65       "secondaryCursorColor":[0.0,0.72,0.9,1.0],
66       "cursorWidth":1,
67       "selectionHighlightColor":[0.75,0.96,1.0,1.0],
68       "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
69       "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
70       "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
71     },
72
73     "textfieldFontSize0":
74     {
75       "pointSize":10
76     },
77     "textfieldFontSize1":
78     {
79       "pointSize":10
80     },
81     "textfieldFontSize2":
82     {
83       "pointSize":10
84     },
85     "textfieldFontSize3":
86     {
87       "pointSize":10
88     },
89     "textfieldFontSize4":
90     {
91       "pointSize":10
92     },
93     "textselectionpopup":
94     {
95       "popupMaxSize":[400,100],
96       "optionDividerSize":[2,0],
97       "popupDividerColor":[0.23,0.72,0.8,0.11],
98       "popupIconColor":[1.0,1.0,1.0,1.0],
99       "popupPressedColor":[0.24,0.72,0.8,0.11],
100       "background": {
101         "visualType": "IMAGE",
102         "url": "{DALI_IMAGE_DIR}selection-popup-bg.9.png"
103         },
104       "popupFadeInDuration":0.25,
105       "popupFadeOutDuration":0.25
106     },
107     "textselectionpopupbutton":
108     {
109       "label":
110       {
111         "pointSize":8,
112         "fontStyle":"{\"weight\":\"light\"}"
113       }
114     },
115     "textselectiontoolbar":
116     {
117       "enableOvershoot":true,
118       "scrollView":
119       {
120         "overshootAnimationSpeed":120.0,
121         "overshootSize":[480.0,42.0]
122       }
123     },
124     "scrollview":
125     {
126       "overshootEffectColor":"B018",
127       "overshootAnimationSpeed":120.0,
128       "overshootSize":[480.0,42.0]
129     },
130     "itemview":
131     {
132       "overshootEffectColor":"B018",
133       "overshootAnimationSpeed":120.0,
134       "overshootSize":[480.0,42.0]
135     },
136     "texteditor":
137     {
138       "pointSize":18,
139       "primaryCursorColor":[0.0,0.72,0.9,1.0],
140       "secondaryCursorColor":[0.0,0.72,0.9,1.0],
141       "cursorWidth":1,
142       "selectionHighlightColor":[0.75,0.96,1.0,1.0],
143       "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
144       "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
145       "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
146     },
147     "popup":
148     {
149       "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png"
150     },
151     "confirmationpopup":
152     {
153       "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png"
154     }
155   }
156 }