upload tizen1.0 source
[framework/web/web-ui-fw.git] / src / themes / tizen / common / jquery.mobile.tizen.notification.less
1 @import "config.less";
2
3 /* tickernoti */
4
5 @ticker-height: 100 * @unit_base;
6
7 @-webkit-keyframes ui-ticker-show {
8         from {
9                 opacity: 0;
10                 -webkit-transform: translateY(-@ticker-height);
11                 top: -@ticker-height;
12         } to {
13                 opacity: 1;
14                 -webkit-transform: translateY(0);
15                 top: 0;
16         }
17 }
18
19 @-webkit-keyframes ui-ticker-hide {
20         from {
21                 opacity: 1;
22                 -webkit-transform: translateY(0);
23                 top: 0;
24         } to {
25                 opacity: 0;
26                 -webkit-transform: translateY(-@ticker-height);
27                 top: -@ticker-height;
28         }
29 }
30
31 .ui-ticker {
32         position: fixed;
33         display: none;
34         left: 0;
35         width: 100%;
36         height: @ticker-height;
37         z-index: @z_base_tickernoti;
38         background: @color_ticker_bg;
39 }
40
41 .ui-ticker.fix{
42         display: block;
43 }
44
45 .ui-ticker.show {
46         display: block;
47         -webkit-animation: ui-ticker-show 0.8s 1 ease;
48         top: 0;
49 }
50
51 .ui-ticker.hide {
52         display: block;
53         -webkit-animation: ui-ticker-hide 0.8s 1 ease;
54         top: -@ticker-height;
55 }
56
57 .ui-ticker-btn {
58         position: relative;
59         height: 54 * @unit_base;
60         margin-top: 23 * @unit_base;
61         margin-left: 16 * @unit_base;
62         margin-right: 16 * @unit_base;
63         vertical-align: middle;
64         float: right;
65
66         .ui-btn-inner {
67                 padding: 0.3em 0.7em;
68         }
69 }
70
71 .ui-ticker-icon {
72         position: absolute;
73         top: 0;
74         height: 64 * @unit_base;
75         width: 64 * @unit_base;
76         margin-top: 18 * @unit_base;
77         margin-bottom: 18 * @unit_base;
78         margin-left: 16 * @unit_base;
79         margin-right: 16 * @unit_base;
80         vertical-align: middle;
81
82         /* FIXME: please fix this image file */
83         background: url(images/00_button_call.png) no-repeat;
84         .LESSbackground-size(64 * @unit_base, 64 * @unit_base);
85 }
86
87 .ui-ticker-text1-bg {
88         position: absolute;
89         top: 0;
90         height: 28 * @unit_base;
91         left: 96 * @unit_base;
92         margin-top: 20 * @unit_base;
93         font-size: 0.8em;
94         color: @color_ticker_text1;
95 }
96
97 .ui-ticker-text2-bg {
98         position: absolute;
99         top: 0;
100         height: 32 * @unit_base;
101         left: 96 * @unit_base;
102         margin-top: 48 * @unit_base;
103         color: @color_ticker_text2;
104 }
105
106 /* smallpopup */
107
108 @smallpopup-height: 48 * @unit_base;
109
110 @-webkit-keyframes ui-smallpopup-show {
111         from {
112                 opacity: 0;
113                 -webkit-transform: scaleY(0);
114         } to {
115                 opacity: 1;
116                 -webkit-transform: scaleY(1);
117         }
118 }
119
120 @-webkit-keyframes ui-smallpopup-hide {
121         from {
122                 opacity: 1;
123                 height: @smallpopup-height;
124                 left: 0;
125                 -webkit-transform: scaleY(1);
126         } to {
127                 opacity: 0;
128                 height: 0;
129                 left: 0;
130                 -webkit-transform: scaleY(0);
131         }
132 }
133
134 .ui-smallpopup {
135         position: fixed;
136         display: none;
137         top: 0;
138         left: 0;
139         width: 100%;
140         height: @smallpopup-height;
141         z-index: @z_base_smallpopup;
142         background: @color_smallpopup_bg;
143         vertical-align: middle;
144 }
145
146 .ui-smallpopup.fix {
147         display: block;
148 }
149
150 .ui-smallpopup.show {
151         display: block;
152
153         -webkit-animation: ui-smallpopup-show 0.5s 1 ease;
154 }
155
156 .ui-smallpopup.hide {
157         display: block;
158         left: -100%;
159
160         -webkit-animation: ui-smallpopup-hide 0.5s 1 ease;
161 }
162
163 .ui-smallpopup-text-bg {
164         position: relative;
165         margin-top: 6 * @unit_base;
166         margin-left: 16 * @unit_base;
167         color: @color_smallpopup_text;
168 }