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
298 "initialAutoRepeatingDelay":2.0,
299 "nextAutoRepeatingDelay":0.9
300 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
304 "anchorPoint": [ 0.5, 1.0, 0.5 ],
305 "parentOrigin": [ 0.5, 1.0, 0,5 ],
308 "visualType": "TEXT",
309 "text" : "BOTTOM_BTN",
310 "horizontalAlignment": "CENTER",
311 "verticalAlignment": "CENTER",
313 "textColor": [0.98,0.98,0.98,1.0]
317 "visualType": "IMAGE",
318 "url": "{DALI_STYLE_IMAGE_DIR}tw_bottom_btn_bg.png",
319 "mixColor": [0.0,0.21,0.29,0.9]
321 "selectedStateImage":
323 "visualType": "IMAGE",
324 "url": "{DALI_STYLE_IMAGE_DIR}tw_bottom_btn_bg.png",
325 "mixColor": [0.0,0.57,0.8,0.3]
331 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
334 "visualType": "TEXT",
335 "pointSize" : 10.0, // Point size must always be provided to Text Visual
336 "verticalAlignment": "CENTER"
340 "visualType": "IMAGE",
341 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
345 "visualType": "IMAGE",
346 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
348 "disabledUnselectedVisual":
350 "visualType": "IMAGE",
351 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
353 "disabledSelectedVisual":
355 "visualType": "IMAGE",
356 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
362 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
365 "visualType": "TEXT",
366 "pointSize" : 10.0, // Point size must always be provided to Text Visual
367 "verticalAlignment": "CENTER"
371 "visualType": "IMAGE",
372 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
376 "visualType": "IMAGE",
377 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
379 "disabledUnselectedVisual":
381 "visualType": "IMAGE",
382 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
384 "disabledSelectedVisual":
386 "visualType": "IMAGE",
387 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"