/** * @file * cdm_dataportal specific styling * * Style the markup found in the cdm_dataportal module. */ @import "init"; $page-part-margin: $base-line-height * 1; /* style links only for content in blocks and node and backbutton added also #identificationKey since there are not yet drupal nodes */ .block, .node, #identificationKey { @include cdm-link-style; } #page-toc { float:right; background-color: $page-background-color; h3 { margin-top: 0; line-height: $base-line-height; } } #taxonProfileImage{ float: left; } .block-cdm-dataportal-feature, .media-caption, .specimens { clear: both; margin-bottom: $page-part-margin; dt { float: left; font-weight: bold; margin-right: 0.3em; } dd { margin: 0; margin-left: $zen-gutter-width; } dl dl { margin: 0; /* reset default from cdm_dataportal.css */ } } .breadcrumbs li { padding: 0 0 0 0; } /* * Search results */ #search_results{ @include cdm-link-style; table { margin: 1em 0; } } div.cdm-item-list div.item { margin: $base-line-height / 2 0; } /* * Taxon page and parts */ .page-part { margin-bottom: $page-part-margin; clear: none; } /* * definition list container rendered by the * drupal theme function theme_description_list() */ .description_list { h3 { font-size: $base-font-size; line-height: $base-line-height; font-weight: bold; } } /* * Synonymy */ #synonymy { div.accepted-name { margin-bottom: -1em; margin-top: 1em; } .homotypic-synonymy-group, .heterotypic-synonymy-group, .taxon-relationships { border-bottom: 1px solid #DEDEDE; /* replace padding by margin */ margin: 1em 0px; padding: 0; } } /* * Media */ dl.media-caption { margin: 0; } .media-caption { dd { margin-left: 0; .title { font-size: 100%; } } } .image-gallerie td.caption { padding-bottom: 1em; } /* * specimens */ #specimens { table.media_gallery { margin-top: 0.2em; } .description_list { clear: both; h3 { margin-top: 0; background-color: #ddd; } h4 { clear: left; margin-bottom: 0; font-style: italic; } } .dynabox_content { margin-left: $zen-gutter-width / 2; margin-right: $zen-gutter-width / 2; } .block-cdm-dataportal-feature { margin-left: $zen-gutter-width; margin-bottom: 0; h2 { font-size: $base-font-size; line-height: $base-line-height; font-weight: bold; } } ul.typeDesignations { clear: both; } .dna-sequence div { font-size: $base-font-size; font-family: monospace; clear: left; padding-left: $zen-gutter-width; } .derived_from { clear: both; } } /* * Registration page & items */ .name_type_designation .type_status{ font-weight: bold; } .registration-date-and-institute { color: #999999; } .registration-summary .label { font-weight: bold; } /* * Theme settings page */ #system-theme-settings { .image-preview { width: 600px; max-height: 150px; overflow: auto; // let it scroll img { max-width: none; /* reset style in mormalize.scss */ } } } /***************************************************************************************** * RESPONSIVE * * using the same media queries here as in layout/_responsive.scss *****************************************************************************************/ #classification-breadcrumbs { font-size: 1.5em; line-height: 1.5em; } @media all and (min-width: 480px) and (max-width: 959px) { } @media all and (min-width: 960px) { #classification-breadcrumbs { font-size: 1em; } }