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 //******************************************************************************
31 "alwaysShowFocus":false
38 "enableAutoScroll":false,
39 "autoScrollLoopCount":2,
67 "primaryCursorColor":[0.0,0.72,0.9,1.0],
68 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
70 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
71 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
72 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
73 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
98 "popupMaxSize":[656,72],
99 "optionDividerSize":[2,0],
100 "popupDividerColor":[0.23,0.72,0.8,0.11],
101 "popupIconColor":[1.0,1.0,1.0,1.0],
102 "popupPressedColor":[0.24,0.72,0.8,0.11],
104 "visualType": "IMAGE",
105 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
107 "backgroundBorder": {
108 "visualType": "IMAGE",
109 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
110 "mixColor":[0.24,0.72,0.8,1.0]
112 "popupFadeInDuration":0.25,
113 "popupFadeOutDuration":0.25
115 "TextSelectionPopupButton":
122 "unselectedBackgroundVisual":
124 "visualType": "IMAGE",
127 "selectedBackgroundVisual":
129 "visualType": "IMAGE",
133 "TextSelectionToolbar":
135 "enableOvershoot":true,
136 "enableScrollBar":true,
139 "overshootAnimationSpeed":360.0,
140 "overshootSize":[720.0,130.0]
143 "TextSelectionScrollBar":
145 "indicatorShowDuration":0.25,
146 "indicatorHideDuration":0.25,
147 "indicatorTransientDuration":1.0
149 "TextSelectionScrollIndicator":
153 "visualType":"IMAGE",
154 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
156 "color":[0.0,0.72,0.9,0.7]
160 "overshootEffectColor":"B018",
161 "overshootAnimationSpeed":360.0,
162 "overshootSize":[720.0,130.0]
166 "overshootEffectColor":"B018",
167 "overshootAnimationSpeed":360.0,
168 "overshootSize":[720.0,130.0]
172 "indicatorShowDuration":0.25,
173 "indicatorHideDuration":0.25,
174 "color":[0.0,0.72,0.9,0.7]
179 "primaryCursorColor":[0.0,0.72,0.9,1.0],
180 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
182 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
183 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
184 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
185 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
186 "enableScrollBar":true,
187 "scrollBarShowDuration":0.8,
188 "scrollBarFadeDuration":0.5
192 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
193 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
194 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
195 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
196 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
197 "popupBackgroundBorder":[17,17,13,13]
201 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
202 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
203 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
204 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
205 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
206 "popupBackgroundBorder":[17,17,13,13]
214 "url":"{DALI_IMAGE_DIR}slider-skin.9.png",
218 "url":"{DALI_IMAGE_DIR}slider-skin-progress.9.png",
222 "url":"{DALI_IMAGE_DIR}slider-skin-handle.png",
225 "popupVisual":"{DALI_IMAGE_DIR}slider-popup.9.png",
226 "popupArrowVisual":"{DALI_IMAGE_DIR}slider-popup-arrow.9.png",
227 "disableColor":[0.5, 0.5, 0.5, 1.0],
228 "popupTextColor":[0.5,0.5,0.5,1.0],
234 "SliderHandleTextLabel":
236 "textColor":[0.8,0.8,1,1]
241 "visualType":"IMAGE",
242 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
245 "visualType":"IMAGE",
246 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
248 "secondaryProgressVisual":{
249 "visualType":"IMAGE",
250 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
252 "indeterminateVisual":{
253 "visualType":"IMAGE",
254 "pixelArea":[0.0, 0.0, 10.0, 1.0],
255 "wrapModeU":"REPEAT",
256 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
258 "indeterminateVisualAnimation":
261 "target":"indeterminateVisual",
262 "property":"pixelArea",
263 "initialValue":[0.0, 0.0, 10.0, 1.0],
264 "targetValue":[-1.0, 0.0, 10.0, 1.0],
267 "alphaFunction":"DEFAULT",
277 "visualType": "TEXT",
278 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
279 "pointSize" : 12.0, // Point size must always be provided to Text Visual
280 "horizontalAlignment": "CENTER",
281 "verticalAlignment": "CENTER"
283 "progressValue": 0.0,
284 "secondaryProgressValue":0.0,
285 "indeterminate": false
289 "initialAutoRepeatingDelay":2.0,
290 "nextAutoRepeatingDelay":0.9
291 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
296 "autoRepeating":false,
298 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
301 "visualType": "TEXT",
302 "horizontalAlignment": "CENTER",
303 "pointSize" : 10.0, // Point size must always be provided to Text Visual
304 "verticalAlignment": "CENTER"
306 "unselectedBackgroundVisual":
308 "visualType": "IMAGE",
309 "url": "{DALI_IMAGE_DIR}button-up.9.png"
311 "selectedBackgroundVisual":
313 "visualType": "IMAGE",
314 "url": "{DALI_IMAGE_DIR}button-down.9.png"
316 "disabledSelectedBackgroundVisual":
318 "visualType": "IMAGE",
319 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
321 "disabledUnselectedBackgroundVisual":
323 "visualType": "IMAGE",
324 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
330 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
333 "visualType": "TEXT",
334 "pointSize" : 10.0, // Point size must always be provided to Text Visual
335 "verticalAlignment": "CENTER"
339 "visualType": "IMAGE",
340 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
344 "visualType": "IMAGE",
345 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
347 "disabledUnselectedVisual":
349 "visualType": "IMAGE",
350 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
352 "disabledSelectedVisual":
354 "visualType": "IMAGE",
355 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
361 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
364 "visualType": "TEXT",
365 "pointSize" : 10.0, // Point size must always be provided to Text Visual
366 "verticalAlignment": "CENTER"
370 "visualType": "IMAGE",
371 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
375 "visualType": "IMAGE",
376 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
378 "disabledUnselectedVisual":
380 "visualType": "IMAGE",
381 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
383 "disabledSelectedVisual":
385 "visualType": "IMAGE",
386 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"