1 | /** |
---|
2 | * @file elSelect.js |
---|
3 | * @downloaded from http://www.cult-f.net/2007/12/14/elselect/ |
---|
4 | * @author Sergey Korzhov aka elPas0 |
---|
5 | * @site http://www.cult-f.net |
---|
6 | * @date December 14, 2007 |
---|
7 | * |
---|
8 | */ |
---|
9 | body { |
---|
10 | font-family:Tahoma; |
---|
11 | font-size:11px; |
---|
12 | background:#fff; |
---|
13 | } |
---|
14 | .elSelect { |
---|
15 | width:206px; |
---|
16 | height:20px; |
---|
17 | background:url(select_bg.gif) no-repeat 0% 0%; |
---|
18 | } |
---|
19 | .elSelect .selected { |
---|
20 | background-color:#fff !important; |
---|
21 | color:#CC3399 !important; |
---|
22 | } |
---|
23 | .elSelect .clear { |
---|
24 | clear:both; |
---|
25 | } |
---|
26 | .elSelect .selectedOption { |
---|
27 | float:left; |
---|
28 | padding:2px 0 0 6px; |
---|
29 | width:177px; |
---|
30 | font-weight:bold; |
---|
31 | font-size:12px; |
---|
32 | color:#496772; |
---|
33 | overflow:hidden; |
---|
34 | } |
---|
35 | .elSelect .dropDown { |
---|
36 | width: 23px; |
---|
37 | height: 20px; |
---|
38 | float: right; |
---|
39 | background:url(select_arrow.gif) no-repeat 0% 0%; |
---|
40 | } |
---|
41 | .elSelect .optionsContainerTop { |
---|
42 | position:absolute; |
---|
43 | background:url(top_center.gif) repeat-x 0% 0%; |
---|
44 | width:100%; |
---|
45 | height:5px; |
---|
46 | } |
---|
47 | .elSelect .optionsContainerTop div { |
---|
48 | background:url(top_left.gif) no-repeat 0% 0%; |
---|
49 | width:100%; |
---|
50 | height:5px; |
---|
51 | } |
---|
52 | .elSelect .optionsContainerTop div div { |
---|
53 | background:url(top_right.gif) no-repeat 100% 0%; |
---|
54 | width:100%; |
---|
55 | height:5px; |
---|
56 | } |
---|
57 | .elSelect .optionsContainerBottom { |
---|
58 | position:absolute; |
---|
59 | margin:-5px 0 0 0; |
---|
60 | background:url(bottom_center.gif) repeat-x 0% 0%; |
---|
61 | width:100%; |
---|
62 | height:5px; |
---|
63 | } |
---|
64 | .elSelect .optionsContainerBottom div { |
---|
65 | background:url(bottom_left.gif) no-repeat 0% 0%; |
---|
66 | width:100%; |
---|
67 | height:5px; |
---|
68 | } |
---|
69 | .elSelect .optionsContainerBottom div div { |
---|
70 | background:url(bottom_right.gif) no-repeat 100% 0%; |
---|
71 | width:100%; |
---|
72 | height:5px; |
---|
73 | } |
---|
74 | .elSelect .optionsContainer { |
---|
75 | position:absolute; |
---|
76 | display:none; |
---|
77 | } |
---|
78 | .elSelect .option { |
---|
79 | padding:4px 0 5px 5px; |
---|
80 | background-color:#ECF1F2; |
---|
81 | border-left:solid 1px #749490; |
---|
82 | border-right:solid 1px #749490; |
---|
83 | text-align:left; |
---|
84 | font-weight:bold; |
---|
85 | font-size:12px; |
---|
86 | color:#496772; |
---|
87 | } |
---|
88 | .elSelect .disabled { |
---|
89 | background-color:#C0CCCF; |
---|
90 | border-left:solid 1px #749490; |
---|
91 | border-right:solid 1px #749490; |
---|
92 | color:#90A4AA; |
---|
93 | } |
---|
94 | .icon_1 { |
---|
95 | background:url(icon_1.gif) no-repeat 4px 50%; |
---|
96 | padding-left:20px !important; |
---|
97 | } |
---|
98 | .icon_2 { |
---|
99 | background:url(icon_2.gif) no-repeat 4px 50%; |
---|
100 | padding-left:20px !important; |
---|
101 | } |
---|