Revision a6ae799b
Added by Andreas Kohlbecker almost 6 years ago
modules/cdm_dataportal/cdm_api/cdm_api.module | ||
---|---|---|
1385 | 1385 |
* @param $term_label_callback |
1386 | 1386 |
* A callback function to override the term representations |
1387 | 1387 |
* |
1388 |
* @param bool $empty_option |
|
1389 |
* An additional element do be placed at the beginning og the list. This element will be the default option. |
|
1390 |
* |
|
1388 | 1391 |
* @return array |
1389 | 1392 |
* the terms in an array as options for a form element that allows multiple choices. |
1390 | 1393 |
*/ |
1391 |
function cdm_terms_as_options($terms, $term_label_callback = NULL){ |
|
1394 |
function cdm_terms_as_options($terms, $term_label_callback = NULL, $empty_option = FALSE){
|
|
1392 | 1395 |
$options = array(); |
1393 | 1396 |
if(isset($terms) && is_array($terms)) { |
1394 | 1397 |
foreach ($terms as $term) { |
... | ... | |
1401 | 1404 |
} |
1402 | 1405 |
} |
1403 | 1406 |
|
1407 |
if($empty_option !== FALSE){ |
|
1408 |
array_unshift ($options, ""); |
|
1409 |
} |
|
1410 |
|
|
1404 | 1411 |
return $options; |
1405 | 1412 |
} |
1406 | 1413 |
|
... | ... | |
1411 | 1418 |
* The UUID of the CDM Term Vocabulary |
1412 | 1419 |
* @param $term_label_callback |
1413 | 1420 |
* An optional call back function which can be used to modify the term label |
1414 |
* @param bool $default_option
|
|
1421 |
* @param bool $empty_option
|
|
1415 | 1422 |
* An additional element do be placed at the beginning og the list. This element will be the default option. |
1416 |
* In order to put an empty element the beginning of the options pass an " " as argument. |
|
1417 | 1423 |
* @param array $include_filter |
1418 | 1424 |
* An associative array consisting of a field name an regular expression. All term matching |
1419 | 1425 |
* these filter are included. The value of the field is converted to a String by var_export() |
... | ... | |
1422 | 1428 |
* One of the order by constants defined in this file |
1423 | 1429 |
* @return mixed |
1424 | 1430 |
*/ |
1425 |
function cdm_vocabulary_as_option($vocabulary_uuid, $term_label_callback = NULL, $default_option = FALSE,
|
|
1431 |
function cdm_vocabulary_as_option($vocabulary_uuid, $term_label_callback = NULL, $empty_option = FALSE,
|
|
1426 | 1432 |
array $include_filter = null, $order_by = CDM_ORDER_BY_ORDER_INDEX_ASC) { |
1427 | 1433 |
|
1428 | 1434 |
static $vocabularyOptions = array(); |
... | ... | |
1455 | 1461 |
} |
1456 | 1462 |
|
1457 | 1463 |
// make options list |
1458 |
$vocabularyOptions[$vocabulary_uuid] = cdm_terms_as_options($terms, $term_label_callback); |
|
1464 |
$vocabularyOptions[$vocabulary_uuid] = cdm_terms_as_options($terms, $term_label_callback, $empty_option);
|
|
1459 | 1465 |
} |
1460 | 1466 |
|
1461 | 1467 |
$options = $vocabularyOptions[$vocabulary_uuid]; |
1462 |
if($default_option !== FALSE){ |
|
1463 |
array_unshift ($options, ""); |
|
1464 |
} |
|
1468 |
|
|
1465 | 1469 |
return $options; |
1466 | 1470 |
} |
1467 | 1471 |
|
1468 | 1472 |
/** |
1469 |
* @param $term_type one of |
|
1473 |
* @param $term_type string one of
|
|
1470 | 1474 |
* - Unknown |
1471 | 1475 |
* - Language |
1472 | 1476 |
* - NamedArea |
... | ... | |
1514 | 1518 |
* - CDM_ORDER_BY_TITLE_CACHE_DESC |
1515 | 1519 |
* - CDM_ORDER_BY_ORDER_INDEX_ASC (can only be used with OrderedTerms!!) |
1516 | 1520 |
* - CDM_ORDER_BY_ORDER_INDEX_DESC (can only be used with OrderedTerms!!) |
1521 |
* @param bool $empty_option |
|
1522 |
* An additional element do be placed at the beginning og the list. This element will be the default option. |
|
1517 | 1523 |
*/ |
1518 |
function cdm_terms_by_type_as_option($term_type, $order_by = CDM_ORDER_BY_TITLE_CACHE_ASC, $term_label_callback = NULL){ |
|
1524 |
function cdm_terms_by_type_as_option($term_type, $order_by = CDM_ORDER_BY_TITLE_CACHE_ASC, $term_label_callback = NULL, $empty_option = FALSE){
|
|
1519 | 1525 |
$terms = cdm_ws_fetch_all( |
1520 | 1526 |
CDM_WS_TERM, |
1521 | 1527 |
array( |
... | ... | |
1523 | 1529 |
'orderBy' => $order_by |
1524 | 1530 |
) |
1525 | 1531 |
); |
1526 |
return cdm_terms_as_options($terms, $term_label_callback); |
|
1532 |
return cdm_terms_as_options($terms, $term_label_callback, $empty_option);
|
|
1527 | 1533 |
} |
1528 | 1534 |
|
1529 | 1535 |
/** |
... | ... | |
2452 | 2458 |
* True if the object is a cdm entity. |
2453 | 2459 |
*/ |
2454 | 2460 |
function is_cdm_entity($object) { |
2455 |
return isset($object->class) && is_string($object->class) && strlen($object->class) > 2 && is_string($object->uuid) && is_uuid($object->uuid); |
|
2461 |
return |
|
2462 |
isset($object->class) && is_string($object->class) && strlen($object->class) > 2 && $object->class != 'TypedEntityReference' |
|
2463 |
&& is_string($object->uuid) && is_uuid($object->uuid); |
|
2456 | 2464 |
} |
2457 | 2465 |
|
2458 | 2466 |
/** |
modules/cdm_dataportal/cdm_dataportal.css | ||
---|---|---|
103 | 103 |
border-style: solid; |
104 | 104 |
} |
105 | 105 |
|
106 |
.fa-icon { |
|
107 |
font-family: 'FontAwesome'; |
|
108 |
} |
|
109 |
|
|
106 | 110 |
/* |
107 | 111 |
* ======= Search-Form ======= |
108 | 112 |
*/ |
... | ... | |
149 | 153 |
background-color: #eeeeee; |
150 | 154 |
} |
151 | 155 |
|
156 |
.search-filter .form-item{ |
|
157 |
display: inline-block; |
|
158 |
vertical-align: top; |
|
159 |
} |
|
160 |
.search-filter .form-submit { |
|
161 |
display: inline-block; |
|
162 |
} |
|
152 | 163 |
/* |
153 | 164 |
* ======= Search-Results ======= |
154 | 165 |
*/ |
... | ... | |
333 | 344 |
list-style-image: none; |
334 | 345 |
} |
335 | 346 |
|
336 |
.dynabox .label:hover { |
|
337 |
color: #0174bb; |
|
338 |
} |
|
339 | 347 |
|
340 | 348 |
ul.cdm_names .dynabox_content { |
341 | 349 |
margin-top:-1em; |
342 | 350 |
} |
343 | 351 |
|
352 |
.dynabox .label:hover { |
|
353 |
color: #0174bb; |
|
354 |
} |
|
355 |
|
|
344 | 356 |
.tickbox_content { |
345 | 357 |
display: none; |
346 | 358 |
} |
modules/cdm_dataportal/cdm_dataportal.info | ||
---|---|---|
9 | 9 |
files[] = classes/footnotekey.php |
10 | 10 |
files[] = classes/footnotemanager.php |
11 | 11 |
files[] = classes/renderhints.php |
12 |
files[] = classes/TypedEntityReference.php |
|
12 | 13 |
|
13 | 14 |
|
14 | 15 |
configure = admin/config/cdm_dataportal/settings |
modules/cdm_dataportal/cdm_dataportal.module | ||
---|---|---|
496 | 496 |
'access arguments' => array('access cdm content'), |
497 | 497 |
'type' => MENU_CALLBACK, |
498 | 498 |
); |
499 |
$items['cdm_dataportal/search/registration'] = array( |
|
500 |
'page callback' => 'cdm_dataportal_view_search_registrations_results', |
|
501 |
'access arguments' => array('access cdm content'), |
|
502 |
'type' => MENU_CALLBACK, |
|
503 |
); |
|
504 |
|
|
499 | 505 |
/* |
500 | 506 |
$items['cdm/xml2json'] = array( |
501 | 507 |
'page callback' => 'cdm_view_xml2json', |
... | ... | |
816 | 822 |
'visibility' => BLOCK_VISIBILITY_LISTED, |
817 | 823 |
'pages' => "cdm_dataportal/taxon/*", // multiple page paths separated by "\n"!!! |
818 | 824 |
); |
825 |
$block['registrations_search_filter'] = array( |
|
826 |
'title' => '<none>', |
|
827 |
'info' => t('CDM - Registrations search filter'), |
|
828 |
'cache' => DRUPAL_CACHE_PER_PAGE, |
|
829 |
'visibility' => BLOCK_VISIBILITY_LISTED, |
|
830 |
'pages' => "cdm_dataportal/search/registration\ncdm_dataportal/search/registration/*", // multiple page paths separated by "\n"!!! |
|
831 |
); |
|
819 | 832 |
|
820 | 833 |
return $block; |
821 | 834 |
} |
... | ... | |
874 | 887 |
$block['content'] = l(t('Back to search result'), "http://" . $_SERVER['SERVER_NAME'] . $_SESSION['cdm']['last_search']); |
875 | 888 |
} |
876 | 889 |
return $block; |
890 |
case 'registrations_search_filter': |
|
891 |
$block['subject'] = '<none>'; |
|
892 |
$block['content'] = $form = drupal_get_form('cdm_dataportal_search_registration_form'); // see cdm_dataportal_search_registration_form($form, &$form_state) |
|
893 |
return $block; |
|
877 | 894 |
default: |
878 | 895 |
return null; |
879 | 896 |
} |
... | ... | |
1857 | 1874 |
)); |
1858 | 1875 |
} |
1859 | 1876 |
|
1877 |
/** |
|
1878 |
* Executes the search for registrations and generates the result list.. |
|
1879 |
*/ |
|
1880 |
function cdm_dataportal_view_search_registrations_results() { |
|
1881 |
|
|
1882 |
$block = block_load('cdm_dataportal', 'registrations_search_filter'); |
|
1883 |
$render_array = _block_get_renderable_array(_block_render_blocks(array($block))); |
|
1884 |
|
|
1885 |
$registration_pager = cdm_dataportal_search_registrations_execute(); |
|
1886 |
|
|
1887 |
drupal_set_title(t('Search registrations'), PASS_THROUGH); |
|
1888 |
|
|
1889 |
$registrations_pager_array = compose_registrations_pager($registration_pager); |
|
1890 |
|
|
1891 |
$render_array = array_merge($render_array, $registrations_pager_array); |
|
1892 |
|
|
1893 |
return $render_array; |
|
1894 |
} |
|
1895 |
|
|
1896 |
|
|
1860 | 1897 |
/** |
1861 | 1898 |
* Provides the standart image wich indicated a loading process |
1862 | 1899 |
* |
... | ... | |
1904 | 1941 |
} |
1905 | 1942 |
|
1906 | 1943 |
|
1944 |
|
|
1907 | 1945 |
/* ====================== other functions ====================== */ |
1908 | 1946 |
/** |
1909 | 1947 |
* Creates a URL to the taxon page specified by the $uuid parameter. |
... | ... | |
2119 | 2157 |
* These according class selectors in css must be escaped, eg: |
2120 | 2158 |
* .cdm\:TextData |
2121 | 2159 |
* |
2122 |
* @param $cdmEntity
|
|
2123 |
* A CDM entity or TaxonNodeDTO
|
|
2160 |
* @param $cdm_entity
|
|
2161 |
* A CDM entity, TaxonNodeDTO or TypedEntityReference
|
|
2124 | 2162 |
*/ |
2125 |
function html_class_attribute_ref($cdmEntity) {
|
|
2163 |
function html_class_attribute_ref($cdm_entity) {
|
|
2126 | 2164 |
|
2127 | 2165 |
$attributes = ''; |
2128 |
if (is_cdm_entity($cdmEntity)) { |
|
2129 |
$attributes = "cdm:" . $cdmEntity->class . " uuid:" . $cdmEntity->uuid; |
|
2166 |
if (is_cdm_entity($cdm_entity)) { |
|
2167 |
$attributes = "cdm:" . $cdm_entity->class . " uuid:" . $cdm_entity->uuid; |
|
2168 |
} else if($cdm_entity->class == 'TypedEntityReference') { |
|
2169 |
$attributes = "cdm:" . $cdm_entity->type . " uuid:" . $cdm_entity->uuid; |
|
2130 | 2170 |
} |
2131 |
if($cdmEntity->class == 'TaxonNodeDto'){
|
|
2132 |
$attributes .= " taxon_uuid:" . $cdmEntity->taxonUuid . " sec_uuid:" . $cdmEntity->secUuid;;
|
|
2171 |
if($cdm_entity->class == 'TaxonNodeDto'){
|
|
2172 |
$attributes .= " taxon_uuid:" . $cdm_entity->taxonUuid . " sec_uuid:" . $cdm_entity->secUuid;;
|
|
2133 | 2173 |
} |
2134 |
if($cdmEntity->class == 'Taxon' && isset($cdmEntity->sec->uuid)){
|
|
2135 |
$attributes .= " sec_uuid:" . $cdmEntity->sec->uuid;
|
|
2174 |
if($cdm_entity->class == 'Taxon' && isset($cdm_entity->sec->uuid)){
|
|
2175 |
$attributes .= " sec_uuid:" . $cdm_entity->sec->uuid;
|
|
2136 | 2176 |
} |
2137 | 2177 |
return $attributes; |
2138 | 2178 |
} |
modules/cdm_dataportal/cdm_dataportal.search.php | ||
---|---|---|
4 | 4 |
* Search related functions. |
5 | 5 |
*/ |
6 | 6 |
|
7 |
define("SESSION_KEY_SEARCH_REGISTRATION_FILTER", "SESSION_KEY_SEARCH_REGISTRATION_FILTER"); |
|
8 |
|
|
7 | 9 |
/** |
8 | 10 |
* Returns a Drupal path to a search form for a CDM webservice. |
9 | 11 |
* |
... | ... | |
48 | 50 |
* The description text for the query field |
49 | 51 |
* @param string $process |
50 | 52 |
* The value for #process, if NULL (default), 'cdm_dataportal_search_process' |
51 |
* is used. |
|
53 |
* is used. - TODO not used, remove?
|
|
52 | 54 |
* |
53 | 55 |
* @return array |
54 | 56 |
* The prepared form array. |
55 | 57 |
*/ |
56 | 58 |
function cdm_dataportal_search_form_prepare($action_path, $search_webservice, $query_field_default_value, $query_field_description, $process = NULL) { |
57 | 59 |
|
58 |
if ($process == NULL) { |
|
59 |
$process = 'cdm_dataportal_search_process'; |
|
60 |
} |
|
60 |
//if ($process == NULL) {
|
|
61 |
// $process = 'cdm_dataportal_search_process';
|
|
62 |
//}
|
|
61 | 63 |
|
62 | 64 |
$form['#method'] = 'get'; |
63 | 65 |
// |
... | ... | |
189 | 191 |
$search_service_endpoint, |
190 | 192 |
$query_field_default_value, |
191 | 193 |
t('Enter the name or part of a name you wish to search for. |
192 |
The asterisk character * can be used as wildcard, but must not be used as first character.'), |
|
193 |
NULL |
|
194 |
The asterisk character * can be used as wildcard, but must not be used as first character.') |
|
194 | 195 |
); |
195 | 196 |
|
196 | 197 |
if (!$advanced_form) { |
... | ... | |
438 | 439 |
) |
439 | 440 |
), |
440 | 441 |
) |
441 |
), |
|
442 |
NULL |
|
442 |
) |
|
443 | 443 |
); |
444 | 444 |
|
445 | 445 |
$form['search']['tree'] = array( |
... | ... | |
618 | 618 |
|
619 | 619 |
/** |
620 | 620 |
* Removes Drupal internal form elements from query. |
621 |
* FIXME remove since unused? |
|
621 | 622 |
*/ |
622 | 623 |
function cdm_dataportal_search_process($form, &$form_state) { |
623 | 624 |
unset($form['form_id']); |
... | ... | |
625 | 626 |
return $form; |
626 | 627 |
} |
627 | 628 |
|
629 |
/** |
|
630 |
* Removed the drupal internal form parameters 'form_id', 'form_token', 'form_build_id' from the request array. |
|
631 |
* |
|
632 |
* @param $request array |
|
633 |
* Pass $_REQUEST as paramter |
|
634 |
* @return array |
|
635 |
* The $request array without drupal internal form parameters |
|
636 |
*/ |
|
637 |
function remove_drupal_form_params($request) { |
|
638 |
|
|
639 |
static $exclude_keys = array('form_id', 'form_token', 'form_build_id'); |
|
640 |
$request_sanitized = array(); |
|
641 |
foreach ($request as $key => $value) { |
|
642 |
if(!array_search($key, $exclude_keys)){ |
|
643 |
$request_sanitized[$key] = $value; |
|
644 |
} |
|
645 |
} |
|
646 |
|
|
647 |
return $request_sanitized; |
|
648 |
} |
|
649 |
|
|
628 | 650 |
/** |
629 | 651 |
* Sends a search request to the cdm server. |
630 | 652 |
* |
... | ... | |
663 | 685 |
return $taxon_pager; |
664 | 686 |
} |
665 | 687 |
|
688 |
|
|
689 |
/** |
|
690 |
* Sends a request to search for registrations to the cdm server. |
|
691 |
*/ |
|
692 |
function cdm_dataportal_search_registrations_execute() |
|
693 |
{ |
|
694 |
|
|
695 |
static $query_param_map = array( |
|
696 |
'identifier' => 'identifierFilterPattern', |
|
697 |
'taxon_name'=> 'taxonNameFilterPattern', |
|
698 |
'type_designation_status' => 'typeDesignationStatusUuids', |
|
699 |
); |
|
700 |
|
|
701 |
// Read the query parameters from $_REQUEST and add additional query |
|
702 |
// parameters if necessary. |
|
703 |
$request_params = array(); |
|
704 |
|
|
705 |
$request = remove_drupal_form_params($_REQUEST); |
|
706 |
|
|
707 |
if(count($request) > 0){ |
|
708 |
$_SESSION['cdm'][SESSION_KEY_SEARCH_REGISTRATION_FILTER] = $request; |
|
709 |
foreach ($query_param_map as $filter_key => $query_param){ |
|
710 |
if (isset($request[$filter_key])) { |
|
711 |
$request_params[$query_param] = $request[$filter_key]; |
|
712 |
} |
|
713 |
} |
|
714 |
if(isset($request['pager']['pageNumber'])){ |
|
715 |
$request_params['pageNumber'] = $request['pager']['pageNumber']; |
|
716 |
} |
|
717 |
} |
|
718 |
|
|
719 |
if(count($request_params) == 0 && isset($_SESSION['cdm'][SESSION_KEY_SEARCH_REGISTRATION_FILTER])){ |
|
720 |
foreach ($query_param_map as $filter_key => $query_param){ |
|
721 |
if (isset($_SESSION['cdm'][SESSION_KEY_SEARCH_REGISTRATION_FILTER][$filter_key])) { |
|
722 |
$request_params[$query_param] = $_SESSION['cdm'][SESSION_KEY_SEARCH_REGISTRATION_FILTER][$filter_key]; |
|
723 |
} |
|
724 |
} |
|
725 |
if(isset($_SESSION['cdm'][SESSION_KEY_SEARCH_REGISTRATION_FILTER]['pager']['pageNumber'])){ |
|
726 |
$request_params['pageNumber'] = $_SESSION['cdm'][SESSION_KEY_SEARCH_REGISTRATION_FILTER]['pager']['pageNumber']; |
|
727 |
} |
|
728 |
} |
|
729 |
|
|
730 |
// cleanup |
|
731 |
if(isset($request_params['typeDesignationStatusUuids'])){ |
|
732 |
if(!$request_params['typeDesignationStatusUuids'] |
|
733 |
|| $request_params['typeDesignationStatusUuids'] == "0" |
|
734 |
|| (isset($request_params['typeDesignationStatusUuids'][0]) && !$request_params['typeDesignationStatusUuids'][0])){ |
|
735 |
unset($request_params['typeDesignationStatusUuids']); |
|
736 |
} |
|
737 |
|
|
738 |
} |
|
739 |
|
|
740 |
$registration_pager = cdm_ws_get('registrationDTO/find', NULL, queryString($request_params)); |
|
741 |
|
|
742 |
return $registration_pager; |
|
743 |
} |
|
744 |
|
|
666 | 745 |
/** |
667 | 746 |
* Transforms the termDTO tree into options array. |
668 | 747 |
* |
... | ... | |
709 | 788 |
|
710 | 789 |
return $options; |
711 | 790 |
} |
791 |
|
|
792 |
|
|
793 |
function cdm_dataportal_search_registration_form($form, &$form_state) { |
|
794 |
|
|
795 |
$filter_presets = (isset($_SESSION['cdm'][SESSION_KEY_SEARCH_REGISTRATION_FILTER]) ? $_SESSION['cdm'][SESSION_KEY_SEARCH_REGISTRATION_FILTER] : array()); |
|
796 |
$filter_presets = array_merge($filter_presets, remove_drupal_form_params($_REQUEST)); |
|
797 |
|
|
798 |
$form['#method'] = 'get'; |
|
799 |
$form['#attributes'] = array('class' => array('search-filter')); |
|
800 |
$form['identifier'] = array( |
|
801 |
'#type' => 'textfield', |
|
802 |
'#title' => t('Identifier'), |
|
803 |
'#default_value' => $filter_presets['identifier'], |
|
804 |
'#size' => 20, |
|
805 |
'#maxlength' => 128 |
|
806 |
); |
|
807 |
$form['taxon_name'] = array( |
|
808 |
'#type' => 'textfield', |
|
809 |
'#title' => t('Scientific name'), |
|
810 |
'#default_value' => $filter_presets['taxon_name'], |
|
811 |
'#size' => 20, |
|
812 |
'#maxlength' => 128 |
|
813 |
); |
|
814 |
$form['type_designation_status'] = array( |
|
815 |
'#type' => 'select', |
|
816 |
'#title' => t('Type designation status'), |
|
817 |
'#multiple' => true, |
|
818 |
'#options' => cdm_terms_by_type_as_option('TypeDesignationStatusBase', null, null, TRUE), |
|
819 |
'#default_value' => $filter_presets['type_designation_status'] |
|
820 |
); |
|
821 |
|
|
822 |
$form['submit'] = array( |
|
823 |
'#type' => 'submit', |
|
824 |
'#attributes' => array('class' => array('fa-icon'), 'title' => t('Search')), |
|
825 |
'#value' => decode_entities(''), // fontawesome search icon |
|
826 |
'#prefix' => "<div class=\"form-item\"><label> </label>", |
|
827 |
'#suffix' => "</div>" |
|
828 |
|
|
829 |
); |
|
830 |
return $form; |
|
831 |
} |
|
832 |
|
|
833 |
|
|
834 |
/** |
|
835 |
* Compose the result set of a registration search from a pager object |
|
836 |
* |
|
837 |
* @param $registration_pager |
|
838 |
* The pager containing registration objects |
|
839 |
* |
|
840 |
* @return |
|
841 |
* A drupal render array. |
|
842 |
* |
|
843 |
* @ingroup compose |
|
844 |
* |
|
845 |
* TODO compose function into search.inc ? |
|
846 |
*/ |
|
847 |
function compose_registrations_pager($registration_pager){ |
|
848 |
|
|
849 |
$render_array = array(); |
|
850 |
$render_array['pre'] = markup_to_render_array("<div class=\"pager_records\">"); |
|
851 |
if($registration_pager != null){ |
|
852 |
$items_render_array = array(); |
|
853 |
foreach($registration_pager->records as $registration) { |
|
854 |
$summary_markup = cdm_tagged_text_to_markup($registration->summaryTaggedText); |
|
855 |
$items_render_array[] = markup_to_render_array( |
|
856 |
"<div class=\"item\"><div class=\"" . html_class_attribute_ref(new TypedEntityReference("Registration", $registration->uuid)) . "\">" |
|
857 |
. "<div class=\"identifier\">" |
|
858 |
. l($registration->identifier, $registration->identifier, array('absolute' => true, 'attributes' => array('class' => array('identifier')))) |
|
859 |
. "</div>" |
|
860 |
. $summary_markup |
|
861 |
. "</div></div>" |
|
862 |
); |
|
863 |
; |
|
864 |
} |
|
865 |
$render_array['items'] = $items_render_array; |
|
866 |
$render_array['pager'] = markup_to_render_array(theme('cdm_pager', array( |
|
867 |
'pager' => $registration_pager, |
|
868 |
'path' => "cdm_dataportal/search/registration", |
|
869 |
'parameters' => $_REQUEST, |
|
870 |
))); |
|
871 |
|
|
872 |
} else { |
|
873 |
$render_array['items'] = markup_to_render_array("No results! Please use the search filter."); |
|
874 |
} |
|
875 |
$render_array['post'] = markup_to_render_array("</div>"); |
|
876 |
|
|
877 |
return $render_array; |
|
878 |
|
|
879 |
} |
modules/cdm_dataportal/classes/TypedEntityReference.php | ||
---|---|---|
1 |
<?php |
|
2 |
|
|
3 |
/** |
|
4 |
* TypedEntityReference is a class used in the cdmlib. This php impementation of TypedEntityReference |
|
5 |
* can be used to wrap type and uuid into an object suitable to be passed to methods like: |
|
6 |
* - @see html_class_attribute_ref() |
|
7 |
* |
|
8 |
* User: andreas |
|
9 |
* Date: 16.07.18 |
|
10 |
* Time: 18:58 |
|
11 |
*/ |
|
12 |
|
|
13 |
class TypedEntityReference |
|
14 |
{ |
|
15 |
public $type; |
|
16 |
public $uuid; |
|
17 |
public $class = 'TypedEntityReference'; |
|
18 |
/** |
|
19 |
* Private constructor. |
|
20 |
*/ |
|
21 |
public function __construct($type, $uuid) { |
|
22 |
$this->$type = $type; |
|
23 |
$this->$uuid = $uuid; |
|
24 |
} |
|
25 |
|
|
26 |
} |
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{color:#115e92;text-decoration:none}.block a:hover,.block a:focus,.node a:hover,.node 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,#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,#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}.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}#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 { |
|
45 |
color: #115e92; |
|
46 |
text-decoration: none; |
|
47 |
} |
|
48 |
/* line 49, ../sass/_mixins.scss */ |
|
49 |
.block a:hover, |
|
50 |
.block a:focus, .node a:hover, |
|
51 |
.node a:focus, #identificationKey a:hover, |
|
52 |
#identificationKey a:focus { |
|
53 |
text-decoration: underline; |
|
54 |
} |
|
55 |
/* line 58, ../sass/_mixins.scss */ |
|
56 |
.block .Synonym a:link, |
|
57 |
.block .Synonym a:visited, .block .misapplied-name a:link, |
|
58 |
.block .misapplied-name a:visited, .node .Synonym a:link, |
|
59 |
.node .Synonym a:visited, .node .misapplied-name a:link, |
|
60 |
.node .misapplied-name a:visited, #identificationKey .Synonym a:link, |
|
61 |
#identificationKey .Synonym a:visited, #identificationKey .misapplied-name a:link, |
|
62 |
#identificationKey .misapplied-name a:visited { |
|
63 |
color: #7c7c7c; |
|
64 |
} |
|
65 |
/* line 64, ../sass/_mixins.scss */ |
|
66 |
.block .Taxon a:link, |
|
67 |
.block .Taxon a:visited, .node .Taxon a:link, |
|
68 |
.node .Taxon a:visited, #identificationKey .Taxon a:link, |
|
69 |
#identificationKey .Taxon a:visited { |
|
70 |
color: #115e92; |
|
71 |
} |
|
72 |
|
|
73 |
/* line 19, ../sass/cdm.scss */ |
|
74 |
#page-toc { |
|
75 |
float: right; |
|
76 |
background-color: white; |
|
77 |
} |
|
78 |
/* line 22, ../sass/cdm.scss */ |
|
79 |
#page-toc h3 { |
|
80 |
margin-top: 0; |
|
81 |
line-height: 18px; |
|
82 |
} |
|
83 |
|
|
84 |
/* line 28, ../sass/cdm.scss */ |
|
85 |
#taxonProfileImage { |
|
86 |
float: left; |
|
87 |
} |
|
88 |
|
|
89 |
/* line 32, ../sass/cdm.scss */ |
|
90 |
.block-cdm-dataportal-feature, .media-caption, .specimens { |
|
91 |
clear: both; |
|
92 |
margin-bottom: 18px; |
|
93 |
} |
|
94 |
/* line 35, ../sass/cdm.scss */ |
|
95 |
.block-cdm-dataportal-feature dt, .media-caption dt, .specimens dt { |
|
96 |
float: left; |
|
97 |
font-weight: bold; |
|
98 |
margin-right: 0.3em; |
|
99 |
} |
|
100 |
/* line 40, ../sass/cdm.scss */ |
|
101 |
.block-cdm-dataportal-feature dd, .media-caption dd, .specimens dd { |
|
102 |
margin: 0; |
|
103 |
margin-left: 20px; |
|
104 |
} |
|
105 |
/* line 44, ../sass/cdm.scss */ |
|
106 |
.block-cdm-dataportal-feature dl dl, .media-caption dl dl, .specimens dl dl { |
|
107 |
margin: 0; |
|
108 |
/* reset default from cdm_dataportal.css */ |
|
109 |
} |
|
110 |
|
|
111 |
/* line 49, ../sass/cdm.scss */ |
|
112 |
.breadcrumbs li { |
|
113 |
padding: 0 0 0 0; |
|
114 |
} |
|
115 |
|
|
116 |
/* |
|
117 |
* Search results |
|
118 |
*/ |
|
119 |
/* line 43, ../sass/_mixins.scss */ |
|
120 |
#search_results a:link, |
|
121 |
#search_results a:visited { |
|
122 |
color: #115e92; |
|
123 |
text-decoration: none; |
|
124 |
} |
|
125 |
/* line 49, ../sass/_mixins.scss */ |
|
126 |
#search_results a:hover, |
|
127 |
#search_results a:focus { |
|
128 |
text-decoration: underline; |
|
129 |
} |
|
130 |
/* line 58, ../sass/_mixins.scss */ |
|
131 |
#search_results .Synonym a:link, |
|
132 |
#search_results .Synonym a:visited, #search_results .misapplied-name a:link, |
|
133 |
#search_results .misapplied-name a:visited { |
|
134 |
color: #7c7c7c; |
|
135 |
} |
|
136 |
/* line 64, ../sass/_mixins.scss */ |
|
137 |
#search_results .Taxon a:link, |
|
138 |
#search_results .Taxon a:visited { |
|
139 |
color: #115e92; |
|
140 |
} |
|
141 |
/* line 61, ../sass/cdm.scss */ |
|
142 |
#search_results table { |
|
143 |
margin: 1em 0; |
|
144 |
} |
|
145 |
|
|
146 |
/* line 66, ../sass/cdm.scss */ |
|
147 |
ul.cdm_names li, div.pager_records div.item { |
|
148 |
margin: 9px 0; |
|
149 |
} |
|
150 |
|
|
151 |
/* |
|
152 |
* Taxon page and parts |
|
153 |
*/ |
|
154 |
/* line 74, ../sass/cdm.scss */ |
|
155 |
.page-part { |
|
156 |
margin-bottom: 18px; |
|
157 |
clear: none; |
|
158 |
} |
|
159 |
|
|
160 |
/* |
|
161 |
* definition list container rendered by the |
|
162 |
* drupal theme function theme_description_list() |
|
163 |
*/ |
|
164 |
/* line 84, ../sass/cdm.scss */ |
|
165 |
.description_list h3 { |
|
166 |
font-size: 12px; |
|
167 |
line-height: 18px; |
|
168 |
font-weight: bold; |
|
169 |
} |
|
170 |
|
|
171 |
/* |
|
172 |
* Synonymy |
|
173 |
*/ |
|
174 |
/* line 98, ../sass/cdm.scss */ |
|
175 |
#synonymy div.accepted-name { |
|
176 |
margin-bottom: -1em; |
|
177 |
margin-top: 1em; |
|
178 |
} |
|
179 |
/* line 103, ../sass/cdm.scss */ |
|
180 |
#synonymy .homotypic-synonymy-group, #synonymy .heterotypic-synonymy-group, #synonymy .taxon-relationships { |
|
181 |
border-bottom: 1px solid #DEDEDE; |
|
182 |
/* replace padding by margin */ |
|
183 |
margin: 1em 0px; |
|
184 |
padding: 0; |
|
185 |
} |
|
186 |
|
|
187 |
/* |
|
188 |
* Media |
|
189 |
*/ |
|
190 |
/* line 114, ../sass/cdm.scss */ |
|
191 |
dl.media-caption { |
|
192 |
margin: 0; |
|
193 |
} |
|
194 |
|
|
195 |
/* line 118, ../sass/cdm.scss */ |
|
196 |
.media-caption dd { |
|
197 |
margin-left: 0; |
|
198 |
} |
|
199 |
/* line 120, ../sass/cdm.scss */ |
|
200 |
.media-caption dd .title { |
|
201 |
font-size: 100%; |
|
202 |
} |
|
203 |
|
|
204 |
/* line 125, ../sass/cdm.scss */ |
|
205 |
.image-gallerie td.caption { |
|
206 |
padding-bottom: 1em; |
|
207 |
} |
|
208 |
|
|
209 |
/* |
|
210 |
* specimens |
|
211 |
*/ |
|
212 |
/* line 133, ../sass/cdm.scss */ |
|
213 |
#specimens table.media_gallery { |
|
214 |
margin-top: 0.2em; |
|
215 |
} |
|
216 |
/* line 136, ../sass/cdm.scss */ |
|
217 |
#specimens .description_list { |
|
218 |
clear: both; |
|
219 |
} |
|
220 |
/* line 138, ../sass/cdm.scss */ |
|
221 |
#specimens .description_list h3 { |
|
222 |
margin-top: 0; |
|
223 |
background-color: #ddd; |
|
224 |
} |
|
225 |
/* line 142, ../sass/cdm.scss */ |
|
226 |
#specimens .description_list h4 { |
|
227 |
clear: left; |
|
228 |
margin-bottom: 0; |
|
229 |
font-style: italic; |
|
230 |
} |
|
231 |
/* line 148, ../sass/cdm.scss */ |
|
232 |
#specimens .dynabox_content { |
|
233 |
margin-left: 10px; |
|
234 |
margin-right: 10px; |
|
235 |
} |
|
236 |
/* line 152, ../sass/cdm.scss */ |
|
237 |
#specimens .block-cdm-dataportal-feature { |
|
238 |
margin-left: 20px; |
|
239 |
margin-bottom: 0; |
|
240 |
} |
|
241 |
/* line 155, ../sass/cdm.scss */ |
|
242 |
#specimens .block-cdm-dataportal-feature h2 { |
|
243 |
font-size: 12px; |
|
244 |
line-height: 18px; |
|
245 |
font-weight: bold; |
|
246 |
} |
|
247 |
/* line 161, ../sass/cdm.scss */ |
|
248 |
#specimens ul.typeDesignations { |
|
249 |
clear: both; |
|
250 |
} |
|
251 |
/* line 164, ../sass/cdm.scss */ |
|
252 |
#specimens .dna-sequence div { |
|
253 |
font-size: 12px; |
|
254 |
font-family: monospace; |
|
255 |
clear: left; |
|
256 |
padding-left: 20px; |
|
257 |
} |
|
258 |
/* line 170, ../sass/cdm.scss */ |
|
259 |
#specimens .derived_from { |
|
260 |
clear: both; |
|
261 |
} |
|
262 |
|
|
263 |
/* |
|
264 |
* Theme settings page |
|
265 |
*/ |
|
266 |
/* line 181, ../sass/cdm.scss */ |
|
267 |
#system-theme-settings .image-preview { |
|
268 |
width: 600px; |
|
269 |
max-height: 150px; |
|
270 |
overflow: auto; |
|
271 |
} |
|
272 |
/* line 185, ../sass/cdm.scss */ |
|
273 |
#system-theme-settings .image-preview img { |
|
274 |
max-width: none; |
|
275 |
/* reset style in mormalize.scss */ |
|
276 |
} |
|
277 |
|
|
278 |
/***************************************************************************************** |
|
279 |
* RESPONSIVE |
|
280 |
* |
|
281 |
* using the same media queries here as in layout/_responsive.scss |
|
282 |
*****************************************************************************************/ |
|
283 |
/* line 198, ../sass/cdm.scss */ |
|
284 |
#classification-breadcrumbs { |
|
285 |
font-size: 1.5em; |
|
286 |
line-height: 1.5em; |
|
287 |
} |
|
288 |
|
|
289 |
@media all and (min-width: 960px) { |
|
290 |
/* line 209, ../sass/cdm.scss */ |
|
291 |
#classification-breadcrumbs { |
|
292 |
font-size: 1em; |
|
293 |
} |
|
294 |
} |
themes/zen_dataportal/css/ie-legacy.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} |
|
1 |
/* line 30, ../sass/ie-legacy.scss */ |
|
2 |
.pie-element, .lt-ie9 #page { |
|
3 |
behavior: url("/polyfills/css3pie/PIE-1.0.0.htc"); |
|
4 |
position: relative; |
|
5 |
} |
|
6 |
|
|
7 |
/* line 43, ../sass/ie-legacy.scss */ |
|
8 |
.pie-container { |
|
9 |
z-index: 0; |
|
10 |
position: relative; |
|
11 |
} |
|
12 |
|
|
13 |
/* line 47, ../sass/ie-legacy.scss */ |
|
14 |
.z-pie-element, .lt-ie9 #page { |
|
15 |
behavior: url("/polyfills/css3pie/PIE-1.0.0.htc"); |
|
16 |
z-index: 0; |
|
17 |
} |
|
18 |
|
|
19 |
/* line 63, ../sass/ie-legacy.scss */ |
|
20 |
.lt-ie9 #header { |
|
21 |
/* |
|
22 |
* reset right padding to zero and use margin-right instead, |
|
23 |
* this avoids the need for background-clip: content-box |
|
24 |
* which is not suppoorted in IE < 9 |
|
25 |
*/ |
|
26 |
padding-right: 0; |
|
27 |
margin-right: 20px; |
|
28 |
} |
themes/zen_dataportal/css/pie.css | ||
---|---|---|
1 |
.pie-element,.bordered,.gradient{behavior:url("/d7/test/scripts/polyfills/PIE.htc");position:relative}.bordered{-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;-o-border-radius:5px;border-radius:5px}.gradient{background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ff0000), color-stop(100%, #0000ff));background:-webkit-linear-gradient(#ff0000,#0000ff);background:-moz-linear-gradient(#ff0000,#0000ff);background:-o-linear-gradient(#ff0000,#0000ff);-pie-background:linear-gradient(#ff0000,#0000ff);background:linear-gradient(#ff0000,#0000ff)}.pie-container,.widget{z-index:0;position:relative}.z-pie-element,.widget h3{behavior:url("/d7/test/scripts/polyfills/PIE.htc");z-index:0}.has-gradient{behavior:url("/d7/test/scripts/polyfills/PIE.htc");position:relative;background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ff0000), color-stop(100%, #0000ff));background:-webkit-linear-gradient(#ff0000,#0000ff);background:-moz-linear-gradient(#ff0000,#0000ff);background:-o-linear-gradient(#ff0000,#0000ff);-pie-background:linear-gradient(#ff0000,#0000ff);background:linear-gradient(#ff0000,#0000ff)} |
|
1 |
/* line 27, ../sass/pie.scss */ |
|
2 |
.pie-element, .bordered, .gradient { |
|
3 |
behavior: url("/d7/test/scripts/polyfills/PIE.htc"); |
|
4 |
position: relative; |
|
5 |
} |
|
6 |
|
|
7 |
/* line 33, ../sass/pie.scss */ |
|
8 |
.bordered { |
|
9 |
-webkit-border-radius: 5px; |
|
10 |
-moz-border-radius: 5px; |
|
11 |
-ms-border-radius: 5px; |
|
12 |
-o-border-radius: 5px; |
|
13 |
border-radius: 5px; |
|
14 |
} |
|
15 |
|
|
16 |
/* line 38, ../sass/pie.scss */ |
|
17 |
.gradient { |
|
18 |
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ff0000), color-stop(100%, #0000ff)); |
|
19 |
background: -webkit-linear-gradient(#ff0000, #0000ff); |
|
20 |
background: -moz-linear-gradient(#ff0000, #0000ff); |
|
21 |
background: -o-linear-gradient(#ff0000, #0000ff); |
|
22 |
-pie-background: linear-gradient(#ff0000, #0000ff); |
|
23 |
background: linear-gradient(#ff0000, #0000ff); |
|
24 |
} |
|
25 |
|
|
26 |
/* line 52, ../sass/pie.scss */ |
|
27 |
.pie-container, .widget { |
|
28 |
z-index: 0; |
|
29 |
position: relative; |
|
30 |
} |
|
31 |
|
|
32 |
/* line 56, ../sass/pie.scss */ |
|
33 |
.z-pie-element, .widget h3 { |
|
34 |
behavior: url("/d7/test/scripts/polyfills/PIE.htc"); |
|
35 |
z-index: 0; |
|
36 |
} |
|
37 |
|
|
38 |
/* line 71, ../sass/pie.scss */ |
|
39 |
.has-gradient { |
|
40 |
behavior: url("/d7/test/scripts/polyfills/PIE.htc"); |
|
41 |
position: relative; |
|
42 |
background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ff0000), color-stop(100%, #0000ff)); |
|
43 |
background: -webkit-linear-gradient(#ff0000, #0000ff); |
|
44 |
background: -moz-linear-gradient(#ff0000, #0000ff); |
|
45 |
background: -o-linear-gradient(#ff0000, #0000ff); |
|
46 |
-pie-background: linear-gradient(#ff0000, #0000ff); |
|
47 |
background: linear-gradient(#ff0000, #0000ff); |
|
48 |
} |
themes/zen_dataportal/css/styles-rtl.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}dd{margin:0 30px 0 0}menu,ol,ul{padding:0 30px 0 0}legend{*margin-left:0;*margin-right:-7px}@media all and (min-width: 480px) and (max-width: 959px){.sidebar-first #content{float:right;width:66.66667%;margin-right:33.33333%;margin-left:-100%}.sidebar-first .region-sidebar-first{float:right;width:33.33333%;margin-right:0%;margin-left:-33.33333%}.sidebar-second #content{float:right;width:66.66667%;margin-right:0%;margin-left:-66.66667%}.sidebar-second .region-sidebar-second{float:right;width:33.33333%;margin-right:66.66667%;margin-left:-100%}.two-sidebars #content{float:right;width:66.66667%;margin-right:33.33333%;margin-left:-100%}.two-sidebars .region-sidebar-first{float:right;width:33.33333%;margin-right:0%;margin-left:-33.33333%}.two-sidebars .region-sidebar-second{float:right;width:100%;margin-right:0%;margin-left:-100%;padding-left:0;padding-right:0;clear:right}.two-sidebars .region-sidebar-second .block{padding-left:20px;padding-right:20px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;word-wrap:break-word;*behavior:url("/polyfills/box-sizing-polyfill/boxsizing.htc");_display:inline;_overflow:hidden;_overflow-y:visible}.two-sidebars .region-sidebar-second .block:nth-child(3n+1){float:right;width:33.33333%;margin-right:0%;margin-left:-33.33333%;clear:right}.two-sidebars .region-sidebar-second .block:nth-child(3n+2){float:right;width:33.33333%;margin-right:33.33333%;margin-left:-66.66667%}.two-sidebars .region-sidebar-second .block:nth-child(3n){float:right;width:33.33333%;margin-right:66.66667%;margin-left:-100%}}@media all and (min-width: 960px){.sidebar-first #content{float:right;width:75%;margin-right:25%;margin-left:-100%}.sidebar-first .region-sidebar-first{float:right;width:25%;margin-right:0%;margin-left:-25%}.sidebar-second #content{float:right;width:75%;margin-right:0%;margin-left:-75%}.sidebar-second .region-sidebar-second{float:right;width:25%;margin-right:75%;margin-left:-100%}.two-sidebars #content{float:right;width:50%;margin-right:25%;margin-left:-75%}.two-sidebars .region-sidebar-first{float:right;width:25%;margin-right:0%;margin-left:-25%}.two-sidebars .region-sidebar-second{float:right;width:25%;margin-right:75%;margin-left:-100%}}.header__logo{float:right}.header__secondary-menu{float:left}#navigation .links,#navigation .menu{text-align:right}#navigation .links li,#navigation .menu li{float:right;padding:0 0 0 10px}.messages,.messages--status,.messages--warning,.messages--error{padding:10px 50px 10px 10px;background-position:99% 8px}.tabs-primary__tab,.tabs-primary__tab.is-active,.tabs-secondary__tab,.tabs-secondary__tab.is-active{float:right}.inline li{display:inline-block;padding:0 0 0 1em}span.field-label{padding:0 0 0 1em}.more-link{text-align:left}.more-help-link{text-align:left}.more-help-link a{background-position:100% 50%;padding:1px 20px 1px 0}.menu__item.is-collapsed{list-style-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABNJREFUCB1j4GASYFJgcmD+A4IADUIDfIUMT4wAAAAASUVORK5CYII=');*list-style-image:url('../images/menu-collapsed-rtl.png?1530113719')}.indented{margin-left:0;margin-right:30px}#user-login-form{text-align:right}html.js #user-login-form li.openid-link,#user-login-form li.openid-link{margin-left:0;margin-right:-20px}form th{text-align:right;padding-left:1em;padding-right:0}html.js .collapsible .fieldset-legend{background-position:98% 75%;padding-left:0;padding-right:15px}html.js .collapsed .fieldset-legend{background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABNJREFUCB1j4GASYFJgcmD+A4IADUIDfIUMT4wAAAAASUVORK5CYII=');*background-image:url('../images/menu-collapsed-rtl.png?1530113719');background-position:98% 50%} |
|
1 |
/** |
|
2 |
* @file |
|
3 |
* RTL companion for the styles.scss file. |
|
4 |
*/ |
|
5 |
/* Import Sass mixins, variables, Compass modules, etc. */ |
|
6 |
@import url(../fonts/droid-sans-fontfacekit/web fonts/droidsans_regular/stylesheet.css); |
|
7 |
@import url(../fonts/droid-sans-mono-fontfacekit/web fonts/droidsansmono_regular/stylesheet.css); |
|
8 |
/* line 30, ../sass/ie-legacy.scss */ |
|
9 |
.pie-element, .lt-ie9 #page { |
|
10 |
behavior: url("/polyfills/css3pie/PIE-1.0.0.htc"); |
|
11 |
position: relative; |
|
12 |
} |
|
13 |
|
|
14 |
/* line 43, ../sass/ie-legacy.scss */ |
|
15 |
.pie-container { |
|
16 |
z-index: 0; |
|
17 |
position: relative; |
|
18 |
} |
|
19 |
|
|
20 |
/* line 47, ../sass/ie-legacy.scss */ |
|
21 |
.z-pie-element, .lt-ie9 #page { |
|
22 |
behavior: url("/polyfills/css3pie/PIE-1.0.0.htc"); |
|
23 |
z-index: 0; |
|
24 |
} |
|
25 |
|
|
26 |
/* line 63, ../sass/ie-legacy.scss */ |
|
27 |
.lt-ie9 #header { |
|
28 |
/* |
|
29 |
* reset right padding to zero and use margin-right instead, |
|
30 |
* this avoids the need for background-clip: content-box |
|
31 |
* which is not suppoorted in IE < 9 |
|
32 |
*/ |
|
33 |
padding-right: 0; |
|
34 |
margin-right: 20px; |
|
35 |
} |
|
36 |
|
|
37 |
/* HTML element (SMACSS base) rules */ |
|
38 |
/** |
|
39 |
* @file |
|
40 |
* Normalize-rtl.scss is the RTL language extension of normalize.scss |
|
41 |
*/ |
|
42 |
/** |
|
43 |
* Lists |
|
44 |
*/ |
|
45 |
/* line 9, ../sass/_normalize-rtl.scss */ |
|
46 |
dd { |
|
47 |
margin: 0 30px 0 0; |
|
48 |
} |
|
49 |
|
|
50 |
/* Address paddings set differently in IE 6/7. */ |
|
51 |
/* line 16, ../sass/_normalize-rtl.scss */ |
|
52 |
menu, |
|
53 |
ol, |
|
54 |
ul { |
|
55 |
padding: 0 30px 0 0; |
|
56 |
} |
|
57 |
|
|
58 |
/** |
|
59 |
* Forms |
|
60 |
*/ |
|
61 |
/* line 24, ../sass/_normalize-rtl.scss */ |
|
62 |
legend { |
|
63 |
/* Correct alignment displayed oddly in IE 6/7. */ |
|
64 |
*margin-left: 0; |
|
65 |
*margin-right: -7px; |
|
66 |
} |
|
67 |
|
|
68 |
/* Layout rules */ |
|
69 |
/** |
|
70 |
* @file |
|
71 |
* RTL companion for the layout-responsive.css file. |
|
72 |
*/ |
|
73 |
/** |
|
74 |
* @file |
|
75 |
* Positioning for a responsive layout. |
|
76 |
* |
|
77 |
* Define CSS classes to create a fluid grid layout with optional sidebars |
|
78 |
* depending on whether blocks are placed in the left or right sidebars. |
|
79 |
* |
|
80 |
* This layout uses the Zen Grids plugin for Compass: http://zengrids.com |
|
81 |
*/ |
|
82 |
/** |
|
83 |
* Use 3 grid columns for smaller screens. |
|
84 |
|
|
85 |
* FIXME ?: see sass-old/layouts/responsive-sidebars.scss line 99 |
|
86 |
*/ |
|
87 |
@media all and (min-width: 480px) and (max-width: 959px) { |
|
88 |
/** |
|
89 |
* The layout when there is only one sidebar, the left one. |
|
90 |
*/ |
|
91 |
/* line 87, ../sass/layouts/_responsive.scss */ |
|
92 |
.sidebar-first { |
|
93 |
/* Span 2 columns, starting in 2nd column from left. */ |
|
94 |
/* Span 1 column, starting in 1st column from left. */ |
|
95 |
} |
|
96 |
/* line 89, ../sass/layouts/_responsive.scss */ |
|
97 |
.sidebar-first #content { |
|
98 |
float: right; |
|
99 |
width: 66.66667%; |
|
100 |
margin-right: 33.33333%; |
|
101 |
margin-left: -100%; |
|
102 |
} |
|
103 |
/* line 94, ../sass/layouts/_responsive.scss */ |
|
104 |
.sidebar-first .region-sidebar-first { |
|
105 |
float: right; |
|
106 |
width: 33.33333%; |
|
107 |
margin-right: 0%; |
|
108 |
margin-left: -33.33333%; |
|
109 |
} |
|
110 |
|
|
111 |
/** |
|
112 |
* The layout when there is only one sidebar, the right one. |
|
113 |
*/ |
|
114 |
/* line 102, ../sass/layouts/_responsive.scss */ |
|
115 |
.sidebar-second { |
|
116 |
/* Span 2 columns, starting in 1st column from left. */ |
|
117 |
/* Span 1 column, starting in 3rd column from left. */ |
|
118 |
} |
|
119 |
/* line 104, ../sass/layouts/_responsive.scss */ |
|
120 |
.sidebar-second #content { |
|
121 |
float: right; |
|
122 |
width: 66.66667%; |
|
123 |
margin-right: 0%; |
|
124 |
margin-left: -66.66667%; |
|
125 |
} |
|
126 |
/* line 109, ../sass/layouts/_responsive.scss */ |
|
127 |
.sidebar-second .region-sidebar-second { |
|
128 |
float: right; |
|
129 |
width: 33.33333%; |
|
130 |
margin-right: 66.66667%; |
|
131 |
margin-left: -100%; |
|
132 |
} |
|
133 |
|
|
134 |
/** |
|
135 |
* The layout when there are two sidebars. |
|
136 |
*/ |
|
137 |
/* line 117, ../sass/layouts/_responsive.scss */ |
|
138 |
.two-sidebars { |
|
139 |
/* Span 2 columns, starting in 2nd column from left. */ |
|
140 |
/* Span 1 column, starting in 1st column from left. */ |
|
141 |
/* Start a new row and span all 3 columns. */ |
|
142 |
} |
|
143 |
/* line 119, ../sass/layouts/_responsive.scss */ |
|
144 |
.two-sidebars #content { |
|
145 |
float: right; |
|
146 |
width: 66.66667%; |
|
147 |
margin-right: 33.33333%; |
|
148 |
margin-left: -100%; |
|
149 |
} |
|
150 |
/* line 124, ../sass/layouts/_responsive.scss */ |
|
151 |
.two-sidebars .region-sidebar-first { |
|
152 |
float: right; |
|
153 |
width: 33.33333%; |
|
154 |
margin-right: 0%; |
|
155 |
margin-left: -33.33333%; |
|
156 |
} |
|
157 |
/* line 129, ../sass/layouts/_responsive.scss */ |
|
158 |
.two-sidebars .region-sidebar-second { |
|
159 |
float: right; |
|
160 |
width: 100%; |
|
161 |
margin-right: 0%; |
|
162 |
margin-left: -100%; |
|
163 |
padding-left: 0; |
|
164 |
padding-right: 0; |
|
165 |
clear: right; |
|
166 |
/* Apply the shared properties of grid items in a single, efficient ruleset. */ |
|
167 |
/* Span 1 column, starting in the 1st column from left. */ |
|
168 |
/* Span 1 column, starting in the 2nd column from left. */ |
|
169 |
/* Span 1 column, starting in the 3rd column from left. */ |
|
170 |
} |
|
171 |
/* line 135, ../sass/layouts/_responsive.scss */ |
|
172 |
.two-sidebars .region-sidebar-second .block { |
|
173 |
padding-left: 20px; |
|
174 |
padding-right: 20px; |
|
175 |
-moz-box-sizing: border-box; |
|
176 |
-webkit-box-sizing: border-box; |
|
177 |
-ms-box-sizing: border-box; |
|
178 |
box-sizing: border-box; |
|
179 |
word-wrap: break-word; |
|
180 |
*behavior: url("/polyfills/box-sizing-polyfill/boxsizing.htc"); |
|
181 |
_display: inline; |
|
182 |
_overflow: hidden; |
|
183 |
_overflow-y: visible; |
|
184 |
} |
|
185 |
/* line 139, ../sass/layouts/_responsive.scss */ |
|
186 |
.two-sidebars .region-sidebar-second .block:nth-child(3n+1) { |
|
187 |
float: right; |
|
188 |
width: 33.33333%; |
|
189 |
margin-right: 0%; |
|
190 |
margin-left: -33.33333%; |
|
191 |
clear: right; |
|
192 |
} |
|
193 |
/* line 144, ../sass/layouts/_responsive.scss */ |
|
194 |
.two-sidebars .region-sidebar-second .block:nth-child(3n+2) { |
|
195 |
float: right; |
|
196 |
width: 33.33333%; |
|
197 |
margin-right: 33.33333%; |
|
198 |
margin-left: -66.66667%; |
|
199 |
} |
|
200 |
/* line 148, ../sass/layouts/_responsive.scss */ |
|
201 |
.two-sidebars .region-sidebar-second .block:nth-child(3n) { |
|
202 |
float: right; |
|
203 |
width: 33.33333%; |
|
204 |
margin-right: 66.66667%; |
|
205 |
margin-left: -100%; |
|
206 |
} |
|
207 |
} |
|
208 |
/** |
|
209 |
* Use 5 grid columns for larger screens. |
|
210 |
*/ |
|
211 |
@media all and (min-width: 960px) { |
|
212 |
/** |
|
213 |
* The layout when there is only one sidebar, the left one. |
|
214 |
*/ |
|
215 |
/* line 166, ../sass/layouts/_responsive.scss */ |
|
216 |
.sidebar-first { |
|
217 |
/* Span 4 columns, starting in 2nd column from left. */ |
|
218 |
/* Span 1 column, starting in 1st column from left. */ |
|
219 |
} |
|
220 |
/* line 168, ../sass/layouts/_responsive.scss */ |
|
221 |
.sidebar-first #content { |
|
222 |
float: right; |
|
223 |
width: 75%; |
|
224 |
margin-right: 25%; |
|
225 |
margin-left: -100%; |
|
226 |
} |
|
227 |
/* line 173, ../sass/layouts/_responsive.scss */ |
|
228 |
.sidebar-first .region-sidebar-first { |
|
229 |
float: right; |
|
230 |
width: 25%; |
|
231 |
margin-right: 0%; |
|
232 |
margin-left: -25%; |
|
233 |
} |
|
234 |
|
|
235 |
/** |
|
236 |
* The layout when there is only one sidebar, the right one. |
|
237 |
*/ |
|
238 |
/* line 181, ../sass/layouts/_responsive.scss */ |
|
239 |
.sidebar-second { |
|
240 |
/* Span 4 columns, starting in 1st column from left. */ |
|
241 |
/* Span 1 column, starting in 5th column from left. */ |
|
242 |
} |
|
243 |
/* line 183, ../sass/layouts/_responsive.scss */ |
|
244 |
.sidebar-second #content { |
|
245 |
float: right; |
|
246 |
width: 75%; |
|
247 |
margin-right: 0%; |
|
248 |
margin-left: -75%; |
|
249 |
} |
|
250 |
/* line 188, ../sass/layouts/_responsive.scss */ |
|
251 |
.sidebar-second .region-sidebar-second { |
|
252 |
float: right; |
|
253 |
width: 25%; |
|
254 |
margin-right: 75%; |
|
255 |
margin-left: -100%; |
|
256 |
} |
|
257 |
|
|
258 |
/** |
|
259 |
* The layout when there are two sidebars. |
|
260 |
*/ |
|
261 |
/* line 196, ../sass/layouts/_responsive.scss */ |
|
262 |
.two-sidebars { |
|
263 |
/* Span 3 columns, starting in 2nd column from left. */ |
|
264 |
/* Span 1 column, starting in 1st column from left. */ |
|
265 |
/* Span 1 column, starting in 5th column from left. */ |
|
266 |
} |
|
267 |
/* line 198, ../sass/layouts/_responsive.scss */ |
|
268 |
.two-sidebars #content { |
|
269 |
float: right; |
|
270 |
width: 50%; |
|
271 |
margin-right: 25%; |
|
272 |
margin-left: -75%; |
|
273 |
} |
|
274 |
/* line 203, ../sass/layouts/_responsive.scss */ |
|
275 |
.two-sidebars .region-sidebar-first { |
|
276 |
float: right; |
|
277 |
width: 25%; |
|
278 |
margin-right: 0%; |
|
279 |
margin-left: -25%; |
|
280 |
} |
|
281 |
/* line 208, ../sass/layouts/_responsive.scss */ |
|
282 |
.two-sidebars .region-sidebar-second { |
|
283 |
float: right; |
|
284 |
width: 25%; |
|
285 |
margin-right: 75%; |
|
286 |
margin-left: -100%; |
|
287 |
} |
|
288 |
} |
|
289 |
/* Component (SMACSS module) rules */ |
|
290 |
/** |
|
291 |
* @file |
|
292 |
* RTL companion for the modular-styles.css file. |
|
293 |
*/ |
|
294 |
/** |
|
295 |
* Branding header. |
|
296 |
*/ |
|
297 |
/* Wrapping link for logo. */ |
|
298 |
/* line 11, ../sass/components/_misc-rtl.scss */ |
|
299 |
.header__logo { |
|
300 |
float: right; |
|
301 |
} |
|
302 |
|
|
303 |
/* The secondary menu (login, etc.) */ |
|
304 |
/* line 16, ../sass/components/_misc-rtl.scss */ |
|
305 |
.header__secondary-menu { |
|
306 |
float: left; |
|
307 |
} |
|
308 |
|
|
309 |
/** |
|
310 |
* Navigation bar. |
|
311 |
*/ |
|
312 |
/* Main menu and secondary menu links and menu block links. */ |
|
313 |
/* line 27, ../sass/components/_misc-rtl.scss */ |
|
314 |
#navigation .links, |
|
315 |
#navigation .menu { |
|
316 |
text-align: right; |
|
317 |
} |
|
318 |
/* line 30, ../sass/components/_misc-rtl.scss */ |
|
319 |
#navigation .links li, |
|
320 |
#navigation .menu li { |
|
321 |
/* A simple method to get navigation links to appear in one line. */ |
|
322 |
float: right; |
|
323 |
padding: 0 0 0 10px; |
|
324 |
} |
|
325 |
|
|
326 |
/** |
|
327 |
* Messages. |
|
328 |
*/ |
|
329 |
/* line 41, ../sass/components/_misc-rtl.scss */ |
|
330 |
.messages, .messages--status, .messages--warning, .messages--error { |
|
331 |
padding: 10px 50px 10px 10px; |
|
332 |
background-position: 99% 8px; |
|
333 |
} |
|
334 |
|
|
335 |
/** |
|
336 |
* Tabs. |
|
337 |
*/ |
|
338 |
/* line 58, ../sass/components/_misc-rtl.scss */ |
|
339 |
.tabs-primary__tab, .tabs-primary__tab.is-active, .tabs-secondary__tab, |
|
340 |
.tabs-secondary__tab.is-active { |
|
341 |
float: right; |
|
342 |
} |
|
343 |
|
|
344 |
/** |
|
345 |
* Inline styles. |
|
346 |
*/ |
|
347 |
/* List of links */ |
|
348 |
/* line 77, ../sass/components/_misc-rtl.scss */ |
|
349 |
.inline li { |
|
350 |
/* Bug in Safari causes display: inline to fail. */ |
|
351 |
display: inline-block; |
|
352 |
padding: 0 0 0 1em; |
|
353 |
} |
|
354 |
|
|
355 |
/* The inline field label used by the Fences.module */ |
|
356 |
/* line 84, ../sass/components/_misc-rtl.scss */ |
|
357 |
span.field-label { |
|
358 |
padding: 0 0 0 1em; |
|
359 |
} |
|
360 |
|
|
361 |
/** |
|
362 |
* "More" links. |
|
363 |
*/ |
|
364 |
/* line 91, ../sass/components/_misc-rtl.scss */ |
|
365 |
.more-link { |
|
366 |
text-align: left; |
|
367 |
} |
|
368 |
|
|
369 |
/* line 94, ../sass/components/_misc-rtl.scss */ |
|
370 |
.more-help-link { |
|
371 |
text-align: left; |
|
372 |
} |
|
373 |
|
|
374 |
/* line 97, ../sass/components/_misc-rtl.scss */ |
|
375 |
.more-help-link a { |
|
376 |
background-position: 100% 50%; |
|
377 |
padding: 1px 20px 1px 0; |
|
378 |
} |
|
379 |
|
|
380 |
/** |
|
381 |
* Menus. |
|
382 |
*/ |
|
383 |
/* line 105, ../sass/components/_misc-rtl.scss */ |
|
384 |
.menu__item.is-collapsed { |
|
385 |
list-style-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABNJREFUCB1j4GASYFJgcmD+A4IADUIDfIUMT4wAAAAASUVORK5CYII='); |
|
386 |
*list-style-image: url('../images/menu-collapsed-rtl.png?1475577735'); |
|
387 |
} |
|
388 |
|
|
389 |
/** |
|
390 |
* Comments. |
|
391 |
*/ |
|
392 |
/* Nested comments are indented. */ |
|
393 |
/* line 117, ../sass/components/_misc-rtl.scss */ |
|
394 |
.indented { |
|
395 |
margin-left: 0; |
|
396 |
margin-right: 30px; |
|
397 |
} |
|
398 |
|
|
399 |
/** |
|
400 |
* Forms. |
|
401 |
*/ |
|
402 |
/* Drupal's default login form block */ |
|
403 |
/* line 127, ../sass/components/_misc-rtl.scss */ |
|
404 |
#user-login-form { |
|
405 |
text-align: right; |
|
406 |
} |
|
407 |
|
|
408 |
/* line 132, ../sass/components/_misc-rtl.scss */ |
|
409 |
html.js #user-login-form li.openid-link, |
|
410 |
#user-login-form li.openid-link { |
|
411 |
/* Un-do some of the padding on the ul list. */ |
|
412 |
margin-left: 0; |
|
413 |
margin-right: -20px; |
|
414 |
} |
|
415 |
|
|
416 |
/* |
|
417 |
* Drupal admin tables. |
|
418 |
*/ |
|
419 |
/* line 142, ../sass/components/_misc-rtl.scss */ |
|
420 |
form th { |
|
421 |
text-align: right; |
|
422 |
padding-left: 1em; |
|
423 |
padding-right: 0; |
|
424 |
} |
|
425 |
|
|
426 |
/** |
|
427 |
* Collapsible fieldsets. |
|
428 |
* |
|
429 |
* @see collapse.js |
|
430 |
*/ |
|
431 |
/* line 155, ../sass/components/_misc-rtl.scss */ |
|
432 |
html.js .collapsible .fieldset-legend { |
|
433 |
background-position: 98% 75%; |
|
434 |
padding-left: 0; |
|
435 |
padding-right: 15px; |
|
436 |
} |
|
437 |
/* line 160, ../sass/components/_misc-rtl.scss */ |
|
438 |
html.js .collapsed .fieldset-legend { |
|
439 |
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABNJREFUCB1j4GASYFJgcmD+A4IADUIDfIUMT4wAAAAASUVORK5CYII='); |
|
440 |
*background-image: url('../images/menu-collapsed-rtl.png?1475577735'); |
|
441 |
background-position: 98% 50%; |
|
442 |
} |
|
443 |
|
|
444 |
/* SMACSS theme rules */ |
|
445 |
/* @import "theme-A-rtl"; */ |
|
446 |
/* @import "theme-B-rtl"; */ |
themes/zen_dataportal/css/styles.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);@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,#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,#page{behavior:url("/polyfills/css3pie/PIE-1.0.0.htc");z-index:0}.lt-ie9 #header{padding-right:0;margin-right:20px}article,aside,details,figcaption,figure,footer,header,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block;*display:inline;*zoom:1}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:"droid_sansregular",sans-serif;font-size:75%;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;line-height:1.5em}button,input,select,textarea{font-family:"droid_sansregular",sans-serif}body{margin:0;padding:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}p,pre{margin:1.5em 0}blockquote{margin:1.5em 30px}h1{font-size:2em;line-height:1.5em;margin-top:0.75em;margin-bottom:0.75em}h2{font-size:1.6em;line-height:1.875em;margin-top:0.9375em;margin-bottom:0.9375em}h3{font-size:1.5em;line-height:2em;margin-top:1em;margin-bottom:1em}h4{font-size:1em;line-height:1.5em;margin-top:1.5em;margin-bottom:1.5em}h5{font-size:0.83em;line-height:1.80723em;margin-top:1.80723em;margin-bottom:1.80723em}h6{font-size:0.67em;line-height:2.23881em;margin-top:2.23881em;margin-bottom:2.23881em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;height:0;border:1px solid #666;padding-bottom:-1px;margin:1.5em 0}mark{background:#ff0;color:#000}code,kbd,pre,samp,tt,var{font-family:"droid_sans_monoregular",monospace,sans-serif;_font-family:'courier new', monospace;font-size:1em;line-height:1.5em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}dl,menu,ol,ul,.item-list ul{margin:12px 0}ol ol,ol ul,ul ol,ul ul{margin:0}dd{margin:0 0 0 30px}menu,ol,ul{padding:0 0 0 30px}nav ul,nav ol{list-style:none;list-style-image:none}img{border:0;-ms-interpolation-mode:bicubic;max-width:100%;height:auto}img .lt-ie9{width:auto}svg:not(:root){overflow:hidden}figure{margin:0}form{margin:0}fieldset{margin:0 2px;border-color:#c0c0c0;border-top-style:solid;border-top-width:0.08333em;padding-top:0.44167em;border-bottom-style:solid;border-bottom-width:0.08333em;padding-bottom:0.89167em;border-left-style:solid;border-left-width:0.08333em;padding-left:0.89167em;border-right-style:solid;border-right-width:0.08333em;padding-right:0.89167em}legend{border:0;padding:0;*margin-left:-7px}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0;vertical-align:baseline;*vertical-align:middle;max-width:100%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{-webkit-appearance:button;cursor:pointer;*overflow:visible}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0;*height:13px;*width:13px}input[type="search"]{-webkit-appearance:textfield;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}label{display:block;font-weight:bold}table{border-collapse:collapse;border-spacing:0;margin-top:1.5em;margin-bottom:1.5em}td{vertical-align:top;text-align:left}#page,.region-bottom{margin-left:auto;margin-right:auto;max-width:960px}#header,#content,#navigation,.region-sidebar-first,.region-sidebar-second,#footer{padding-left:20px;padding-right:20px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;word-wrap:break-word;*behavior:url("/polyfills/box-sizing-polyfill/boxsizing.htc");_display:inline;_overflow:hidden;_overflow-y:visible}#header,#main,#footer{*position:relative;*zoom:1}#header:before,#header:after,#main:before,#main:after,#footer:before,#footer:after{content:"";display:table}#header:after,#main:after,#footer:after{clear:both}#main{padding-top:60px;padding-bottom:40px;position:relative}#navigation{position:absolute;top:0;height:40px;width:100%}@media all and (min-width: 480px) and (max-width: 959px){.sidebar-first #content{float:left;width:66.66667%;margin-left:33.33333%;margin-right:-100%}.sidebar-first .region-sidebar-first{float:left;width:33.33333%;margin-left:0%;margin-right:-33.33333%}.sidebar-second #content{float:left;width:66.66667%;margin-left:0%;margin-right:-66.66667%}.sidebar-second .region-sidebar-second{float:left;width:33.33333%;margin-left:66.66667%;margin-right:-100%}.two-sidebars #content{float:left;width:66.66667%;margin-left:33.33333%;margin-right:-100%}.two-sidebars .region-sidebar-first{float:left;width:33.33333%;margin-left:0%;margin-right:-33.33333%}.two-sidebars .region-sidebar-second{float:left;width:100%;margin-left:0%;margin-right:-100%;padding-left:0;padding-right:0;clear:left}.two-sidebars .region-sidebar-second .block{padding-left:20px;padding-right:20px;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box;word-wrap:break-word;*behavior:url("/polyfills/box-sizing-polyfill/boxsizing.htc");_display:inline;_overflow:hidden;_overflow-y:visible}.two-sidebars .region-sidebar-second .block:nth-child(3n+1){float:left;width:33.33333%;margin-left:0%;margin-right:-33.33333%;clear:left}.two-sidebars .region-sidebar-second .block:nth-child(3n+2){float:left;width:33.33333%;margin-left:33.33333%;margin-right:-66.66667%}.two-sidebars .region-sidebar-second .block:nth-child(3n){float:left;width:33.33333%;margin-left:66.66667%;margin-right:-100%}}@media all and (min-width: 960px){.sidebar-first #content{float:left;width:75%;margin-left:25%;margin-right:-100%}.sidebar-first .region-sidebar-first{float:left;width:25%;margin-left:0%;margin-right:-25%}.sidebar-second #content{float:left;width:75%;margin-left:0%;margin-right:-75%}.sidebar-second .region-sidebar-second{float:left;width:25%;margin-left:75%;margin-right:-100%}.two-sidebars #content{float:left;width:50%;margin-left:25%;margin-right:-75%}.two-sidebars .region-sidebar-first{float:left;width:25%;margin-left:0%;margin-right:-25%}.two-sidebars .region-sidebar-second{float:left;width:25%;margin-left:75%;margin-right:-100%}}.with-wireframes #header,.with-wireframes #main,.with-wireframes #content,.with-wireframes #navigation,.with-wireframes .region-sidebar-first,.with-wireframes .region-sidebar-second,.with-wireframes #footer,.with-wireframes .region-bottom{outline:1px solid #ccc}.lt-ie8 .with-wireframes #header,.lt-ie8 .with-wireframes #main,.lt-ie8 .with-wireframes #content,.lt-ie8 .with-wireframes #navigation,.lt-ie8 .with-wireframes .region-sidebar-first,.lt-ie8 .with-wireframes .region-sidebar-second,.lt-ie8 .with-wireframes #footer,.lt-ie8 .with-wireframes .region-bottom{border:1px solid #ccc}.element-invisible,.element-focusable,#navigation .block-menu .block__title,#navigation .block-menu-block .block__title{position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px)}.element-focusable:active,.element-focusable:focus{position:static !important;clip:auto;height:auto;width:auto;overflow:auto}#skip-link{margin:0}#skip-link a,#skip-link a:visited{display:block;width:100%;padding:2px 0 3px 0;text-align:center;background-color:#666;color:#fff}.header__logo{float:left;margin:0;padding:0}.header__logo-image{vertical-align:bottom}.header__name-and-slogan{float:left}.header__site-name{margin:0;font-size:2em;line-height:1.5em}.header__site-link:link,.header__site-link:visited{color:#000;text-decoration:none}.header__site-link:hover,.header__site-link:focus{text-decoration:underline}.header__site-slogan{margin:0}.header__secondary-menu{float:right}.header__region{clear:both}#navigation .block{margin-bottom:0}#navigation .links,#navigation .menu{margin:0;padding:0;margin-left:-20px;text-align:left;display:block}#navigation .links li,#navigation .menu li{float:left;line-height:20px;padding:0 20px;list-style-type:none;list-style-image:none;border-left:1px solid #000;border-right:1px solid #000;margin-left:-1px}#navigation .links li.first,#navigation .menu li.first{border-left:0}#navigation .links li.last,#navigation .menu li.last{border-right:0}#page{-webkit-box-shadow:0px 5px 20px #000;-moz-box-shadow:0px 5px 20px #000;box-shadow:0px 5px 20px #000;padding-top:20px;background-color:#fff}#sub-header{clear:both;min-height:20px}#sub-header #site-name{font-weight:lighter}#logo{float:left;margin:0;margin-right:20px;padding:0}#logo img{vertical-align:bottom}#admin-menu .dropdown .admin-menu-icon img{height:18px}#name-and-slogan{float:left;margin-right:20px}#site-name{font-size:2.5em;font-weight:bold;line-height:1.5em;margin:0}#site-name a:link,#site-name a:visited{color:#fff;text-decoration:none}#site-name a:hover,#site-name a:focus{color:#fff;text-decoration:none}#main-menu{padding:5px 0;padding-left:53px;background-color:#dedede;display:block;font-size:14.4px}#main-menu a:link,#main-menu a:visited{color:#000;text-decoration:none}#main-menu a:hover,#main-menu a:focus{text-decoration:underline}.breadcrumb ol{margin:0;padding:0}.breadcrumb li{display:inline;list-style-type:none;margin:0;padding:0}.page__title,.node__title,.block__title,.comments__title,.comments__form-title,.comment__title{margin:0}.node__title{display:none}.messages,.messages--status,.messages--warning,.messages--error{margin:1.5em 0;padding:10px 10px 10px 50px;background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAD6UlEQVR42s2WX0xbVRzH3YwmC4k+GF/0ZS/S267/bmnX9nL7bwstZlnbjTDYyoC5GCbB0ZW5pdJCe6swbLFA6bpWIGuRMWVjKGP+21QW3SZBSAjGh4XEaTZTH82Cm/3ztS2xs7mw4KLRk3xyzj33/H6fe5Pz7zEA/yr/vUDukj9FH6drqTaqT8EoPs/UV+nX6TD1BlUh9AqLHlmgPKLcRHmoCOWmElK/FOKTYpS8UwLJkASiUyLI3pKhlClN0g46qj+qL/pbArlbrlO1q25JeiSgR2iYJ8ywXLSg/qP6LNl2ro8+Q4MMkKCd9K2t3q3KdQnkXXIF5aISkgEJzONm1F2qW52pDJN1MI2bUBIuAdVOJWSMTPNQgX6/vkjVpvpREpag6oMqWCYta1IzbsHh9ga0RJtzY8URMdRO9U/KSuWmNQUqh2pY3CtG+fvlqJyofMAFNrZAE+7e/RWR4X4cD9tgOGsA2U2CdtMDqwqyMyIzQ5KKqAKmcyaYxkzYd3YvjGNGFtXRPRj58DT+LOemRrFnrBLyITmUDmUyO/NYgu2d26ukHVJo3tXAMGpAs+cQmh0NeClan30uwN7TgnQ6nRd4r3thOGOAJqYB2UVC79AfZAnKHGUxQa8A2tNaNLW/jKvXv8Dyb8s4yryKA4O10A3roIvpUB+swTdz1/LJZ27PQBvT5lBH1RD4BChzlQ2wBNtc22aE/ULQgzRCl4P5BPcT93GMOYz9wb2QhCRgAq35d8u/L2PXe7tADVGgBlcQ+AXQtmlvsP/gzbJZvp8PMkJCFBYh8m0knyiVSsHe0YIGZz1+/uVOvt8z7QGvnwf+ST5EIRHIUyR4fh50rbp5lsDcYR4ReAXgBrng9q/Qfa0bfy035r7Ot2dvz4IX4IEIEAXwvDzscOw4zxJUd1YfEXlE4Aa4BQHMlwzSSBeI7iXvoTxWDqKPYCFsFaKmr+YVliB0JfS89DVpiuhlB9k/tSOZTuYFvq98yI7L0/MAsVWcGp0bfW61hbahwltxSeARsIKyWKesSKQSWIwvYkvvllwfx88pgOvhwthu/AzAxlVX8vz385tLbaVxwpcLZtEw0QDjsBGctzksiE4CimZFfHp++oWHbnbuUfdB0komMgHsRN1r0MWBsEmYODF5onY92/UTwcvBxuzXcN1ccHycVSn2FaPYWwzCQUDWKIt7z3utAJ5c74Hz+OLSomynY+cVfiM/xW3JiDyZpB3FuZrj4oCwE+Ad4qWMjPHjpTtL0mzMoxyZz9yM39Q7Y85Ok930icqm+k59TL2wm9l90dZv8y/8sPAigGf/iUN/Q4anM2zOsdLe+L+4VfwBVVjDs2rTYx0AAAAASUVORK5CYII=');*background-image:url('../images/message-24-ok.png?1530113719');background-position:8px 8px;background-repeat:no-repeat;border:1px solid #be7}.messages--warning{background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACuElEQVRIiWP4//8/Ay0xSYqntTpnT252zqeJBf0Njhsykrz/pyd6/e9vcNpGVQv6q2wlm0qc/r0+IPD/3UG+/61l9v9mdrjIUc2C7hqHUzc3S///eZwBjO9tF/vfWe1wjioWTKixVm8otPn38wQT3IKfxxn/t5Va/utpsNSg2ILWcttrNzdJgQ3+dpQRjEHs+9tE/zeXWt+gyILOamuTqlxrsOtPLub+7+emBsSq/88v5wL7oqHQ9H9nmbkF2RbUF1rev7lJEuziuU3i/90ddcB4UZsoJC62ifyvK7R4QJYFrcUGrmUZ5v9hYb9hosh/bzcDMN42VRgeF9W5hv8bi/XdSbagKtfs2c1NEvCIPbaQ/7+/pwkYn17Ki0hR24T/l2eZPCfJgsZ83dCiNOP/yCnn7iau/8G+5mD8aBsHSoqqyNL9X5erHUm0BcVpRm9ubhZHMoTh/4eDzP/DA23+RwTZ/P96hAlF7t5Wof8FyfpvibKgNk8noyDZ4D9quofg1Bjr/1kJlhjiIF+Upmn/r83RzCJoQXaC3qcbm8SwGMLwvybP/H8jMGlik7u7VeB/Zqz2J7wWVGdr1uTG62J1PQgfWST1/+hiCaxyIF8UJqv9r8hQrcVpQVqkzrcbG0WwGvB2H/P/lnx5MAaxsam5vYn3f2KY+jesFpSlqfZnxWjidP2OGWL/g/0swBjExu4Lhv958Ur/i5KU+lEsCA1lYI4JUv95bZ0gTo2Pt3P+z0myBmMQG5e6mxu4/kf4Kf8EmQm3oCRNebKrvSawIGPBqRG9sMOp5hjjfwdrlf/58bKT4RaUpWvtcLZV/39iscD/H0AFP46jYwYiMeP/44u4/9tbKQODSXUH3II9G7v18hI0n8YGKv+IDVT6joxj/BVx4mgcOCde/SnITPRUJAHEGlTCEkQV19TAAN8FC67hZdFXAAAAAElFTkSuQmCC');*background-image:url('../images/message-24-warning.png?1530113719');border-color:#ed5}.messages--error{background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAACpElEQVR42rWWTUgbQRiGQ0Tx4MWDeFM8eBA9iKAoggiCoCiiIiL4L3oQV1CJB0UEf6iRYFpK7UniTw9VSqL2kvQsVDBpSZrtRo35czVNW3oprRf17exSl4yzu1ikAy9h59vvedhkMrMGAGoxknAk2w8MJ/WosXThiZkZt9jdLeglPjn5ATc3mhJNuNjbK0QbG3ExMICL/n6IfX0gcxB7ekDAELu6IHZ2IlJbi1hLS1BLogmPtbUhMTv7oMSamzUlqnByMxLT0/8STQkDj9TV4ZLj5OysrODl8jIu5Gs68dFR7JG6dWkJ0fFx+TpSX89IDMnwcHU1yKec12Yz3rlc4HkeLwjkXJpPip3U3+7vIx6P4ymph4eG5PlwTQ0lMdytlmBxMWKtrXLeT0zA5XTibvj9fjxfXETkb/3N/Dz2dneVuiTZtliU/rPSUsQ5ziuxZYG03IIlJdKKUPJjdRUAKMmzuTnskB/VYbdTtd9HR4g2NCi9Z2VliDY1BSnBaUEBzsrLqXyzWCiQ9HU5HA4afniIUFWV0hOqqMBpURErOM7NxWlhIZOvCwvA7S3Uxq+DA5AnZ3pO8vJYQSArC8c5Oeqx2Rj4udeLQH6+6v2B7GxW8DkjA0JmJpONwUHY7XZGIAgCzCYTeJUewmIFfqMRfEoKlQ2yJbza2oLWcLvdeDI2hk/3+iQWKzAYkJzNjg5srq9TwJ9OJ76YTNScx+ORJT66X1/grKyEbW2NgfPp6XKd/JMZySrHaQsSU1Oe+0/w3WpVgyu5HBlR6lc+H8gioevDwz6JrWwV5+3txyoSFk5DcOX1MnCyJ4Vwfb1zt1UY9SR8aioDpuppaVpwZbPTl+hHF04dOKzk8XBF8DgJC3/woU/W/EciOtELOWi8DDwp//215Q+p7kiKh2lQSAAAAABJRU5ErkJggg==');*background-image:url('../images/message-24-error.png?1530113719');border-color:#ed541d}.messages__list{margin:0}.messages__item{list-style-image:none}.messages--error p.error{color:#333}.ok,.messages--status{background-color:#f8fff0;color:#234600}.warning,.messages--warning{background-color:#fffce5;color:#840}.error,.messages--error{background-color:#fef5f1;color:#8c2e0b}.tabs-primary,.tabs-secondary{overflow:hidden;*zoom:1;background:-webkit-gradient(linear, 50% 100%, 50% 0%, color-stop(100%, #bbbbbb), color-stop(100%, transparent));background:-webkit-linear-gradient(bottom, #bbbbbb 1px,transparent 1px);background:-moz-linear-gradient(bottom, #bbbbbb 1px,transparent 1px);background:-o-linear-gradient(bottom, #bbbbbb 1px,transparent 1px);-pie-background:linear-gradient(bottom, #bbbbbb 1px,transparent 1px);background:linear-gradient(bottom, #bbbbbb 1px,transparent 1px);list-style:none;border-bottom:1px solid #bbb \0/ie;margin:1.5em 0;padding:0 2px;white-space:nowrap}.tabs-primary__tab,.tabs-primary__tab.is-active,.tabs-secondary__tab,.tabs-secondary__tab.is-active{float:left;margin:0 3px}a.tabs-primary__tab-link,a.tabs-primary__tab-link.is-active,a.tabs-secondary__tab-link,a.tabs-secondary__tab-link.is-active{border:1px solid #e9e9e9;border-right:0;border-bottom:0;display:block;line-height:1.5em;text-decoration:none}.tabs-primary__tab,.tabs-primary__tab.is-active{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;text-shadow:1px 1px 0 #fff;border:1px solid #bbb;border-bottom-color:transparent;border-bottom:0 \0/ie}.is-active.tabs-primary__tab{border-bottom-color:#fff}a.tabs-primary__tab-link,a.tabs-primary__tab-link.is-active{-moz-border-radius-topleft:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-moz-border-radius-topright:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-transition:background-color 0.3s;-moz-transition:background-color 0.3s;-o-transition:background-color 0.3s;transition:background-color 0.3s;color:#333;background-color:#dedede;letter-spacing:1px;padding:0 1em;text-align:center}a.tabs-primary__tab-link:hover,a.tabs-primary__tab-link:focus{background-color:#e9e9e9;border-color:#f2f2f2}a.tabs-primary__tab-link:active,a.tabs-primary__tab-link.is-active{background-color:transparent;*zoom:1;filter:progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#FFE9E9E9', endColorstr='#00E9E9E9');background:-webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #e9e9e9), color-stop(100%, rgba(233,233,233,0)));background:-webkit-linear-gradient(#e9e9e9,rgba(233,233,233,0));background:-moz-linear-gradient(#e9e9e9,rgba(233,233,233,0));background:-o-linear-gradient(#e9e9e9,rgba(233,233,233,0));-pie-background:linear-gradient(#e9e9e9,rgba(233,233,233,0));background:linear-gradient(#e9e9e9,rgba(233,233,233,0));border-color:#fff}.tabs-secondary{font-size:.9em;margin-top:-1.5em}.tabs-secondary__tab,.tabs-secondary__tab.is-active{margin:0.75em 3px}a.tabs-secondary__tab-link,a.tabs-secondary__tab-link.is-active{-webkit-border-radius:0.75em;-moz-border-radius:0.75em;-ms-border-radius:0.75em;-o-border-radius:0.75em;border-radius:0.75em;-webkit-transition:background-color 0.3s;-moz-transition:background-color 0.3s;-o-transition:background-color 0.3s;transition:background-color 0.3s;text-shadow:1px 1px 0 #fff;background-color:#f2f2f2;color:#666;padding:0 .5em}a.tabs-secondary__tab-link:hover,a.tabs-secondary__tab-link:focus{background-color:#dedede;border-color:#999;color:#333}a.tabs-secondary__tab-link:active,a.tabs-secondary__tab-link.is-active{text-shadow:1px 1px 0 #333;background-color:#666;border-color:#000;color:#fff}.inline{display:inline;padding:0}.inline li{display:inline;list-style-type:none;padding:0 1em 0 0}span.field-label{padding:0 1em 0 0}.more-link{text-align:right}.more-help-link{text-align:right}.more-help-link a{background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAA7UlEQVR42qWTPQqDQBCFcwSPkCNITpAj5AjeIm1uYpkyR7Cy2Mot7OwsBAsRwUKwmOwLGRle3EIy8PyBfZ/z3J2TiPylz8VWWZZpUB40BonRKyizaxkA88MYYiqCEgv4MTvnZJom0VqWRbz3FlJZgLYtqmEY1Lg9r+sKsIXcLSC3AC019H0vqLquLeC5AfiHYSGkcdAJimKIBQiJ4+CO92OAtm0FNc8zOjkMwE5Q63FAtbeg6zpAYvG8BWR7i5qmQYwY4MIHqYhE2DOPQWcGJBQF2XU72ZzyUeZ5GCNt5/hybJgYdAXsq5sOEE/jG6dC5IOqCXTmAAAAAElFTkSuQmCC');*background-image:url('../images/help.png?1530113719');background-position:0 50%;background-repeat:no-repeat;padding:1px 0 1px 20px}.pager{clear:both;padding:0;text-align:center}.pager-item,.pager-first,.pager-previous,.pager-next,.pager-last,.pager-ellipsis,.pager-current{display:inline;padding:0 0.5em;list-style-type:none;background-image:none}.pager-current{font-weight:bold}h1,h2,h3,h4,h5,h6{font-weight:normal}h1.title,h2.node-title,h2.block-title,h2.title,h2.comment-form,h3.title{margin:0}.block{margin-bottom:1.5em}.menu__item.is-leaf{list-style-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHBAMAAAA2fErgAAAAD1BMVEX///+/v7+Li4sAAADAwMBFvsw8AAAAAXRSTlMAQObYZgAAAB1JREFUCFtjYAADYwMGBmYVZSDhKAwkFJWhYiAAAB2+Aa/9ugeaAAAAAElFTkSuQmCC');*list-style-image:url('../images/menu-leaf.png?1530113719');list-style-type:square}.menu__item.is-expanded{list-style-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABJJREFUeJxj+MdQw2DBIMAABgAUsAHD3c3BpwAAAABJRU5ErkJggg==');*list-style-image:url('../images/menu-expanded.png?1530113719');list-style-type:circle}.menu__item.is-collapsed{list-style-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABFJREFUCB1jVmCGQClmEWYOAAZ8AMy3HPLXAAAAAElFTkSuQmCC');*list-style-image:url('../images/menu-collapsed.png?1530113719');list-style-type:disc}.menu a.active{color:#000}.new,.update{color:#c00;background-color:transparent}.unpublished{height:0;overflow:visible;background-color:transparent;color:#d8d8d8;font-size:75px;line-height:1;font-family:Impact, "Arial Narrow", Helvetica, sans-serif;font-weight:bold;text-transform:uppercase;text-align:center;word-wrap:break-word}.lt-ie8 .node-unpublished>*,.lt-ie8 .comment-unpublished>*{position:relative}.comments{margin:1.5em 0}.comment-preview{background-color:#ffffea}.comment .permalink{text-transform:uppercase;font-size:75%}.indented{margin-left:30px}.form-item{margin:1.5em 0}.form-checkboxes .form-item,.form-radios .form-item{margin:0}tr.odd .form-item,tr.even .form-item{margin:0}.form-item input.error,.form-item textarea.error,.form-item select.error{border:1px solid #c00}.form-item .description{font-size:0.85em}.form-type-radio .description,.form-type-checkbox .description{margin-left:2.4em}.form-required{color:#c00}label.option{display:inline;font-weight:normal}a.button{-webkit-appearance:button;-moz-appearance:button;appearance:button}.password-parent,.confirm-parent{margin:0}#user-login-form{text-align:left}.openid-links{margin-bottom:0}.openid-link,.user-link{margin-top:1.5em}html.js #user-login-form li.openid-link,#user-login-form li.openid-link{margin-left:-20px}#user-login ul{margin:1.5em 0}form th{text-align:left;padding-right:1em;border-bottom:3px solid #ccc}form tbody{border-top:1px solid #ccc}form table ul{margin:0}tr.even,tr.odd{background-color:#eee;border-bottom:1px solid #ccc;padding:0.1em 0.6em}tr.even{background-color:#fff}.lt-ie8 tr.even th,.lt-ie8 tr.even td,.lt-ie8 tr.odd th,.lt-ie8 tr.odd td{border-bottom:1px solid #ccc}td.active{background-color:#ddd}td.checkbox,th.checkbox{text-align:center}td.menu-disabled{background:#ccc}#autocomplete .selected{background:#0072b9;color:#fff}html.js .collapsible .fieldset-legend{background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABJJREFUeJxj+MdQw2DBIMAABgAUsAHD3c3BpwAAAABJRU5ErkJggg==');*background-image:url('../images/menu-expanded.png?1530113719');background-position:5px 65%;background-repeat:no-repeat;padding-left:15px}html.js .collapsed .fieldset-legend{background-image:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHAQMAAAD+nMWQAAAABlBMVEX///8AAABVwtN+AAAAAXRSTlMAQObYZgAAABFJREFUCB1jVmCGQClmEWYOAAZ8AMy3HPLXAAAAAElFTkSuQmCC');*background-image:url('../images/menu-collapsed.png?1530113719');background-position:5px 50%}.fieldset-legend .summary{color:#999;font-size:0.9em;margin-left:0.5em}tr.drag{background-color:#fffff0}tr.drag-previous{background-color:#ffd}.tabledrag-toggle-weight{font-size:0.9em}tr.selected td{background:#ffc}.progress{font-weight:bold}.progress .bar{background:#ccc;border-color:#666;margin:0 0.2em;-webkit-border-radius:3px;-moz-border-radius:3px;-ms-border-radius:3px;-o-border-radius:3px;border-radius:3px}.progress .filled{background-color:#0072b9;background-image:url('../images/progress.gif?1530113719')}@media print{a:link,a:visited{text-decoration:underline !important}a:link.header__site-link,a:visited.header__site-link{text-decoration:none !important}#content a[href]:after{content:" (" attr(href) ")";font-weight:normal;font-size:12px}#content a[href^="javascript:"]:after,#content a[href^="#"]:after{content:""}#content abbr[title]:after{content:" (" attr(title) ")"}#content{float:none !important;width:100% !important;margin:0 !important;padding:0 !important}body,#page,#main,#content{color:#000;background-color:transparent !important;background-image:none !important}#skip-link,#toolbar,#navigation,.region-sidebar-first,.region-sidebar-second,#footer,.breadcrumb,.tabs,.action-links,.links,.book-navigation,.forum-topic-navigation,.pager,.feed-icons{visibility:hidden;display:none}}.pie-element,.lt-ie9 #page,#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,#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{color:#115e92;text-decoration:none}.block a:hover,.block a:focus,.node a:hover,.node 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,#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,#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:40px}.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}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:20px;margin-right:20px}#specimens .block-cdm-dataportal-feature{margin-left:40px;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:40px}#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}#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 |
* Styles are organized using the SMACSS technique. @see http://smacss.com/book/ |
|
4 |
* |
|
5 |
* When you turn on CSS aggregation at admin/config/development/performance, all |
|
6 |
* of these @include files will be combined into a single file. |
|
7 |
*/ |
|
8 |
/* Import Sass mixins, variables, Compass modules, etc. */ |
|
9 |
@import url(../fonts/droid-sans-fontfacekit/web fonts/droidsans_regular/stylesheet.css); |
|
10 |
@import url(../fonts/droid-sans-mono-fontfacekit/web fonts/droidsansmono_regular/stylesheet.css); |
|
11 |
@import url(../fonts/droid-sans-fontfacekit/web fonts/droidsans_regular/stylesheet.css); |
|
12 |
@import url(../fonts/droid-sans-mono-fontfacekit/web fonts/droidsansmono_regular/stylesheet.css); |
|
13 |
/* line 30, ../sass/ie-legacy.scss */ |
|
14 |
.pie-element, .lt-ie9 #page, #page { |
|
15 |
behavior: url("/polyfills/css3pie/PIE-1.0.0.htc"); |
|
16 |
position: relative; |
|
17 |
} |
|
18 |
|
|
19 |
/* line 43, ../sass/ie-legacy.scss */ |
|
20 |
.pie-container { |
|
21 |
z-index: 0; |
|
22 |
position: relative; |
|
23 |
} |
|
24 |
|
|
25 |
/* line 47, ../sass/ie-legacy.scss */ |
|
26 |
.z-pie-element, .lt-ie9 #page, #page { |
|
27 |
behavior: url("/polyfills/css3pie/PIE-1.0.0.htc"); |
|
28 |
z-index: 0; |
|
29 |
} |
|
30 |
|
|
31 |
/* line 63, ../sass/ie-legacy.scss */ |
|
32 |
.lt-ie9 #header { |
|
33 |
/* |
|
34 |
* reset right padding to zero and use margin-right instead, |
|
35 |
* this avoids the need for background-clip: content-box |
|
36 |
* which is not suppoorted in IE < 9 |
|
37 |
*/ |
|
38 |
padding-right: 0; |
|
39 |
margin-right: 20px; |
|
40 |
} |
|
41 |
|
|
42 |
/* HTML element (SMACSS base) rules */ |
|
43 |
/** |
|
44 |
* @file |
|
45 |
* Normalize.css is intended to be used as an alternative to CSS resets. |
|
46 |
* |
|
47 |
* This file is a slight fork of these original sources: |
|
48 |
* - normalize.css v2.1.2 | MIT License | git.io/normalize |
|
49 |
* - normalize.scss v2.1.2 | MIT/GPLv2 License | bit.ly/normalize-with-compass |
|
50 |
* |
|
51 |
* It's suggested that you read the normalize.scss file and customise it to meet |
|
52 |
* your needs, rather then including the file in your project and overriding the |
|
53 |
* defaults later in your CSS. |
|
54 |
* @see http://nicolasgallagher.com/about-normalize-css/ |
|
55 |
* |
|
56 |
* Also: @see http://meiert.com/en/blog/20080419/reset-style-sheets-are-bad/ |
|
57 |
* @see http://snook.ca/archives/html_and_css/no_css_reset/ |
|
58 |
*/ |
|
59 |
/** |
|
60 |
* HTML5 display definitions |
|
61 |
*/ |
|
62 |
/* Correct `block` display not defined in IE 8/9. */ |
|
63 |
/* line 33, ../sass/_normalize.scss */ |
|
64 |
article, |
|
65 |
aside, |
|
66 |
details, |
|
67 |
figcaption, |
|
68 |
figure, |
|
69 |
footer, |
|
70 |
header, |
|
71 |
main, |
|
72 |
nav, |
|
73 |
section, |
|
74 |
summary { |
|
75 |
display: block; |
|
76 |
} |
|
77 |
|
|
78 |
/* Correct `inline-block` display not defined in IE 8/9. */ |
|
79 |
/* line 40, ../sass/_normalize.scss */ |
|
80 |
audio, |
|
81 |
canvas, |
|
82 |
video { |
|
83 |
display: inline-block; |
|
84 |
*display: inline; |
|
85 |
*zoom: 1; |
|
86 |
} |
|
87 |
|
|
88 |
/** |
|
89 |
* Prevent modern browsers from displaying `audio` without controls. |
|
90 |
* Remove excess height in iOS 5 devices. |
|
91 |
*/ |
|
92 |
/* line 52, ../sass/_normalize.scss */ |
|
93 |
audio:not([controls]) { |
|
94 |
display: none; |
|
95 |
height: 0; |
Also available in: Unified diff
fix #7494 registration search form block and result page