2 * Copyright (c) 2017 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 1920x1080 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 //******************************************************************************
42 "visual":"{DALI_IMAGE_DIR}tooltip.9.png",
48 "aboveVisual":"{DALI_IMAGE_DIR}tooltip-tail-above.png",
49 "belowVisual":"{DALI_IMAGE_DIR}tooltip-tail-below.png"
52 "hoverPointOffset":[10,10],
53 "movementThreshold":5,
54 "disappearOnMovement":false
60 "enableAutoScroll":false,
61 "autoScrollLoopCount":2,
90 "primaryCursorColor":[0.0,0.72,0.9,1.0],
91 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
93 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
94 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
95 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
96 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
97 "enableSelection":false
100 "TextFieldFontSize0":
104 "TextFieldFontSize1":
108 "TextFieldFontSize2":
112 "TextFieldFontSize3":
116 "TextFieldFontSize4":
120 "TextSelectionPopup":
122 "popupMaxSize":[1700,100],
123 "optionDividerSize":[2,0],
124 "popupDividerColor":[0.23,0.72,0.8,0.11],
125 "popupIconColor":[1.0,1.0,1.0,1.0],
126 "popupPressedColor":[0.24,0.72,0.8,0.11],
128 "rendererType": "image",
129 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
131 "backgroundBorder": {
132 "visualType": "IMAGE",
133 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
134 "mixColor":[0.24,0.72,0.8,1.0]
136 "popupFadeInDuration":0.25,
137 "popupFadeOutDuration":0.25
139 "TextSelectionPopupButton":
146 "unselectedBackgroundVisual":
148 "visualType": "IMAGE",
151 "selectedBackgroundVisual":
153 "visualType": "IMAGE",
157 "TextSelectionToolbar":
159 "enableOvershoot":true,
160 "enableScrollBar":true,
163 "overshootAnimationSpeed":360.0,
164 "overshootSize":[1920.0,130.0]
167 "TextSelectionScrollBar":
169 "indicatorShowDuration":0.25,
170 "indicatorHideDuration":0.25,
171 "indicatorTransientDuration":1.0
173 "TextSelectionScrollIndicator":
177 "visualType":"IMAGE",
178 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
180 "color":[0.0,0.72,0.9,0.7]
184 "overshootEffectColor":"B018",
185 "overshootAnimationSpeed":960.0,
186 "overshootSize":[1920.0,130.0]
190 "overshootEffectColor":"B018",
191 "overshootAnimationSpeed":960.0,
192 "overshootSize":[1920.0,130.0]
196 "indicatorShowDuration":0.25,
197 "indicatorHideDuration":0.25,
198 "color":[0.0,0.72,0.9,0.7]
203 "primaryCursorColor":[0.0,0.72,0.9,1.0],
204 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
206 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
207 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
208 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
209 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
210 "enableScrollBar":true,
211 "scrollBarShowDuration":0.8,
212 "scrollBarFadeDuration":0.5,
213 "enableSelection":false
218 "visualType":"IMAGE",
219 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
222 "visualType":"IMAGE",
223 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
225 "secondaryProgressVisual":{
226 "visualType":"IMAGE",
227 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
229 "indeterminateVisual":{
230 "visualType":"IMAGE",
231 "pixelArea":[0.0, 0.0, 10.0, 1.0],
232 "wrapModeU":"REPEAT",
233 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
235 "indeterminateVisualAnimation":
238 "target":"indeterminateVisual",
239 "property":"pixelArea",
240 "initialValue":[0.0, 0.0, 10.0, 1.0],
241 "targetValue":[-1.0, 0.0, 10.0, 1.0],
244 "alphaFunction":"DEFAULT",
254 "visualType": "TEXT",
255 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
256 "pointSize" : 12.0, // Point size must always be provided to Text Visual
257 "horizontalAlignment": "CENTER",
258 "verticalAlignment": "CENTER"
260 "progressValue": 0.0,
261 "secondaryProgressValue":0.0,
262 "indeterminate": false
266 "styles":["Tooltip"],
267 "initialAutoRepeatingDelay":2.0,
268 "nextAutoRepeatingDelay":0.9
269 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
274 "autoRepeating":false,
276 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
279 "visualType": "TEXT",
280 "horizontalAlignment": "CENTER",
281 "pointSize" : 15.0, // Point size must always be provided to Text Visual
282 "verticalAlignment": "CENTER"
284 "unselectedBackgroundVisual":
286 "visualType": "IMAGE",
287 "url": "{DALI_IMAGE_DIR}button-up.9.png"
289 "selectedBackgroundVisual":
291 "visualType": "IMAGE",
292 "url": "{DALI_IMAGE_DIR}button-down.9.png"
294 "disabledSelectedBackgroundVisual":
296 "visualType": "IMAGE",
297 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
299 "disabledUnselectedBackgroundVisual":
301 "visualType": "IMAGE",
302 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
312 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
315 "visualType": "TEXT",
316 "pointSize" : 15.0, // Point size must always be provided to Text Visual
317 "verticalAlignment": "CENTER"
321 "visualType": "IMAGE",
322 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
326 "visualType": "IMAGE",
327 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
329 "disabledUnselectedVisual":
331 "visualType": "IMAGE",
332 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
334 "disabledSelectedVisual":
336 "visualType": "IMAGE",
337 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
343 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
346 "visualType": "TEXT",
347 "pointSize" : 15.0, // Point size must always be provided to Text Visual
348 "verticalAlignment": "CENTER"
352 "visualType": "IMAGE",
353 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
357 "visualType": "IMAGE",
358 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
360 "disabledUnselectedVisual":
362 "visualType": "IMAGE",
363 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
365 "disabledSelectedVisual":
367 "visualType": "IMAGE",
368 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"