Skip to content

Commit 1f0502f

Browse files
committed
checking in jquery.dropdown.css
since the repository is often used as a distribution package, in addition to development environments. This allows better flexibility for consuming the library. Note that future changes to `jquery.dropdown.less` will require contributors to also re-compile `jquery.dropdown.css`, but this shouldn't be a problem since they're already required to re-compile `jquery.dropdown.min.css`
1 parent 0867ed6 commit 1f0502f

File tree

1 file changed

+93
-0
lines changed

1 file changed

+93
-0
lines changed

jquery.dropdown.css

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
/*
2+
* jQuery Dropdown: A simple dropdown plugin
3+
*
4+
* Contribute: https://github.com/claviska/jquery-dropdown
5+
*
6+
* @license: MIT license: http://opensource.org/licenses/MIT
7+
*
8+
*/
9+
.jq-dropdown {
10+
position: absolute;
11+
z-index: 1039;
12+
display: none;
13+
}
14+
.jq-dropdown .jq-dropdown-menu,
15+
.jq-dropdown .jq-dropdown-panel {
16+
min-width: 160px;
17+
max-width: 360px;
18+
list-style: none;
19+
background: white;
20+
border: solid 1px #dddddd;
21+
border-radius: 4px;
22+
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
23+
overflow: visible;
24+
padding: 4px 0;
25+
margin: 0;
26+
}
27+
.jq-dropdown .jq-dropdown-panel {
28+
padding: 10px;
29+
}
30+
.jq-dropdown.jq-dropdown-tip {
31+
margin-top: 8px;
32+
}
33+
.jq-dropdown.jq-dropdown-tip:before {
34+
position: absolute;
35+
top: -6px;
36+
left: 9px;
37+
content: '';
38+
border-left: 7px solid transparent;
39+
border-right: 7px solid transparent;
40+
border-bottom: 7px solid #dddddd;
41+
display: inline-block;
42+
}
43+
.jq-dropdown.jq-dropdown-tip:after {
44+
position: absolute;
45+
top: -5px;
46+
left: 10px;
47+
content: '';
48+
border-left: 6px solid transparent;
49+
border-right: 6px solid transparent;
50+
border-bottom: 6px solid white;
51+
display: inline-block;
52+
}
53+
.jq-dropdown.jq-dropdown-tip.jq-dropdown-anchor-right:before {
54+
left: auto;
55+
right: 9px;
56+
}
57+
.jq-dropdown.jq-dropdown-tip.jq-dropdown-anchor-right:after {
58+
left: auto;
59+
right: 10px;
60+
}
61+
.jq-dropdown.jq-dropdown-scroll .jq-dropdown-menu,
62+
.jq-dropdown.jq-dropdown-scroll .jq-dropdown-panel {
63+
max-height: 180px;
64+
overflow: auto;
65+
}
66+
.jq-dropdown .jq-dropdown-menu li {
67+
list-style: none;
68+
padding: 0 0;
69+
margin: 0;
70+
line-height: 18px;
71+
}
72+
.jq-dropdown .jq-dropdown-menu li > a,
73+
.jq-dropdown .jq-dropdown-menu label {
74+
display: block;
75+
color: inherit;
76+
text-decoration: none;
77+
line-height: 18px;
78+
padding: 3px 15px;
79+
margin: 0;
80+
white-space: nowrap;
81+
}
82+
.jq-dropdown .jq-dropdown-menu li > a:hover,
83+
.jq-dropdown .jq-dropdown-menu label:hover {
84+
background-color: #f2f2f2;
85+
color: inherit;
86+
cursor: pointer;
87+
}
88+
.jq-dropdown .jq-dropdown-menu .jq-dropdown-divider {
89+
font-size: 1px;
90+
border-top: solid 1px #e5e5e5;
91+
padding: 0;
92+
margin: 5px 0;
93+
}

0 commit comments

Comments
 (0)