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,
71 "matchSystemLanguageDirection":true
98 "primaryCursorColor":[0.0,0.72,0.9,1.0],
99 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
101 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
102 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
103 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
104 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
105 "enableSelection":false
108 "TextFieldFontSize0":
112 "TextFieldFontSize1":
116 "TextFieldFontSize2":
120 "TextFieldFontSize3":
124 "TextFieldFontSize4":
128 "TextSelectionPopup":
130 "popupMaxSize":[1700,100],
131 "optionDividerSize":[2,0],
132 "popupDividerColor":[0.23,0.72,0.8,0.11],
133 "popupIconColor":[1.0,1.0,1.0,1.0],
134 "popupPressedColor":[0.24,0.72,0.8,0.11],
136 "rendererType": "image",
137 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
139 "backgroundBorder": {
140 "visualType": "IMAGE",
141 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
142 "mixColor":[0.24,0.72,0.8,1.0]
144 "popupFadeInDuration":0.25,
145 "popupFadeOutDuration":0.25
147 "TextSelectionPopupButton":
154 "unselectedBackgroundVisual":
156 "visualType": "IMAGE",
159 "selectedBackgroundVisual":
161 "visualType": "IMAGE",
165 "TextSelectionToolbar":
167 "enableOvershoot":true,
168 "enableScrollBar":true,
171 "overshootAnimationSpeed":360.0,
172 "overshootSize":[1920.0,130.0]
175 "TextSelectionScrollBar":
177 "indicatorShowDuration":0.25,
178 "indicatorHideDuration":0.25,
179 "indicatorTransientDuration":1.0
181 "TextSelectionScrollIndicator":
185 "visualType":"IMAGE",
186 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
188 "color":[0.0,0.72,0.9,0.7]
192 "overshootEffectColor":"B018",
193 "overshootAnimationSpeed":960.0,
194 "overshootSize":[1920.0,130.0]
198 "overshootEffectColor":"B018",
199 "overshootAnimationSpeed":960.0,
200 "overshootSize":[1920.0,130.0]
204 "indicatorShowDuration":0.25,
205 "indicatorHideDuration":0.25,
206 "color":[0.0,0.72,0.9,0.7]
211 "primaryCursorColor":[0.0,0.72,0.9,1.0],
212 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
214 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
215 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
216 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
217 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
218 "enableScrollBar":true,
219 "scrollBarShowDuration":0.8,
220 "scrollBarFadeDuration":0.5,
221 "enableSelection":false
226 "visualType":"IMAGE",
227 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
230 "visualType":"IMAGE",
231 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
233 "secondaryProgressVisual":{
234 "visualType":"IMAGE",
235 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
237 "indeterminateVisual":{
238 "visualType":"IMAGE",
239 "pixelArea":[0.0, 0.0, 10.0, 1.0],
240 "wrapModeU":"REPEAT",
241 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
243 "indeterminateVisualAnimation":
246 "target":"indeterminateVisual",
247 "property":"pixelArea",
248 "initialValue":[0.0, 0.0, 10.0, 1.0],
249 "targetValue":[-1.0, 0.0, 10.0, 1.0],
252 "alphaFunction":"DEFAULT",
262 "visualType": "TEXT",
263 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
264 "pointSize" : 12.0, // Point size must always be provided to Text Visual
265 "horizontalAlignment": "CENTER",
266 "verticalAlignment": "CENTER"
268 "progressValue": 0.0,
269 "secondaryProgressValue":0.0,
270 "indeterminate": false
274 "styles":["Tooltip"],
275 "initialAutoRepeatingDelay":2.0,
276 "nextAutoRepeatingDelay":0.9
277 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
282 "autoRepeating":false,
284 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
287 "visualType": "TEXT",
288 "horizontalAlignment": "CENTER",
289 "pointSize" : 15.0, // Point size must always be provided to Text Visual
290 "verticalAlignment": "CENTER"
292 "unselectedBackgroundVisual":
294 "visualType": "IMAGE",
295 "url": "{DALI_IMAGE_DIR}button-up.9.png"
297 "selectedBackgroundVisual":
299 "visualType": "IMAGE",
300 "url": "{DALI_IMAGE_DIR}button-down.9.png"
302 "disabledSelectedBackgroundVisual":
304 "visualType": "IMAGE",
305 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
307 "disabledUnselectedBackgroundVisual":
309 "visualType": "IMAGE",
310 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
320 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
323 "visualType": "TEXT",
324 "pointSize" : 15.0, // Point size must always be provided to Text Visual
325 "verticalAlignment": "CENTER"
329 "visualType": "IMAGE",
330 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
334 "visualType": "IMAGE",
335 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
337 "disabledUnselectedVisual":
339 "visualType": "IMAGE",
340 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
342 "disabledSelectedVisual":
344 "visualType": "IMAGE",
345 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
351 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
354 "visualType": "TEXT",
355 "pointSize" : 15.0, // Point size must always be provided to Text Visual
356 "verticalAlignment": "CENTER"
360 "visualType": "IMAGE",
361 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
365 "visualType": "IMAGE",
366 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
368 "disabledUnselectedVisual":
370 "visualType": "IMAGE",
371 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
373 "disabledSelectedVisual":
375 "visualType": "IMAGE",
376 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"