Project

General

Profile

« Previous | Next » 

Revision 824ae003

Added by Andreas Kohlbecker almost 5 years ago

ref #8320 fixing tab color specificity probelm

View differences:

themes/zen_dataportal/css/cdm.css
1
@import url(../fonts/droid-sans-fontfacekit/web fonts/droidsans_regular/stylesheet.css);@import url(../fonts/droid-sans-mono-fontfacekit/web fonts/droidsansmono_regular/stylesheet.css);.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,#identificationKey a:link,#identificationKey a:visited,#content a:link,#content a:visited{color:#115e92;text-decoration:none}.block a:hover,.block a:focus,.node a:hover,.node a:focus,#identificationKey a:hover,#identificationKey a:focus,#content a:hover,#content 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,#identificationKey .Synonym a:link,#identificationKey .Synonym a:visited,#identificationKey .misapplied-name a:link,#identificationKey .misapplied-name a:visited,#content .Synonym a:link,#content .Synonym a:visited,#content .misapplied-name a:link,#content .misapplied-name a:visited{color:#7c7c7c}.block .Taxon a:link,.block .Taxon a:visited,.node .Taxon a:link,.node .Taxon a:visited,#identificationKey .Taxon a:link,#identificationKey .Taxon a:visited,#content .Taxon a:link,#content .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}.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}div.cdm-item-list div.item{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}.registration .name_type_designation .type_status{font-weight:bold}.registration .registration-date-and-institute{color:#999}.registration .published-name .TaxonName .name{font-weight:bold}.registration .typified-name .cdm\:TaxonName{color:#999}.registration .typified-name .cdm\:TaxonName a{color:#999}.registration .typified-name .cdm\:TaxonName .TaxonName .name{font-weight:bold}.registration .registration-summary .registered_name .name{font-weight:bold}.registration .registration-summary .referenced_typified_name{color:#999}.registration .registration-summary .label{font-weight:bold}#system-theme-settings .image-preview{width:600px;max-height:150px;overflow:auto}#system-theme-settings .image-preview img{max-width:none}#classification-breadcrumbs{font-size:1.5em;line-height:1.5em}@media all and (min-width: 960px){#classification-breadcrumbs{font-size:1em}}
1
/**
2
 * @file
3
 * cdm_dataportal specific styling
4
 *
5
 * Style the markup found in the cdm_dataportal module.
6
 */
7
@import url(../fonts/droid-sans-fontfacekit/web fonts/droidsans_regular/stylesheet.css);
8
@import url(../fonts/droid-sans-mono-fontfacekit/web fonts/droidsansmono_regular/stylesheet.css);
9
/* line 30, ../sass/ie-legacy.scss */
10
.pie-element, .lt-ie9 #page {
11
  behavior: url("/polyfills/css3pie/PIE-1.0.0.htc");
12
  position: relative;
13
}
14

  
15
/* line 43, ../sass/ie-legacy.scss */
16
.pie-container {
17
  z-index: 0;
18
  position: relative;
19
}
20

  
21
/* line 47, ../sass/ie-legacy.scss */
22
.z-pie-element, .lt-ie9 #page {
23
  behavior: url("/polyfills/css3pie/PIE-1.0.0.htc");
24
  z-index: 0;
25
}
26

  
27
/* line 63, ../sass/ie-legacy.scss */
28
.lt-ie9 #header {
29
  /* 
30
   * reset right padding to zero and use margin-right instead,
31
   * this avoids the need for background-clip: content-box
32
   * which is not suppoorted in IE < 9
33
   */
34
  padding-right: 0;
35
  margin-right: 20px;
36
}
37

  
38
/*  style links only for content in blocks and node and backbutton
39
    added also #identificationKey since there are not yet drupal nodes */
40
/* line 43, ../sass/_mixins.scss */
41
.block a:link,
42
.block a:visited, .node a:link,
43
.node a:visited, #identificationKey a:link,
44
#identificationKey a:visited, #content a:link,
45
#content a:visited {
46
  color: #115e92;
47
  text-decoration: none;
48
}
49
/* line 49, ../sass/_mixins.scss */
50
.block a:hover,
51
.block a:focus, .node a:hover,
52
.node a:focus, #identificationKey a:hover,
53
#identificationKey a:focus, #content a:hover,
54
#content a:focus {
55
  text-decoration: underline;
