Browse Source

node layout

master
rdrew 2 years ago
parent
commit
cc6b71fd2c
  1. 37
      css/sass/_dataset-nodes.scss
  2. 24
      css/style.css
  3. 2
      css/style.css.map

37
css/sass/_dataset-nodes.scss

@ -53,11 +53,16 @@
margin-bottom: 2rem; margin-bottom: 2rem;
//@extend .feature; //@extend .feature;
box-shadow: 0 0 10px rgb(0 0 0 / 20%); box-shadow: 0 0 10px rgb(0 0 0 / 20%);
.data-citation {
width: 85%;
}
.icon { .icon {
font-size: 6rem; font-size: 6rem;
font-size: 6rem; font-size: 6rem;
padding-right: 0.5rem; padding-right: 0.5rem;
border-right: 1px solid #ddd; border-right: 1px solid #ddd;
width: 15%;
text-align: center;
} }
display: flex; display: flex;
align-items: center; align-items: center;
@ -121,3 +126,35 @@ details#group-dataset-identification .field {
display: flex; display: flex;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
// field display tweaks
.rdm_dataset_metadata {
.paragraph--type--typed-description {
.field--name-field-rdm-description-type {
&::before {
content: '(';
}
&::after {
content: ')';
}
}
& > div {
display: inline;
}
}
.paragraph--type--rdm-person {
& * {
display: inline;
}
}
.field--name-field-rdm-identifier-string {
&::before {
content: '; ';
}
}
.paragraph--type--rdm-organization {
&::before {
content: '; ';
}
}
}

24
css/style.css

@ -1303,11 +1303,16 @@ button,
align-items: center; align-items: center;
padding: 1rem; padding: 1rem;
} }
.citation-block .data-citation {
width: 85%;
}
.citation-block .icon { .citation-block .icon {
font-size: 6rem; font-size: 6rem;
font-size: 6rem; font-size: 6rem;
padding-right: 0.5rem; padding-right: 0.5rem;
border-right: 1px solid #ddd; border-right: 1px solid #ddd;
width: 15%;
text-align: center;
} }
.citation-block .data-citation { .citation-block .data-citation {
padding-left: 1rem; padding-left: 1rem;
@ -1354,6 +1359,25 @@ details#group-dataset-identification .field .field__label:after {
content: ":"; content: ":";
} }
.rdm_dataset_metadata .paragraph--type--typed-description .field--name-field-rdm-description-type::before {
content: "(";
}
.rdm_dataset_metadata .paragraph--type--typed-description .field--name-field-rdm-description-type::after {
content: ")";
}
.rdm_dataset_metadata .paragraph--type--typed-description > div {
display: inline;
}
.rdm_dataset_metadata .paragraph--type--rdm-person * {
display: inline;
}
.rdm_dataset_metadata .field--name-field-rdm-identifier-string::before {
content: "; ";
}
.rdm_dataset_metadata .paragraph--type--rdm-organization::before {
content: "; ";
}
.search-results ul { .search-results ul {
list-style: none; list-style: none;
padding: 0; padding: 0;

2
css/style.css.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save