root / snf-astakos-app / astakos / im / static / im / css / dropkick.css @ 5c878faf
History | View | Annotate | Download (6.1 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; border:0 none; text-indent:1.5em; text-decoration:none;background-image:url(../images/arrow-down_grey.png); background-position:87% 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 0; text-indent:3em; 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 |
|
32 |
/* end custom theme */
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
/* One container to bind them... */
|
39 |
.dk_container {
|
40 |
background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f5f5f5)); |
41 |
background: -moz-linear-gradient(top, #fff, #f5f5f5); |
42 |
background: -o-linear-gradient(top, #fff, #f5f5f5); |
43 |
background-color: #f5f5f5; |
44 |
font-family: 'Helvetica', Arial, sans-serif; |
45 |
font-size: 12px; |
46 |
font-weight: bold; |
47 |
line-height: 14px; |
48 |
margin-bottom: 18px; |
49 |
border-radius: 5px; |
50 |
-moz-border-radius: 5px; |
51 |
-webkit-border-radius: 5px; |
52 |
} |
53 |
.dk_container:focus { |
54 |
outline: 0; |
55 |
} |
56 |
.dk_container a { |
57 |
cursor: pointer; |
58 |
text-decoration: none; |
59 |
} |
60 |
|
61 |
/* Opens the dropdown and holds the menu label */
|
62 |
.dk_toggle {
|
63 |
/**
|
64 |
* Help: Arrow image not appearing
|
65 |
* Try updating this property to your correct dk_arrows.png path
|
66 |
*/
|
67 |
background-image: url('images/dk_arrows.png'); |
68 |
background-repeat: no-repeat; |
69 |
background-position: 90% center; |
70 |
border: 1px solid #ccc; |
71 |
color: #333; |
72 |
padding: 7px 45px 7px 10px; |
73 |
text-shadow: #fff 1px 1px 0; |
74 |
border-radius: 5px; |
75 |
-moz-border-radius: 5px; |
76 |
-webkit-border-radius: 5px; |
77 |
-webkit-transition: border-color .5s; |
78 |
-moz-transition: border-color .5s; |
79 |
-o-transition: border-color .5s; |
80 |
transition: border-color .5s; |
81 |
} |
82 |
.dk_toggle:hover { |
83 |
border-color: #8c8c8c; |
84 |
} |
85 |
/* Applied when the dropdown is focused */
|
86 |
.dk_focus .dk_toggle { |
87 |
border-color: #40b5e2; |
88 |
} |
89 |
.dk_focus .dk_toggle { |
90 |
box-shadow: 0 0 5px #40b5e2; |
91 |
-moz-box-shadow: 0 0 5px #40b5e2; |
92 |
-webkit-box-shadow: 0 0 5px #40b5e2; |
93 |
} |
94 |
|
95 |
/* Applied whenever the dropdown is open */
|
96 |
.dk_open {
|
97 |
box-shadow: 0 0 5px #40b5e2; |
98 |
-moz-box-shadow: 0 0 5px #40b5e2; |
99 |
-webkit-box-shadow: 0 0 5px #40b5e2; |
100 |
/**
|
101 |
* Help: Dropdown menu is covered by something
|
102 |
* Try setting this value higher
|
103 |
*/
|
104 |
z-index: 10; |
105 |
} |
106 |
.dk_open .dk_toggle { |
107 |
background-color: #ececec; |
108 |
border-color: #8c8c8c; |
109 |
color: #ccc; |
110 |
box-shadow: inset 0 -2px 5px #ccc; |
111 |
border-radius: 5px 5px 0 0; |
112 |
-moz-border-radius: 5px 5px 0 0; |
113 |
-webkit-border-radius: 5px 5px 0 0; |
114 |
} |
115 |
|
116 |
/* The outer container of the options */
|
117 |
.dk_options {
|
118 |
box-shadow: rgba(0, 0, 0, .2) 0 2px 8px; |
119 |
-moz-box-shadow: rgba(0, 0, 0, .2) 0 2px 8px; |
120 |
-webkit-box-shadow: rgba(0, 0, 0, .2) 0 2px 8px; |
121 |
border-radius: 0 0 5px 5px; |
122 |
-moz-border-radius: 0 0 5px 5px; |
123 |
-webkit-border-radius: 0 0 5px 5px; |
124 |
} |
125 |
.dk_options a { |
126 |
background-color: #fff; |
127 |
border-bottom: 1px solid #999; |
128 |
font-weight: bold; |
129 |
padding: 8px 10px; |
130 |
} |
131 |
.dk_options li:last-child a { |
132 |
border-bottom: none; |
133 |
} |
134 |
.dk_options a:hover, |
135 |
.dk_option_current a { |
136 |
background-color: #0084c7; |
137 |
border-bottom-color: #004c72; |
138 |
color: #fff; |
139 |
text-decoration: none; |
140 |
text-shadow: rgba(0, 0, 0, .5) 0 1px 0; |
141 |
} |
142 |
|
143 |
/* Inner container for options, this is what makes the scrollbar possible. */
|
144 |
.dk_options_inner {
|
145 |
border: 1px solid #8c8c8e; |
146 |
border-bottom-width: 2px; |
147 |
border-bottom-color: #999; |
148 |
color: #333; |
149 |
max-height: 250px; |
150 |
text-shadow: #fff 0 1px 0; |
151 |
border-radius: 0 0 5px 5px; |
152 |
-moz-border-radius: 0 0 5px 5px; |
153 |
-webkit-border-radius: 0 0 5px 5px; |
154 |
} |
155 |
|
156 |
/* Set a max-height on the options inner */
|
157 |
.dk_options_inner,
|
158 |
.dk_touch .dk_options { |
159 |
max-height: 250px; |
160 |
} |
161 |
|
162 |
/****** End Theme ******/
|
163 |
|
164 |
/***** Critical to the continued enjoyment of working dropdowns ******/
|
165 |
|
166 |
.dk_container {
|
167 |
display: none; |
168 |
float: left; |
169 |
position: relative; |
170 |
} |
171 |
.dk_container a { |
172 |
outline: 0; |
173 |
} |
174 |
|
175 |
.dk_toggle {
|
176 |
display: -moz-inline-stack; |
177 |
display: inline-block; |
178 |
*display: inline; |
179 |
position: relative; |
180 |
zoom: 1; |
181 |
} |
182 |
|
183 |
.dk_open {
|
184 |
position: relative; |
185 |
} |
186 |
.dk_open .dk_options { |
187 |
display: block; |
188 |
} |
189 |
.dk_open .dk_label { |
190 |
color: inherit; |
191 |
} |
192 |
|
193 |
.dk_options {
|
194 |
display: none; |
195 |
margin-top: -1px; |
196 |
position: absolute; |
197 |
right: 0; |
198 |
width: 100%; |
199 |
} |
200 |
.dk_options a, |
201 |
.dk_options a:link, |
202 |
.dk_options a:visited { |
203 |
display: block; |
204 |
} |
205 |
.dk_options_inner {
|
206 |
overflow: auto; |
207 |
position: relative; |
208 |
} |
209 |
|
210 |
.dk_touch .dk_options { |
211 |
overflow: hidden; |
212 |
} |
213 |
|
214 |
.dk_touch .dk_options_inner { |
215 |
max-height: none; |
216 |
overflow: visible; |
217 |
} |
218 |
|
219 |
.dk_fouc select { |
220 |
position: relative; |
221 |
top: -99999em; |
222 |
visibility: hidden; |
223 |
} |
224 |
|
225 |
/***** End Critical to the continued enjoyment of working dropdowns ******/
|