Add Text's popup overshoot property.
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / styles / 480x800 / dali-toolkit-default-theme.json
1 /*
2 Copyright (c) 2000-2014 Samsung Electronics Co., Ltd All Rights Reserved
3
4 This file is part of Dali Toolkit
5
6 PROPRIETARY/CONFIDENTIAL
7
8 This software is the confidential and proprietary information of
9 SAMSUNG ELECTRONICS ("Confidential Information"). You shall not
10 disclose such Confidential Information and shall use it only in
11 accordance with the terms of the license agreement you entered
12 into with SAMSUNG ELECTRONICS.
13
14 SAMSUNG make no representations or warranties about the suitability
15 of the software, either express or implied, including but not limited
16 to the implied warranties of merchantability, fitness for a particular
17 purpose, or non-infringement. SAMSUNG shall not be liable for any
18 damages suffered by licensee as a result of using, modifying or
19 distributing this software or its derivatives.
20 */
21
22
23
24 //******************************************************************************
25 //
26 // Default Reference style theme for a 480x800 resolution, The values determined by UX design specification.
27 // This file can be copied to a new folder within the styles/ directory and amended with new default values.
28 // Can be overriden if StyleManager applies another style sheet.
29 //
30 //******************************************************************************
31
32 {
33   "styles":
34   {
35     "textlabel":
36     {
37       "point-size":18
38     },
39
40     "textlabel-font-size-0":
41     {
42       "point-size":8
43     },
44     "textlabel-font-size-1":
45     {
46       "point-size":10
47     },
48     "textlabel-font-size-2":
49     {
50       "point-size":15
51     },
52     "textlabel-font-size-3":
53     {
54       "point-size":19
55     },
56     "textlabel-font-size-4":
57     {
58       "point-size":25
59     },
60
61     "textfield":
62     {
63       "point-size":18,
64       "primary-cursor-color":[0.0,0.72,0.9,1.0],
65       "secondary-cursor-color":[0.0,0.72,0.9,1.0],
66       "cursor-width":1,
67       "selection-highlight-color":[0.75,0.96,1.0,1.0],
68       "grab-handle-image": { "filename":"{DALI_IMAGE_DIR}cursor_handler_center.png" },
69       "selection-handle-image-left" : {"filename":"{DALI_IMAGE_DIR}selection_handle_left.png" },
70       "selection-handle-image-right": {"filename":"{DALI_IMAGE_DIR}selection_handle_right.png" },
71       "selection-handle-marker-image-left":{ "filename":"{DALI_IMAGE_DIR}selection_marker_left.png" },
72       "selection-handle-marker-image-right":{ "filename":"{DALI_IMAGE_DIR}selection_marker_right.png" }
73     },
74
75     "textfield-font-size-0":
76     {
77       "point-size":10
78     },
79     "textfield-font-size-1":
80     {
81       "point-size":10
82     },
83     "textfield-font-size-2":
84     {
85       "point-size":10
86     },
87     "textfield-font-size-3":
88     {
89       "point-size":10
90     },
91     "textfield-font-size-4":
92     {
93       "point-size":10
94     },
95     "textselectionpopup":
96     {
97       "popup-max-size":[400,100],
98       "option-divider-size":[2,0],
99       "popup-divider-color":[0.23,0.72,0.8,0.11],
100       "popup-icon-color":[1.0,1.0,1.0,1.0],
101       "popup-pressed-color":[0.24,0.72,0.8,0.11],
102       "background-image": {
103         "filename": "{DALI_IMAGE_DIR}selection-popup-bg.9.png"
104         },
105       "popup-fade-in-duration":0.25,
106       "popup-fade-out-duration":0.25
107     },
108     "textselectionpopupbutton":
109     {
110       "label":
111       {
112         "point-size":8,
113         "font-style":"{\"weight\":\"light\"}"
114       }
115     },
116     "textselectiontoolbar":
117     {
118       "enable-overshoot":true
119     },
120     "scrollview":
121     {
122       "overshoot-effect-color":"B018"
123     }
124   }
125 }