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 //******************************************************************************
31 "brokenImageUrl":"{DALI_IMAGE_DIR}broken.png",
32 "alwaysShowFocus":true,
33 "clearFocusOnEscape":false
48 "visual":"{DALI_IMAGE_DIR}tooltip.9.png",
54 "aboveVisual":"{DALI_IMAGE_DIR}tooltip-tail-above.png",
55 "belowVisual":"{DALI_IMAGE_DIR}tooltip-tail-below.png"
58 "hoverPointOffset":[10,10],
59 "movementThreshold":5,
60 "disappearOnMovement":false
66 "enableAutoScroll":false,
67 "autoScrollLoopCount":2,
96 "primaryCursorColor":[0.0,0.72,0.9,1.0],
97 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
99 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
100 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
101 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
102 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
103 "enableSelection":false
106 "TextFieldFontSize0":
110 "TextFieldFontSize1":
114 "TextFieldFontSize2":
118 "TextFieldFontSize3":
122 "TextFieldFontSize4":
126 "TextSelectionPopup":
128 "popupMaxSize":[1700,100],
129 "optionDividerSize":[2,0],
130 "popupDividerColor":[0.23,0.72,0.8,0.11],
131 "popupIconColor":[1.0,1.0,1.0,1.0],
132 "popupPressedColor":[0.24,0.72,0.8,0.11],
134 "rendererType": "image",
135 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
137 "backgroundBorder": {
138 "visualType": "IMAGE",
139 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
140 "mixColor":[0.24,0.72,0.8,1.0]
142 "popupFadeInDuration":0.25,
143 "popupFadeOutDuration":0.25
145 "TextSelectionPopupButton":
152 "unselectedBackgroundVisual":
154 "visualType": "IMAGE",
157 "selectedBackgroundVisual":
159 "visualType": "IMAGE",
163 "TextSelectionToolbar":
165 "enableOvershoot":true,
166 "enableScrollBar":true,
169 "overshootAnimationSpeed":360.0,
170 "overshootSize":[1920.0,130.0]
173 "TextSelectionScrollBar":
175 "indicatorShowDuration":0.25,
176 "indicatorHideDuration":0.25,
177 "indicatorTransientDuration":1.0
179 "TextSelectionScrollIndicator":
183 "visualType":"IMAGE",
184 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
186 "color":[0.0,0.72,0.9,0.7]
190 "overshootEffectColor":"B018",
191 "overshootAnimationSpeed":960.0,
192 "overshootSize":[1920.0,130.0]
196 "overshootEffectColor":"B018",
197 "overshootAnimationSpeed":960.0,
198 "overshootSize":[1920.0,130.0]
202 "indicatorShowDuration":0.25,
203 "indicatorHideDuration":0.25,
204 "color":[0.0,0.72,0.9,0.7]
209 "primaryCursorColor":[0.0,0.72,0.9,1.0],
210 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
212 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
213 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
214 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
215 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
216 "enableScrollBar":true,
217 "scrollBarShowDuration":0.8,
218 "scrollBarFadeDuration":0.5,
219 "enableSelection":false
224 "visualType":"IMAGE",
225 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
228 "visualType":"IMAGE",
229 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
231 "secondaryProgressVisual":{
232 "visualType":"IMAGE",
233 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
235 "indeterminateVisual":{
236 "visualType":"IMAGE",
237 "pixelArea":[0.0, 0.0, 10.0, 1.0],
238 "wrapModeU":"REPEAT",
239 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
241 "indeterminateVisualAnimation":
244 "target":"indeterminateVisual",
245 "property":"pixelArea",
246 "initialValue":[0.0, 0.0, 10.0, 1.0],
247 "targetValue":[-1.0, 0.0, 10.0, 1.0],
250 "alphaFunction":"DEFAULT",
260 "visualType": "TEXT",
261 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
262 "pointSize" : 12.0, // Point size must always be provided to Text Visual
263 "horizontalAlignment": "CENTER",
264 "verticalAlignment": "CENTER"
266 "progressValue": 0.0,
267 "secondaryProgressValue":0.0,
268 "indeterminate": false
272 "styles":["Tooltip"],
273 "initialAutoRepeatingDelay":2.0,
274 "nextAutoRepeatingDelay":0.9
275 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
280 "autoRepeating":false,
282 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
285 "visualType": "TEXT",
286 "horizontalAlignment": "CENTER",
287 "pointSize" : 15.0, // Point size must always be provided to Text Visual
288 "verticalAlignment": "CENTER"
290 "unselectedBackgroundVisual":
292 "visualType": "IMAGE",
293 "url": "{DALI_IMAGE_DIR}button-up.9.png"
295 "selectedBackgroundVisual":
297 "visualType": "IMAGE",
298 "url": "{DALI_IMAGE_DIR}button-down.9.png"
300 "disabledSelectedBackgroundVisual":
302 "visualType": "IMAGE",
303 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
305 "disabledUnselectedBackgroundVisual":
307 "visualType": "IMAGE",
308 "url": "{DALI_IMAGE_DIR}button-disabled.9.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}checkbox-unselected.png"
332 "visualType": "IMAGE",
333 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
335 "disabledUnselectedVisual":
337 "visualType": "IMAGE",
338 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
340 "disabledSelectedVisual":
342 "visualType": "IMAGE",
343 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
349 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
352 "visualType": "TEXT",
353 "pointSize" : 15.0, // Point size must always be provided to Text Visual
354 "verticalAlignment": "CENTER"
358 "visualType": "IMAGE",
359 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
363 "visualType": "IMAGE",
364 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
366 "disabledUnselectedVisual":
368 "visualType": "IMAGE",
369 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
371 "disabledSelectedVisual":
373 "visualType": "IMAGE",
374 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"