forked from scottdarby/Stylish-Select
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stylish-select.css
executable file
·121 lines (102 loc) · 2.28 KB
/
stylish-select.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/**
* Stylish Select 0.4.9 - $ plugin to replace a select drop down box with a stylable unordered list
* http://github.com/scottdarby/Stylish-Select/
*
* Copyright (c) 2009 Scott Darby
*
* Requires: jQuery 1.3 or newer
*
* Dual licensed under the MIT and GPL licenses.
*/
/**
* Hide lists on page load
---------------------------------------------------------*/
.stylish-select .SSContainerDivWrapper {
left:-9999px;
}
/*
* Red example
---------------------------------------------------------*/
.stylish-select .SSContainerDivWrapper {
margin:0;
padding:0;
width:290px;
position:absolute;
top:22px;
left:0;
z-index:2;
}
.stylish-select ul.newList {
margin:0;
padding:0;
list-style:none;
color:#000;
background:#fff;
border:1px solid #ccc;
overflow:auto;
}
.stylish-select ul.newList * {
margin:0;
padding:0;
}
.stylish-select ul.newList a {
color: #000;
text-decoration:none;
display:block;
padding:3px 8px;
}
.stylish-select .newListSelected {
width:285px;
color:#000;
height:19px;
padding:3px 0 0 6px;
float:left;
background:url(select-bg.png) no-repeat;
}
.stylish-select ul.newList li a:focus {
-moz-outline-style: none;
}
.stylish-select .selectedTxt {
width:258px;
overflow:hidden;
height:16px;
padding:0 23px 0 0;
}
.stylish-select .hiLite {
background:#650101!important;
color:#fff!important;
}
.stylish-select .newListHover {
background:#ccc!important;
color:#000!important;
cursor:default;
}
.stylish-select .newListDisabled {
opacity: 0.6;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
filter: alpha(opacity=60);
}
.stylish-select .newListItemDisabled {
opacity: 0.6;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
filter: alpha(opacity=60);
}
.stylish-select .newListOptionDisabled {
opacity: 0.6;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
filter: alpha(opacity=60);
}
.stylish-select .newListSelHover,
.stylish-select .newListSelFocus {
background-position:0 -22px;
cursor:default;
}
.stylish-select .newListOptionTitle {
font-weight:bold;
}
.stylish-select .newListOptionTitle ul {
margin:3px 0 0;
}
.stylish-select .newListOptionTitle li {
font-weight:normal;
}