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.07,0.70,1.0,1.0],
69 "secondaryCursorColor":[0.07,0.70,1.0,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,
76 "textColor":[0.99,0.99,0.99,1.0],
78 "visualType": "COLOR",
79 "mixColor":[0.0,0.0,0.0,1.0]
81 "textBackground":[0.0,0.0,0.0,1.0]
100 "TextFieldFontSize4":
104 "TextSelectionPopup":
106 "popupMaxSize":[656,72],
107 "optionDividerSize":[2,0],
108 "popupDividerColor":[0.23,0.72,0.8,0.11],
109 "popupIconColor":[1.0,1.0,1.0,1.0],
110 "popupPressedColor":[0.24,0.72,0.8,0.11],
112 "visualType": "IMAGE",
113 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
115 "backgroundBorder": {
116 "visualType": "IMAGE",
117 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
118 "mixColor":[0.24,0.72,0.8,1.0]
120 "popupFadeInDuration":0.25,
121 "popupFadeOutDuration":0.25
123 "TextSelectionPopupButton":
130 "unselectedBackgroundVisual":
132 "visualType": "IMAGE",
135 "selectedBackgroundVisual":
137 "visualType": "IMAGE",
141 "TextSelectionToolbar":
143 "enableOvershoot":true,
144 "enableScrollBar":true,
147 "overshootAnimationSpeed":360.0,
148 "overshootSize":[720.0,130.0]
151 "TextSelectionScrollBar":
153 "indicatorShowDuration":0.25,
154 "indicatorHideDuration":0.25,
155 "indicatorTransientDuration":1.0
157 "TextSelectionScrollIndicator":
161 "visualType":"IMAGE",
162 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
164 "color":[0.0,0.72,0.9,0.7]
168 "overshootEffectColor":"B018",
169 "overshootAnimationSpeed":360.0,
170 "overshootSize":[720.0,130.0]
174 "overshootEffectColor":"B018",
175 "overshootAnimationSpeed":360.0,
176 "overshootSize":[720.0,130.0]
180 "indicatorShowDuration":0.25,
181 "indicatorHideDuration":0.25,
182 "color":[0.0,0.72,0.9,0.7]
187 "primaryCursorColor":[0.0,0.72,0.9,1.0],
188 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
190 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
191 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
192 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
193 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
194 "enableScrollBar":true,
195 "scrollBarShowDuration":0.8,
196 "scrollBarFadeDuration":0.5,
197 "enableSelection":true
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]
210 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
211 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
212 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
213 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
214 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
215 "popupBackgroundBorder":[17,17,13,13]
223 "url":"{DALI_IMAGE_DIR}slider-skin.9.png",
227 "url":"{DALI_IMAGE_DIR}slider-skin-progress.9.png",
231 "url":"{DALI_IMAGE_DIR}slider-skin-handle.png",
234 "popupVisual":"{DALI_IMAGE_DIR}slider-popup.9.png",
235 "popupArrowVisual":"{DALI_IMAGE_DIR}slider-popup-arrow.9.png",
236 "disableColor":[0.5, 0.5, 0.5, 1.0],
237 "popupTextColor":[0.5,0.5,0.5,1.0],
243 "SliderHandleTextLabel":
245 "textColor":[0.8,0.8,1,1]
250 "visualType":"IMAGE",
251 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
254 "visualType":"IMAGE",
255 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
257 "secondaryProgressVisual":{
258 "visualType":"IMAGE",
259 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
261 "indeterminateVisual":{
262 "visualType":"IMAGE",
263 "pixelArea":[0.0, 0.0, 10.0, 1.0],
264 "wrapModeU":"REPEAT",
265 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
267 "indeterminateVisualAnimation":
270 "target":"indeterminateVisual",
271 "property":"pixelArea",
272 "initialValue":[0.0, 0.0, 10.0, 1.0],
273 "targetValue":[-1.0, 0.0, 10.0, 1.0],
276 "alphaFunction":"DEFAULT",
286 "visualType": "TEXT",
287 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
288 "pointSize" : 12.0, // Point size must always be provided to Text Visual
289 "horizontalAlignment": "CENTER",
290 "verticalAlignment": "CENTER"
292 "progressValue": 0.0,
293 "secondaryProgressValue":0.0,
294 "indeterminate": false
296 "CircularProgressBar":
301 "mixColor":[0.0,0.165,0.302,1.0],
308 "mixColor":[0.0,0.549,1.0,1.0],
313 "secondaryProgressVisual":{
315 "mixColor":[0.0,0.549,1.0,0.3],
320 "indeterminateVisual":{
322 "mixColor":[0.02,0.71,0.525,1.0],
328 "indeterminateVisualAnimation":
331 "target":"trackVisual",
332 "property":"opacity",
336 "alphaFunction":"DEFAULT",
345 "target":"secondaryProgressVisual",
346 "property":"opacity",
350 "alphaFunction":"DEFAULT",
359 "target":"progressVisual",
360 "property":"sweepAngle",
365 "alphaFunction":[0.439, 0.0, 0.718, 0.428],
374 "target":"progressVisual",
375 "property":"sweepAngle",
379 "alphaFunction":[0.224, 0.571, 0.53, 1.0],
388 "target":"progressVisual",
389 "property":"startAngle",
394 "alphaFunction":[0.33, 0.0, 0.3, 1.0],
403 "target":"indeterminateVisual",
404 "property":"sweepAngle",
409 "alphaFunction":[0.439, 0.0, 0.718, 0.428],
418 "target":"indeterminateVisual",
419 "property":"sweepAngle",
423 "alphaFunction":[0.224, 0.571, 0.53, 1.0],
432 "target":"indeterminateVisual",
433 "property":"startAngle",
438 "alphaFunction":[0.33, 0.0, 0.3, 1.0],
448 "visualType": "TEXT",
449 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
450 "pointSize" : 12.0, // Point size must always be provided to Text Visual
451 "horizontalAlignment": "CENTER",
452 "verticalAlignment": "CENTER"
454 "progressValue": 0.2,
455 "secondaryProgressValue":0.4,
456 "indeterminate": false
460 "initialAutoRepeatingDelay":2.0,
461 "nextAutoRepeatingDelay":0.9
462 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
466 "anchorPoint": [ 0.5, 1.0, 0.5 ],
467 "parentOrigin": [ 0.5, 1.0, 0,5 ],
470 "visualType": "TEXT",
471 "text" : "BOTTOM_BTN",
472 "horizontalAlignment": "CENTER",
473 "verticalAlignment": "CENTER",
475 "textColor": [0.98,0.98,0.98,1.0]
479 "visualType": "IMAGE",
480 "url": "{DALI_STYLE_IMAGE_DIR}tw_bottom_btn_bg.png",
481 "mixColor": [0.0,0.21,0.29,0.9]
483 "selectedStateImage":
485 "visualType": "IMAGE",
486 "url": "{DALI_STYLE_IMAGE_DIR}tw_bottom_btn_bg.png",
487 "mixColor": [0.0,0.57,0.8,0.3]
493 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
496 "visualType": "TEXT",
497 "pointSize" : 10.0, // Point size must always be provided to Text Visual
498 "verticalAlignment": "CENTER"
502 "visualType": "IMAGE",
503 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
507 "visualType": "IMAGE",
508 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
510 "disabledUnselectedVisual":
512 "visualType": "IMAGE",
513 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
515 "disabledSelectedVisual":
517 "visualType": "IMAGE",
518 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
524 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
527 "visualType": "TEXT",
528 "pointSize" : 10.0, // Point size must always be provided to Text Visual
529 "verticalAlignment": "CENTER"
533 "visualType": "IMAGE",
534 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
538 "visualType": "IMAGE",
539 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
541 "disabledUnselectedVisual":
543 "visualType": "IMAGE",
544 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
546 "disabledSelectedVisual":
548 "visualType": "IMAGE",
549 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"