1 HbWidget { |
|
2 margin-left: 0un; |
|
3 margin-top: 0un; |
|
4 } |
|
5 |
|
6 /********************************* LAYOUTS ***********************************/ |
|
7 MsgUnifiedEditorBody:portrait { |
|
8 layout: layout-portrait; |
|
9 } |
|
10 |
|
11 MsgUnifiedEditorBody[hasImage="false"]:landscape { |
|
12 layout: layout-landscape-no-image; |
|
13 } |
|
14 |
|
15 MsgUnifiedEditorBody[hasImage="true"]:landscape { |
|
16 layout: layout-landscape-image; |
|
17 } |
|
18 |
|
19 /**************************** Text field margin ******************************/ |
|
20 MsgUnifiedEditorBody::textEdit:portrait { |
|
21 left: -var(hb-param-margin-gene-left); |
|
22 right: var(hb-param-margin-gene-right); |
|
23 } |
|
24 |
|
25 MsgUnifiedEditorBody[hasImage="true"][hasAudio="true"]::textEdit:portrait { |
|
26 top: -var(hb-param-margin-gene-middle-vertical); |
|
27 } |
|
28 |
|
29 MsgUnifiedEditorBody[hasImage="true"][hasAudio="false"]::textEdit:portrait { |
|
30 top: -var(hb-param-margin-gene-middle-vertical); |
|
31 } |
|
32 |
|
33 MsgUnifiedEditorBody[hasImage="false"][hasAudio="true"]::textEdit:portrait { |
|
34 top: -var(hb-param-margin-gene-middle-vertical); |
|
35 } |
|
36 |
|
37 MsgUnifiedEditorBody[hasImage="false"][hasAudio="false"]::textEdit:portrait { |
|
38 top: 0.0un; |
|
39 } |
|
40 |
|
41 MsgUnifiedEditorBody::textEdit:landscape { |
|
42 right: var(hb-param-margin-gene-right); |
|
43 } |
|
44 |
|
45 MsgUnifiedEditorBody[hasImage="true"]::textEdit:landscape { |
|
46 left: -1.0un; |
|
47 } |
|
48 |
|
49 MsgUnifiedEditorBody[hasImage="false"]::textEdit:landscape { |
|
50 left: -var(hb-param-margin-gene-left); |
|
51 } |
|
52 |
|
53 MsgUnifiedEditorBody[hasAudio="true"]::textEdit:landscape { |
|
54 top: -var(hb-param-margin-gene-middle-vertical); |
|
55 } |
|
56 |
|
57 MsgUnifiedEditorBody[hasAudio="false"]::textEdit:landscape { |
|
58 top: 0.0un; |
|
59 } |
|
60 |
|
61 /*************************** Image field margin ******************************/ |
|
62 MsgUnifiedEditorBody::pixmap { |
|
63 left: -var(hb-param-margin-gene-left); |
|
64 } |
|
65 |
|
66 MsgUnifiedEditorBody::pixmap:portrait { |
|
67 right: var(hb-param-margin-gene-right); |
|
68 } |
|
69 |
|
70 MsgUnifiedEditorBody::pixmap:landscape { |
|
71 right: 1.0un; |
|
72 } |
|
73 |
|
74 MsgUnifiedEditorBody[hasAudio="true"]::pixmap { |
|
75 top: -var(hb-param-margin-gene-middle-vertical); |
|
76 } |
|
77 |
|
78 MsgUnifiedEditorBody[hasAudio="false"]::pixmap { |
|
79 top: 0.0un; |
|
80 } |
|
81 |
|
82 /*************************** Audio field margin ******************************/ |
|
83 |
|
84 MsgUnifiedEditorBody::audioItem { |
|
85 left: -var(hb-param-margin-gene-left); |
|
86 right: var(hb-param-margin-gene-right); |
|
87 } |
|
88 |
|
89 /*************************** Character Counter ******************************/ |
|
90 MsgUnifiedEditorBody::charCounter |
|
91 { |
|
92 size-policy:fixed fixed; |
|
93 pref-height:-1; |
|
94 pref-width:-1; |
|
95 text-height:var(hb-param-text-height-tiny); |
|
96 } |
|