2.0_beta sync to rsa
[platform/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
83 .ui-ticker-text1-bg {
84         position: absolute;
85         top: 0;
86         height: 32 * @unit_base;
87         left: 96 * @unit_base;
88         margin-top: 16 * @unit_base;
89         color: @color_ticker_text1;
90 }
91
92 .ui-ticker-text2-bg {
93         position: absolute;
94         top: 0;
95         height: 32 * @unit_base;
96         left: 96 * @unit_base;
97         margin-top: 52 * @unit_base;
98         font-size: 0.9em;
99         color: @color_ticker_text2;
100 }
101
102 /* smallpopup */
103
104 @smallpopup-height: 48 * @unit_base;
105
106 @-webkit-keyframes ui-smallpopup-show {
107         from {
108                 opacity: 0;
109                 -webkit-transform: scaleY(0);
110         } to {
111                 opacity: 1;
112                 -webkit-transform: scaleY(1);
113         }
114 }
115
116 @-webkit-keyframes ui-smallpopup-hide {
117         from {
118                 opacity: 1;
119                 height: @smallpopup-height;
120                 left: 0;
121                 -webkit-transform: scaleY(1);
122         } to {
123                 opacity: 0;
124                 height: 0;
125                 left: 0;
126                 -webkit-transform: scaleY(0);
127         }
128 }
129
130 .ui-smallpopup {
131         position: fixed;
132         display: none;
133         top: 0;
134         left: 0;
135         width: 100%;
136         height: @smallpopup-height;
137         z-index: @z_base_smallpopup;
138         background: @color_smallpopup_bg;
139         vertical-align: middle;
140 }
141
142 .ui-smallpopup.fix {
143         display: block;
144 }
145
146 .ui-smallpopup.show {
147         display: block;
148
149         -webkit-animation: ui-smallpopup-show 0.5s 1 ease;
150 }
151
152 .ui-smallpopup.hide {
153         display: block;
154         left: -100%;
155
156         -webkit-animation: ui-smallpopup-hide 0.5s 1 ease;
157 }
158
159 .ui-smallpopup-text-bg {
160         position: relative;
161         margin-top: 6 * @unit_base;
162         margin-left: 16 * @unit_base;
163         color: @color_smallpopup_text;
164 }