56
}
57
/* line 58, ../sass/_mixins.scss */
58
.block .Synonym a:link,
59
.block .Synonym a:visited, .block .misapplied-name a:link,
60
.block .misapplied-name a:visited, .node .Synonym a:link,
61
.node .Synonym a:visited, .node .misapplied-name a:link,
62
.node .misapplied-name a:visited, #identificationKey .Synonym a:link,
63
#identificationKey .Synonym a:visited, #identificationKey .misapplied-name a:link,
64
#identificationKey .misapplied-name a:visited, #content .Synonym a:link,
65
#content .Synonym a:visited, #content .misapplied-name a:link,
66
#content .misapplied-name a:visited {
67
  color: #7c7c7c;
68
}
69
/* line 64, ../sass/_mixins.scss */
70
.block .Taxon a:link,
71
.block .Taxon a:visited, .node .Taxon a:link,
72
.node .Taxon a:visited, #identificationKey .Taxon a:link,
73
#identificationKey .Taxon a:visited, #content .Taxon a:link,
74
#content .Taxon a:visited {
75
  color: #115e92;
76
}
77

  
78
/* line 19, ../sass/cdm.scss */
79
#content a.tabs-primary__tab-link {
80
  color: #333;
81
}
82

  
83
/* line 23, ../sass/cdm.scss */
84
#page-toc {
85
  float: right;
86
  background-color: white;
87
}
88
/* line 26, ../sass/cdm.scss */
89
#page-toc h3 {
90
  margin-top: 0;
91
  line-height: 18px;
92
}
93

  
94
/* line 32, ../sass/cdm.scss */
95
#taxonProfileImage {
96
  float: left;
97
}
98

  
99
/* line 36, ../sass/cdm.scss */
100
.block-cdm-dataportal-feature, .media-caption, .specimens {
101
  clear: both;
102
  margin-bottom: 18px;
103
}
104
/* line 39, ../sass/cdm.scss */
105
.block-cdm-dataportal-feature dt, .media-caption dt, .specimens dt {
106
  float: left;
107
  font-weight: bold;
108
  margin-right: 0.3em;
109
}
110
/* line 44, ../sass/cdm.scss */
111
.block-cdm-dataportal-feature dd, .media-caption dd, .specimens dd {
112
  margin: 0;
113
  margin-left: 20px;
114
}
115
/* line 48, ../sass/cdm.scss */
116
.block-cdm-dataportal-feature dl dl, .media-caption dl dl, .specimens dl dl {
117
  margin: 0;
118
  /* reset default from cdm_dataportal.css */
119
}
120

  
121
/* line 53, ../sass/cdm.scss */
122
.breadcrumbs li {
123
  padding: 0 0 0 0;
124
}
125

  
126
/*
127
 * Search results
128
 */
129
/* line 43, ../sass/_mixins.scss */
130
#search_results a:link,
131
#search_results a:visited {
132
  color: #115e92;
133
  text-decoration: none;
134
}
135
/* line 49, ../sass/_mixins.scss */
136
#search_results a:hover,
137
#search_results a:focus {
138
  text-decoration: underline;
139
}
140
/* line 58, ../sass/_mixins.scss */
141
#search_results .Synonym a:link,
142
#search_results .Synonym a:visited, #search_results .misapplied-name a:link,
143
#search_results .misapplied-name a:visited {
144
  color: #7c7c7c;
145
}
146
/* line 64, ../sass/_mixins.scss */
147
#search_results .Taxon a:link,
148
#search_results .Taxon a:visited {
149
  color: #115e92;
150
}
151
/* line 65, ../sass/cdm.scss */
152
#search_results table {
153
  margin: 1em 0;
154
}
155

  
156
/* line 70, ../sass/cdm.scss */
157
div.cdm-item-list div.item {
158
  margin: 9px 0;
159
}
160

  
161
/*
162
 * Taxon page and parts
163
 */
164
/* line 78, ../sass/cdm.scss */
165
.page-part {
166
  margin-bottom: 18px;
167
  clear: none;
168
}
169

  
170
/*
171
 * definition list container rendered by the
172
 * drupal theme function theme_description_list()
173
 */
174
/* line 88, ../sass/cdm.scss */
175
.description_list h3 {
176
  font-size: 12px;
177
  line-height: 18px;
178
  font-weight: bold;
179
}
180

  
181
/*
182
 * Synonymy
183
 */
184
/* line 102, ../sass/cdm.scss */
185
#synonymy div.accepted-name {
186
  margin-bottom: -1em;
187
  margin-top: 1em;
188
}
189
/* line 107, ../sass/cdm.scss */
190
#synonymy .homotypic-synonymy-group, #synonymy .heterotypic-synonymy-group, #synonymy .taxon-relationships {
191
  border-bottom: 1px solid #DEDEDE;
192
  /* replace padding by margin */
193
  margin: 1em 0px;
194
  padding: 0;
