author | hgs |
Fri, 06 Aug 2010 17:23:08 -0400 | |
changeset 9 | b39122337a00 |
parent 3 | 0954f5dd2cd0 |
child 16 | 3c88a81ff781 |
permissions | -rw-r--r-- |
3 | 1 |
body { |
2 |
padding: 0px; |
|
3 |
margin: 0px; |
|
4 |
} |
|
5 |
||
6 |
/* for fixed position images such as topshadow.png */ |
|
7 |
img.floatImg { |
|
8 |
position: fixed; |
|
9 |
left: 0px; |
|
10 |
width: 100%; |
|
11 |
} |
|
12 |
||
13 |
/* the topshadow image goes at top of list behind the text */ |
|
14 |
img#TopShadowImgId { |
|
15 |
top: 0px; |
|
16 |
height: 20px; |
|
17 |
z-index: 0; |
|
0
1450b09d0cfd
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
18 |
} |
1450b09d0cfd
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
19 |
|
3 | 20 |
#PageBorderId { |
21 |
position: fixed; |
|
22 |
top: 0px; |
|
23 |
bottom: 0px; |
|
24 |
left: 0px; |
|
25 |
right: 0px; |
|
26 |
background-color: white; |
|
27 |
border-left: 2px #2a3447 solid; |
|
28 |
border-right: 2px #2a3447 solid; |
|
29 |
border-bottom: 2px #2a3447 solid; |
|
30 |
-webkit-border-bottom-left-radius: 10px; |
|
31 |
-webkit-border-bottom-right-radius: 10px; |
|
32 |
-webkit-user-select: none; |
|
33 |
z-index: -1; |
|
0
1450b09d0cfd
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
34 |
} |
1450b09d0cfd
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
35 |
|
3 | 36 |
#PageBottomShadowId { |
37 |
position: fixed; |
|
38 |
left: 2px; |
|
39 |
right: 2px; |
|
40 |
bottom: 2px; |
|
41 |
height: 23px; |
|
42 |
background-image: url(icons/bottomshadow.png); |
|
43 |
background-repeat: repeat-x; |
|
44 |
-webkit-border-bottom-left-radius: 10px; |
|
45 |
-webkit-border-bottom-right-radius: 10px; |
|
46 |
z-index: -1; |
|
0
1450b09d0cfd
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
47 |
} |
3 | 48 |
|
49 |
/* make sure content apears over images */ |
|
50 |
#SuggestsId { |
|
51 |
position: relative; |
|
52 |
z-index: 2; |
|
0
1450b09d0cfd
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
53 |
} |
1450b09d0cfd
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
54 |
|
3 | 55 |
.SuggestView { |
56 |
overflow-y: hidden; |
|
57 |
height: 100%; |
|
58 |
} |
|
59 |
||
60 |
ul#suggestUlId { |
|
61 |
list-style-type:none; |
|
62 |
margin: 0; |
|
63 |
padding: 0; |
|
0
1450b09d0cfd
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
64 |
} |
3 | 65 |
|
66 |
ul#suggestUlId a { |
|
67 |
display: block; |
|
68 |
text-decoration: none; |
|
0
1450b09d0cfd
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
69 |
} |
3 | 70 |
|
71 |
span.aTitle { |
|
72 |
color: blue; |
|
73 |
font-size: 20px; |
|
74 |
} |
|
75 |
||
76 |
span.aUrl { |
|
77 |
color: #999999; |
|
78 |
font-size: 16px; |
|
0
1450b09d0cfd
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
79 |
} |
1450b09d0cfd
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
80 |
|
3 | 81 |
ul#suggestUlId li#searchLiId>a { |
82 |
/* between padding and height, total height is 70px */ |
|
83 |
/* if total height changes, change elementHeight in _setMaxHeight() */ |
|
84 |
/* top, right, bottom, and left padding */ |
|
85 |
padding: 15px 10px 8px 10px; |
|
86 |
height: 47px; |
|
87 |
display: block; |
|
88 |
overflow: hidden; |
|
89 |
white-space: pre; |
|
90 |
-webkit-user-select: none; |
|
91 |
z-index: 3; |
|
92 |
} |
|
0
1450b09d0cfd
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
93 |
|
3 | 94 |
ul#suggestUlId li#suggestsLiId>a { |
95 |
/* between padding and height, total height is 70px */ |
|
96 |
/* if total height changes, change elementHeight in _setMaxHeight() */ |
|
97 |
/* top, right, bottom, and left padding */ |
|
98 |
padding: 8px 10px 8px 10px; |
|
99 |
height: 54px; |
|
100 |
display: block; |
|
101 |
background-image: url(icons/divider.png); |
|
102 |
background-repeat: repeat-x; |
|
103 |
overflow: hidden; |
|
104 |
white-space: pre; |
|
105 |
-webkit-user-select: none; |
|
106 |
z-index: 3; |
|
107 |
} |
|
0
1450b09d0cfd
Revision: 201015
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
diff
changeset
|
108 |
|
3 | 109 |
/* truncate long titles and URLs with ellipsis */ |
110 |
.SuggestView div.SuggestElement { |
|
111 |
white-space: nowrap; |
|
112 |
overflow: hidden; |
|
113 |
text-overflow: ellipsis; |
|
114 |
} |