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" }
94 "popupMaxSize":[656,72],
95 "optionDividerSize":[2,0],
96 "popupDividerColor":[0.23,0.72,0.8,0.11],
97 "popupIconColor":[1.0,1.0,1.0,1.0],
98 "popupPressedColor":[0.24,0.72,0.8,0.11],
100 "visualType": "IMAGE",
101 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
103 "backgroundBorder": {
104 "visualType": "IMAGE",
105 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
106 "mixColor":[0.24,0.72,0.8,1.0]
108 "popupFadeInDuration":0.25,
109 "popupFadeOutDuration":0.25
111 "TextSelectionPopupButton":
118 "unselectedBackgroundVisual":
120 "visualType": "IMAGE",
123 "selectedBackgroundVisual":
125 "visualType": "IMAGE",
129 "TextSelectionToolbar":
131 "enableOvershoot":true,
132 "enableScrollBar":true,
135 "overshootAnimationSpeed":360.0,
136 "overshootSize":[720.0,130.0]
139 "TextSelectionScrollBar":
141 "indicatorShowDuration":0.25,
142 "indicatorHideDuration":0.25,
143 "indicatorTransientDuration":1.0
145 "TextSelectionScrollIndicator":
149 "visualType":"IMAGE",
150 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
152 "color":[0.0,0.72,0.9,0.7]
156 "overshootEffectColor":"B018",
157 "overshootAnimationSpeed":360.0,
158 "overshootSize":[720.0,130.0]
162 "overshootEffectColor":"B018",
163 "overshootAnimationSpeed":360.0,
164 "overshootSize":[720.0,130.0]
168 "indicatorShowDuration":0.25,
169 "indicatorHideDuration":0.25,
170 "color":[0.0,0.72,0.9,0.7]
175 "primaryCursorColor":[0.0,0.72,0.9,1.0],
176 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
178 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
179 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
180 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
181 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
182 "enableScrollBar":true,
183 "scrollBarShowDuration":0.8,
184 "scrollBarFadeDuration":0.5
188 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
189 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
190 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
191 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
192 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
193 "popupBackgroundBorder":[17,17,13,13]
197 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
198 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
199 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
200 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
201 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
202 "popupBackgroundBorder":[17,17,13,13]
210 "url":"{DALI_IMAGE_DIR}slider-skin.9.png",
214 "url":"{DALI_IMAGE_DIR}slider-skin-progress.9.png",
218 "url":"{DALI_IMAGE_DIR}slider-skin-handle.png",
221 "popupVisual":"{DALI_IMAGE_DIR}slider-popup.9.png",
222 "popupArrowVisual":"{DALI_IMAGE_DIR}slider-popup-arrow.9.png",
223 "disableColor":[0.5, 0.5, 0.5, 1.0],
224 "popupTextColor":[0.5,0.5,0.5,1.0],
230 "SliderHandleTextLabel":
232 "textColor":[0.8,0.8,1,1]
237 "visualType":"IMAGE",
238 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
241 "visualType":"IMAGE",
242 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
244 "secondaryProgressVisual":{
245 "visualType":"IMAGE",
246 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
248 "indeterminateVisual":{
249 "visualType":"IMAGE",
250 "pixelArea":[0.0, 0.0, 10.0, 1.0],
251 "wrapModeU":"REPEAT",
252 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
254 "indeterminateVisualAnimation":
257 "target":"indeterminateVisual",
258 "property":"pixelArea",
259 "initialValue":[0.0, 0.0, 10.0, 1.0],
260 "targetValue":[-1.0, 0.0, 10.0, 1.0],
263 "alphaFunction":"DEFAULT",
273 "visualType": "TEXT",
274 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
275 "pointSize" : 12.0, // Point size must always be provided to Text Visual
276 "horizontalAlignment": "CENTER",
277 "verticalAlignment": "CENTER"
279 "progressValue": 0.0,
280 "secondaryProgressValue":0.0,
281 "indeterminate": false
285 "initialAutoRepeatingDelay":2.0,
286 "nextAutoRepeatingDelay":0.9
287 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
292 "autoRepeating":false,
294 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
297 "visualType": "TEXT",
298 "horizontalAlignment": "CENTER",
299 "pointSize" : 10.0, // Point size must always be provided to Text Visual
300 "verticalAlignment": "CENTER"
302 "unselectedBackgroundVisual":
304 "visualType": "IMAGE",
305 "url": "{DALI_IMAGE_DIR}button-up.9.png"
307 "selectedBackgroundVisual":
309 "visualType": "IMAGE",
310 "url": "{DALI_IMAGE_DIR}button-down.9.png"
312 "disabledSelectedBackgroundVisual":
314 "visualType": "IMAGE",
315 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
317 "disabledUnselectedBackgroundVisual":
319 "visualType": "IMAGE",
320 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
326 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
329 "visualType": "TEXT",
330 "pointSize" : 10.0, // Point size must always be provided to Text Visual
331 "verticalAlignment": "CENTER"
335 "visualType": "IMAGE",
336 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
340 "visualType": "IMAGE",
341 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
343 "disabledUnselectedVisual":
345 "visualType": "IMAGE",
346 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
348 "disabledSelectedVisual":
350 "visualType": "IMAGE",
351 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
357 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
360 "visualType": "TEXT",
361 "pointSize" : 10.0, // Point size must always be provided to Text Visual
362 "verticalAlignment": "CENTER"
366 "visualType": "IMAGE",
367 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
371 "visualType": "IMAGE",
372 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
374 "disabledUnselectedVisual":
376 "visualType": "IMAGE",
377 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
379 "disabledSelectedVisual":
381 "visualType": "IMAGE",
382 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"