Export 0.1.61
[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: 50 * @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         -ms-animation: ui-ticker-show 0.8s 1 ease;
48         -o-animation: ui-ticker-show 0.8s 1 ease;
49         -moz-animation: ui-ticker-show 0.8s 1 ease;
50         -webkit-animation: ui-ticker-show 0.8s 1 ease;
51         top: 0;
52 }
53
54 .ui-ticker.hide {
55         display: block;
56         -ms-animation: ui-ticker-hide 0.8s 1 ease;
57         -o-animation: ui-ticker-hide 0.8s 1 ease;
58         -ms-animation: ui-ticker-hide 0.8s 1 ease;
59         -webkit-animation: ui-ticker-hide 0.8s 1 ease;
60         top: -@ticker-height;
61 }
62
63 .ui-ticker-btn {
64         position: relative;
65         margin-top: 10 * @unit_base;
66         margin-left: 8 * @unit_base;
67         margin-right: 8 * @unit_base;
68         vertical-align: middle;
69         float: right;
70
71         .ui-btn-inner {
72                 padding: 0.2rem 0 0 0;
73                 height: 28 * @unit_base;
74                 width: 77 * @unit_base;
75                 font-size: 0.81rem;
76                 background: @color_ticker_btn;
77         }
78 }
79
80 .ui-ticker-icon {
81         position: absolute;
82         top: 0;
83         height: 32 * @unit_base;
84         width: 32 * @unit_base;
85         margin-top: 9 * @unit_base;
86         margin-bottom: 9 * @unit_base;
87         margin-left: 8 * @unit_base;
88         margin-right: 8 * @unit_base;
89         vertical-align: middle;
90 }
91
92 .ui-ticker-text1-bg {
93         position: absolute;
94         top: 0;
95         height: 18 * @unit_base;
96         left: 48 * @unit_base;
97         margin-top: 8 * @unit_base;
98         font-size: 0.68rem;
99         color: @color_ticker_text1;
100 }
101
102 .ui-ticker-text2-bg {
103         position: absolute;
104         top: 0;
105         height: 16 * @unit_base;
106         left: 48 * @unit_base;
107         margin-top: 26 * @unit_base;
108         font-size: 0.54rem;
109         color: @color_ticker_text2;
110 }
111
112 /* smallpopup */
113
114 @-webkit-keyframes ui-smallpopup-show {
115         from {
116                 opacity: 0;
117                 -webkit-transform: scaleY(0);
118         } to {
119                 opacity: 1;
120                 -webkit-transform: scaleY(1);
121         }
122 }
123
124 @-webkit-keyframes ui-smallpopup-hide {
125         from {
126                 opacity: 1;
127                 left: 0;
128                 -webkit-transform: scaleY(1);
129         } to {
130                 opacity: 0;
131                 left: 0;
132                 -webkit-transform: scaleY(0);
133         }
134 }
135
136 .ui-smallpopup {
137         position: fixed;
138         display: none;
139         left: 0;
140         width: 100%;
141         z-index: @z_base_smallpopup;
142         background: @color_smallpopup_bg;
143         vertical-align: middle;
144         font-size: 0.72rem;
145         word-break: break-all;
146 }
147
148 .ui-smallpopup.fix {
149         display: block;
150 }
151
152 .ui-smallpopup.show {
153         display: block;
154         -moz-animation: ui-smallpopup-show 0.5s 1 ease;
155         -ms-animation: ui-smallpopup-show 0.5s 1 ease;
156         -o-animation: ui-smallpopup-show 0.5s 1 ease;
157         -webkit-animation: ui-smallpopup-show 0.5s 1 ease;
158 }
159
160 .ui-smallpopup.hide {
161         display: block;
162         left: -100%;
163         -moz-animation: ui-smallpopup-hide 0.5s 1 ease;
164         -ms-animation: ui-smallpopup-hide 0.5s 1 ease;
165         -o-animation: ui-smallpopup-hide 0.5s 1 ease;
166         -webkit-animation: ui-smallpopup-hide 0.5s 1 ease;
167 }
168
169 .ui-smallpopup-text-bg {
170         position: relative;
171         margin-top: 4 * @unit_base;
172         margin-bottom: 4 * @unit_base;
173         margin-left: 8 * @unit_base;
174         margin-right: 8 * @unit_base;
175         color: @color_smallpopup_text;
176 }