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::unreadCount[layoutName="custom"]:portrait {
|
|
73 |
right:var(hb-param-margin-gene-middle-horizontal);
|
|
74 |
size-policy-horizontal: fixed;
|
|
75 |
text-align: right;
|
|
76 |
font-variant: primary;
|
|
77 |
text-height: var(hb-param-text-height-primary);
|
|
78 |
text-line-count-min:1;
|
|
79 |
text-line-count-max:1;
|
|
80 |
}
|
|
81 |
|
|
82 |
MsgListViewItem[unReadMsg="true"]::timeLabel[layoutName="custom"]:portrait {
|
|
83 |
right:var(hb-param-margin-gene-right);
|
|
84 |
bottom:var(hb-param-margin-gene-bottom);
|
|
85 |
size-policy-horizontal: fixed;
|
|
86 |
pref-width:12un;
|
|
87 |
text-align: right;
|
|
88 |
font-variant: primary;
|
|
89 |
text-height: var(hb-param-text-height-tiny);
|
|
90 |
text-line-count-min:1;
|
|
91 |
text-line-count-max:1;
|
|
92 |
}
|
|
93 |
|
|
94 |
MsgListViewItem[unReadMsg="false"]::timeLabel[layoutName="custom"]:portrait {
|
|
95 |
right:var(hb-param-margin-gene-right);
|
|
96 |
bottom:var(hb-param-margin-gene-bottom);
|
|
97 |
size-policy-horizontal: fixed;
|
|
98 |
pref-width:12un;
|
|
99 |
text-align: right;
|
|
100 |
font-variant: secondary;
|
|
101 |
text-height: var(hb-param-text-height-tiny);
|
|
102 |
text-line-count-min:1;
|
|
103 |
text-line-count-max:1;
|
|
104 |
}
|
|
105 |
|
|
106 |
MsgListViewItem::presenceIndicator[layoutName="custom"]:portrait {
|
|
107 |
right: var(hb-param-margin-gene-right);
|
|
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 |
|
|
115 |
/*Landscape mode*/
|
|
116 |
MsgListViewItem::newMsgIndicator[layoutName="custom"]:landscape {
|
|
117 |
left:-var(hb-param-margin-view-left);
|
|
118 |
size-policy-horizontal: fixed;
|
|
119 |
size-policy-vertical: ignore;
|
|
120 |
pref-width: 1.25un;
|
|
121 |
pref-height: -1;
|
|
122 |
aspect-ratio: ignore;
|
|
123 |
}
|
|
124 |
|
|
125 |
MsgListViewItem[unReadMsg="true"]::addressLabel[layoutName="custom"]:landscape {
|
|
126 |
top:-var(hb-param-margin-gene-top);
|
|
127 |
left:-var(hb-param-margin-gene-left);
|
|
128 |
right:var(hb-param-margin-gene-middle-horizontal);
|
|
129 |
bottom:var(hb-param-margin-gene-bottom);
|
|
130 |
text-align: left;
|
|
131 |
font-variant: primary;
|
|
132 |
text-height:var(hb-param-text-height-primary);
|
|
133 |
text-line-count-min:1;
|
|
134 |
text-line-count-max:1;
|
|
135 |
}
|
|
136 |
|
|
137 |
MsgListViewItem[unReadMsg="false"]::addressLabel[layoutName="custom"]:landscape {
|
|
138 |
top:-var(hb-param-margin-gene-top);
|
|
139 |
left:-var(hb-param-margin-gene-left);
|
|
140 |
right:var(hb-param-margin-gene-middle-horizontal);
|
|
141 |
bottom:var(hb-param-margin-gene-bottom);
|
|
142 |
text-align: left;
|
|
143 |
font-variant: secondary;
|
|
144 |
text-height:var(hb-param-text-height-primary);
|
|
145 |
text-line-count-min:1;
|
|
146 |
text-line-count-max:1;
|
|
147 |
}
|
|
148 |
|
|
149 |
MsgListViewItem[unReadMsg="true"]::previewLabel[layoutName="custom"]:landscape {
|
|
150 |
right:var(hb-param-margin-gene-middle-horizontal);
|
|
151 |
text-align: left;
|
|
152 |
font-variant: primary;
|
|
153 |
text-height: var(hb-param-text-height-secondary);
|
|
154 |
text-line-count-min:1;
|
|
155 |
text-line-count-max:1;
|
|
156 |
}
|
|
157 |
|
|
158 |
MsgListViewItem[unReadMsg="false"]::previewLabel[layoutName="custom"]:landscape {
|
|
159 |
right:var(hb-param-margin-gene-middle-horizontal);
|
|
160 |
text-align: left;
|
|
161 |
font-variant: secondary;
|
|
162 |
text-height: var(hb-param-text-height-secondary);
|
|
163 |
text-line-count-min:1;
|
|
164 |
text-line-count-max:1;
|
|
165 |
}
|
|
166 |
|
|
167 |
MsgListViewItem::unreadCount[layoutName="custom"]:landscape {
|
|
168 |
right:var(hb-param-margin-gene-middle-horizontal);
|
|
169 |
size-policy-horizontal: fixed;
|
|
170 |
text-align: right;
|
|
171 |
font-variant: primary;
|
|
172 |
text-height: var(hb-param-text-height-primary);
|
|
173 |
text-line-count-min:1;
|
|
174 |
text-line-count-max:1;
|
|
175 |
}
|
|
176 |
|
|
177 |
MsgListViewItem::presenceIndicator[layoutName="custom"]:landscape {
|
|
178 |
right: var(hb-param-margin-gene-middle-horizontal);
|
|
179 |
size-policy-horizontal: fixed;
|
|
180 |
size-policy-vertical: fixed;
|
|
181 |
pref-width: var(hb-param-graphic-size-secondary);
|
|
182 |
pref-height: var(hb-param-graphic-size-secondary);
|
|
183 |
aspect-ratio: ignore;
|
|
184 |
}
|
|
185 |
|
|
186 |
MsgListViewItem[unReadMsg="true"]::timeLabel[layoutName="custom"]:landscape {
|
|
187 |
right:var(hb-param-margin-gene-right);
|
|
188 |
size-policy-horizontal: fixed;
|
|
189 |
pref-width:12un;
|
|
190 |
text-align: right;
|
|
191 |
font-variant: primary;
|
|
192 |
text-height: var(hb-param-text-height-tiny);
|
|
193 |
text-line-count-min:1;
|
|
194 |
text-line-count-max:1;
|
|
195 |
}
|
|
196 |
|
|
197 |
MsgListViewItem[unReadMsg="false"]::timeLabel[layoutName="custom"]:landscape {
|
|
198 |
right:var(hb-param-margin-gene-right);
|
|
199 |
size-policy-horizontal: fixed;
|
|
200 |
pref-width:12un;
|
|
201 |
text-align: right;
|
|
202 |
font-variant: secondary;
|
|
203 |
text-height: var(hb-param-text-height-tiny);
|
|
204 |
text-line-count-min:1;
|
|
205 |
text-line-count-max:1;
|
|
206 |
}
|
|
207 |
|
|
208 |
|