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 / 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     "RadioButton":
61     {
62       "unselectedStateImage":"{DALI_IMAGE_DIR}radio-button-unselected.png",
63       "selectedStateImage":"{DALI_IMAGE_DIR}radio-button-selected.png",
64       "disabledUnselectedStateImage":"{DALI_IMAGE_DIR}radio-button-unselected-disabled.png",
65       "disabledSelectedStateImage":"{DALI_IMAGE_DIR}radio-button-selected-disabled.png"
66     },
67
68     "TextField":
69     {
70       "pointSize":8.5,
71       "primaryCursorColor":[0.0,0.72,0.9,1.0],
72       "secondaryCursorColor":[0.0,0.72,0.9,1.0],
73       "cursorWidth":1,
74       "selectionHighlightColor":[0.75,0.96,1.0,1.0],
75       "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
76       "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
77       "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
78     },
79
80     "TextSelectionPopup":
81     {
82       "popupMaxSize":[400,100],
83       "optionDividerSize":[2,0],
84       "popupDividerColor":[0.23,0.72,0.8,0.11],
85       "popupIconColor":[1.0,1.0,1.0,1.0],
86       "popupPressedColor":[0.24,0.72,0.8,0.11],
87       "background": {
88         "visualType": "IMAGE",
89         "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
90         },
91       "backgroundBorder": {
92         "visualType": "IMAGE",
93         "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
94         "borderColor":[0.24,0.72,0.8,1.0]
95         },
96       "popupFadeInDuration":0.25,
97       "popupFadeOutDuration":0.25
98     },
99     "TextSelectionPopupButton":
100     {
101       "label":
102       {
103         "pointSize":8,
104         "fontStyle":"{\"weight\":\"light\"}"
105       }
106     },
107     "TextSelectionToolbar":
108     {
109       "enableOvershoot":true,
110       "enableScrollBar":true,
111       "scrollView":
112       {
113         "overshootAnimationSpeed":120.0,
114         "overshootSize":[480.0,180.0]
115       }
116     },
117     "TextSelectionScrollBar":
118     {
119       "indicatorShowDuration":0.25,
120       "indicatorHideDuration":0.25,
121       "indicatorTransientDuration":1.0
122     },
123     "TextSelectionScrollIndicator":
124     {
125       "image":
126       {
127         "visualType":"IMAGE",
128         "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png" // designed for HD resolution
129       },
130       "color":[0.0,0.72,0.9,0.7],
131       "scale":[0.625,1.0,1.0] // Note: This reduces height for WVGA resolution
132     },
133     "ScrollView":
134     {
135       "overshootEffectColor":"B018",
136       "overshootAnimationSpeed":120.0,
137       "overshootSize":[480.0,42.0]
138     },
139     "ItemView":
140     {
141       "overshootEffectColor":"B018",
142       "overshootAnimationSpeed":120.0,
143       "overshootSize":[480.0,42.0]
144     },
145     "ScrollBar":
146     {
147       "indicatorShowDuration":0.25,
148       "indicatorHideDuration":0.25
149     },
150     "ScrollBarIndicator":
151     {
152       "image":
153       {
154         "visualType":"IMAGE",
155         "url":"{DALI_IMAGE_DIR}popup_scroll.9.png"
156       }
157     },
158     "TextEditor":
159     {
160       "pointSize":18,
161       "primaryCursorColor":[0.0,0.72,0.9,1.0],
162       "secondaryCursorColor":[0.0,0.72,0.9,1.0],
163       "cursorWidth":1,
164       "selectionHighlightColor":[0.75,0.96,1.0,1.0],
165       "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
166       "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
167       "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
168     },
169     "Popup":
170     {
171       "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png"
172     },
173     "ConfirmationPopup":
174     {
175       "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png"
176     },
177     "Slider":
178     {
179       "showPopup": true,
180       "showValue": true,
181       "valuePrecision": 0,
182       "trackVisual":{
183         "url":"{DALI_IMAGE_DIR}slider-skin.9.png",
184         "size":[27,27]
185       },
186       "progressVisual":{
187         "url":"{DALI_IMAGE_DIR}slider-skin-progress.9.png",
188         "size":[27,27]
189       },
190       "handleVisual":{
191         "url":"{DALI_IMAGE_DIR}slider-skin-handle.png",
192         "size":[72,72]
193       },
194       "popupVisual":"{DALI_IMAGE_DIR}slider-popup.9.png",
195       "popupArrowVisual":"{DALI_IMAGE_DIR}slider-popup-arrow.9.png",
196       "disableColor":[0.5, 0.5, 0.5, 1.0],
197       "popupTextColor":[0.5,0.5,0.5,1.0],
198       "hitRegion":[0, 72],
199       "marks":[],
200       "snapToMarks":false,
201       "markTolerance":0.05
202     },
203     "SliderHandleTextLabel":
204     {
205       "textColor":[0.8,0.8,1,1]
206     }
207   }
208 }