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" }
103 "TextFieldFontSize1":
107 "TextFieldFontSize2":
111 "TextFieldFontSize3":
115 "TextFieldFontSize4":
119 "TextSelectionPopup":
121 "popupMaxSize":[1700,100],
122 "optionDividerSize":[2,0],
123 "popupDividerColor":[0.23,0.72,0.8,0.11],
124 "popupIconColor":[1.0,1.0,1.0,1.0],
125 "popupPressedColor":[0.24,0.72,0.8,0.11],
127 "rendererType": "image",
128 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
130 "backgroundBorder": {
131 "visualType": "IMAGE",
132 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
133 "mixColor":[0.24,0.72,0.8,1.0]
135 "popupFadeInDuration":0.25,
136 "popupFadeOutDuration":0.25
138 "TextSelectionPopupButton":
145 "unselectedBackgroundVisual":
147 "visualType": "IMAGE",
150 "selectedBackgroundVisual":
152 "visualType": "IMAGE",
156 "TextSelectionToolbar":
158 "enableOvershoot":true,
159 "enableScrollBar":true,
162 "overshootAnimationSpeed":360.0,
163 "overshootSize":[1920.0,130.0]
166 "TextSelectionScrollBar":
168 "indicatorShowDuration":0.25,
169 "indicatorHideDuration":0.25,
170 "indicatorTransientDuration":1.0
172 "TextSelectionScrollIndicator":
176 "visualType":"IMAGE",
177 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
179 "color":[0.0,0.72,0.9,0.7]
183 "overshootEffectColor":"B018",
184 "overshootAnimationSpeed":960.0,
185 "overshootSize":[1920.0,130.0]
189 "overshootEffectColor":"B018",
190 "overshootAnimationSpeed":960.0,
191 "overshootSize":[1920.0,130.0]
195 "indicatorShowDuration":0.25,
196 "indicatorHideDuration":0.25,
197 "color":[0.0,0.72,0.9,0.7]
202 "primaryCursorColor":[0.0,0.72,0.9,1.0],
203 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
205 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
206 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
207 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
208 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
209 "enableScrollBar":true,
210 "scrollBarShowDuration":0.8,
211 "scrollBarFadeDuration":0.5
216 "visualType":"IMAGE",
217 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
220 "visualType":"IMAGE",
221 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
223 "secondaryProgressVisual":{
224 "visualType":"IMAGE",
225 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
227 "indeterminateVisual":{
228 "visualType":"IMAGE",
229 "pixelArea":[0.0, 0.0, 10.0, 1.0],
230 "wrapModeU":"REPEAT",
231 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
233 "indeterminateVisualAnimation":
236 "target":"indeterminateVisual",
237 "property":"pixelArea",
238 "initialValue":[0.0, 0.0, 10.0, 1.0],
239 "targetValue":[-1.0, 0.0, 10.0, 1.0],
242 "alphaFunction":"DEFAULT",
252 "visualType": "TEXT",
253 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
254 "pointSize" : 12.0, // Point size must always be provided to Text Visual
255 "horizontalAlignment": "CENTER",
256 "verticalAlignment": "CENTER"
258 "progressValue": 0.0,
259 "secondaryProgressValue":0.0,
260 "indeterminate": false
264 "styles":["Tooltip"],
265 "initialAutoRepeatingDelay":2.0,
266 "nextAutoRepeatingDelay":0.9
267 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
272 "autoRepeating":false,
274 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
277 "visualType": "TEXT",
278 "horizontalAlignment": "CENTER",
279 "pointSize" : 15.0, // Point size must always be provided to Text Visual
280 "verticalAlignment": "CENTER"
282 "unselectedBackgroundVisual":
284 "visualType": "IMAGE",
285 "url": "{DALI_IMAGE_DIR}button-up.9.png"
287 "selectedBackgroundVisual":
289 "visualType": "IMAGE",
290 "url": "{DALI_IMAGE_DIR}button-down.9.png"
292 "disabledSelectedBackgroundVisual":
294 "visualType": "IMAGE",
295 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
297 "disabledUnselectedBackgroundVisual":
299 "visualType": "IMAGE",
300 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
310 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
313 "visualType": "TEXT",
314 "pointSize" : 15.0, // Point size must always be provided to Text Visual
315 "verticalAlignment": "CENTER"
319 "visualType": "IMAGE",
320 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
324 "visualType": "IMAGE",
325 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
327 "disabledUnselectedVisual":
329 "visualType": "IMAGE",
330 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
332 "disabledSelectedVisual":
334 "visualType": "IMAGE",
335 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
341 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
344 "visualType": "TEXT",
345 "pointSize" : 15.0, // Point size must always be provided to Text Visual
346 "verticalAlignment": "CENTER"
350 "visualType": "IMAGE",
351 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
355 "visualType": "IMAGE",
356 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
358 "disabledUnselectedVisual":
360 "visualType": "IMAGE",
361 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
363 "disabledSelectedVisual":
365 "visualType": "IMAGE",
366 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"