Revision e03a7102
Added by Andreas Kohlbecker over 7 years ago
themes/zen_dataportal/css/cdm.css | ||
---|---|---|
1 |
.pie-element,.lt-ie9 #page{behavior:url("/polyfills/css3pie/PIE-1.0.0.htc");position:relative}.pie-container{z-index:0;position:relative}.z-pie-element,.lt-ie9 #page{behavior:url("/polyfills/css3pie/PIE-1.0.0.htc");z-index:0}.lt-ie9 #header{padding-right:0;margin-right:20px}.block a:link,.block a:visited,.node a:link,.node a:visited,#backButton a:link,#backButton a:visited,#identificationKey a:link,#identificationKey a:visited{color:#115e92;text-decoration:none}.block a:hover,.block a:focus,.node a:hover,.node a:focus,#backButton a:hover,#backButton a:focus,#identificationKey a:hover,#identificationKey a:focus{text-decoration:underline}.block .Synonym a:link,.block .Synonym a:visited,.block .misapplied-name a:link,.block .misapplied-name a:visited,.node .Synonym a:link,.node .Synonym a:visited,.node .misapplied-name a:link,.node .misapplied-name a:visited,#backButton .Synonym a:link,#backButton .Synonym a:visited,#backButton .misapplied-name a:link,#backButton .misapplied-name a:visited,#identificationKey .Synonym a:link,#identificationKey .Synonym a:visited,#identificationKey .misapplied-name a:link,#identificationKey .misapplied-name a:visited{color:#7c7c7c}.block .Taxon a:link,.block .Taxon a:visited,.node .Taxon a:link,.node .Taxon a:visited,#backButton .Taxon a:link,#backButton .Taxon a:visited,#identificationKey .Taxon a:link,#identificationKey .Taxon a:visited{color:#115e92}#page-toc{float:right;background-color:#fff}#page-toc h3{margin-top:0;line-height:18px}#taxonProfileImage{float:left}.block-cdm-dataportal-feature,.media-caption,.specimens{clear:both;margin-bottom:18px}.block-cdm-dataportal-feature dt,.media-caption dt,.specimens dt{float:left;font-weight:bold;margin-right:0.3em}.block-cdm-dataportal-feature dd,.media-caption dd,.specimens dd{margin:0;margin-left:20px}.block-cdm-dataportal-feature dl dl,.media-caption dl dl,.specimens dl dl{margin:0}#backButton{text-align:right}.breadcrumbs li{padding:0 0 0 0}#search_results a:link,#search_results a:visited{color:#115e92;text-decoration:none}#search_results a:hover,#search_results a:focus{text-decoration:underline}#search_results .Synonym a:link,#search_results .Synonym a:visited,#search_results .misapplied-name a:link,#search_results .misapplied-name a:visited{color:#7c7c7c}#search_results .Taxon a:link,#search_results .Taxon a:visited{color:#115e92}#search_results table{margin:1em 0}ul.cdm_names li{margin:9px 0}.page-part{margin-bottom:18px;clear:none}.description_list h3{font-size:12px;line-height:18px;font-weight:bold}#synonymy div.accepted-name{margin-bottom:-1em;margin-top:1em}#synonymy .homotypic-synonymy-group,#synonymy .heterotypic-synonymy-group,#synonymy .taxon-relationships{border-bottom:1px solid #DEDEDE;margin:1em 0px;padding:0}dl.media-caption{margin:0}.media-caption dd{margin-left:0}.media-caption dd .title{font-size:100%}.image-gallerie td.caption{padding-bottom:1em}#specimens table.media_gallery{margin-top:0.2em}#specimens .description_list{clear:both}#specimens .description_list h3{margin-top:0;background-color:#ddd}#specimens .description_list h4{clear:left;margin-bottom:0;font-style:italic}#specimens .dynabox_content{margin-left:10px;margin-right:10px}#specimens .block-cdm-dataportal-feature{margin-left:20px;margin-bottom:0}#specimens .block-cdm-dataportal-feature h2{font-size:12px;line-height:18px;font-weight:bold}#specimens ul.typeDesignations{clear:both}#specimens .dna-sequence div{font-size:12px;font-family:monospace;clear:left;padding-left:20px}#specimens .derived_from{clear:both}#system-theme-settings .image-preview{width:600px;max-height:150px;overflow:auto}#system-theme-settings .image-preview img{max-width:none} |
|
1 |
/** |
|
2 |
* @file |
|
3 |
* cdm_dataportal specific styling |
|
4 |
* |
|
5 |
* Style the markup found in the cdm_dataportal module. |
|
6 |
*/ |
|
7 |
/* line 30, ../sass/ie-legacy.scss */ |
|
8 |
.pie-element, .lt-ie9 #page { |
|
9 |
behavior: url("/polyfills/css3pie/PIE-1.0.0.htc"); |
|
10 |
position: relative; |
|
11 |
} |
|
12 |
|
|
13 |
/* line 43, ../sass/ie-legacy.scss */ |
|
14 |
.pie-container { |
|
15 |
z-index: 0; |
|
16 |
position: relative; |
|
17 |
} |
|
18 |
|
|
19 |
/* line 47, ../sass/ie-legacy.scss */ |
|
20 |
.z-pie-element, .lt-ie9 #page { |
|
21 |
behavior: url("/polyfills/css3pie/PIE-1.0.0.htc"); |
|
22 |
z-index: 0; |
|
23 |
} |
|
24 |
|
|
25 |
/* line 63, ../sass/ie-legacy.scss */ |
|
26 |
.lt-ie9 #header { |
|
27 |
/* |
|
28 |
* reset right padding to zero and use margin-right instead, |
|
29 |
* this avoids the need for background-clip: content-box |
|
30 |
* which is not suppoorted in IE < 9 |
|
31 |
*/ |
|
32 |
padding-right: 0; |
|
33 |
margin-right: 20px; |
|
34 |
} |
|
35 |
|
|
36 |
/* style links only for content in blocks and node and backbutton |
|
37 |
added also #identificationKey since there are not yet drupal nodes */ |
|
38 |
/* line 43, ../sass/_mixins.scss */ |
|
39 |
.block a:link, |
|
40 |
.block a:visited, .node a:link, |
|
41 |
.node a:visited, #identificationKey a:link, |
|
42 |
#identificationKey a:visited { |
|
43 |
color: #115e92; |
|
44 |
text-decoration: none; |
|
45 |
} |
|
46 |
/* line 49, ../sass/_mixins.scss */ |
|
47 |
.block a:hover, |
|
48 |
.block a:focus, .node a:hover, |
|
49 |
.node a:focus, #identificationKey a:hover, |
|
50 |
#identificationKey a:focus { |
|
51 |
text-decoration: underline; |
|
52 |
} |
|
53 |
/* line 58, ../sass/_mixins.scss */ |
|
54 |
.block .Synonym a:link, |
|
55 |
.block .Synonym a:visited, .block .misapplied-name a:link, |
|
56 |
.block .misapplied-name a:visited, .node .Synonym a:link, |
|
57 |
.node .Synonym a:visited, .node .misapplied-name a:link, |
|
58 |
.node .misapplied-name a:visited, #identificationKey .Synonym a:link, |
|
59 |
#identificationKey .Synonym a:visited, #identificationKey .misapplied-name a:link, |
|
60 |
#identificationKey .misapplied-name a:visited { |
|
61 |
color: #7c7c7c; |
|
62 |
} |
|
63 |
/* line 64, ../sass/_mixins.scss */ |
|
64 |
.block .Taxon a:link, |
|
65 |
.block .Taxon a:visited, .node .Taxon a:link, |
|
66 |
.node .Taxon a:visited, #identificationKey .Taxon a:link, |
|
67 |
#identificationKey .Taxon a:visited { |
|
68 |
color: #115e92; |
|
69 |
} |
|
70 |
|
|
71 |
/* line 19, ../sass/cdm.scss */ |
|
72 |
#page-toc { |
|
73 |
float: right; |
|
74 |
background-color: white; |
|
75 |
} |
|
76 |
/* line 22, ../sass/cdm.scss */ |
|
77 |
#page-toc h3 { |
|
78 |
margin-top: 0; |
|
79 |
line-height: 18px; |
|
80 |
} |
|
81 |
|
|
82 |
/* line 28, ../sass/cdm.scss */ |
|
83 |
#taxonProfileImage { |
|
84 |
float: left; |
|
85 |
} |
|
86 |
|
|
87 |
/* line 32, ../sass/cdm.scss */ |
|
88 |
.block-cdm-dataportal-feature, .media-caption, .specimens { |
|
89 |
clear: both; |
|
90 |
margin-bottom: 18px; |
|
91 |
} |
|
92 |
/* line 35, ../sass/cdm.scss */ |
|
93 |
.block-cdm-dataportal-feature dt, .media-caption dt, .specimens dt { |
|
94 |
float: left; |
|
95 |
font-weight: bold; |
|
96 |
margin-right: 0.3em; |
|
97 |
} |
|
98 |
/* line 40, ../sass/cdm.scss */ |
|
99 |
.block-cdm-dataportal-feature dd, .media-caption dd, .specimens dd { |
|
100 |
margin: 0; |
|
101 |
margin-left: 20px; |
|
102 |
} |
|
103 |
/* line 44, ../sass/cdm.scss */ |
|
104 |
.block-cdm-dataportal-feature dl dl, .media-caption dl dl, .specimens dl dl { |
|
105 |
margin: 0; |
|
106 |
/* reset default from cdm_dataportal.css */ |
|
107 |
} |
|
108 |
|
|
109 |
/* line 49, ../sass/cdm.scss */ |
|
110 |
.breadcrumbs li { |
|
111 |
padding: 0 0 0 0; |
|
112 |
} |
|
113 |
|
|
114 |
/* |
|
115 |
* Search results |
|
116 |
*/ |
|
117 |
/* line 43, ../sass/_mixins.scss */ |
|
118 |
#search_results a:link, |
|
119 |
#search_results a:visited { |
|
120 |
color: #115e92; |
|
121 |
text-decoration: none; |
|
122 |
} |
|
123 |
/* line 49, ../sass/_mixins.scss */ |
|
124 |
#search_results a:hover, |
|
125 |
#search_results a:focus { |
|
126 |
text-decoration: underline; |
|
127 |
} |
|
128 |
/* line 58, ../sass/_mixins.scss */ |
|
129 |
#search_results .Synonym a:link, |
|
130 |
#search_results .Synonym a:visited, #search_results .misapplied-name a:link, |
|
131 |
#search_results .misapplied-name a:visited { |
|
132 |
color: #7c7c7c; |
|
133 |
} |
|
134 |
/* line 64, ../sass/_mixins.scss */ |
|
135 |
#search_results .Taxon a:link, |
|
136 |
#search_results .Taxon a:visited { |
|
137 |
color: #115e92; |
|
138 |
} |
|
139 |
/* line 61, ../sass/cdm.scss */ |
|
140 |
#search_results table { |
|
141 |
margin: 1em 0; |
|
142 |
} |
|
143 |
|
|
144 |
/* line 66, ../sass/cdm.scss */ |
|
145 |
ul.cdm_names li { |
|
146 |
margin: 9px 0; |
|
147 |
} |
|
148 |
|
|
149 |
/* |
|
150 |
* Taxon page and parts |
|
151 |
*/ |
|
152 |
/* line 74, ../sass/cdm.scss */ |
|
153 |
.page-part { |
|
154 |
margin-bottom: 18px; |
|
155 |
clear: none; |
|
156 |
} |
|
157 |
|
|
158 |
/* |
|
159 |
* definition list container rendered by the |
|
160 |
* drupal theme function theme_description_list() |
|
161 |
*/ |
|
162 |
/* line 84, ../sass/cdm.scss */ |
|
163 |
.description_list h3 { |
|
164 |
font-size: 12px; |
|
165 |
line-height: 18px; |
|
166 |
font-weight: bold; |
|
167 |
} |
|
168 |
|
|
169 |
/* |
|
170 |
* Synonymy |
|
171 |
*/ |
|
172 |
/* line 98, ../sass/cdm.scss */ |
|
173 |
#synonymy div.accepted-name { |
|
174 |
margin-bottom: -1em; |
|
175 |
margin-top: 1em; |
|
176 |
} |
|
177 |
/* line 103, ../sass/cdm.scss */ |
|
178 |
#synonymy .homotypic-synonymy-group, #synonymy .heterotypic-synonymy-group, #synonymy .taxon-relationships { |
|
179 |
border-bottom: 1px solid #DEDEDE; |
|
180 |
/* replace padding by margin */ |
|
181 |
margin: 1em 0px; |
|
182 |
padding: 0; |
|
183 |
} |
|
184 |
|
|
185 |
/* |
|
186 |
* Media |
|
187 |
*/ |
|
188 |
/* line 114, ../sass/cdm.scss */ |
|
189 |
dl.media-caption { |
|
190 |
margin: 0; |
|
191 |
} |
|
192 |
|
|
193 |
/* line 118, ../sass/cdm.scss */ |
|
194 |
.media-caption dd { |
|
195 |
margin-left: 0; |
|
196 |
} |
|
197 |
/* line 120, ../sass/cdm.scss */ |
|
198 |
.media-caption dd .title { |
|
199 |
font-size: 100%; |
|
200 |
} |
|
201 |
|
|
202 |
/* line 125, ../sass/cdm.scss */ |
|
203 |
.image-gallerie td.caption { |
|
204 |
padding-bottom: 1em; |
|
205 |
} |
|
206 |
|
|
207 |
/* |
|
208 |
* specimens |
|
209 |
*/ |
|
210 |
/* line 133, ../sass/cdm.scss */ |
|
211 |
#specimens table.media_gallery { |
|
212 |
margin-top: 0.2em; |
|
213 |
} |
|
214 |
/* line 136, ../sass/cdm.scss */ |
|
215 |
#specimens .description_list { |
|
216 |
clear: both; |
|
217 |
} |
|
218 |
/* line 138, ../sass/cdm.scss */ |
|
219 |
#specimens .description_list h3 { |
|
220 |
margin-top: 0; |
|
221 |
background-color: #ddd; |
|
222 |
} |
|
223 |
/* line 142, ../sass/cdm.scss */ |
|
224 |
#specimens .description_list h4 { |
|
225 |
clear: left; |
|
226 |
margin-bottom: 0; |
|
227 |
font-style: italic; |
|
228 |
} |
|
229 |
/* line 148, ../sass/cdm.scss */ |
|
230 |
#specimens .dynabox_content { |
|
231 |
margin-left: 10px; |
|
232 |
margin-right: 10px; |
|
233 |
} |
|
234 |
/* line 152, ../sass/cdm.scss */ |
|
235 |
#specimens .block-cdm-dataportal-feature { |
|
236 |
margin-left: 20px; |
|
237 |
margin-bottom: 0; |
|
238 |
} |
|
239 |
/* line 155, ../sass/cdm.scss */ |
|
240 |
#specimens .block-cdm-dataportal-feature h2 { |
|
241 |
font-size: 12px; |
|
242 |
line-height: 18px; |
|
243 |
font-weight: bold; |
|
244 |
} |
|
245 |
/* line 161, ../sass/cdm.scss */ |
|
246 |
#specimens ul.typeDesignations { |
|
247 |
clear: both; |
|
248 |
} |
|
249 |
/* line 164, ../sass/cdm.scss */ |
|
250 |
#specimens .dna-sequence div { |
|
251 |
font-size: 12px; |
|
252 |
font-family: monospace; |
|
253 |
clear: left; |
|
254 |
padding-left: 20px; |
|
255 |
} |
|
256 |
/* line 170, ../sass/cdm.scss */ |
|
257 |
#specimens .derived_from { |
|
258 |
clear: both; |
|
259 |
} |
|
260 |
|
|
261 |
/* |
|
262 |
* Theme settings page |
|
263 |
*/ |
|
264 |
/* line 181, ../sass/cdm.scss */ |
|
265 |
#system-theme-settings .image-preview { |
|
266 |
width: 600px; |
|
267 |
max-height: 150px; |
|
268 |
overflow: auto; |
|
269 |
} |
|
270 |
/* line 185, ../sass/cdm.scss */ |
|
271 |
#system-theme-settings .image-preview img { |
|
272 |
max-width: none; |
|
273 |
/* reset style in mormalize.scss */ |
|
274 |
} |
|
275 |
|
|
276 |
/***************************************************************************************** |
|
277 |
* RESPONSIVE |
|
278 |
* |
|
279 |
* using the same media queries here as in layout/_responsive.scss |
|
280 |
*****************************************************************************************/ |
|
281 |
/* line 198, ../sass/cdm.scss */ |
|
282 |
#classification-breadcrumbs { |
|
283 |
font-size: 1.5em; |
|
284 |
line-height: 1.5em; |
|
285 |
} |
|
286 |
|
|
287 |
@media all and (min-width: 960px) { |
|
288 |
/* line 209, ../sass/cdm.scss */ |
|
289 |
#classification-breadcrumbs { |
|
290 |
font-size: 1em; |
|
291 |
} |
|
292 |
} |
Also available in: Unified diff
ref #5956 classification breadcrumb navigation for mobiles fixed