Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / static / im / css / dropkick.css @ 3cbd5e47

History | View | Annotate | Download (5.9 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 #ccc; height: 21px; letter-spacing: 1px; line-height: 22px; margin-bottom: -1px; width:240px; padding:5px 0; 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:90% 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 a                                                        { font-weight:normal;color:#808080; padding:5px 0; text-indent:1.5em; border-bottom-color: #ccc }
25
.form-row .dk_options a:hover                                        { border-bottom-color: #ccc }
26
.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;}
27
.form-row .dk-options_inner li                                        { list-style:none outside; }
28
.form-row .dk_options a:hover, 
29
.form-row .dk_option_current a                                        { text-shadow:none; background-color: #fff; text-decoration:none; color:#F89A1C}
30

    
31
/* end custom theme */
32

    
33

    
34

    
35

    
36

    
37
/* One container to bind them... */
38
.dk_container {
39
  background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f5f5f5));
40
  background: -moz-linear-gradient(top, #fff, #f5f5f5);
41
  background: -o-linear-gradient(top, #fff, #f5f5f5);
42
  background-color: #f5f5f5;
43
  font-family: 'Helvetica', Arial, sans-serif;
44
  font-size: 12px;
45
  font-weight: bold;
46
  line-height: 14px;
47
  margin-bottom: 18px;
48
  border-radius: 5px;
49
  -moz-border-radius: 5px;
50
  -webkit-border-radius: 5px;
51
}
52
  .dk_container:focus {
53
    outline: 0;
54
  }
55
  .dk_container a {
56
    cursor: pointer;
57
    text-decoration: none;
58
  }
59

    
60
/* Opens the dropdown and holds the menu label */
61
.dk_toggle {
62
  /**
63
   * Help: Arrow image not appearing
64
   * Try updating this property to your correct dk_arrows.png path
65
   */
66
  background-image: url('images/dk_arrows.png');
67
  background-repeat: no-repeat;
68
  background-position: 90% center;
69
  border: 1px solid #ccc;
70
  color: #333;
71
  padding: 7px 45px 7px 10px;
72
  text-shadow: #fff 1px 1px 0;
73
  border-radius: 5px;
74
  -moz-border-radius: 5px;
75
  -webkit-border-radius: 5px;
76
  -webkit-transition: border-color .5s;
77
  -moz-transition: border-color .5s;
78
  -o-transition: border-color .5s;
79
  transition: border-color .5s;
80
}
81
  .dk_toggle:hover {
82
    border-color: #8c8c8c;
83
  }
84
  /* Applied when the dropdown is focused */
85
  .dk_focus .dk_toggle {
86
    border-color: #40b5e2;
87
  }
88
  .dk_focus .dk_toggle {
89
    box-shadow: 0 0 5px #40b5e2;
90
    -moz-box-shadow: 0 0 5px #40b5e2;
91
    -webkit-box-shadow: 0 0 5px #40b5e2;
92
  }
93

    
94
/* Applied whenever the dropdown is open */
95
.dk_open {
96
  box-shadow: 0 0 5px #40b5e2;
97
  -moz-box-shadow: 0 0 5px #40b5e2;
98
  -webkit-box-shadow: 0 0 5px #40b5e2;
99
  /**
100
   * Help: Dropdown menu is covered by something
101
   * Try setting this value higher
102
   */
103
  z-index: 10;
104
}
105
  .dk_open .dk_toggle {
106
    background-color: #ececec;
107
    border-color: #8c8c8c;
108
    color: #ccc;
109
    box-shadow: inset 0 -2px 5px #ccc;
110
    border-radius: 5px 5px 0 0;
111
    -moz-border-radius: 5px 5px 0 0;
112
    -webkit-border-radius: 5px 5px 0 0;
113
  }
114

    
115
/* The outer container of the options */
116
.dk_options {
117
  box-shadow: rgba(0, 0, 0, .2) 0 2px 8px;
118
  -moz-box-shadow: rgba(0, 0, 0, .2) 0 2px 8px;
119
  -webkit-box-shadow: rgba(0, 0, 0, .2) 0 2px 8px;
120
  border-radius: 0 0 5px 5px;
121
  -moz-border-radius: 0 0 5px 5px;
122
  -webkit-border-radius: 0 0 5px 5px;
123
}
124
  .dk_options a {
125
    background-color: #fff;
126
    border-bottom: 1px solid #999;
127
    font-weight: bold;
128
    padding: 8px 10px;
129
  }
130
  .dk_options li:last-child a {
131
    border-bottom: none;
132
  }
133
  .dk_options a:hover,
134
  .dk_option_current a {
135
    background-color: #0084c7;
136
    border-bottom-color: #004c72;
137
    color: #fff;
138
    text-decoration: none;
139
    text-shadow: rgba(0, 0, 0, .5) 0 1px 0;
140
  }
141

    
142
/* Inner container for options, this is what makes the scrollbar possible. */
143
.dk_options_inner {
144
  border: 1px solid #8c8c8e;
145
  border-bottom-width: 2px;
146
  border-bottom-color: #999;
147
  color: #333;
148
  max-height: 250px;
149
  text-shadow: #fff 0 1px 0;
150
  border-radius: 0 0 5px 5px;
151
  -moz-border-radius: 0 0 5px 5px;
152
  -webkit-border-radius: 0 0 5px 5px;
153
}
154

    
155
/* Set a max-height on the options inner */
156
.dk_options_inner,
157
.dk_touch .dk_options {
158
  max-height: 250px;
159
}
160

    
161
/******  End Theme ******/
162

    
163
/***** Critical to the continued enjoyment of working dropdowns ******/
164

    
165
.dk_container {
166
  display: none;
167
  float: left;
168
  position: relative;
169
}
170
  .dk_container a {
171
    outline: 0;
172
  }
173

    
174
.dk_toggle {
175
  display: -moz-inline-stack;
176
  display: inline-block;
177
  *display: inline;
178
  position: relative;
179
  zoom: 1;
180
}
181

    
182
.dk_open {
183
  position: relative;
184
}
185
  .dk_open .dk_options {
186
    display: block;
187
  }
188
  .dk_open .dk_label {
189
    color: inherit;
190
  }
191

    
192
.dk_options {
193
  display: none;
194
  margin-top: -1px;
195
  position: absolute;
196
  right: 0;
197
  width: 100%;
198
}
199
  .dk_options a,
200
  .dk_options a:link,
201
  .dk_options a:visited {
202
    display: block;
203
  }
204
  .dk_options_inner {
205
    overflow: auto;
206
    position: relative;
207
  }
208

    
209
.dk_touch .dk_options {
210
  overflow: hidden;
211
}
212

    
213
.dk_touch .dk_options_inner {
214
  max-height: none;
215
  overflow: visible;
216
}
217

    
218
.dk_fouc select {
219
  position: relative;
220
  top: -99999em;
221
  visibility: hidden;
222
}
223

    
224
/***** End Critical to the continued enjoyment of working dropdowns ******/