2 * Copyright (c) 2016 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 480x800 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,
32 "clearFocusOnEscape":true
39 "enableAutoScroll":false,
40 "autoScrollLoopCount":2,
68 "primaryCursorColor":[0.0,0.72,0.9,1.0],
69 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
71 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
72 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
73 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
74 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
75 "enableSelection":true
100 "popupMaxSize":[656,72],
101 "optionDividerSize":[2,0],
102 "popupDividerColor":[0.23,0.72,0.8,0.11],
103 "popupIconColor":[1.0,1.0,1.0,1.0],
104 "popupPressedColor":[0.24,0.72,0.8,0.11],
106 "visualType": "IMAGE",
107 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
109 "backgroundBorder": {
110 "visualType": "IMAGE",
111 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
112 "mixColor":[0.24,0.72,0.8,1.0]
114 "popupFadeInDuration":0.25,
115 "popupFadeOutDuration":0.25
117 "TextSelectionPopupButton":
124 "unselectedBackgroundVisual":
126 "visualType": "IMAGE",
129 "selectedBackgroundVisual":
131 "visualType": "IMAGE",
135 "TextSelectionToolbar":
137 "enableOvershoot":true,
138 "enableScrollBar":true,
141 "overshootAnimationSpeed":360.0,
142 "overshootSize":[720.0,130.0]
145 "TextSelectionScrollBar":
147 "indicatorShowDuration":0.25,
148 "indicatorHideDuration":0.25,
149 "indicatorTransientDuration":1.0
151 "TextSelectionScrollIndicator":
155 "visualType":"IMAGE",
156 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
158 "color":[0.0,0.72,0.9,0.7]
162 "overshootEffectColor":"B018",
163 "overshootAnimationSpeed":360.0,
164 "overshootSize":[720.0,130.0]
168 "overshootEffectColor":"B018",
169 "overshootAnimationSpeed":360.0,
170 "overshootSize":[720.0,130.0]
174 "indicatorShowDuration":0.25,
175 "indicatorHideDuration":0.25,
176 "color":[0.0,0.72,0.9,0.7]
181 "primaryCursorColor":[0.0,0.72,0.9,1.0],
182 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
184 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
185 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
186 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
187 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
188 "enableScrollBar":true,
189 "scrollBarShowDuration":0.8,
190 "scrollBarFadeDuration":0.5,
191 "enableSelection":true
195 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
196 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
197 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
198 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
199 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
200 "popupBackgroundBorder":[17,17,13,13]
204 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
205 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
206 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
207 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
208 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
209 "popupBackgroundBorder":[17,17,13,13]
217 "url":"{DALI_IMAGE_DIR}slider-skin.9.png",
221 "url":"{DALI_IMAGE_DIR}slider-skin-progress.9.png",
225 "url":"{DALI_IMAGE_DIR}slider-skin-handle.png",
228 "popupVisual":"{DALI_IMAGE_DIR}slider-popup.9.png",
229 "popupArrowVisual":"{DALI_IMAGE_DIR}slider-popup-arrow.9.png",
230 "disableColor":[0.5, 0.5, 0.5, 1.0],
231 "popupTextColor":[0.5,0.5,0.5,1.0],
237 "SliderHandleTextLabel":
239 "textColor":[0.8,0.8,1,1]
244 "visualType":"IMAGE",
245 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
248 "visualType":"IMAGE",
249 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
251 "secondaryProgressVisual":{
252 "visualType":"IMAGE",
253 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
255 "indeterminateVisual":{
256 "visualType":"IMAGE",
257 "pixelArea":[0.0, 0.0, 10.0, 1.0],
258 "wrapModeU":"REPEAT",
259 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
261 "indeterminateVisualAnimation":
264 "target":"indeterminateVisual",
265 "property":"pixelArea",
266 "initialValue":[0.0, 0.0, 10.0, 1.0],
267 "targetValue":[-1.0, 0.0, 10.0, 1.0],
270 "alphaFunction":"DEFAULT",
280 "visualType": "TEXT",
281 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
282 "pointSize" : 12.0, // Point size must always be provided to Text Visual
283 "horizontalAlignment": "CENTER",
284 "verticalAlignment": "CENTER"
286 "progressValue": 0.0,
287 "secondaryProgressValue":0.0,
288 "indeterminate": false
292 "initialAutoRepeatingDelay":2.0,
293 "nextAutoRepeatingDelay":0.9
294 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
298 "anchorPoint": [ 0.5, 1.0, 0.5 ],
299 "parentOrigin": [ 0.5, 1.0, 0,5 ],
302 "visualType": "TEXT",
303 "text" : "BOTTOM_BTN",
304 "horizontalAlignment": "CENTER",
305 "verticalAlignment": "CENTER",
307 "textColor": [0.98,0.98,0.98,1.0]
311 "visualType": "IMAGE",
312 "url": "{DALI_STYLE_IMAGE_DIR}tw_bottom_btn_bg.png",
313 "mixColor": [0.0,0.21,0.29,0.9]
315 "selectedStateImage":
317 "visualType": "IMAGE",
318 "url": "{DALI_STYLE_IMAGE_DIR}tw_bottom_btn_bg.png",
319 "mixColor": [0.0,0.57,0.8,0.3]
325 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
328 "visualType": "TEXT",
329 "pointSize" : 10.0, // Point size must always be provided to Text Visual
330 "verticalAlignment": "CENTER"
334 "visualType": "IMAGE",
335 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
339 "visualType": "IMAGE",
340 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
342 "disabledUnselectedVisual":
344 "visualType": "IMAGE",
345 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
347 "disabledSelectedVisual":
349 "visualType": "IMAGE",
350 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
356 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
359 "visualType": "TEXT",
360 "pointSize" : 10.0, // Point size must always be provided to Text Visual
361 "verticalAlignment": "CENTER"
365 "visualType": "IMAGE",
366 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
370 "visualType": "IMAGE",
371 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
373 "disabledUnselectedVisual":
375 "visualType": "IMAGE",
376 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
378 "disabledSelectedVisual":
380 "visualType": "IMAGE",
381 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"