2 * Copyright (c) 2017 Samsung Electronics Co., Ltd.
4 * This file is part of Dali Toolkit
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
10 * http://www.apache.org/licenses/LICENSE-2.0
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.
20 //******************************************************************************
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.
26 //******************************************************************************
42 "visual":"{DALI_IMAGE_DIR}tooltip.9.png",
48 "aboveVisual":"{DALI_IMAGE_DIR}tooltip-tail-above.png",
49 "belowVisual":"{DALI_IMAGE_DIR}tooltip-tail-below.png"
52 "hoverPointOffset":[10,10],
53 "movementThreshold":5,
54 "disappearOnMovement":false
60 "enableAutoScroll":false,
61 "autoScrollLoopCount":2,
90 "primaryCursorColor":[0.0,0.72,0.9,1.0],
91 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
93 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
94 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
95 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
96 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
103 "TextFieldFontSize1":
107 "TextFieldFontSize2":
111 "TextFieldFontSize3":
115 "TextFieldFontSize4":
119 "TextSelectionPopup":
121 "popupMaxSize":[1700,100],
122 "optionDividerSize":[2,0],
123 "popupDividerColor":[0.23,0.72,0.8,0.11],
124 "popupIconColor":[1.0,1.0,1.0,1.0],
125 "popupPressedColor":[0.24,0.72,0.8,0.11],
127 "rendererType": "image",
128 "url": "{DALI_IMAGE_DIR}selection-popup-bg.9.png"
130 "popupFadeInDuration":0.25,
131 "popupFadeOutDuration":0.25
133 "TextSelectionPopupButton":
140 "unselectedBackgroundVisual":
142 "visualType": "IMAGE",
145 "selectedBackgroundVisual":
147 "visualType": "IMAGE",
151 "TextSelectionToolbar":
153 "enableOvershoot":true,
154 "enableScrollBar":true,
157 "overshootAnimationSpeed":360.0,
158 "overshootSize":[1920.0,130.0]
163 "overshootEffectColor":"B018",
164 "overshootAnimationSpeed":960.0,
165 "overshootSize":[1920.0,130.0]
169 "overshootEffectColor":"B018",
170 "overshootAnimationSpeed":960.0,
171 "overshootSize":[1920.0,130.0]
175 "indicatorShowDuration":0.25,
176 "indicatorHideDuration":0.25,
177 "color":[0.0,0.72,0.9,0.7]
182 "primaryCursorColor":[0.0,0.72,0.9,1.0],
183 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
185 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
186 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
187 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
188 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
193 "visualType":"IMAGE",
194 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
197 "visualType":"IMAGE",
198 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
200 "secondaryProgressVisual":{
201 "visualType":"IMAGE",
202 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
204 "indeterminateVisual":{
205 "visualType":"IMAGE",
206 "pixelArea":[0.0, 0.0, 10.0, 1.0],
207 "wrapModeU":"REPEAT",
208 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
210 "indeterminateVisualAnimation":
213 "target":"indeterminateVisual",
214 "property":"pixelArea",
215 "initialValue":[0.0, 0.0, 10.0, 1.0],
216 "targetValue":[-1.0, 0.0, 10.0, 1.0],
219 "alphaFunction":"DEFAULT",
229 "visualType": "TEXT",
230 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
231 "pointSize" : 12.0, // Point size must always be provided to Text Visual
232 "horizontalAlignment": "CENTER",
233 "verticalAlignment": "CENTER"
235 "progressValue": 0.0,
236 "secondaryProgressValue":0.0,
237 "indeterminate": false
241 "styles":["Tooltip"],
242 "initialAutoRepeatingDelay":2.0,
243 "nextAutoRepeatingDelay":0.9
244 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
249 "autoRepeating":false,
251 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
254 "visualType": "TEXT",
255 "horizontalAlignment": "CENTER",
256 "pointSize" : 15.0, // Point size must always be provided to Text Visual
257 "verticalAlignment": "CENTER"
259 "unselectedBackgroundVisual":
261 "visualType": "IMAGE",
262 "url": "{DALI_IMAGE_DIR}button-up.9.png"
264 "selectedBackgroundVisual":
266 "visualType": "IMAGE",
267 "url": "{DALI_IMAGE_DIR}button-down.9.png"
269 "disabledSelectedBackgroundVisual":
271 "visualType": "IMAGE",
272 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
274 "disabledUnselectedBackgroundVisual":
276 "visualType": "IMAGE",
277 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
287 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
290 "visualType": "TEXT",
291 "pointSize" : 15.0, // Point size must always be provided to Text Visual
292 "verticalAlignment": "CENTER"
296 "visualType": "IMAGE",
297 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
301 "visualType": "IMAGE",
302 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
304 "disabledUnselectedVisual":
306 "visualType": "IMAGE",
307 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
309 "disabledSelectedVisual":
311 "visualType": "IMAGE",
312 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
318 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
321 "visualType": "TEXT",
322 "pointSize" : 15.0, // Point size must always be provided to Text Visual
323 "verticalAlignment": "CENTER"
327 "visualType": "IMAGE",
328 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
332 "visualType": "IMAGE",
333 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
335 "disabledUnselectedVisual":
337 "visualType": "IMAGE",
338 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
340 "disabledSelectedVisual":
342 "visualType": "IMAGE",
343 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"