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" },
101 "enableSelection":false
104 "TextFieldFontSize0":
108 "TextFieldFontSize1":
112 "TextFieldFontSize2":
116 "TextFieldFontSize3":
120 "TextFieldFontSize4":
124 "TextSelectionPopup":
126 "popupMaxSize":[1700,100],
127 "optionDividerSize":[2,0],
128 "popupDividerColor":[0.23,0.72,0.8,0.11],
129 "popupIconColor":[1.0,1.0,1.0,1.0],
130 "popupPressedColor":[0.24,0.72,0.8,0.11],
132 "rendererType": "image",
133 "url": "{DALI_IMAGE_DIR}selection-popup-background.9.png"
135 "backgroundBorder": {
136 "visualType": "IMAGE",
137 "url": "{DALI_IMAGE_DIR}selection-popup-border.9.png",
138 "mixColor":[0.24,0.72,0.8,1.0]
140 "popupFadeInDuration":0.25,
141 "popupFadeOutDuration":0.25
143 "TextSelectionPopupButton":
150 "unselectedBackgroundVisual":
152 "visualType": "IMAGE",
155 "selectedBackgroundVisual":
157 "visualType": "IMAGE",
161 "TextSelectionToolbar":
163 "enableOvershoot":true,
164 "enableScrollBar":true,
167 "overshootAnimationSpeed":360.0,
168 "overshootSize":[1920.0,130.0]
171 "TextSelectionScrollBar":
173 "indicatorShowDuration":0.25,
174 "indicatorHideDuration":0.25,
175 "indicatorTransientDuration":1.0
177 "TextSelectionScrollIndicator":
181 "visualType":"IMAGE",
182 "url":"{DALI_IMAGE_DIR}text_selection_scroll_indicator.9.png"
184 "color":[0.0,0.72,0.9,0.7]
188 "overshootEffectColor":"B018",
189 "overshootAnimationSpeed":960.0,
190 "overshootSize":[1920.0,130.0]
194 "overshootEffectColor":"B018",
195 "overshootAnimationSpeed":960.0,
196 "overshootSize":[1920.0,130.0]
200 "indicatorShowDuration":0.25,
201 "indicatorHideDuration":0.25,
202 "color":[0.0,0.72,0.9,0.7]
207 "primaryCursorColor":[0.0,0.72,0.9,1.0],
208 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
210 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
211 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
212 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
213 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" },
214 "enableScrollBar":true,
215 "scrollBarShowDuration":0.8,
216 "scrollBarFadeDuration":0.5,
217 "enableSelection":false
222 "visualType":"IMAGE",
223 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
226 "visualType":"IMAGE",
227 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
229 "secondaryProgressVisual":{
230 "visualType":"IMAGE",
231 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
233 "indeterminateVisual":{
234 "visualType":"IMAGE",
235 "pixelArea":[0.0, 0.0, 10.0, 1.0],
236 "wrapModeU":"REPEAT",
237 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
239 "indeterminateVisualAnimation":
242 "target":"indeterminateVisual",
243 "property":"pixelArea",
244 "initialValue":[0.0, 0.0, 10.0, 1.0],
245 "targetValue":[-1.0, 0.0, 10.0, 1.0],
248 "alphaFunction":"DEFAULT",
258 "visualType": "TEXT",
259 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
260 "pointSize" : 12.0, // Point size must always be provided to Text Visual
261 "horizontalAlignment": "CENTER",
262 "verticalAlignment": "CENTER"
264 "progressValue": 0.0,
265 "secondaryProgressValue":0.0,
266 "indeterminate": false
270 "styles":["Tooltip"],
271 "initialAutoRepeatingDelay":2.0,
272 "nextAutoRepeatingDelay":0.9
273 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
278 "autoRepeating":false,
280 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
283 "visualType": "TEXT",
284 "horizontalAlignment": "CENTER",
285 "pointSize" : 15.0, // Point size must always be provided to Text Visual
286 "verticalAlignment": "CENTER"
288 "unselectedBackgroundVisual":
290 "visualType": "IMAGE",
291 "url": "{DALI_IMAGE_DIR}button-up.9.png"
293 "selectedBackgroundVisual":
295 "visualType": "IMAGE",
296 "url": "{DALI_IMAGE_DIR}button-down.9.png"
298 "disabledSelectedBackgroundVisual":
300 "visualType": "IMAGE",
301 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
303 "disabledUnselectedBackgroundVisual":
305 "visualType": "IMAGE",
306 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
316 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
319 "visualType": "TEXT",
320 "pointSize" : 15.0, // Point size must always be provided to Text Visual
321 "verticalAlignment": "CENTER"
325 "visualType": "IMAGE",
326 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
330 "visualType": "IMAGE",
331 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
333 "disabledUnselectedVisual":
335 "visualType": "IMAGE",
336 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
338 "disabledSelectedVisual":
340 "visualType": "IMAGE",
341 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
347 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
350 "visualType": "TEXT",
351 "pointSize" : 15.0, // Point size must always be provided to Text Visual
352 "verticalAlignment": "CENTER"
356 "visualType": "IMAGE",
357 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
361 "visualType": "IMAGE",
362 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
364 "disabledUnselectedVisual":
366 "visualType": "IMAGE",
367 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
369 "disabledSelectedVisual":
371 "visualType": "IMAGE",
372 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"