Newer
Older
/*
Based on jQuery dropdown
http://labs.abeautifulsite.net/jquery-dropdown/
*/
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
.action-dropdown {
position: absolute;
z-index: 9999999;
display: none;
margin-top: 8px;
}
.action-dropdown ul {
text-align: left;
font-size: 13px;
min-width: 140px;
list-style: none;
background: #FFF;
border: solid 1px #DDD;
border: solid 1px rgba(0, 0, 0, 0.2);
border-radius: 6px;
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
overflow: visible;
padding: 4px 0;
margin: 0;
}
.action-dropdown ul li {
list-style: none;
padding: 0;
margin: 0;
line-height: 18px;
}
.action-dropdown ul li > a {
display: block;
color: #555;
text-decoration: none;
line-height: 18px;
padding: 3px 15px;
white-space: nowrap;
}
.action-dropdown ul li > a:hover {
background-color: #08C;
color: #FFF !important;
cursor: pointer;
}
.action-dropdown hr {
height: 1px;
border: none;
border-bottom: 1px solid #ddd;
margin: 5px 15px;
overflow: hidden;
}
.action-dropdown:before {
position: absolute;
top: -6px;
left: 9px;
content: '';
border-left: 7px solid transparent;
border-right: 7px solid transparent;
border-bottom: 7px solid #CCC;
border-bottom-color: rgba(0, 0, 0, 0.2);
display: inline-block;
}
.action-dropdown:after {
position: absolute;
top: -5px;
left: 10px;
content: '';
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid #FFF;
display: inline-block;
}
.action-dropdown.anchor-right:before {
left: auto;
right: 9px;
}
.action-dropdown.anchor-right:after {
left: auto;
right: 10px;
}
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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
.action-button {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-background-clip: padding-box;
-moz-background-clip: padding;
background-clip: padding-box;
color: #777 !important;
display: inline-block;
border: 1px solid #aaa;
cursor: pointer;
font-size: 11px;
height: 18px;
overflow: hidden;
background-color: #dddddd;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #efefef), color-stop(100% #dddddd));
background-image: -webkit-linear-gradient(top, #efefef 0%, #dddddd 100%);
background-image: -moz-linear-gradient(top, #efefef 0%, #dddddd 100%);
background-image: -ms-linear-gradient(top, #efefef 0%, #dddddd 100%);
background-image: -o-linear-gradient(top, #efefef 0%, #dddddd 100%);
background-image: linear-gradient(top, #efefef 0%, #dddddd 100%);
padding: 0 5px;
text-decoration: none;
line-height:18px;
float:right;
margin-left:5px;
}
.action-button span,
.action-button a {
color: #777 !important;
display: inline-block;
float: left;
}
.action-button i.icon-caret-down {
background-color: #dddddd;
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #efefef), color-stop(100% #dddddd));
background-image: -webkit-linear-gradient(top, #efefef 0%, #dddddd 100%);
background-image: -moz-linear-gradient(top, #efefef 0%, #dddddd 100%);
background-image: -ms-linear-gradient(top, #efefef 0%, #dddddd 100%);
background-image: -o-linear-gradient(top, #efefef 0%, #dddddd 100%);
background-image: linear-gradient(top, #efefef 0%, #dddddd 100%);
float: right;
height: 18px;
line-height: 18px;
margin-right: 0;
margin-left: 5px;
padding-left: 5px;
border-left: 1px solid #aaa;
}
.action-button a {
color: #777;
text-decoration: none;
}