root / snf-astakos-app / astakos / im / static / im / css / dropkick.css @ 116e778a
History | View | Annotate | Download (6.2 kB)
1 |
/**
|
---|---|
2 |
* Default DropKick theme
|
3 |
*
|
4 |
* Feel free to edit the default theme
|
5 |
* or even add your own.
|
6 |
*
|
7 |
* See the readme for themeing help
|
8 |
*
|
9 |
*/
|
10 |
|
11 |
/***** Begin Theme, feel free to edit in here! ******/
|
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 |
|
39 |
/* One container to bind them... */
|
40 |
.dk_container {
|
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; |
53 |
} |
54 |
.dk_container:focus { |
55 |
outline: 0; |
56 |
} |
57 |
.dk_container a { |
58 |
cursor: pointer; |
59 |
text-decoration: none; |
60 |
} |
61 |
|
62 |
/* Opens the dropdown and holds the menu label */
|
63 |
.dk_toggle {
|
64 |
/**
|
65 |
* Help: Arrow image not appearing
|
66 |
* Try updating this property to your correct dk_arrows.png path
|
67 |
*/
|
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; |
82 |
} |
83 |
.dk_toggle:hover { |
84 |
border-color: #8c8c8c; |
85 |
} |
86 |
/* Applied when the dropdown is focused */
|
87 |
.dk_focus .dk_toggle { |
88 |
border-color: #40b5e2; |
89 |
} |
90 |
.dk_focus .dk_toggle { |
91 |
box-shadow: 0 0 5px #40b5e2; |
92 |
-moz-box-shadow: 0 0 5px #40b5e2; |
93 |
-webkit-box-shadow: 0 0 5px #40b5e2; |
94 |
} |
95 |
|
96 |
/* Applied whenever the dropdown is open */
|
97 |
.dk_open {
|
98 |
box-shadow: 0 0 5px #40b5e2; |
99 |
-moz-box-shadow: 0 0 5px #40b5e2; |
100 |
-webkit-box-shadow: 0 0 5px #40b5e2; |
101 |
/**
|
102 |
* Help: Dropdown menu is covered by something
|
103 |
* Try setting this value higher
|
104 |
*/
|
105 |
z-index: 10; |
106 |
} |
107 |
.dk_open .dk_toggle { |
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; |
115 |
} |
116 |
|
117 |
/* The outer container of the options */
|
118 |
.dk_options {
|
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; |
125 |
} |
126 |
.dk_options a { |
127 |
background-color: #fff; |
128 |
border-bottom: 1px solid #999; |
129 |
font-weight: bold; |
130 |
padding: 8px 10px; |
131 |
} |
132 |
.dk_options li:last-child a { |
133 |
border-bottom: none; |
134 |
} |
135 |
.dk_options a:hover, |
136 |
.dk_option_current a { |
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; |
142 |
} |
143 |
|
144 |
/* Inner container for options, this is what makes the scrollbar possible. */
|
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; |
155 |
} |
156 |
|
157 |
/* Set a max-height on the options inner */
|
158 |
.dk_options_inner,
|
159 |
.dk_touch .dk_options { |
160 |
max-height: 250px; |
161 |
} |
162 |
|
163 |
/****** End Theme ******/
|
164 |
|
165 |
/***** Critical to the continued enjoyment of working dropdowns ******/
|
166 |
|
167 |
.dk_container {
|
168 |
display: none; |
169 |
float: left; |
170 |
position: relative; |
171 |
} |
172 |
.dk_container a { |
173 |
outline: 0; |
174 |
} |
175 |
|
176 |
.dk_toggle {
|
177 |
display: -moz-inline-stack; |
178 |
display: inline-block; |
179 |
*display: inline; |
180 |
position: relative; |
181 |
zoom: 1; |
182 |
} |
183 |
|
184 |
.dk_open {
|
185 |
position: relative; |
186 |
} |
187 |
.dk_open .dk_options { |
188 |
display: block; |
189 |
} |
190 |
.dk_open .dk_label { |
191 |
color: inherit; |
192 |
} |
193 |
|
194 |
.dk_options {
|
195 |
display: none; |
196 |
margin-top: -1px; |
197 |
position: absolute; |
198 |
right: 0; |
199 |
width: 100%; |
200 |
} |
201 |
.dk_options a, |
202 |
.dk_options a:link, |
203 |
.dk_options a:visited { |
204 |
display: block; |
205 |
} |
206 |
.dk_options_inner {
|
207 |
overflow: auto; |
208 |
position: relative; |
209 |
} |
210 |
|
211 |
.dk_touch .dk_options { |
212 |
overflow: hidden; |
213 |
} |
214 |
|
215 |
.dk_touch .dk_options_inner { |
216 |
max-height: none; |
217 |
overflow: visible; |
218 |
} |
219 |
|
220 |
.dk_fouc select { |
221 |
position: relative; |
222 |
top: -99999em; |
223 |
visibility: hidden; |
224 |
} |
225 |
|
226 |
/***** End Critical to the continued enjoyment of working dropdowns ******/
|