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
290 "CircularProgressBar":
295 "mixColor":[0.0,0.165,0.302,1.0],
302 "mixColor":[0.0,0.549,1.0,1.0],
307 "secondaryProgressVisual":{
309 "mixColor":[0.0,0.549,1.0,0.3],
314 "indeterminateVisual":{
316 "mixColor":[0.02,0.71,0.525,1.0],
322 "indeterminateVisualAnimation":
325 "target":"trackVisual",
326 "property":"opacity",
330 "alphaFunction":"DEFAULT",
339 "target":"secondaryProgressVisual",
340 "property":"opacity",
344 "alphaFunction":"DEFAULT",
353 "target":"progressVisual",
354 "property":"sweepAngle",
359 "alphaFunction":[0.439, 0.0, 0.718, 0.428],
368 "target":"progressVisual",
369 "property":"sweepAngle",
373 "alphaFunction":[0.224, 0.571, 0.53, 1.0],
382 "target":"progressVisual",
383 "property":"startAngle",
388 "alphaFunction":[0.33, 0.0, 0.3, 1.0],
397 "target":"indeterminateVisual",
398 "property":"sweepAngle",
403 "alphaFunction":[0.439, 0.0, 0.718, 0.428],
412 "target":"indeterminateVisual",
413 "property":"sweepAngle",
417 "alphaFunction":[0.224, 0.571, 0.53, 1.0],
426 "target":"indeterminateVisual",
427 "property":"startAngle",
432 "alphaFunction":[0.33, 0.0, 0.3, 1.0],
442 "visualType": "TEXT",
443 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
444 "pointSize" : 12.0, // Point size must always be provided to Text Visual
445 "horizontalAlignment": "CENTER",
446 "verticalAlignment": "CENTER"
448 "progressValue": 0.2,
449 "secondaryProgressValue":0.4,
450 "indeterminate": false
454 "initialAutoRepeatingDelay":2.0,
455 "nextAutoRepeatingDelay":0.9
456 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
460 "anchorPoint": [ 0.5, 1.0, 0.5 ],
461 "parentOrigin": [ 0.5, 1.0, 0,5 ],
464 "visualType": "TEXT",
465 "text" : "BOTTOM_BTN",
466 "horizontalAlignment": "CENTER",
467 "verticalAlignment": "CENTER",
469 "textColor": [0.98,0.98,0.98,1.0]
473 "visualType": "IMAGE",
474 "url": "{DALI_STYLE_IMAGE_DIR}tw_bottom_btn_bg.png",
475 "mixColor": [0.0,0.21,0.29,0.9]
477 "selectedStateImage":
479 "visualType": "IMAGE",
480 "url": "{DALI_STYLE_IMAGE_DIR}tw_bottom_btn_bg.png",
481 "mixColor": [0.0,0.57,0.8,0.3]
487 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
490 "visualType": "TEXT",
491 "pointSize" : 10.0, // Point size must always be provided to Text Visual
492 "verticalAlignment": "CENTER"
496 "visualType": "IMAGE",
497 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
501 "visualType": "IMAGE",
502 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
504 "disabledUnselectedVisual":
506 "visualType": "IMAGE",
507 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
509 "disabledSelectedVisual":
511 "visualType": "IMAGE",
512 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
518 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
521 "visualType": "TEXT",
522 "pointSize" : 10.0, // Point size must always be provided to Text Visual
523 "verticalAlignment": "CENTER"
527 "visualType": "IMAGE",
528 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
532 "visualType": "IMAGE",
533 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
535 "disabledUnselectedVisual":
537 "visualType": "IMAGE",
538 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
540 "disabledSelectedVisual":
542 "visualType": "IMAGE",
543 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"