195
}
196

  
197
/*
198
 * Media
199
 */
200
/* line 118, ../sass/cdm.scss */
201
dl.media-caption {
202
  margin: 0;
203
}
204

  
205
/* line 122, ../sass/cdm.scss */
206
.media-caption dd {
207
  margin-left: 0;
208
}
209
/* line 124, ../sass/cdm.scss */
210
.media-caption dd .title {
211
  font-size: 100%;
212
}
213

  
214
/* line 129, ../sass/cdm.scss */
215
.image-gallerie td.caption {
216
  padding-bottom: 1em;
217
}
218

  
219
/*
220
 * specimens
221
 */
222
/* line 137, ../sass/cdm.scss */
223
#specimens table.media_gallery {
224
  margin-top: 0.2em;
225
}
226
/* line 140, ../sass/cdm.scss */
227
#specimens .description_list {
228
  clear: both;
229
}
230
/* line 142, ../sass/cdm.scss */
231
#specimens .description_list h3 {
232
  margin-top: 0;
233
  background-color: #ddd;
234
}
235
/* line 146, ../sass/cdm.scss */
236
#specimens .description_list h4 {
237
  clear: left;
238
  margin-bottom: 0;
239
  font-style: italic;
240
}
241
/* line 152, ../sass/cdm.scss */
242
#specimens .dynabox_content {
243
  margin-left: 10px;
244
  margin-right: 10px;
245
}
246
/* line 156, ../sass/cdm.scss */
247
#specimens .block-cdm-dataportal-feature {
248
  margin-left: 20px;
249
  margin-bottom: 0;
250
}
251
/* line 159, ../sass/cdm.scss */
252
#specimens .block-cdm-dataportal-feature h2 {
253
  font-size: 12px;
254
  line-height: 18px;
255
  font-weight: bold;
256
}
257
/* line 165, ../sass/cdm.scss */
258
#specimens ul.typeDesignations {
259
  clear: both;
260
}
261
/* line 168, ../sass/cdm.scss */
262
#specimens .dna-sequence div {
263
  font-size: 12px;
264
  font-family: monospace;
265
  clear: left;
266
  padding-left: 20px;
267
}
268
/* line 174, ../sass/cdm.scss */
269
#specimens .derived_from {
270
  clear: both;
271
}
272

  
273
/*
274
 * Registration page & items
275
 */
276
/* line 184, ../sass/cdm.scss */
277
.registration .name_type_designation .type_status {
278
  font-weight: bold;
279
}
280
/* line 188, ../sass/cdm.scss */
281
.registration .registration-date-and-institute {
282
  color: #999;
283
}
284
/* line 193, ../sass/cdm.scss */
285
.registration .published-name .TaxonName .name {
286
  font-weight: bold;
287
}
288
/* line 197, ../sass/cdm.scss */
289
.registration .typified-name .cdm\:TaxonName {
290
  color: #999;
291
}
292
/* line 199, ../sass/cdm.scss */
293
.registration .typified-name .cdm\:TaxonName a {
294
  color: #999;
295
}
296
/* line 202, ../sass/cdm.scss */
297
.registration .typified-name .cdm\:TaxonName .TaxonName .name {
298
  font-weight: bold;
299
}
300
/* line 208, ../sass/cdm.scss */
301
.registration .registration-summary .registered_name .name {
302
  font-weight: bold;
303
}
304
/* line 211, ../sass/cdm.scss */
305
.registration .registration-summary .referenced_typified_name {
306
  color: #999;
307
}
308
/* line 214, ../sass/cdm.scss */
309
.registration .registration-summary .label {
310
  font-weight: bold;
311
}
312

  
313
/*
314
 * Theme settings page
315
 */
316
/* line 225, ../sass/cdm.scss */
317
#system-theme-settings .image-preview {
318
  width: 600px;
319
  max-height: 150px;
320
  overflow: auto;
321
}
322
/* line 229, ../sass/cdm.scss */
323
#system-theme-settings .image-preview img {
324
  max-width: none;
325
  /* reset style in mormalize.scss */
326
}
327

  
328
/*****************************************************************************************
329
 * RESPONSIVE
330
 *
331
 * using the same media queries here as in layout/_responsive.scss
332
 *****************************************************************************************/
333
/* line 242, ../sass/cdm.scss */
334
#classification-breadcrumbs {
335
  font-size: 1.5em;
336
  line-height: 1.5em;
337
}
338

  
339
@media all and (min-width: 960px) {
340
  /* line 253, ../sass/cdm.scss */
341
  #classification-breadcrumbs {
342
    font-size: 1em;
343
  }
344
}

Also available in: Unified diff