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 720x1280 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 //******************************************************************************
34 "enableAutoScroll":false,
35 "autoScrollLoopCount":2,
63 "primaryCursorColor":[0.0,0.72,0.9,1.0],
64 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
66 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
67 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
68 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
69 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
70 "enableSelection":true
95 "popupMaxSize":[656,72],
96 "optionDividerSize":[2,0],
97 "popupDividerColor":[0.23,0.72,0.8,0.11],
98 "popupIconColor":[1.0,1.0,1.0,1.0],
99 "popupPressedColor":[0.24,0.72,0.8,0.11],
101 "visualType": "IMAGE",
102 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
104 "backgroundBorder": {
105 "visualType": "IMAGE",
106 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
107 "mixColor":[0.24,0.72,0.8,1.0]
109 "popupFadeInDuration":0.25,
110 "popupFadeOutDuration":0.25
112 "TextSelectionPopupButton":
119 "unselectedBackgroundVisual":
121 "visualType": "IMAGE",
124 "selectedBackgroundVisual":
126 "visualType": "IMAGE",
130 "TextSelectionToolbar":
132 "enableOvershoot":true,
133 "enableScrollBar":true,
136 "overshootAnimationSpeed":360.0,
137 "overshootSize":[720.0,130.0]
140 "TextSelectionScrollBar":
142 "indicatorShowDuration":0.25,
143 "indicatorHideDuration":0.25,
144 "indicatorTransientDuration":1.0
146 "TextSelectionScrollIndicator":
150 "visualType":"IMAGE",
151 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
153 "color":[0.0,0.72,0.9,0.7]
157 "overshootEffectColor":"B018",
158 "overshootAnimationSpeed":360.0,
159 "overshootSize":[720.0,130.0]
163 "overshootEffectColor":"B018",
164 "overshootAnimationSpeed":360.0,
165 "overshootSize":[720.0,130.0]
169 "indicatorShowDuration":0.25,
170 "indicatorHideDuration":0.25,
171 "color":[0.0,0.72,0.9,0.7]
176 "primaryCursorColor":[0.0,0.72,0.9,1.0],
177 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
179 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
180 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
181 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
182 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
183 "enableScrollBar":true,
184 "scrollBarShowDuration":0.8,
185 "scrollBarFadeDuration":0.5,
186 "enableSelection":true
190 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
191 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
192 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
193 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
194 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
195 "popupBackgroundBorder":[17,17,13,13]
199 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
200 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
201 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
202 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
203 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
204 "popupBackgroundBorder":[17,17,13,13]
212 "url":"{DALI_IMAGE_DIR}slider-skin.9.png",
216 "url":"{DALI_IMAGE_DIR}slider-skin-progress.9.png",
220 "url":"{DALI_IMAGE_DIR}slider-skin-handle.png",
223 "popupVisual":"{DALI_IMAGE_DIR}slider-popup.9.png",
224 "popupArrowVisual":"{DALI_IMAGE_DIR}slider-popup-arrow.9.png",
225 "disableColor":[0.5, 0.5, 0.5, 1.0],
226 "popupTextColor":[0.5,0.5,0.5,1.0],
232 "SliderHandleTextLabel":
234 "textColor":[0.8,0.8,1,1]
239 "visualType":"IMAGE",
240 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
243 "visualType":"IMAGE",
244 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
246 "secondaryProgressVisual":{
247 "visualType":"IMAGE",
248 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
250 "indeterminateVisual":{
251 "visualType":"IMAGE",
252 "pixelArea":[0.0, 0.0, 10.0, 1.0],
253 "wrapModeU":"REPEAT",
254 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
256 "indeterminateVisualAnimation":
259 "target":"indeterminateVisual",
260 "property":"pixelArea",
261 "initialValue":[0.0, 0.0, 10.0, 1.0],
262 "targetValue":[-1.0, 0.0, 10.0, 1.0],
265 "alphaFunction":"DEFAULT",
275 "visualType": "TEXT",
276 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
277 "pointSize" : 12.0, // Point size must always be provided to Text Visual
278 "horizontalAlignment": "CENTER",
279 "verticalAlignment": "CENTER"
281 "progressValue": 0.0,
282 "secondaryProgressValue":0.0,
283 "indeterminate": false
287 "initialAutoRepeatingDelay":2.0,
288 "nextAutoRepeatingDelay":0.9
289 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
294 "autoRepeating":false,
296 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
299 "visualType": "TEXT",
300 "horizontalAlignment": "CENTER",
301 "pointSize" : 10.0, // Point size must always be provided to Text Visual
302 "verticalAlignment": "CENTER"
304 "unselectedBackgroundVisual":
306 "visualType": "IMAGE",
307 "url": "{DALI_IMAGE_DIR}button-up.9.png"
309 "selectedBackgroundVisual":
311 "visualType": "IMAGE",
312 "url": "{DALI_IMAGE_DIR}button-down.9.png"
314 "disabledSelectedBackgroundVisual":
316 "visualType": "IMAGE",
317 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
319 "disabledUnselectedBackgroundVisual":
321 "visualType": "IMAGE",
322 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
328 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
331 "visualType": "TEXT",
332 "pointSize" : 10.0, // Point size must always be provided to Text Visual
333 "verticalAlignment": "CENTER"
337 "visualType": "IMAGE",
338 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
342 "visualType": "IMAGE",
343 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
345 "disabledUnselectedVisual":
347 "visualType": "IMAGE",
348 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
350 "disabledSelectedVisual":
352 "visualType": "IMAGE",
353 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
359 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
362 "visualType": "TEXT",
363 "pointSize" : 10.0, // Point size must always be provided to Text Visual
364 "verticalAlignment": "CENTER"
368 "visualType": "IMAGE",
369 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
373 "visualType": "IMAGE",
374 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
376 "disabledUnselectedVisual":
378 "visualType": "IMAGE",
379 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
381 "disabledSelectedVisual":
383 "visualType": "IMAGE",
384 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"