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":false
46 "visual":"{DALI_IMAGE_DIR}tooltip.9.png",
52 "aboveVisual":"{DALI_IMAGE_DIR}tooltip-tail-above.png",
53 "belowVisual":"{DALI_IMAGE_DIR}tooltip-tail-below.png"
56 "hoverPointOffset":[10,10],
57 "movementThreshold":5,
58 "disappearOnMovement":false
64 "enableAutoScroll":false,
65 "autoScrollLoopCount":2,
94 "primaryCursorColor":[0.0,0.72,0.9,1.0],
95 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
97 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
98 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
99 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
100 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
103 "TextFieldFontSize0":
107 "TextFieldFontSize1":
111 "TextFieldFontSize2":
115 "TextFieldFontSize3":
119 "TextFieldFontSize4":
123 "TextSelectionPopup":
125 "popupMaxSize":[1700,100],
126 "optionDividerSize":[2,0],
127 "popupDividerColor":[0.23,0.72,0.8,0.11],
128 "popupIconColor":[1.0,1.0,1.0,1.0],
129 "popupPressedColor":[0.24,0.72,0.8,0.11],
131 "rendererType": "image",
132 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
134 "backgroundBorder": {
135 "visualType": "IMAGE",
136 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
137 "mixColor":[0.24,0.72,0.8,1.0]
139 "popupFadeInDuration":0.25,
140 "popupFadeOutDuration":0.25
142 "TextSelectionPopupButton":
149 "unselectedBackgroundVisual":
151 "visualType": "IMAGE",
154 "selectedBackgroundVisual":
156 "visualType": "IMAGE",
160 "TextSelectionToolbar":
162 "enableOvershoot":true,
163 "enableScrollBar":true,
166 "overshootAnimationSpeed":360.0,
167 "overshootSize":[1920.0,130.0]
170 "TextSelectionScrollBar":
172 "indicatorShowDuration":0.25,
173 "indicatorHideDuration":0.25,
174 "indicatorTransientDuration":1.0
176 "TextSelectionScrollIndicator":
180 "visualType":"IMAGE",
181 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
183 "color":[0.0,0.72,0.9,0.7]
187 "overshootEffectColor":"B018",
188 "overshootAnimationSpeed":960.0,
189 "overshootSize":[1920.0,130.0]
193 "overshootEffectColor":"B018",
194 "overshootAnimationSpeed":960.0,
195 "overshootSize":[1920.0,130.0]
199 "indicatorShowDuration":0.25,
200 "indicatorHideDuration":0.25,
201 "color":[0.0,0.72,0.9,0.7]
206 "primaryCursorColor":[0.0,0.72,0.9,1.0],
207 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
209 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
210 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
211 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
212 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
213 "enableScrollBar":true,
214 "scrollBarShowDuration":0.8,
215 "scrollBarFadeDuration":0.5
220 "visualType":"IMAGE",
221 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
224 "visualType":"IMAGE",
225 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
227 "secondaryProgressVisual":{
228 "visualType":"IMAGE",
229 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
231 "indeterminateVisual":{
232 "visualType":"IMAGE",
233 "pixelArea":[0.0, 0.0, 10.0, 1.0],
234 "wrapModeU":"REPEAT",
235 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
237 "indeterminateVisualAnimation":
240 "target":"indeterminateVisual",
241 "property":"pixelArea",
242 "initialValue":[0.0, 0.0, 10.0, 1.0],
243 "targetValue":[-1.0, 0.0, 10.0, 1.0],
246 "alphaFunction":"DEFAULT",
256 "visualType": "TEXT",
257 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
258 "pointSize" : 12.0, // Point size must always be provided to Text Visual
259 "horizontalAlignment": "CENTER",
260 "verticalAlignment": "CENTER"
262 "progressValue": 0.0,
263 "secondaryProgressValue":0.0,
264 "indeterminate": false
268 "styles":["Tooltip"],
269 "initialAutoRepeatingDelay":2.0,
270 "nextAutoRepeatingDelay":0.9
271 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
276 "autoRepeating":false,
278 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
281 "visualType": "TEXT",
282 "horizontalAlignment": "CENTER",
283 "pointSize" : 15.0, // Point size must always be provided to Text Visual
284 "verticalAlignment": "CENTER"
286 "unselectedBackgroundVisual":
288 "visualType": "IMAGE",
289 "url": "{DALI_IMAGE_DIR}button-up.9.png"
291 "selectedBackgroundVisual":
293 "visualType": "IMAGE",
294 "url": "{DALI_IMAGE_DIR}button-down.9.png"
296 "disabledSelectedBackgroundVisual":
298 "visualType": "IMAGE",
299 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
301 "disabledUnselectedBackgroundVisual":
303 "visualType": "IMAGE",
304 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
314 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
317 "visualType": "TEXT",
318 "pointSize" : 15.0, // Point size must always be provided to Text Visual
319 "verticalAlignment": "CENTER"
323 "visualType": "IMAGE",
324 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
328 "visualType": "IMAGE",
329 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
331 "disabledUnselectedVisual":
333 "visualType": "IMAGE",
334 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
336 "disabledSelectedVisual":
338 "visualType": "IMAGE",
339 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
345 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
348 "visualType": "TEXT",
349 "pointSize" : 15.0, // Point size must always be provided to Text Visual
350 "verticalAlignment": "CENTER"
354 "visualType": "IMAGE",
355 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
359 "visualType": "IMAGE",
360 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
362 "disabledUnselectedVisual":
364 "visualType": "IMAGE",
365 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
367 "disabledSelectedVisual":
369 "visualType": "IMAGE",
370 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"