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,
127 "enableScrollBar":true,
130 "overshootAnimationSpeed":360.0,
131 "overshootSize":[720.0,130.0]
134 "TextSelectionScrollBar":
136 "indicatorShowDuration":0.25,
137 "indicatorHideDuration":0.25
139 "TextSelectionScrollIndicator":
143 "visualType":"IMAGE",
144 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
146 "color":[0.0,0.72,0.9,0.7]
150 "overshootEffectColor":"B018",
151 "overshootAnimationSpeed":360.0,
152 "overshootSize":[720.0,130.0]
156 "overshootEffectColor":"B018",
157 "overshootAnimationSpeed":360.0,
158 "overshootSize":[720.0,130.0]
162 "indicatorShowDuration":0.25,
163 "indicatorHideDuration":0.25,
164 "color":[0.0,0.72,0.9,0.7]
169 "primaryCursorColor":[0.0,0.72,0.9,1.0],
170 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
172 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
173 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
174 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
175 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
179 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
180 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
181 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
182 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
183 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
184 "popupBackgroundBorder":[17,17,13,13]
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]
201 "url":"{DALI_IMAGE_DIR}slider-skin.9.png",
205 "url":"{DALI_IMAGE_DIR}slider-skin-progress.9.png",
209 "url":"{DALI_IMAGE_DIR}slider-skin-handle.png",
212 "popupVisual":"{DALI_IMAGE_DIR}slider-popup.9.png",
213 "popupArrowVisual":"{DALI_IMAGE_DIR}slider-popup-arrow.9.png",
214 "disableColor":[0.5, 0.5, 0.5, 1.0],
215 "popupTextColor":[0.5,0.5,0.5,1.0],
221 "SliderHandleTextLabel":
223 "textColor":[0.8,0.8,1,1]
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 "initialAutoRepeatingDelay":2.0,
277 "nextAutoRepeatingDelay":0.9
278 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
283 "autoRepeating":false,
285 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
288 "visualType": "TEXT",
289 "horizontalAlignment": "CENTER",
290 "pointSize" : 10.0, // Point size must always be provided to Text Visual
291 "verticalAlignment": "CENTER"
293 "unselectedBackgroundVisual":
295 "visualType": "IMAGE",
296 "url": "{DALI_IMAGE_DIR}button-up.9.png"
298 "selectedBackgroundVisual":
300 "visualType": "IMAGE",
301 "url": "{DALI_IMAGE_DIR}button-down.9.png"
303 "disabledSelectedBackgroundVisual":
305 "visualType": "IMAGE",
306 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
308 "disabledUnselectedBackgroundVisual":
310 "visualType": "IMAGE",
311 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
317 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
320 "visualType": "TEXT",
321 "pointSize" : 10.0, // Point size must always be provided to Text Visual
322 "verticalAlignment": "CENTER"
326 "visualType": "IMAGE",
327 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
331 "visualType": "IMAGE",
332 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
334 "disabledUnselectedVisual":
336 "visualType": "IMAGE",
337 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
339 "disabledSelectedVisual":
341 "visualType": "IMAGE",
342 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
348 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
351 "visualType": "TEXT",
352 "pointSize" : 10.0, // Point size must always be provided to Text Visual
353 "verticalAlignment": "CENTER"
357 "visualType": "IMAGE",
358 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
362 "visualType": "IMAGE",
363 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
365 "disabledUnselectedVisual":
367 "visualType": "IMAGE",
368 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
370 "disabledSelectedVisual":
372 "visualType": "IMAGE",
373 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"