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" },
74 "enableSelection":true
99 "popupMaxSize":[656,72],
100 "optionDividerSize":[2,0],
101 "popupDividerColor":[0.23,0.72,0.8,0.11],
102 "popupIconColor":[1.0,1.0,1.0,1.0],
103 "popupPressedColor":[0.24,0.72,0.8,0.11],
105 "visualType": "IMAGE",
106 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
108 "backgroundBorder": {
109 "visualType": "IMAGE",
110 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
111 "mixColor":[0.24,0.72,0.8,1.0]
113 "popupFadeInDuration":0.25,
114 "popupFadeOutDuration":0.25
116 "TextSelectionPopupButton":
123 "unselectedBackgroundVisual":
125 "visualType": "IMAGE",
128 "selectedBackgroundVisual":
130 "visualType": "IMAGE",
134 "TextSelectionToolbar":
136 "enableOvershoot":true,
137 "enableScrollBar":true,
140 "overshootAnimationSpeed":360.0,
141 "overshootSize":[720.0,130.0]
144 "TextSelectionScrollBar":
146 "indicatorShowDuration":0.25,
147 "indicatorHideDuration":0.25,
148 "indicatorTransientDuration":1.0
150 "TextSelectionScrollIndicator":
154 "visualType":"IMAGE",
155 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
157 "color":[0.0,0.72,0.9,0.7]
161 "overshootEffectColor":"B018",
162 "overshootAnimationSpeed":360.0,
163 "overshootSize":[720.0,130.0]
167 "overshootEffectColor":"B018",
168 "overshootAnimationSpeed":360.0,
169 "overshootSize":[720.0,130.0]
173 "indicatorShowDuration":0.25,
174 "indicatorHideDuration":0.25,
175 "color":[0.0,0.72,0.9,0.7]
180 "primaryCursorColor":[0.0,0.72,0.9,1.0],
181 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
183 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
184 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
185 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
186 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
187 "enableScrollBar":true,
188 "scrollBarShowDuration":0.8,
189 "scrollBarFadeDuration":0.5,
190 "enableSelection":true
194 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
195 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
196 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
197 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
198 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
199 "popupBackgroundBorder":[17,17,13,13]
203 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
204 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
205 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
206 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
207 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
208 "popupBackgroundBorder":[17,17,13,13]
216 "url":"{DALI_IMAGE_DIR}slider-skin.9.png",
220 "url":"{DALI_IMAGE_DIR}slider-skin-progress.9.png",
224 "url":"{DALI_IMAGE_DIR}slider-skin-handle.png",
227 "popupVisual":"{DALI_IMAGE_DIR}slider-popup.9.png",
228 "popupArrowVisual":"{DALI_IMAGE_DIR}slider-popup-arrow.9.png",
229 "disableColor":[0.5, 0.5, 0.5, 1.0],
230 "popupTextColor":[0.5,0.5,0.5,1.0],
236 "SliderHandleTextLabel":
238 "textColor":[0.8,0.8,1,1]
243 "visualType":"IMAGE",
244 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
247 "visualType":"IMAGE",
248 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
250 "secondaryProgressVisual":{
251 "visualType":"IMAGE",
252 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
254 "indeterminateVisual":{
255 "visualType":"IMAGE",
256 "pixelArea":[0.0, 0.0, 10.0, 1.0],
257 "wrapModeU":"REPEAT",
258 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
260 "indeterminateVisualAnimation":
263 "target":"indeterminateVisual",
264 "property":"pixelArea",
265 "initialValue":[0.0, 0.0, 10.0, 1.0],
266 "targetValue":[-1.0, 0.0, 10.0, 1.0],
269 "alphaFunction":"DEFAULT",
279 "visualType": "TEXT",
280 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
281 "pointSize" : 12.0, // Point size must always be provided to Text Visual
282 "horizontalAlignment": "CENTER",
283 "verticalAlignment": "CENTER"
285 "progressValue": 0.0,
286 "secondaryProgressValue":0.0,
287 "indeterminate": false
291 "initialAutoRepeatingDelay":2.0,
292 "nextAutoRepeatingDelay":0.9
293 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
298 "autoRepeating":false,
300 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
303 "visualType": "TEXT",
304 "horizontalAlignment": "CENTER",
305 "pointSize" : 10.0, // Point size must always be provided to Text Visual
306 "verticalAlignment": "CENTER"
308 "unselectedBackgroundVisual":
310 "visualType": "IMAGE",
311 "url": "{DALI_IMAGE_DIR}button-up.9.png"
313 "selectedBackgroundVisual":
315 "visualType": "IMAGE",
316 "url": "{DALI_IMAGE_DIR}button-down.9.png"
318 "disabledSelectedBackgroundVisual":
320 "visualType": "IMAGE",
321 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
323 "disabledUnselectedBackgroundVisual":
325 "visualType": "IMAGE",
326 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
332 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
335 "visualType": "TEXT",
336 "pointSize" : 10.0, // Point size must always be provided to Text Visual
337 "verticalAlignment": "CENTER"
341 "visualType": "IMAGE",
342 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
346 "visualType": "IMAGE",
347 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
349 "disabledUnselectedVisual":
351 "visualType": "IMAGE",
352 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
354 "disabledSelectedVisual":
356 "visualType": "IMAGE",
357 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
363 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
366 "visualType": "TEXT",
367 "pointSize" : 10.0, // Point size must always be provided to Text Visual
368 "verticalAlignment": "CENTER"
372 "visualType": "IMAGE",
373 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
377 "visualType": "IMAGE",
378 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
380 "disabledUnselectedVisual":
382 "visualType": "IMAGE",
383 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
385 "disabledSelectedVisual":
387 "visualType": "IMAGE",
388 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"