Revision 5a2e89b6
Added by Andreas Kohlbecker about 3 years ago
themes/zen_dataportal/sass/cdm.scss | ||
---|---|---|
226 | 226 |
} |
227 | 227 |
|
228 | 228 |
// derivatives tree view (see also derivation-tree.js) |
229 |
// partially based on ideas found in https://jsfiddle.net/xuonpjmh/21/ |
|
229 | 230 |
$tree-entry-vspace: 7px; //$base-font-size / 2 ??? |
230 | 231 |
$tree-line-width: 3px; |
231 | 232 |
$tree-line-style: $tree-line-width dotted $menu-bar-background-color; |
... | ... | |
251 | 252 |
} |
252 | 253 |
} |
253 | 254 |
.unit-content { |
254 |
padding-left: 1em;
|
|
255 |
padding: $base-line-height / 2;
|
|
255 | 256 |
background-color: lighten($menu-bar-background-color, 5%); |
256 | 257 |
dl { |
257 | 258 |
margin: 0; |
... | ... | |
260 | 261 |
} |
261 | 262 |
div.derived-unit-tree { |
262 | 263 |
margin-top: -$tree-lines-top-offset; // needed for consistent spacing, see below |
264 |
table.specimen-or-observation-details { |
|
265 |
margin: 0; |
|
266 |
width: 50%; |
|
267 |
font-size: smaller; |
|
268 |
background-color: $page-background-color; |
|
269 |
thead { |
|
270 |
// background-color: $menu-bar-background-color; |
|
271 |
border-bottom: thin solid $menu-bar-background-color; |
|
272 |
} |
|
273 |
tbody { |
|
274 |
background-color: $page-background-color; |
|
275 |
.label { |
|
276 |
text-align: right; |
|
277 |
border-right: thin solid $menu-bar-background-color; |
|
278 |
|
|
279 |
} |
|
280 |
} |
|
281 |
td, th { |
|
282 |
padding-right: $base-line-height / 2; |
|
283 |
padding-left: $base-line-height / 2; |
|
284 |
} |
|
285 |
} |
|
263 | 286 |
} |
264 | 287 |
div.derived-unit-tree-root { |
265 | 288 |
.unit-content-wrapper { |
Also available in: Unified diff
ref #7599 ref #6866 specimen details in floating tables - first part