Added a custom style to the popup example
[platform/core/uifw/dali-demo.git] / resources / style / demo-theme.json.in
1 /*
2  * Copyright (c) 2000-2016 Samsung Electronics Co., Ltd
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  *
15  */
16
17 {
18   "styles":
19   {
20     "ConfirmationPopup":{
21       "popupBackgroundImage":"{APPLICATION_RESOURCE_PATH}/images/00_popup_bg.9.png"
22     },
23
24     "CustomPopupStyle":{
25       "popupBackgroundImage":"{APPLICATION_RESOURCE_PATH}/images/popup.9.png",
26       "popupBackgroundBorder":[0,4,4,0],
27       "tailUpImage":"{APPLICATION_RESOURCE_PATH}/images/popup-tail-up.png",
28       "tailDownImage":"{APPLICATION_RESOURCE_PATH}/images/popup-tail-down.png",
29       "tailLeftImage":"{APPLICATION_RESOURCE_PATH}/images/popup-tail-left.png",
30       "tailRightImage":"{APPLICATION_RESOURCE_PATH}/images/popup-tail-right.png"
31     },
32
33     "TextLabelRosemary":
34     {
35       "fontFamily":"Rosemary"
36     },
37     "TextLabel":
38     {
39       "fontStyle":{"weight":"normal"},
40       "pointSize":18
41     },
42     "LauncherLabel":
43     {
44       "pointSize":18
45     },
46
47     "ToolbarLabel":
48     {
49       "pointSize":18
50     },
51
52     "BuilderLabel":
53     {
54       "pointSize":13
55     },
56
57     "ScrollView":
58     {
59       "overshootEffectColor":"B018"
60     },
61
62     "ImageScalingGroupLabel":
63     {
64       "pointSize":9
65     },
66
67     "ImageScalingButton":
68     {
69       "label":{
70         "pointSize":11
71       }
72     },
73
74     "LauncherBackground":
75     {
76       "background":
77       {
78         "visualType": "GRADIENT",
79         "center": [240, 400],
80         "radius": 932,
81         "units": "USER_SPACE",
82         "stopColor": [[0.247,0.38,0.52,1.0],[0.055,0.18,0.286,1.0]]
83       }
84     }
85   }
86 }