Merge "[3.0] Fixed to show selection pop up after pasting from clipboard" into tizen_3.0
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / styles / 1920x1080 / 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 1920x1080 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":108,
34       "enableAutoScroll":false,
35       "autoScrollLoopCount":2,
36       "autoScrollGap":50,
37       "autoScrollSpeed":80
38     },
39
40     "TextLabelFontSize0":
41     {
42       "pointSize":84
43     },
44     "TextLabelFontSize1":
45     {
46       "pointSize":96
47     },
48     "TextLabelFontSize2":
49     {
50       "pointSize":108
51     },
52     "TextLabelFontSize3":
53     {
54       "pointSize":120
55     },
56     "TextLabelFontSize4":
57     {
58       "pointSize":132
59     },
60
61     "TextField":
62     {
63       "pointSize":120,
64       "primaryCursorColor":[0.0,0.72,0.9,1.0],
65       "secondaryCursorColor":[0.0,0.72,0.9,1.0],
66       "cursorWidth":6,
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":120
76     },
77     "TextFieldFontSize1":
78     {
79       "pointSize":120
80     },
81     "TextFieldFontSize2":
82     {
83       "pointSize":120
84     },
85     "TextFieldFontSize3":
86     {
87       "pointSize":120
88     },
89     "TextFieldFontSize4":
90     {
91       "pointSize":120
92     },
93     "TextSelectionPopup":
94     {
95       "popupMaxSize":[1700,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         "rendererType": "image",
102         "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
103         },
104       "backgroundBorder": {
105         "visualType": "IMAGE",
106         "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
107         "borderColor":[0.24,0.72,0.8,1.0]
108         },
109       "popupFadeInDuration":0.25,
110       "popupFadeOutDuration":0.25
111     },
112     "TextSelectionPopupButton":
113     {
114       "label":
115       {
116         "pointSize":120,
117         "fontStyle":"{\"weight\":\"light\"}"
118       }
119     },
120     "TextSelectionToolbar":
121     {
122       "enableOvershoot":true,
123       "enableScrollBar":true,
124       "scrollView":
125       {
126         "overshootAnimationSpeed":360.0,
127         "overshootSize":[1920.0,180.0]
128       }
129     },
130     "TextSelectionScrollBar":
131     {
132       "indicatorShowDuration":0.25,
133       "indicatorHideDuration":0.25,
134       "indicatorTransientDuration":1.0
135     },
136     "TextSelectionScrollIndicator":
137     {
138       "image":
139       {
140         "visualType":"IMAGE",
141         "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
142       },
143       "color":[0.0,0.72,0.9,0.7]
144     },
145     "ScrollView":
146     {
147       "overshootEffectColor":"B018",
148       "overshootAnimationSpeed":960.0,
149       "overshootSize":[1920.0,130.0]
150     },
151     "ItemView":
152     {
153       "overshootEffectColor":"B018",
154       "overshootAnimationSpeed":960.0,
155       "overshootSize":[1920.0,130.0]
156     },
157     "ScrollBar":
158     {
159       "indicatorShowDuration":0.25,
160       "indicatorHideDuration":0.25,
161       "color":[0.0,0.72,0.9,0.7]
162     },
163     "TextEditor":
164     {
165       "pointSize":120,
166       "primaryCursorColor":[0.0,0.72,0.9,1.0],
167       "secondaryCursorColor":[0.0,0.72,0.9,1.0],
168       "cursorWidth":6,
169       "selectionHighlightColor":[0.75,0.96,1.0,1.0],
170       "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
171       "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
172       "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
173     }
174   }
175 }