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,
106 "matchSystemLanguageDirection":true
109 "TextFieldFontSize0":
113 "TextFieldFontSize1":
117 "TextFieldFontSize2":
121 "TextFieldFontSize3":
125 "TextFieldFontSize4":
129 "TextSelectionPopup":
131 "popupMaxSize":[1700,100],
132 "optionDividerSize":[2,0],
133 "popupDividerColor":[0.23,0.72,0.8,0.11],
134 "popupIconColor":[1.0,1.0,1.0,1.0],
135 "popupPressedColor":[0.24,0.72,0.8,0.11],
137 "rendererType": "image",
138 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
140 "backgroundBorder": {
141 "visualType": "IMAGE",
142 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
143 "mixColor":[0.24,0.72,0.8,1.0]
145 "popupFadeInDuration":0.25,
146 "popupFadeOutDuration":0.25
148 "TextSelectionPopupButton":
155 "unselectedBackgroundVisual":
157 "visualType": "IMAGE",
160 "selectedBackgroundVisual":
162 "visualType": "IMAGE",
166 "TextSelectionToolbar":
168 "enableOvershoot":true,
169 "enableScrollBar":true,
172 "overshootAnimationSpeed":360.0,
173 "overshootSize":[1920.0,130.0]
176 "TextSelectionScrollBar":
178 "indicatorShowDuration":0.25,
179 "indicatorHideDuration":0.25,
180 "indicatorTransientDuration":1.0
182 "TextSelectionScrollIndicator":
186 "visualType":"IMAGE",
187 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
189 "color":[0.0,0.72,0.9,0.7]
193 "overshootEffectColor":"B018",
194 "overshootAnimationSpeed":960.0,
195 "overshootSize":[1920.0,130.0]
199 "overshootEffectColor":"B018",
200 "overshootAnimationSpeed":960.0,
201 "overshootSize":[1920.0,130.0]
205 "indicatorShowDuration":0.25,
206 "indicatorHideDuration":0.25,
207 "color":[0.0,0.72,0.9,0.7]
212 "primaryCursorColor":[0.0,0.72,0.9,1.0],
213 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
215 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
216 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
217 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
218 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
219 "enableScrollBar":true,
220 "scrollBarShowDuration":0.8,
221 "scrollBarFadeDuration":0.5,
222 "enableSelection":false,
223 "matchSystemLanguageDirection":true
228 "visualType":"IMAGE",
229 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
232 "visualType":"IMAGE",
233 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
235 "secondaryProgressVisual":{
236 "visualType":"IMAGE",
237 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
239 "indeterminateVisual":{
240 "visualType":"IMAGE",
241 "pixelArea":[0.0, 0.0, 10.0, 1.0],
242 "wrapModeU":"REPEAT",
243 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
245 "indeterminateVisualAnimation":
248 "target":"indeterminateVisual",
249 "property":"pixelArea",
250 "initialValue":[0.0, 0.0, 10.0, 1.0],
251 "targetValue":[-1.0, 0.0, 10.0, 1.0],
254 "alphaFunction":"DEFAULT",
264 "visualType": "TEXT",
265 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
266 "pointSize" : 12.0, // Point size must always be provided to Text Visual
267 "horizontalAlignment": "CENTER",
268 "verticalAlignment": "CENTER"
270 "progressValue": 0.0,
271 "secondaryProgressValue":0.0,
272 "indeterminate": false
276 "styles":["Tooltip"],
277 "initialAutoRepeatingDelay":2.0,
278 "nextAutoRepeatingDelay":0.9
279 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
284 "autoRepeating":false,
286 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
289 "visualType": "TEXT",
290 "horizontalAlignment": "CENTER",
291 "pointSize" : 15.0, // Point size must always be provided to Text Visual
292 "verticalAlignment": "CENTER"
294 "unselectedBackgroundVisual":
296 "visualType": "IMAGE",
297 "url": "{DALI_IMAGE_DIR}button-up.9.png"
299 "selectedBackgroundVisual":
301 "visualType": "IMAGE",
302 "url": "{DALI_IMAGE_DIR}button-down.9.png"
304 "disabledSelectedBackgroundVisual":
306 "visualType": "IMAGE",
307 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
309 "disabledUnselectedBackgroundVisual":
311 "visualType": "IMAGE",
312 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
322 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
325 "visualType": "TEXT",
326 "pointSize" : 15.0, // Point size must always be provided to Text Visual
327 "verticalAlignment": "CENTER"
331 "visualType": "IMAGE",
332 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
336 "visualType": "IMAGE",
337 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
339 "disabledUnselectedVisual":
341 "visualType": "IMAGE",
342 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
344 "disabledSelectedVisual":
346 "visualType": "IMAGE",
347 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
353 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
356 "visualType": "TEXT",
357 "pointSize" : 15.0, // Point size must always be provided to Text Visual
358 "verticalAlignment": "CENTER"
362 "visualType": "IMAGE",
363 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
367 "visualType": "IMAGE",
368 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
370 "disabledUnselectedVisual":
372 "visualType": "IMAGE",
373 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
375 "disabledSelectedVisual":
377 "visualType": "IMAGE",
378 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"