Export 0.1.62
[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.15rem 0 0 0;
73
74                 height: 28 * @unit_base;
75                 width: 77 * @unit_base;
76
77                 font-size: 0.81rem;
78                 color: @color_ticker_text1;
79
80                 background: @color_ticker_btn;
81
82                 border: 1px;
83                 border-color: @color_ticker_btn_border;
84                 box-shadow: 0 0 1px 1px @color_ticker_btn_border;
85         }
86
87         .ui-btn-box-s.ui-btn-up-s {
88                 background: @color_ticker_btn;
89                 box-shadow: 0 0 1px 1px @color_ticker_btn_border;
90                 border-color: @color_ticker_btn_border;
91         }
92
93         .ui-btn-box-s.ui-btn-hover-s {
94                 background: @color_ticker_btn;
95                 box-shadow: 0 0 1px 1px @color_ticker_btn_border;
96                 border-color: @color_ticker_btn_border;
97         }
98 }
99
100 .ui-ticker-icon {
101         position: absolute;
102         top: 0;
103         height: 32 * @unit_base;
104         width: 32 * @unit_base;
105         margin-top: 9 * @unit_base;
106         margin-bottom: 9 * @unit_base;
107         margin-left: 8 * @unit_base;
108         margin-right: 8 * @unit_base;
109         vertical-align: middle;
110 }
111
112 .ui-ticker-text1-bg {
113         position: absolute;
114         top: 0;
115         height: 18 * @unit_base;
116         left: 48 * @unit_base;
117         margin-top: 8 * @unit_base;
118         font-size: 0.68rem;
119         color: @color_ticker_text1;
120 }
121
122 .ui-ticker-text2-bg {
123         position: absolute;
124         top: 0;
125         height: 16 * @unit_base;
126         left: 48 * @unit_base;
127         margin-top: 26 * @unit_base;
128         font-size: 0.54rem;
129         color: @color_ticker_text2;
130 }
131
132 /* smallpopup */
133
134 @-webkit-keyframes ui-smallpopup-show {
135         from {
136                 opacity: 0;
137                 -webkit-transform: scaleY(0);
138         } to {
139                 opacity: 1;
140                 -webkit-transform: scaleY(1);
141         }
142 }
143
144 @-webkit-keyframes ui-smallpopup-hide {
145         from {
146                 opacity: 1;
147                 left: 0;
148                 -webkit-transform: scaleY(1);
149         } to {
150                 opacity: 0;
151                 left: 0;
152                 -webkit-transform: scaleY(0);
153         }
154 }
155
156 .ui-smallpopup {
157         position: fixed;
158         display: none;
159         left: 0;
160         width: 100%;
161         z-index: @z_base_smallpopup;
162         background: @color_smallpopup_bg;
163         vertical-align: middle;
164         font-size: 0.72rem;
165         word-break: break-all;
166 }
167
168 .ui-smallpopup.fix {
169         display: block;
170 }
171
172 .ui-smallpopup.show {
173         display: block;
174         -moz-animation: ui-smallpopup-show 0.5s 1 ease;
175         -ms-animation: ui-smallpopup-show 0.5s 1 ease;
176         -o-animation: ui-smallpopup-show 0.5s 1 ease;
177         -webkit-animation: ui-smallpopup-show 0.5s 1 ease;
178 }
179
180 .ui-smallpopup.hide {
181         display: block;
182         left: -100%;
183         -moz-animation: ui-smallpopup-hide 0.5s 1 ease;
184         -ms-animation: ui-smallpopup-hide 0.5s 1 ease;
185         -o-animation: ui-smallpopup-hide 0.5s 1 ease;
186         -webkit-animation: ui-smallpopup-hide 0.5s 1 ease;
187 }
188
189 .ui-smallpopup-text-bg {
190         position: relative;
191         margin-top: 4 * @unit_base;
192         margin-bottom: 4 * @unit_base;
193         margin-left: 8 * @unit_base;
194         margin-right: 8 * @unit_base;
195         color: @color_smallpopup_text;
196 }