Revision b6a584a8 cloudcms/static/cloudcms/css/dropkick.css
b/cloudcms/static/cloudcms/css/dropkick.css | ||
---|---|---|
10 | 10 |
|
11 | 11 |
/***** Begin Theme, feel free to edit in here! ******/ |
12 | 12 |
|
13 |
|
|
14 |
/* dropkick select extra styles */ |
|
15 |
|
|
16 |
.form-row .dk_container { border-radius:0; margin-bottom:0; border: 1px solid gray; height: 21px; letter-spacing: 1px; line-height: 22px; margin-bottom: -1px; width:270px; padding:0.8em; padding-left:1.5em; font-weight:normal; font-family: 'Didact Gothic', Verdana, sans-serif; font-size:1em; background:transparent; color:#808080;} |
|
17 |
.form-row .dk_toggle { border-radius:0; padding:0 0 10px; border:0 none; text-decoration:none;background-image:url(../images/arrow-down_grey.png); background-position:85% 5px;} |
|
18 |
.form-row .dk_toggle:hover { text-decoration:none; } |
|
19 |
.form-row .dk_open { background:transparent; box-shadow: none; } |
|
20 |
.form-row .dk_open .dk_toggle { background-color:transparent; border:0 none; color:#000; box-shadow: none;} |
|
21 |
.form-row .dk_focus .dk_toggle { background-color:transparent; border:0 none; color:#000; box-shadow: none;} |
|
22 |
.1form-row .dk_options { display:block; } |
|
23 |
.form-row .dk_options { box-shadow:none; border-radius:0; z-index:3; margin:6px -1px 0; width:auto; left:0;} |
|
24 |
.form-row .dk_options li { float:none; margin:0; padding:0; } |
|
25 |
.form-row .dk_options a { font-weight:normal;color:#808080; padding:5px 1.5em; border-bottom-color: #ccc;height:auto; width:auto; } |
|
26 |
.form-row .dk_options a:hover { border-bottom-color: #ccc } |
|
27 |
.form-row .dk_options_inner { padding:0; margin:0; box-shadow:none; text-shadow:none; border-radius:0; border:1px solid #ccc ; margin-top:4px;} |
|
28 |
.form-row .dk-options_inner li { list-style:none outside; } |
|
29 |
.form-row .dk_options a:hover, |
|
30 |
.form-row .dk_option_current a { text-shadow:none; background-color: #fff; text-decoration:none; color:#F89A1C} |
|
31 |
.form-row .dk_toggle { height:17px; overflow:hidden; } |
|
32 |
.form-row .dk_toggle span { width:220px;white-space: nowrap; overflow: hidden; /*text-overflow: ellipsis;*/ display:block; } |
|
33 |
/* end custom theme */ |
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
13 | 39 |
/* One container to bind them... */ |
14 | 40 |
.dk_container { |
15 |
font-family: 'Antic', sans-serif; |
|
16 |
|
|
17 |
font-weight: normal; |
|
18 |
line-height: 42px; |
|
19 |
letter-spacing: 1px; |
|
20 |
border: 1px solid #808080; |
|
21 |
height:42px; |
|
22 |
display: inline-block; |
|
23 |
margin-bottom: -1px; |
|
24 |
padding-left:21px; |
|
25 |
|
|
26 |
z-index: 2; |
|
27 |
width:308px; |
|
41 |
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f5f5f5)); |
|
42 |
background: -moz-linear-gradient(top, #fff, #f5f5f5); |
|
43 |
background: -o-linear-gradient(top, #fff, #f5f5f5); |
|
44 |
background-color: #f5f5f5; |
|
45 |
font-family: 'Helvetica', Arial, sans-serif; |
|
46 |
font-size: 12px; |
|
47 |
font-weight: bold; |
|
48 |
line-height: 14px; |
|
49 |
margin-bottom: 18px; |
|
50 |
border-radius: 5px; |
|
51 |
-moz-border-radius: 5px; |
|
52 |
-webkit-border-radius: 5px; |
|
28 | 53 |
} |
29 | 54 |
.dk_container:focus { |
30 | 55 |
outline: 0; |
... | ... | |
32 | 57 |
.dk_container a { |
33 | 58 |
cursor: pointer; |
34 | 59 |
text-decoration: none; |
35 |
color:#808080; |
|
36 |
|
|
37 | 60 |
} |
38 | 61 |
|
39 | 62 |
/* Opens the dropdown and holds the menu label */ |
... | ... | |
42 | 65 |
* Help: Arrow image not appearing |
43 | 66 |
* Try updating this property to your correct dk_arrows.png path |
44 | 67 |
*/ |
45 |
background:url(../images/arrow_02.jpg) no-repeat 276px center; |
|
46 |
|
|
68 |
background-image: url('images/dk_arrows.png'); |
|
69 |
background-repeat: no-repeat; |
|
70 |
background-position: 90% center; |
|
71 |
border: 1px solid #ccc; |
|
72 |
color: #333; |
|
73 |
padding: 7px 45px 7px 10px; |
|
74 |
text-shadow: #fff 1px 1px 0; |
|
75 |
border-radius: 5px; |
|
76 |
-moz-border-radius: 5px; |
|
77 |
-webkit-border-radius: 5px; |
|
78 |
-webkit-transition: border-color .5s; |
|
79 |
-moz-transition: border-color .5s; |
|
80 |
-o-transition: border-color .5s; |
|
81 |
transition: border-color .5s; |
|
47 | 82 |
} |
48 | 83 |
.dk_toggle:hover { |
49 |
|
|
84 |
border-color: #8c8c8c; |
|
50 | 85 |
} |
51 | 86 |
/* Applied when the dropdown is focused */ |
52 | 87 |
.dk_focus .dk_toggle { |
53 |
|
|
88 |
border-color: #40b5e2; |
|
54 | 89 |
} |
55 | 90 |
.dk_focus .dk_toggle { |
56 |
|
|
91 |
box-shadow: 0 0 5px #40b5e2; |
|
92 |
-moz-box-shadow: 0 0 5px #40b5e2; |
|
93 |
-webkit-box-shadow: 0 0 5px #40b5e2; |
|
57 | 94 |
} |
58 | 95 |
|
59 | 96 |
/* Applied whenever the dropdown is open */ |
60 | 97 |
.dk_open { |
61 |
|
|
98 |
box-shadow: 0 0 5px #40b5e2; |
|
99 |
-moz-box-shadow: 0 0 5px #40b5e2; |
|
100 |
-webkit-box-shadow: 0 0 5px #40b5e2; |
|
62 | 101 |
/** |
63 | 102 |
* Help: Dropdown menu is covered by something |
64 | 103 |
* Try setting this value higher |
... | ... | |
66 | 105 |
z-index: 10; |
67 | 106 |
} |
68 | 107 |
.dk_open .dk_toggle { |
69 |
|
|
70 |
|
|
108 |
background-color: #ececec; |
|
109 |
border-color: #8c8c8c; |
|
110 |
color: #ccc; |
|
111 |
box-shadow: inset 0 -2px 5px #ccc; |
|
112 |
border-radius: 5px 5px 0 0; |
|
113 |
-moz-border-radius: 5px 5px 0 0; |
|
114 |
-webkit-border-radius: 5px 5px 0 0; |
|
71 | 115 |
} |
72 | 116 |
|
73 | 117 |
/* The outer container of the options */ |
74 | 118 |
.dk_options { |
75 |
|
|
119 |
box-shadow: rgba(0, 0, 0, .2) 0 2px 8px; |
|
120 |
-moz-box-shadow: rgba(0, 0, 0, .2) 0 2px 8px; |
|
121 |
-webkit-box-shadow: rgba(0, 0, 0, .2) 0 2px 8px; |
|
122 |
border-radius: 0 0 5px 5px; |
|
123 |
-moz-border-radius: 0 0 5px 5px; |
|
124 |
-webkit-border-radius: 0 0 5px 5px; |
|
76 | 125 |
} |
77 | 126 |
.dk_options a { |
78 | 127 |
background-color: #fff; |
79 | 128 |
border-bottom: 1px solid #999; |
80 |
padding: 8px 20px; |
|
129 |
font-weight: bold; |
|
130 |
padding: 8px 10px; |
|
81 | 131 |
} |
82 | 132 |
.dk_options li:last-child a { |
83 | 133 |
border-bottom: none; |
84 | 134 |
} |
85 | 135 |
.dk_options a:hover, |
86 | 136 |
.dk_option_current a { |
87 |
|
|
137 |
background-color: #0084c7; |
|
138 |
border-bottom-color: #004c72; |
|
139 |
color: #fff; |
|
140 |
text-decoration: none; |
|
141 |
text-shadow: rgba(0, 0, 0, .5) 0 1px 0; |
|
88 | 142 |
} |
89 | 143 |
|
90 | 144 |
/* Inner container for options, this is what makes the scrollbar possible. */ |
91 |
.dk_options_inner { |
|
92 |
padding:0; |
|
93 |
margin:0; |
|
94 |
border: 1px solid #808080; |
|
95 |
border-top:0 none; |
|
145 |
.dk_options_inner { |
|
146 |
border: 1px solid #8c8c8e; |
|
147 |
border-bottom-width: 2px; |
|
148 |
border-bottom-color: #999; |
|
149 |
color: #333; |
|
150 |
max-height: 250px; |
|
151 |
text-shadow: #fff 0 1px 0; |
|
152 |
border-radius: 0 0 5px 5px; |
|
153 |
-moz-border-radius: 0 0 5px 5px; |
|
154 |
-webkit-border-radius: 0 0 5px 5px; |
|
96 | 155 |
} |
97 |
.dk_options_inner li { list-style:none outside;} |
|
98 | 156 |
|
99 | 157 |
/* Set a max-height on the options inner */ |
100 | 158 |
.dk_options_inner, |
... | ... | |
108 | 166 |
|
109 | 167 |
.dk_container { |
110 | 168 |
display: none; |
169 |
float: left; |
|
111 | 170 |
position: relative; |
112 | 171 |
} |
113 | 172 |
.dk_container a { |
Also available in: Unified diff