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 360x360 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,
33 "ignoreGlobalFontSizeChange":false
40 "enableAutoScroll":false,
41 "autoScrollLoopCount":2,
69 "primaryCursorColor":[0.0,0.72,0.9,1.0],
70 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
72 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
73 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
74 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
75 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
76 "enableSelection":true
101 "popupMaxSize":[656,72],
102 "optionDividerSize":[2,0],
103 "popupDividerColor":[0.23,0.72,0.8,0.11],
104 "popupIconColor":[1.0,1.0,1.0,1.0],
105 "popupPressedColor":[0.24,0.72,0.8,0.11],
107 "visualType": "IMAGE",
108 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
110 "backgroundBorder": {
111 "visualType": "IMAGE",
112 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
113 "mixColor":[0.24,0.72,0.8,1.0]
115 "popupFadeInDuration":0.25,
116 "popupFadeOutDuration":0.25
118 "TextSelectionPopupButton":
125 "unselectedBackgroundVisual":
127 "visualType": "IMAGE",
130 "selectedBackgroundVisual":
132 "visualType": "IMAGE",
136 "TextSelectionToolbar":
138 "enableOvershoot":true,
139 "enableScrollBar":true,
142 "overshootAnimationSpeed":360.0,
143 "overshootSize":[720.0,130.0]
146 "TextSelectionScrollBar":
148 "indicatorShowDuration":0.25,
149 "indicatorHideDuration":0.25,
150 "indicatorTransientDuration":1.0
152 "TextSelectionScrollIndicator":
156 "visualType":"IMAGE",
157 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
159 "color":[0.0,0.72,0.9,0.7]
163 "overshootEffectColor":"B018",
164 "overshootAnimationSpeed":360.0,
165 "overshootSize":[720.0,130.0]
169 "overshootEffectColor":"B018",
170 "overshootAnimationSpeed":360.0,
171 "overshootSize":[720.0,130.0]
175 "indicatorShowDuration":0.25,
176 "indicatorHideDuration":0.25,
177 "color":[0.0,0.72,0.9,0.7]
182 "primaryCursorColor":[0.0,0.72,0.9,1.0],
183 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
185 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
186 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
187 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
188 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
189 "enableScrollBar":true,
190 "scrollBarShowDuration":0.8,
191 "scrollBarFadeDuration":0.5,
192 "enableSelection":true
196 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
197 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
198 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
199 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
200 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
201 "popupBackgroundBorder":[17,17,13,13]
205 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
206 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
207 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
208 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
209 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
210 "popupBackgroundBorder":[17,17,13,13]
218 "url":"{DALI_IMAGE_DIR}slider-skin.9.png",
222 "url":"{DALI_IMAGE_DIR}slider-skin-progress.9.png",
226 "url":"{DALI_IMAGE_DIR}slider-skin-handle.png",
229 "popupVisual":"{DALI_IMAGE_DIR}slider-popup.9.png",
230 "popupArrowVisual":"{DALI_IMAGE_DIR}slider-popup-arrow.9.png",
231 "disableColor":[0.5, 0.5, 0.5, 1.0],
232 "popupTextColor":[0.5,0.5,0.5,1.0],
238 "SliderHandleTextLabel":
240 "textColor":[0.8,0.8,1,1]
245 "visualType":"IMAGE",
246 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
249 "visualType":"IMAGE",
250 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
252 "secondaryProgressVisual":{
253 "visualType":"IMAGE",
254 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
256 "indeterminateVisual":{
257 "visualType":"IMAGE",
258 "pixelArea":[0.0, 0.0, 10.0, 1.0],
259 "wrapModeU":"REPEAT",
260 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
262 "indeterminateVisualAnimation":
265 "target":"indeterminateVisual",
266 "property":"pixelArea",
267 "initialValue":[0.0, 0.0, 10.0, 1.0],
268 "targetValue":[-1.0, 0.0, 10.0, 1.0],
271 "alphaFunction":"DEFAULT",
281 "visualType": "TEXT",
282 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
283 "pointSize" : 12.0, // Point size must always be provided to Text Visual
284 "horizontalAlignment": "CENTER",
285 "verticalAlignment": "CENTER"
287 "progressValue": 0.0,
288 "secondaryProgressValue":0.0,
289 "indeterminate": false
293 "initialAutoRepeatingDelay":2.0,
294 "nextAutoRepeatingDelay":0.9
295 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
299 "anchorPoint": [ 0.5, 1.0, 0.5 ],
300 "parentOrigin": [ 0.5, 1.0, 0,5 ],
303 "visualType": "TEXT",
304 "text" : "BOTTOM_BTN",
305 "horizontalAlignment": "CENTER",
306 "verticalAlignment": "CENTER",
308 "textColor": [0.98,0.98,0.98,1.0]
312 "visualType": "IMAGE",
313 "url": "{DALI_STYLE_IMAGE_DIR}tw_bottom_btn_bg.png",
314 "mixColor": [0.0,0.21,0.29,0.9]
316 "selectedStateImage":
318 "visualType": "IMAGE",
319 "url": "{DALI_STYLE_IMAGE_DIR}tw_bottom_btn_bg.png",
320 "mixColor": [0.0,0.57,0.8,0.3]
326 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
329 "visualType": "TEXT",
330 "pointSize" : 10.0, // Point size must always be provided to Text Visual
331 "verticalAlignment": "CENTER"
335 "visualType": "IMAGE",
336 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
340 "visualType": "IMAGE",
341 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
343 "disabledUnselectedVisual":
345 "visualType": "IMAGE",
346 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
348 "disabledSelectedVisual":
350 "visualType": "IMAGE",
351 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
357 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
360 "visualType": "TEXT",
361 "pointSize" : 10.0, // Point size must always be provided to Text Visual
362 "verticalAlignment": "CENTER"
366 "visualType": "IMAGE",
367 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
371 "visualType": "IMAGE",
372 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
374 "disabledUnselectedVisual":
376 "visualType": "IMAGE",
377 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
379 "disabledSelectedVisual":
381 "visualType": "IMAGE",
382 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"