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-bg.9.png"
130 "popupFadeInDuration":0.25,
131 "popupFadeOutDuration":0.25
133 "TextSelectionPopupButton":
140 "unselectedBackgroundVisual":
142 "visualType": "IMAGE",
145 "selectedBackgroundVisual":
147 "visualType": "IMAGE",
151 "TextSelectionToolbar":
153 "enableOvershoot":true,
156 "overshootAnimationSpeed":360.0,
157 "overshootSize":[1920.0,130.0]
162 "overshootEffectColor":"B018",
163 "overshootAnimationSpeed":960.0,
164 "overshootSize":[1920.0,130.0]
168 "overshootEffectColor":"B018",
169 "overshootAnimationSpeed":960.0,
170 "overshootSize":[1920.0,130.0]
175 "primaryCursorColor":[0.0,0.72,0.9,1.0],
176 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
178 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
179 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
180 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
181 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
186 "visualType":"IMAGE",
187 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
190 "visualType":"IMAGE",
191 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
193 "secondaryProgressVisual":{
194 "visualType":"IMAGE",
195 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
197 "indeterminateVisual":{
198 "visualType":"IMAGE",
199 "pixelArea":[0.0, 0.0, 10.0, 1.0],
200 "wrapModeU":"REPEAT",
201 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
203 "indeterminateVisualAnimation":
206 "target":"indeterminateVisual",
207 "property":"pixelArea",
208 "initialValue":[0.0, 0.0, 10.0, 1.0],
209 "targetValue":[-1.0, 0.0, 10.0, 1.0],
212 "alphaFunction":"DEFAULT",
222 "visualType": "TEXT",
223 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
224 "pointSize" : 12.0, // Point size must always be provided to Text Visual
225 "horizontalAlignment": "CENTER",
226 "verticalAlignment": "CENTER"
228 "progressValue": 0.0,
229 "secondaryProgressValue":0.0,
230 "indeterminate": false
234 "styles":["Tooltip"],
235 "initialAutoRepeatingDelay":2.0,
236 "nextAutoRepeatingDelay":0.9
237 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
242 "autoRepeating":false,
244 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
247 "visualType": "TEXT",
248 "horizontalAlignment": "CENTER",
249 "pointSize" : 15.0, // Point size must always be provided to Text Visual
250 "verticalAlignment": "CENTER"
252 "unselectedBackgroundVisual":
254 "visualType": "IMAGE",
255 "url": "{DALI_IMAGE_DIR}button-up.9.png"
257 "selectedBackgroundVisual":
259 "visualType": "IMAGE",
260 "url": "{DALI_IMAGE_DIR}button-down.9.png"
262 "disabledSelectedBackgroundVisual":
264 "visualType": "IMAGE",
265 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
267 "disabledUnselectedBackgroundVisual":
269 "visualType": "IMAGE",
270 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
276 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
279 "visualType": "TEXT",
280 "pointSize" : 15.0, // Point size must always be provided to Text Visual
281 "verticalAlignment": "CENTER"
285 "visualType": "IMAGE",
286 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
290 "visualType": "IMAGE",
291 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
293 "disabledUnselectedVisual":
295 "visualType": "IMAGE",
296 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
298 "disabledSelectedVisual":
300 "visualType": "IMAGE",
301 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
307 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
310 "visualType": "TEXT",
311 "pointSize" : 15.0, // Point size must always be provided to Text Visual
312 "verticalAlignment": "CENTER"
316 "visualType": "IMAGE",
317 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
321 "visualType": "IMAGE",
322 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
324 "disabledUnselectedVisual":
326 "visualType": "IMAGE",
327 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
329 "disabledSelectedVisual":
331 "visualType": "IMAGE",
332 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"