author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Wed, 18 Aug 2010 09:45:25 +0300 | |
changeset 52 | 12db4185673b |
parent 31 | ebfee66fde93 |
permissions | -rw-r--r-- |
31 | 1 |
MsgListViewItem:portrait { |
2 |
layout: layout-portrait; |
|
3 |
} |
|
4 |
||
5 |
MsgListViewItem:landscape { |
|
6 |
layout: layout-landscape; |
|
7 |
} |
|
8 |
||
9 |
MsgListViewItem[layoutName="custom"]:portrait{ |
|
10 |
layout:layout-portrait; |
|
11 |
} |
|
12 |
||
13 |
MsgListViewItem[layoutName="custom"]:landscape{ |
|
14 |
layout:layout-landscape; |
|
15 |
} |
|
16 |
||
17 |
MsgListViewItem::newMsgIndicator[layoutName="custom"]:portrait { |
|
18 |
left:-var(hb-param-margin-view-left); |
|
19 |
size-policy-horizontal: fixed; |
|
20 |
size-policy-vertical: fixed; |
|
21 |
pref-width: 1.25un; |
|
22 |
pref-height: 15.1un; |
|
23 |
aspect-ratio: ignore; |
|
24 |
} |
|
25 |
||
26 |
MsgListViewItem[unReadMsg="true"]::addressLabel[layoutName="custom"]:portrait { |
|
27 |
top:-var(hb-param-margin-gene-top); |
|
28 |
left:-var(hb-param-margin-gene-middle-horizontal); |
|
29 |
right:var(hb-param-margin-gene-middle-horizontal); |
|
30 |
bottom:var(hb-param-margin-gene-middle-vertical); |
|
31 |
text-align: left; |
|
32 |
font-variant: primary; |
|
33 |
text-height:var(hb-param-text-height-primary); |
|
34 |
text-line-count-min:1; |
|
35 |
text-line-count-max:1; |
|
36 |
} |
|
37 |
||
38 |
MsgListViewItem[unReadMsg="false"]::addressLabel[layoutName="custom"]:portrait { |
|
39 |
top:-var(hb-param-margin-gene-top); |
|
40 |
left:-var(hb-param-margin-gene-middle-horizontal); |
|
41 |
right:var(hb-param-margin-gene-middle-horizontal); |
|
42 |
bottom:var(hb-param-margin-gene-middle-vertical); |
|
43 |
text-align: left; |
|
44 |
font-variant: secondary; |
|
45 |
text-height:var(hb-param-text-height-primary); |
|
46 |
text-line-count-min:1; |
|
47 |
text-line-count-max:1; |
|
48 |
} |
|
49 |
||
50 |
MsgListViewItem[unReadMsg="true"]::previewLabel[layoutName="custom"]:portrait { |
|
51 |
left:-var(hb-param-margin-gene-middle-horizontal); |
|
52 |
bottom:-var(hb-param-margin-gene-bottom); |
|
53 |
right:var(hb-param-margin-gene-middle-horizontal); |
|
54 |
text-align: left top; |
|
55 |
font-variant: primary; |
|
56 |
text-height: var(hb-param-text-height-secondary); |
|
57 |
text-line-count-min:2; |
|
58 |
text-line-count-max:2; |
|
59 |
} |
|
60 |
||
61 |
MsgListViewItem[unReadMsg="false"]::previewLabel[layoutName="custom"]:portrait { |
|
62 |
left:-var(hb-param-margin-gene-middle-horizontal); |
|
63 |
bottom:-var(hb-param-margin-gene-bottom); |
|
64 |
right:var(hb-param-margin-gene-middle-horizontal); |
|
65 |
text-align: left top; |
|
66 |
font-variant: secondary; |
|
67 |
text-height: var(hb-param-text-height-secondary); |
|
68 |
text-line-count-min:2; |
|
69 |
text-line-count-max:2; |
|
70 |
} |
|
71 |
||
72 |
MsgListViewItem[unReadMsg="true"]::timeLabel[layoutName="custom"]:portrait { |
|
73 |
right:var(hb-param-margin-gene-right); |
|
74 |
bottom:var(hb-param-margin-gene-bottom); |
|
75 |
size-policy-horizontal: fixed; |
|
76 |
pref-width:12un; |
|
77 |
text-align: right; |
|
78 |
font-variant: primary; |
|
79 |
text-height: var(hb-param-text-height-tiny); |
|
80 |
text-line-count-min:1; |
|
81 |
text-line-count-max:1; |
|
82 |
} |
|
83 |
||
84 |
MsgListViewItem[unReadMsg="false"]::timeLabel[layoutName="custom"]:portrait { |
|
85 |
right:var(hb-param-margin-gene-right); |
|
86 |
bottom:var(hb-param-margin-gene-bottom); |
|
87 |
size-policy-horizontal: fixed; |
|
88 |
pref-width:12un; |
|
89 |
text-align: right; |
|
90 |
font-variant: secondary; |
|
91 |
text-height: var(hb-param-text-height-tiny); |
|
92 |
text-line-count-min:1; |
|
93 |
text-line-count-max:1; |
|
94 |
} |
|
95 |
||
52
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
96 |
MsgListViewItem::unreadCount[layoutName="custom"]:portrait { |
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
97 |
right:var(hb-param-margin-gene-right); |
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
98 |
size-policy-horizontal: fixed; |
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
99 |
min-width: 5un; |
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
100 |
text-align: right; |
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
101 |
font-variant: primary; |
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
102 |
text-height: var(hb-param-text-height-primary); |
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
103 |
text-line-count-min:1; |
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
104 |
text-line-count-max:1; |
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
105 |
} |
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
106 |
|
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
107 |
MsgListViewItem::msgCommonIndicator[layoutName="custom"]:portrait { |
31 | 108 |
size-policy-horizontal: fixed; |
109 |
size-policy-vertical: fixed; |
|
110 |
pref-width: var(hb-param-graphic-size-secondary); |
|
111 |
pref-height: var(hb-param-graphic-size-secondary); |
|
112 |
aspect-ratio: ignore; |
|
113 |
} |
|
114 |
||
52
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
115 |
|
31 | 116 |
/*Landscape mode*/ |
52
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
117 |
|
31 | 118 |
MsgListViewItem::newMsgIndicator[layoutName="custom"]:landscape { |
119 |
left:-var(hb-param-margin-view-left); |
|
120 |
size-policy-horizontal: fixed; |
|
121 |
size-policy-vertical: ignore; |
|
122 |
pref-width: 1.25un; |
|
123 |
pref-height: -1; |
|
124 |
aspect-ratio: ignore; |
|
125 |
} |
|
126 |
||
127 |
MsgListViewItem[unReadMsg="true"]::addressLabel[layoutName="custom"]:landscape { |
|
128 |
top:-var(hb-param-margin-gene-top); |
|
129 |
left:-var(hb-param-margin-gene-left); |
|
130 |
right:var(hb-param-margin-gene-middle-horizontal); |
|
131 |
bottom:var(hb-param-margin-gene-bottom); |
|
132 |
text-align: left; |
|
133 |
font-variant: primary; |
|
134 |
text-height:var(hb-param-text-height-primary); |
|
135 |
text-line-count-min:1; |
|
136 |
text-line-count-max:1; |
|
137 |
} |
|
138 |
||
139 |
MsgListViewItem[unReadMsg="false"]::addressLabel[layoutName="custom"]:landscape { |
|
140 |
top:-var(hb-param-margin-gene-top); |
|
141 |
left:-var(hb-param-margin-gene-left); |
|
142 |
right:var(hb-param-margin-gene-middle-horizontal); |
|
143 |
bottom:var(hb-param-margin-gene-bottom); |
|
144 |
text-align: left; |
|
145 |
font-variant: secondary; |
|
146 |
text-height:var(hb-param-text-height-primary); |
|
147 |
text-line-count-min:1; |
|
148 |
text-line-count-max:1; |
|
149 |
} |
|
150 |
||
151 |
MsgListViewItem[unReadMsg="true"]::previewLabel[layoutName="custom"]:landscape { |
|
152 |
right:var(hb-param-margin-gene-middle-horizontal); |
|
153 |
text-align: left; |
|
154 |
font-variant: primary; |
|
155 |
text-height: var(hb-param-text-height-secondary); |
|
156 |
text-line-count-min:1; |
|
157 |
text-line-count-max:1; |
|
158 |
} |
|
159 |
||
160 |
MsgListViewItem[unReadMsg="false"]::previewLabel[layoutName="custom"]:landscape { |
|
161 |
right:var(hb-param-margin-gene-middle-horizontal); |
|
162 |
text-align: left; |
|
163 |
font-variant: secondary; |
|
164 |
text-height: var(hb-param-text-height-secondary); |
|
165 |
text-line-count-min:1; |
|
166 |
text-line-count-max:1; |
|
167 |
} |
|
168 |
||
169 |
MsgListViewItem::unreadCount[layoutName="custom"]:landscape { |
|
170 |
right:var(hb-param-margin-gene-middle-horizontal); |
|
171 |
size-policy-horizontal: fixed; |
|
52
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
172 |
min-width: 5un; |
31 | 173 |
text-align: right; |
174 |
font-variant: primary; |
|
175 |
text-height: var(hb-param-text-height-primary); |
|
176 |
text-line-count-min:1; |
|
177 |
text-line-count-max:1; |
|
178 |
} |
|
179 |
||
52
12db4185673b
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
31
diff
changeset
|
180 |
MsgListViewItem::msgCommonIndicator[layoutName="custom"]:landscape { |
31 | 181 |
size-policy-horizontal: fixed; |
182 |
size-policy-vertical: fixed; |
|
183 |
pref-width: var(hb-param-graphic-size-secondary); |
|
184 |
pref-height: var(hb-param-graphic-size-secondary); |
|
185 |
aspect-ratio: ignore; |
|
186 |
} |
|
187 |
||
188 |
MsgListViewItem[unReadMsg="true"]::timeLabel[layoutName="custom"]:landscape { |
|
189 |
right:var(hb-param-margin-gene-right); |
|
190 |
size-policy-horizontal: fixed; |
|
191 |
pref-width:12un; |
|
192 |
text-align: right; |
|
193 |
font-variant: primary; |
|
194 |
text-height: var(hb-param-text-height-tiny); |
|
195 |
text-line-count-min:1; |
|
196 |
text-line-count-max:1; |
|
197 |
} |
|
198 |
||
199 |
MsgListViewItem[unReadMsg="false"]::timeLabel[layoutName="custom"]:landscape { |
|
200 |
right:var(hb-param-margin-gene-right); |
|
201 |
size-policy-horizontal: fixed; |
|
202 |
pref-width:12un; |
|
203 |
text-align: right; |
|
204 |
font-variant: secondary; |
|
205 |
text-height: var(hb-param-text-height-tiny); |
|
206 |
text-line-count-min:1; |
|
207 |
text-line-count-max:1; |
|
208 |
} |
|
209 |
||
210 |