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,
70 "ignoreSpacesAfterText":false
97 "primaryCursorColor":[0.0,0.72,0.9,1.0],
98 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
100 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
101 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
102 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
103 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
104 "enableSelection":false
107 "TextFieldFontSize0":
111 "TextFieldFontSize1":
115 "TextFieldFontSize2":
119 "TextFieldFontSize3":
123 "TextFieldFontSize4":
127 "TextSelectionPopup":
129 "popupMaxSize":[1700,100],
130 "optionDividerSize":[2,0],
131 "popupDividerColor":[0.23,0.72,0.8,0.11],
132 "popupIconColor":[1.0,1.0,1.0,1.0],
133 "popupPressedColor":[0.24,0.72,0.8,0.11],
135 "rendererType": "image",
136 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
138 "backgroundBorder": {
139 "visualType": "IMAGE",
140 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
141 "mixColor":[0.24,0.72,0.8,1.0]
143 "popupFadeInDuration":0.25,
144 "popupFadeOutDuration":0.25
146 "TextSelectionPopupButton":
153 "unselectedBackgroundVisual":
155 "visualType": "IMAGE",
158 "selectedBackgroundVisual":
160 "visualType": "IMAGE",
164 "TextSelectionToolbar":
166 "enableOvershoot":true,
167 "enableScrollBar":true,
170 "overshootAnimationSpeed":360.0,
171 "overshootSize":[1920.0,130.0]
174 "TextSelectionScrollBar":
176 "indicatorShowDuration":0.25,
177 "indicatorHideDuration":0.25,
178 "indicatorTransientDuration":1.0
180 "TextSelectionScrollIndicator":
184 "visualType":"IMAGE",
185 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
187 "color":[0.0,0.72,0.9,0.7]
191 "overshootEffectColor":"B018",
192 "overshootAnimationSpeed":960.0,
193 "overshootSize":[1920.0,130.0]
197 "overshootEffectColor":"B018",
198 "overshootAnimationSpeed":960.0,
199 "overshootSize":[1920.0,130.0]
203 "indicatorShowDuration":0.25,
204 "indicatorHideDuration":0.25,
205 "color":[0.0,0.72,0.9,0.7]
210 "primaryCursorColor":[0.0,0.72,0.9,1.0],
211 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
213 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
214 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
215 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
216 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
217 "enableScrollBar":true,
218 "scrollBarShowDuration":0.8,
219 "scrollBarFadeDuration":0.5,
220 "enableSelection":false
225 "visualType":"IMAGE",
226 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
229 "visualType":"IMAGE",
230 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
232 "secondaryProgressVisual":{
233 "visualType":"IMAGE",
234 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
236 "indeterminateVisual":{
237 "visualType":"IMAGE",
238 "pixelArea":[0.0, 0.0, 10.0, 1.0],
239 "wrapModeU":"REPEAT",
240 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
242 "indeterminateVisualAnimation":
245 "target":"indeterminateVisual",
246 "property":"pixelArea",
247 "initialValue":[0.0, 0.0, 10.0, 1.0],
248 "targetValue":[-1.0, 0.0, 10.0, 1.0],
251 "alphaFunction":"DEFAULT",
261 "visualType": "TEXT",
262 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
263 "pointSize" : 12.0, // Point size must always be provided to Text Visual
264 "horizontalAlignment": "CENTER",
265 "verticalAlignment": "CENTER"
267 "progressValue": 0.0,
268 "secondaryProgressValue":0.0,
269 "indeterminate": false
273 "styles":["Tooltip"],
274 "initialAutoRepeatingDelay":2.0,
275 "nextAutoRepeatingDelay":0.9
276 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
281 "autoRepeating":false,
283 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
286 "visualType": "TEXT",
287 "horizontalAlignment": "CENTER",
288 "pointSize" : 15.0, // Point size must always be provided to Text Visual
289 "verticalAlignment": "CENTER"
291 "unselectedBackgroundVisual":
293 "visualType": "IMAGE",
294 "url": "{DALI_IMAGE_DIR}button-up.9.png"
296 "selectedBackgroundVisual":
298 "visualType": "IMAGE",
299 "url": "{DALI_IMAGE_DIR}button-down.9.png"
301 "disabledSelectedBackgroundVisual":
303 "visualType": "IMAGE",
304 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
306 "disabledUnselectedBackgroundVisual":
308 "visualType": "IMAGE",
309 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
319 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
322 "visualType": "TEXT",
323 "pointSize" : 15.0, // Point size must always be provided to Text Visual
324 "verticalAlignment": "CENTER"
328 "visualType": "IMAGE",
329 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
333 "visualType": "IMAGE",
334 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
336 "disabledUnselectedVisual":
338 "visualType": "IMAGE",
339 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
341 "disabledSelectedVisual":
343 "visualType": "IMAGE",
344 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
350 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
353 "visualType": "TEXT",
354 "pointSize" : 15.0, // Point size must always be provided to Text Visual
355 "verticalAlignment": "CENTER"
359 "visualType": "IMAGE",
360 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
364 "visualType": "IMAGE",
365 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
367 "disabledUnselectedVisual":
369 "visualType": "IMAGE",
370 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
372 "disabledSelectedVisual":
374 "visualType": "IMAGE",
375 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"