2 * Copyright (c) 2016 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 480x800 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,
89 "primaryCursorColor":[0.0,0.72,0.9,1.0],
90 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
92 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
93 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
94 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
95 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
102 "TextFieldFontSize1":
106 "TextFieldFontSize2":
110 "TextFieldFontSize3":
114 "TextFieldFontSize4":
118 "TextSelectionPopup":
120 "popupMaxSize":[400,100],
121 "optionDividerSize":[2,0],
122 "popupDividerColor":[0.23,0.72,0.8,0.11],
123 "popupIconColor":[1.0,1.0,1.0,1.0],
124 "popupPressedColor":[0.24,0.72,0.8,0.11],
126 "visualType": "IMAGE",
127 "url": "{DALI_IMAGE_DIR}selection-popup-bg.9.png"
129 "popupFadeInDuration":0.25,
130 "popupFadeOutDuration":0.25
132 "TextSelectionPopupButton":
139 "unselectedBackgroundVisual":
141 "visualType": "IMAGE",
144 "selectedBackgroundVisual":
146 "visualType": "IMAGE",
150 "TextSelectionToolbar":
152 "enableOvershoot":true,
155 "overshootAnimationSpeed":120.0,
156 "overshootSize":[480.0,42.0]
161 "overshootEffectColor":"B018",
162 "overshootAnimationSpeed":120.0,
163 "overshootSize":[480.0,42.0]
167 "overshootEffectColor":"B018",
168 "overshootAnimationSpeed":120.0,
169 "overshootSize":[480.0,42.0]
174 "primaryCursorColor":[0.0,0.72,0.9,1.0],
175 "secondaryCursorColor":[0.0,0.72,0.9,1.0],
177 "selectionHighlightColor":[0.75,0.96,1.0,1.0],
178 "grabHandleImage" : "{DALI_STYLE_IMAGE_DIR}cursor_handler_drop_center.png",
179 "selectionHandleImageLeft" : {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_left.png" },
180 "selectionHandleImageRight": {"filename":"{DALI_STYLE_IMAGE_DIR}selection_handle_drop_right.png" }
184 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
185 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
186 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
187 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
188 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
189 "popupBackgroundBorder":[17,17,13,13]
193 "popupBackgroundImage":"{DALI_IMAGE_DIR}00_popup_bg.9.png",
194 "tailUpImage":"{DALI_IMAGE_DIR}popup_tail_up.png",
195 "tailDownImage":"{DALI_IMAGE_DIR}popup_tail_down.png",
196 "tailLeftImage":"{DALI_IMAGE_DIR}popup_tail_left.png",
197 "tailRightImage":"{DALI_IMAGE_DIR}popup_tail_right.png",
198 "popupBackgroundBorder":[17,17,13,13]
206 "url":"{DALI_IMAGE_DIR}slider-skin.9.png",
210 "url":"{DALI_IMAGE_DIR}slider-skin-progress.9.png",
214 "url":"{DALI_IMAGE_DIR}slider-skin-handle.png",
217 "popupVisual":"{DALI_IMAGE_DIR}slider-popup.9.png",
218 "popupArrowVisual":"{DALI_IMAGE_DIR}slider-popup-arrow.9.png",
219 "disableColor":[0.5, 0.5, 0.5, 1.0],
220 "popupTextColor":[0.5,0.5,0.5,1.0],
226 "SliderHandleTextLabel":
228 "textColor":[0.8,0.8,1,1]
233 "visualType":"IMAGE",
234 "url":"{DALI_IMAGE_DIR}progress-bar-skin-track.9.png"
237 "visualType":"IMAGE",
238 "url":"{DALI_IMAGE_DIR}progress-bar-skin-progress.9.png"
240 "secondaryProgressVisual":{
241 "visualType":"IMAGE",
242 "url":"{DALI_IMAGE_DIR}progress-bar-skin-secondary-progress.9.png"
244 "indeterminateVisual":{
245 "visualType":"IMAGE",
246 "pixelArea":[0.0, 0.0, 10.0, 1.0],
247 "wrapModeU":"REPEAT",
248 "url":"{DALI_IMAGE_DIR}progress-bar-skin-indeterminate.png"
250 "indeterminateVisualAnimation":
253 "target":"indeterminateVisual",
254 "property":"pixelArea",
255 "initialValue":[0.0, 0.0, 10.0, 1.0],
256 "targetValue":[-1.0, 0.0, 10.0, 1.0],
259 "alphaFunction":"DEFAULT",
269 "visualType": "TEXT",
270 "textColor": [ 1.0, 1.0, 1.0, 1.0 ],
271 "pointSize" : 12.0, // Point size must always be provided to Text Visual
272 "horizontalAlignment": "CENTER",
273 "verticalAlignment": "CENTER"
275 "progressValue": 0.0,
276 "secondaryProgressValue":0.0,
277 "indeterminate": false
281 "styles":["Tooltip"],
282 "initialAutoRepeatingDelay":2.0,
283 "nextAutoRepeatingDelay":0.9
284 // Note: Visuals added to Button will be used in all derived buttons unless overridden.
289 "autoRepeating":false,
291 "labelPadding":[ 12.0, 12.0, 12.0, 12.0 ],
294 "visualType": "TEXT",
295 "horizontalAlignment": "CENTER",
296 "pointSize" : 15.0, // Point size must always be provided to Text Visual
297 "verticalAlignment": "CENTER"
299 "unselectedBackgroundVisual":
301 "visualType": "IMAGE",
302 "url": "{DALI_IMAGE_DIR}button-up.9.png"
304 "selectedBackgroundVisual":
306 "visualType": "IMAGE",
307 "url": "{DALI_IMAGE_DIR}button-down.9.png"
309 "disabledSelectedBackgroundVisual":
311 "visualType": "IMAGE",
312 "url": "{DALI_IMAGE_DIR}button-down-disabled.9.png"
314 "disabledUnselectedBackgroundVisual":
316 "visualType": "IMAGE",
317 "url": "{DALI_IMAGE_DIR}button-disabled.9.png"
327 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
330 "visualType": "TEXT",
331 "pointSize" : 15.0, // Point size must always be provided to Text Visual
332 "verticalAlignment": "CENTER"
336 "visualType": "IMAGE",
337 "url": "{DALI_IMAGE_DIR}checkbox-unselected.png"
341 "visualType": "IMAGE",
342 "url": "{DALI_IMAGE_DIR}checkbox-selected.png"
344 "disabledUnselectedVisual":
346 "visualType": "IMAGE",
347 "url": "{DALI_IMAGE_DIR}checkbox-unselected-disabled.png"
349 "disabledSelectedVisual":
351 "visualType": "IMAGE",
352 "url": "{DALI_IMAGE_DIR}checkbox-selected-disabled.png"
358 "labelPadding":[ 12.0, 12.0, 0.0, 0.0 ],
361 "visualType": "TEXT",
362 "pointSize" : 15.0, // Point size must always be provided to Text Visual
363 "verticalAlignment": "CENTER"
367 "visualType": "IMAGE",
368 "url": "{DALI_IMAGE_DIR}radio-button-unselected.png"
372 "visualType": "IMAGE",
373 "url": "{DALI_IMAGE_DIR}radio-button-selected.png"
375 "disabledUnselectedVisual":
377 "visualType": "IMAGE",
378 "url": "{DALI_IMAGE_DIR}radio-button-unselected-disabled.png"
380 "disabledSelectedVisual":
382 "visualType": "IMAGE",
383 "url": "{DALI_IMAGE_DIR}radio-button-selected-disabled.png"