Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (6.3 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; border-color:#adadad;}
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:75% 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:#222; padding:8px 1.5em;  border-bottom-color: #ccc; border-bottom:0 none; height:auto; width:auto;  }
26
.form-row .dk_options a:hover                                        { border-bottom-color: #ccc }
27
.form-row .dk_container.dk_open                                        { border-color: #000; }
28
.form-row .dk_options_inner                                                { padding:0; margin:0; box-shadow:none; text-shadow:none;  border-radius:0; border:1px solid #000 ; border-top:1px solid #ccc; margin-top:4px;}
29
.form-row .dk-options_inner li                                        { list-style:none outside; }
30
.form-row .dk_options a:hover, 
31
.form-row .dk_option_current a                                        { text-shadow:none; background-color: #fff; text-decoration:none; color:#F89A1C; }
32
.form-row .dk_toggle                                                         { height:17px; overflow:hidden; }
33
.form-row .dk_toggle span                                                { width:220px;white-space: nowrap; overflow: hidden; /*text-overflow: ellipsis;*/ display:block; }
34
/* end custom theme */
35

    
36

    
37

    
38

    
39

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

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

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

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

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

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

    
164
/******  End Theme ******/
165

    
166
/***** Critical to the continued enjoyment of working dropdowns ******/
167

    
168
.dk_container {
169
  display: none;
170
  float: left;
171
  position: relative;
172
}
173
  .dk_container a {
174
    outline: 0;
175
  }
176

    
177
.dk_toggle {
178
  display: -moz-inline-stack;
179
  display: inline-block;
180
  *display: inline;
181
  position: relative;
182
  zoom: 1;
183
}
184

    
185
.dk_open {
186
  position: relative;
187
}
188
  .dk_open .dk_options {
189
    display: block;
190
  }
191
  .dk_open .dk_label {
192
    color: inherit;
193
  }
194

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

    
212
.dk_touch .dk_options {
213
  overflow: hidden;
214
}
215

    
216
.dk_touch .dk_options_inner {
217
  max-height: none;
218
  overflow: visible;
219
}
220

    
221
.dk_fouc select {
222
  position: relative;
223
  top: -99999em;
224
  visibility: hidden;
225
}
226

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