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-bg.9.png"
103 "popupFadeInDuration":0.25,
104 "popupFadeOutDuration":0.25
106 "TextSelectionPopupButton":
113 "unselectedBackgroundVisual":
115 "visualType": "IMAGE",
118 "selectedBackgroundVisual":
120 "visualType": "IMAGE",
124 "TextSelectionToolbar":
126 "enableOvershoot":true,
129 "overshootAnimationSpeed":360.0,
130 "overshootSize":[720.0,130.0]
135 "overshootEffectColor":"B018",
136 "overshootAnimationSpeed":360.0,
137 "overshootSize":[720.0,130.0]
141 "overshootEffectColor":"B018",
142 "overshootAnimationSpeed":360.0,
143 "overshootSize":[720.0,130.0]
148 "primaryCursorColor":[0.0,0.72,0.9,1.0],
149 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
151 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
152 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
153 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
154 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
158 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
159 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
160 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
161 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
162 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
163 "popupBackgroundBorder":[17,17,13,13]
167 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
168 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
169 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
170 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
171 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
172 "popupBackgroundBorder":[17,17,13,13]
180 "url":"{DALI_IMAGE_DIR}slider-skin.9.png",
184 "url":"{DALI_IMAGE_DIR}slider-skin-progress.9.png",
188 "url":"{DALI_IMAGE_DIR}slider-skin-handle.png",
191 "popupVisual":"{DALI_IMAGE_DIR}slider-popup.9.png",
192 "popupArrowVisual":"{DALI_IMAGE_DIR}slider-popup-arrow.9.png",
193 "disableColor":[0.5, 0.5, 0.5, 1.0],
194 "popupTextColor":[0.5,0.5,0.5,1.0],
200 "SliderHandleTextLabel":
202 "textColor":[0.8,0.8,1,1]
207 "visualType":"IMAGE",
208 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
211 "visualType":"IMAGE",
212 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
214 "secondaryProgressVisual":{
215 "visualType":"IMAGE",
216 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
218 "indeterminateVisual":{
219 "visualType":"IMAGE",
220 "pixelArea":[0.0, 0.0, 10.0, 1.0],
221 "wrapModeU":"REPEAT",
222 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
224 "indeterminateVisualAnimation":
227 "target":"indeterminateVisual",
228 "property":"pixelArea",
229 "initialValue":[0.0, 0.0, 10.0, 1.0],
230 "targetValue":[-1.0, 0.0, 10.0, 1.0],
233 "alphaFunction":"DEFAULT",
243 "visualType": "TEXT",
244 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
245 "pointSize" : 12.0, // Point size must always be provided to Text Visual
246 "horizontalAlignment": "CENTER",
247 "verticalAlignment": "CENTER"
249 "progressValue": 0.0,
250 "secondaryProgressValue":0.0,
251 "indeterminate": false
255 "initialAutoRepeatingDelay":2.0,
256 "nextAutoRepeatingDelay":0.9
257 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
262 "autoRepeating":false,
264 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
267 "visualType": "TEXT",
268 "horizontalAlignment": "CENTER",
269 "pointSize" : 10.0, // Point size must always be provided to Text Visual
270 "verticalAlignment": "CENTER"
272 "unselectedBackgroundVisual":
274 "visualType": "IMAGE",
275 "url": "{DALI_IMAGE_DIR}button-up.9.png"
277 "selectedBackgroundVisual":
279 "visualType": "IMAGE",
280 "url": "{DALI_IMAGE_DIR}button-down.9.png"
282 "disabledSelectedBackgroundVisual":
284 "visualType": "IMAGE",
285 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
287 "disabledUnselectedBackgroundVisual":
289 "visualType": "IMAGE",
290 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
296 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
299 "visualType": "TEXT",
300 "pointSize" : 10.0, // Point size must always be provided to Text Visual
301 "verticalAlignment": "CENTER"
305 "visualType": "IMAGE",
306 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
310 "visualType": "IMAGE",
311 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
313 "disabledUnselectedVisual":
315 "visualType": "IMAGE",
316 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
318 "disabledSelectedVisual":
320 "visualType": "IMAGE",
321 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
327 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
330 "visualType": "TEXT",
331 "pointSize" : 10.0, // Point size must always be provided to Text Visual
332 "verticalAlignment": "CENTER"
336 "visualType": "IMAGE",
337 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
341 "visualType": "IMAGE",
342 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
344 "disabledUnselectedVisual":
346 "visualType": "IMAGE",
347 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
349 "disabledSelectedVisual":
351 "visualType": "IMAGE",
352 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"