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 //******************************************************************************
31 "alwaysShowFocus":true,
32 "clearFocusOnEscape":false
47 "visual":"{DALI_IMAGE_DIR}tooltip.9.png",
53 "aboveVisual":"{DALI_IMAGE_DIR}tooltip-tail-above.png",
54 "belowVisual":"{DALI_IMAGE_DIR}tooltip-tail-below.png"
57 "hoverPointOffset":[10,10],
58 "movementThreshold":5,
59 "disappearOnMovement":false
65 "enableAutoScroll":false,
66 "autoScrollLoopCount":2,
95 "primaryCursorColor":[0.0,0.72,0.9,1.0],
96 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
98 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
99 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
100 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
101 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
102 "enableSelection":false
105 "TextFieldFontSize0":
109 "TextFieldFontSize1":
113 "TextFieldFontSize2":
117 "TextFieldFontSize3":
121 "TextFieldFontSize4":
125 "TextSelectionPopup":
127 "popupMaxSize":[1700,100],
128 "optionDividerSize":[2,0],
129 "popupDividerColor":[0.23,0.72,0.8,0.11],
130 "popupIconColor":[1.0,1.0,1.0,1.0],
131 "popupPressedColor":[0.24,0.72,0.8,0.11],
133 "rendererType": "image",
134 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
136 "backgroundBorder": {
137 "visualType": "IMAGE",
138 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
139 "mixColor":[0.24,0.72,0.8,1.0]
141 "popupFadeInDuration":0.25,
142 "popupFadeOutDuration":0.25
144 "TextSelectionPopupButton":
151 "unselectedBackgroundVisual":
153 "visualType": "IMAGE",
156 "selectedBackgroundVisual":
158 "visualType": "IMAGE",
162 "TextSelectionToolbar":
164 "enableOvershoot":true,
165 "enableScrollBar":true,
168 "overshootAnimationSpeed":360.0,
169 "overshootSize":[1920.0,130.0]
172 "TextSelectionScrollBar":
174 "indicatorShowDuration":0.25,
175 "indicatorHideDuration":0.25,
176 "indicatorTransientDuration":1.0
178 "TextSelectionScrollIndicator":
182 "visualType":"IMAGE",
183 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
185 "color":[0.0,0.72,0.9,0.7]
189 "overshootEffectColor":"B018",
190 "overshootAnimationSpeed":960.0,
191 "overshootSize":[1920.0,130.0]
195 "overshootEffectColor":"B018",
196 "overshootAnimationSpeed":960.0,
197 "overshootSize":[1920.0,130.0]
201 "indicatorShowDuration":0.25,
202 "indicatorHideDuration":0.25,
203 "color":[0.0,0.72,0.9,0.7]
208 "primaryCursorColor":[0.0,0.72,0.9,1.0],
209 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
211 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
212 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
213 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
214 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
215 "enableScrollBar":true,
216 "scrollBarShowDuration":0.8,
217 "scrollBarFadeDuration":0.5,
218 "enableSelection":false
223 "visualType":"IMAGE",
224 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
227 "visualType":"IMAGE",
228 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
230 "secondaryProgressVisual":{
231 "visualType":"IMAGE",
232 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
234 "indeterminateVisual":{
235 "visualType":"IMAGE",
236 "pixelArea":[0.0, 0.0, 10.0, 1.0],
237 "wrapModeU":"REPEAT",
238 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
240 "indeterminateVisualAnimation":
243 "target":"indeterminateVisual",
244 "property":"pixelArea",
245 "initialValue":[0.0, 0.0, 10.0, 1.0],
246 "targetValue":[-1.0, 0.0, 10.0, 1.0],
249 "alphaFunction":"DEFAULT",
259 "visualType": "TEXT",
260 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
261 "pointSize" : 12.0, // Point size must always be provided to Text Visual
262 "horizontalAlignment": "CENTER",
263 "verticalAlignment": "CENTER"
265 "progressValue": 0.0,
266 "secondaryProgressValue":0.0,
267 "indeterminate": false
271 "styles":["Tooltip"],
272 "initialAutoRepeatingDelay":2.0,
273 "nextAutoRepeatingDelay":0.9
274 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
279 "autoRepeating":false,
281 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
284 "visualType": "TEXT",
285 "horizontalAlignment": "CENTER",
286 "pointSize" : 15.0, // Point size must always be provided to Text Visual
287 "verticalAlignment": "CENTER"
289 "unselectedBackgroundVisual":
291 "visualType": "IMAGE",
292 "url": "{DALI_IMAGE_DIR}button-up.9.png"
294 "selectedBackgroundVisual":
296 "visualType": "IMAGE",
297 "url": "{DALI_IMAGE_DIR}button-down.9.png"
299 "disabledSelectedBackgroundVisual":
301 "visualType": "IMAGE",
302 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
304 "disabledUnselectedBackgroundVisual":
306 "visualType": "IMAGE",
307 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
317 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
320 "visualType": "TEXT",
321 "pointSize" : 15.0, // Point size must always be provided to Text Visual
322 "verticalAlignment": "CENTER"
326 "visualType": "IMAGE",
327 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
331 "visualType": "IMAGE",
332 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
334 "disabledUnselectedVisual":
336 "visualType": "IMAGE",
337 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
339 "disabledSelectedVisual":
341 "visualType": "IMAGE",
342 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
348 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
351 "visualType": "TEXT",
352 "pointSize" : 15.0, // Point size must always be provided to Text Visual
353 "verticalAlignment": "CENTER"
357 "visualType": "IMAGE",
358 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
362 "visualType": "IMAGE",
363 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
365 "disabledUnselectedVisual":
367 "visualType": "IMAGE",
368 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
370 "disabledSelectedVisual":
372 "visualType": "IMAGE",
373 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"